/* ==========================================================================
   LUMAA — Shop Catalog Page Stylesheet (v2.0)
   Brand Theme: Merino Cream (#FAF7F2 / #F6F0E6) & Red Berry (#840000)
   Features: Edge-to-Edge Responsive Grid, Left Sidebar Navigation,
   Real-Time Live Search, Price Filtering, Modals & Mobile Drawers
   ========================================================================== */

/* Full-Width / Edge-to-Edge Responsive Container */
.shop-container {
  width: 100%;
  max-width: min(97%, 1600px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

/* Site Header Alignment & Sticky Scroller */
.site-header {
  background: rgba(250, 247, 242, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 215, 195, 0.7) !important;
  box-shadow: 0 4px 20px rgba(28, 30, 19, 0.04) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
  will-change: auto;
}

.site-header.header-hidden {
  transform: none !important;
  pointer-events: auto !important;
}

.site-header .header-inner {
  height: 78px;
}

.site-header .brand-logo-svg {
  height: 52px;
}

.nav-links {
  gap: 1.5rem;
}

/* Header Action Buttons */
.header-action-btn.active {
  background-color: var(--color-red-berry);
  color: #fff;
  border-color: var(--color-red-berry);
}

.header-action-btn.active svg {
  fill: currentColor;
}

/* Shop Hero Header Banner — Compact & Refined */
.shop-hero-section {
  padding: 1.75rem 0 1rem;
  position: relative;
  text-align: center;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-charcoal-muted);
  margin-bottom: 0.6rem;
}

.shop-breadcrumb a {
  color: var(--color-charcoal);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shop-breadcrumb a:hover {
  color: var(--color-red-berry);
}

.shop-breadcrumb .separator {
  color: var(--color-merino-border);
  font-size: 0.75rem;
}

.shop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(132, 0, 0, 0.08);
  color: var(--color-red-berry);
  border: 1px solid rgba(132, 0, 0, 0.16);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.shop-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.15;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.shop-hero-title em {
  font-style: italic;
  color: var(--color-red-berry);
  font-weight: 400;
}

.shop-hero-desc {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--color-charcoal-muted);
  line-height: 1.5;
}

/* Quick Category Highlights Bar */
.shop-quick-tags {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.shop-quick-tag {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 215, 195, 0.7);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.shop-quick-tag:hover {
  background: #fff;
  border-color: var(--color-red-berry);
  color: var(--color-red-berry);
  transform: translateY(-2px);
}

.shop-quick-tag.active {
  background: var(--color-red-berry);
  color: #fff;
  border-color: var(--color-red-berry);
  box-shadow: 0 4px 14px rgba(132, 0, 0, 0.28);
}

/* Mobile Filter Bar & Trigger */
.mobile-filter-bar {
  display: none;
  margin-bottom: 1.25rem;
  justify-content: flex-start;
}

.mobile-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--color-red-berry);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(132, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.mobile-filter-trigger:hover {
  background: var(--color-red-hover);
  transform: translateY(-2px);
}

/* Main Shop Layout: Sidebar + Product Grid */
.shop-layout {
  padding: 1.25rem 0 5rem;
}

.shop-layout-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.25rem;
  align-items: start;
}

/* Left-Side Navigation & Filter Sidebar */
.shop-sidebar {
  position: sticky;
  top: 96px;
  z-index: 40;
}

body.header-is-hidden .shop-sidebar {
  top: 96px;
}

.sidebar-glass-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 10px 32px rgba(28, 30, 19, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(28, 30, 19, 0.08);
}

.sidebar-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-reset-filters {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-red-berry);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: rgba(132, 0, 0, 0.08);
  text-decoration: underline;
}

.sidebar-mobile-close {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 30, 19, 0.08);
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-charcoal);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sidebar-mobile-close:hover {
  background: var(--color-red-berry);
  color: #fff;
}

/* Filter Groups */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category Navigation Buttons */
.category-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.category-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.category-nav-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(226, 215, 195, 0.5);
  color: var(--color-red-berry);
  transform: translateX(3px);
}

.category-nav-btn.active {
  background: var(--color-red-berry);
  color: #fff;
  font-weight: 600;
  border-color: var(--color-red-berry);
  box-shadow: 0 4px 14px rgba(132, 0, 0, 0.28);
}

.cat-nav-content {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.cat-svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.category-nav-btn:hover .cat-svg {
  transform: scale(1.12);
}

.category-nav-btn.active .cat-svg {
  stroke: #ffffff;
}

.sidebar-header-title svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--color-red-berry);
}

.sidebar-guarantee-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--color-red-berry);
}

.shop-search-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.category-nav-btn .cat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(28, 30, 19, 0.06);
  color: var(--color-charcoal-muted);
  transition: all 0.2s ease;
}

.category-nav-btn.active .cat-badge {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* Price Range Filter Radio Buttons */
.price-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.86rem;
  color: var(--color-charcoal-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.price-filter-btn:hover {
  color: var(--color-charcoal);
  background: rgba(255, 255, 255, 0.65);
}

.price-filter-btn.active {
  color: var(--color-red-berry);
  font-weight: 600;
  background: rgba(132, 0, 0, 0.08);
  border-color: rgba(132, 0, 0, 0.16);
}

.radio-indicator {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--color-merino-border);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.price-filter-btn.active .radio-indicator {
  border-color: var(--color-red-berry);
  background: var(--color-red-berry);
  box-shadow: inset 0 0 0 2.5px #fff;
}

/* Checkbox Toggle Group */
.checkbox-filter-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--color-charcoal);
  cursor: pointer;
  user-select: none;
  padding: 0.4rem 0.2rem;
  font-weight: 500;
}

.checkbox-filter-label input[type="checkbox"] {
  accent-color: var(--color-red-berry);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

/* Sidebar Guarantee Micro Card */
.sidebar-guarantee-box {
  background: rgba(246, 240, 230, 0.8);
  border: 1px solid var(--color-merino-border);
  border-radius: 16px;
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sidebar-guarantee-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.sidebar-guarantee-box h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.2rem;
}

.sidebar-guarantee-box p {
  font-size: 0.76rem;
  color: var(--color-charcoal-muted);
  line-height: 1.45;
}

/* Right-Side Main Shop Content Area */
.shop-content-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

/* Top Controls Toolbar: Search & Sort */
.shop-toolbar {
  position: sticky;
  top: 96px;
  z-index: 35;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 0.85rem 1.4rem;
  box-shadow: 0 8px 26px rgba(28, 30, 19, 0.05), inset 0 1px 1px #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

body.header-is-hidden .shop-toolbar {
  top: 96px;
}

.shop-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 400px;
}

.shop-search-input {
  width: 100%;
  padding: 0.65rem 1.1rem 0.65rem 2.45rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 30, 19, 0.12);
  font-size: 0.88rem;
  color: var(--color-charcoal);
  outline: none;
  transition: all 0.2s ease;
}

.shop-search-input:focus {
  background: #fff;
  border-color: var(--color-red-berry);
  box-shadow: 0 0 0 3px rgba(132, 0, 0, 0.12);
}

.shop-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-charcoal-muted);
  pointer-events: none;
  font-size: 0.95rem;
}

.shop-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-charcoal-muted);
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
  padding: 0;
  line-height: 1;
}

.shop-search-clear.visible {
  display: block;
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.shop-results-badge {
  font-size: 0.86rem;
  color: var(--color-charcoal-muted);
  font-weight: 500;
  white-space: nowrap;
}

.shop-results-badge strong {
  color: var(--color-charcoal);
  font-weight: 700;
}

.shop-sort-select {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 30, 19, 0.12);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.shop-sort-select:hover,
.shop-sort-select:focus {
  border-color: var(--color-red-berry);
  background: #fff;
}

/* Active Filters Row & Chips */
.active-filters-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(132, 0, 0, 0.08);
  color: var(--color-red-berry);
  border: 1px solid rgba(132, 0, 0, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.active-filter-pill button {
  background: none;
  border: none;
  color: var(--color-red-berry);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Products Grid */
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

/* Product Card — Frosted Glass Elevation (GPU Optimized) */
.shop-products-grid .product-card,
.product-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(40, 25, 15, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  width: 100%;
  transform: translateZ(0);
  will-change: transform;
  contain: layout paint;
  transition: transform 0.18s ease,
              box-shadow 0.18s ease,
              border-color 0.18s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(40, 25, 15, 0.1), inset 0 1px 2px #fff;
  background: #FFFFFF;
  border-color: rgba(255, 255, 255, 1);
}

.product-thumb-wrap {
  position: relative;
  background-color: #FAF7F2;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-bottom: 1px solid rgba(226, 215, 195, 0.6);
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.22s ease;
  display: block;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.product-badge-flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-red-berry);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-badge-flag.new {
  background-color: var(--color-charcoal);
}

.product-badge-flag.featured {
  background: linear-gradient(135deg, #840000 0%, #C28B38 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(194, 139, 56, 0.45);
}

.product-badge-flag.out-of-stock {
  background-color: #646757;
  color: #fff;
}

.product-actions-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.product-action-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 1px #fff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-action-icon:hover {
  background-color: var(--color-red-berry);
  color: #fff;
  border-color: var(--color-red-berry);
  transform: scale(1.1);
}

.product-action-icon.wishlisted {
  background-color: var(--color-red-berry) !important;
  color: #fff !important;
  border-color: var(--color-red-berry) !important;
}

.product-action-icon.wishlisted svg {
  fill: #fff !important;
  stroke: #fff !important;
}

/* Product Card Body */
.product-body,
.product-info-wrap {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta,
.product-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.product-category-tag,
.product-category {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--color-charcoal-muted);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #D97706;
}

.product-rating .star-icon {
  color: #D97706;
}

.product-name,
.product-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.product-name a,
.product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-name a:hover,
.product-title a:hover {
  color: var(--color-red-berry);
}

.product-desc-snippet {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-charcoal-muted);
  margin: 0.2rem 0 0.75rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-swatches {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.swatch-dot:hover,
.swatch-dot.active {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--color-red-berry);
}

.swatches-count-label {
  font-size: 0.72rem;
  color: var(--color-charcoal-muted);
  margin-left: 0.25rem;
  font-weight: 500;
}

/* Card Footer Row & Action Button */
.product-footer-row,
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 215, 195, 0.65);
  gap: 0.75rem;
}

.price-wrap,
.price-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.price-current {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-red-berry);
  letter-spacing: -0.01em;
}

.price-original {
  font-size: 0.82rem;
  color: #8C8F7E;
  text-decoration: line-through;
  margin-top: 2px;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--color-charcoal);
  color: #fff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-add-cart:hover {
  background-color: var(--color-red-berry);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(132, 0, 0, 0.25);
}

.btn-add-cart.added {
  background-color: #16A34A !important;
  color: #fff !important;
  transform: scale(1.04);
}

.btn-add-cart.disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  background: #8E917F !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Empty State Card */
.shop-empty-state {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 4.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.shop-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(132, 0, 0, 0.08);
  color: var(--color-red-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.shop-empty-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--color-charcoal);
}

.shop-empty-desc {
  color: var(--color-charcoal-muted);
  max-width: 440px;
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ==========================================================================
   Modals, Drawers & Overlay Synchronization
   ========================================================================== */

/* Modal Overlays */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 30, 19, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active,
.modal-overlay.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-overlay.active .quickview-card,
.modal-overlay.visible .quickview-card,
.modal-overlay.active .checkout-modal-card,
.modal-overlay.visible .checkout-modal-card {
  transform: scale(1) !important;
}

/* Quick View Card 2-Column Responsive Layout */
.quickview-card {
  background: rgba(253, 250, 245, 0.94);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(28, 30, 19, 0.2), inset 0 1px 2px #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: scale(0.94);
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Drawer Backdrops */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 30, 19, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active,
.drawer-backdrop.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 1150;
  box-shadow: -15px 0 50px rgba(28, 30, 19, 0.15);
  display: flex;
  flex-direction: column;
  will-change: right;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active,
.cart-drawer.open {
  right: 0 !important;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #FAF7F2;
  z-index: 1250;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active,
.mobile-nav-drawer.open {
  transform: translateX(0) !important;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-merino-border);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(28, 30, 19, 0.08);
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: var(--color-red-berry);
  color: #fff;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.mobile-nav-link {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link.active {
  color: var(--color-red-berry);
  font-weight: 700;
}

.mobile-nav-admin {
  color: var(--color-red-berry);
  font-size: 0.95rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-merino-border);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints & Device Adaptation
   ========================================================================== */

/* Tablets Landscape & Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .shop-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }
}

/* Tablets Portrait & Medium Screens (max-width: 900px) */
@media (max-width: 900px) {
  .site-header .header-inner {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-header.scrolled .header-inner {
    height: 64px;
  }

  .site-header .brand-logo-svg {
    height: 40px;
    max-width: 110px;
  }

  .site-header.scrolled .brand-logo-svg {
    height: 36px;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 215, 195, 0.85);
    font-size: 1.3rem;
    color: var(--color-charcoal);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
  }

  .mobile-menu-toggle:hover {
    background: var(--color-red-berry);
    color: #fff;
    border-color: var(--color-red-berry);
  }

  .shop-layout-inner {
    grid-template-columns: 1fr;
  }

  .mobile-filter-bar {
    display: flex;
    margin-bottom: 1.25rem;
  }

  .sidebar-mobile-close {
    display: flex;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 86vw;
    height: 100vh;
    z-index: 1200;
    overflow-y: auto;
    background: #FAF7F2;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .shop-sidebar.mobile-open {
    transform: translateX(0);
  }

  .shop-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .shop-sidebar-backdrop.visible,
  .shop-sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .shop-sidebar .sidebar-glass-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .shop-toolbar {
    top: 72px;
  }

  body.header-is-hidden .shop-toolbar {
    top: 72px;
  }

  .shop-quick-tags {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .shop-quick-tags::-webkit-scrollbar {
    display: none;
  }

  .shop-quick-tag {
    flex-shrink: 0;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .product-actions-overlay {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  .quickview-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .quickview-gallery {
    height: 260px;
    padding: 1.25rem;
  }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .shop-container {
    padding-left: clamp(0.9rem, 3.5vw, 1.5rem);
    padding-right: clamp(0.9rem, 3.5vw, 1.5rem);
  }

  .site-header .header-inner {
    height: 66px;
  }

  .site-header .brand-logo-svg {
    height: 36px;
    max-width: 100px;
  }

  .shop-hero-section {
    padding: 2rem 0 1.5rem;
  }

  .shop-hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  }

  .shop-hero-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .shop-toolbar {
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
  }

  body.header-is-hidden .shop-toolbar {
    top: 68px;
  }

  .shop-search-wrapper {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .shop-toolbar-right {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .shop-products-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 1.25rem;
  }

  .cart-drawer {
    max-width: 100%;
    width: 100%;
    right: -100%;
  }

  .cart-drawer.active,
  .cart-drawer.open {
    right: 0 !important;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .checkout-modal-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    max-height: 92vh;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .quickview-details {
    padding: 1.75rem 1.25rem;
  }

  .qv-title {
    font-size: 1.45rem;
  }

  .qv-price {
    margin-bottom: 1rem;
  }

  .qv-specs-table {
    margin-bottom: 1.25rem;
  }
}

/* Compact Mobile Screens (max-width: 420px, e.g. iPhone SE, 360px Android) */
@media (max-width: 420px) {
  .shop-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .site-header .header-inner {
    height: 62px;
  }

  .site-header .brand-logo-svg {
    height: 32px;
    max-width: 88px;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .header-action-btn {
    width: 34px;
    height: 34px;
  }

  .mobile-menu-toggle {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }

  .currency-select {
    padding: 0.2rem 0.35rem;
    font-size: 0.72rem;
  }

  .shop-hero-title {
    font-size: 1.75rem;
  }

  .shop-hero-desc {
    font-size: 0.88rem;
  }

  .product-body {
    padding: 1.15rem 1.1rem;
  }

  .price-current {
    font-size: 1.15rem;
  }

  .btn-add-cart {
    padding: 0.6rem 0.95rem;
    font-size: 0.78rem;
  }

  .qv-action-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .qv-qty-selector {
    justify-content: center;
  }

  .btn-qv-add {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }
}

/* Touch Device Ergonomics: hover none */
@media (hover: none) and (pointer: coarse) {
  .product-actions-overlay {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}

/* ==========================================================================
   LUMAA Micro-Toast Notification System (Themed & Non-Intrusive)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  max-width: 440px;
}

.toast {
  background: rgba(26, 28, 18, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #FAF7F2;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(18, 20, 12, 0.28), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(226, 215, 195, 0.24);
  font-family: var(--font-body, inherit);
  font-size: 0.84rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  animation: lumaaToastIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.toast.toast--dismissing {
  opacity: 0 !important;
  transform: translateY(8px) scale(0.96) !important;
  pointer-events: none;
}

.toast .toast-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-red-berry, #840000);
}

.toast .toast-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.toast .toast-close-btn {
  background: none;
  border: none;
  color: rgba(250, 247, 242, 0.45);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 0.15rem 0 0.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.toast .toast-close-btn:hover {
  color: #FAF7F2;
}

@keyframes lumaaToastIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .toast-container {
    bottom: 1.25rem;
    right: 50%;
    transform: translateX(50%);
    width: calc(100% - 2rem);
    max-width: 380px;
    align-items: center;
  }
  
  .toast {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    padding: 0.65rem 0.95rem;
  }
  
  .toast .toast-text {
    max-width: 260px;
    white-space: normal;
  }
}

/* ==========================================================================
   Advanced Universal Mobile Responsiveness (Shop Catalog)
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input tap */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 640px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .site-header .header-inner {
    height: 64px !important;
  }

  .shop-hero-section {
    padding: 1.5rem 0 1.25rem !important;
  }

  .shop-hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
  }

  .shop-hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* Quick Tags Touch Horizontal Scroll with Snapping */
  .shop-quick-tags {
    gap: 0.5rem !important;
    padding: 0.25rem 0 0.5rem !important;
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  .shop-quick-tags::-webkit-scrollbar {
    display: none !important;
  }

  .shop-quick-tag {
    padding: 0.55rem 1rem !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    min-height: 40px !important;
    touch-action: manipulation !important;
  }

  /* Compact Sticky Mobile Toolbar */
  .shop-toolbar {
    top: 64px !important;
    padding: 0.6rem 0.75rem !important;
    gap: 0.5rem !important;
    border-radius: 14px !important;
    background: rgba(250, 247, 242, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  }

  .shop-search-wrapper {
    min-width: 0 !important;
    width: 100% !important;
  }

  .shop-search-input {
    font-size: 16px !important;
    padding: 0.55rem 2.25rem 0.55rem 2.25rem !important;
    height: 40px !important;
  }

  .shop-toolbar-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .shop-results-badge {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .shop-sort-select {
    font-size: 16px !important;
    padding: 0.4rem 0.65rem !important;
    height: 38px !important;
    max-width: 58% !important;
    touch-action: manipulation !important;
  }

  /* Responsive 2-Column Product Grid for Fast Mobile Browsing */
  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    max-width: 100% !important;
  }

  .product-body {
    padding: 0.85rem 0.75rem !important;
  }

  .product-name,
  .product-title {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.25rem !important;
  }

  .product-category-tag,
  .product-category {
    font-size: 0.68rem !important;
  }

  .price-current {
    font-size: 1.05rem !important;
  }

  .btn-add-cart {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.72rem !important;
    gap: 0.35rem !important;
    touch-action: manipulation !important;
  }

  /* Mobile Filters Drawer */
  .shop-sidebar {
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    max-height: 100dvh !important;
  }

  .mobile-filter-trigger {
    min-height: 44px !important;
    touch-action: manipulation !important;
  }

  .sidebar-mobile-close {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.6rem !important;
    touch-action: manipulation !important;
  }

  /* Mobile Modals — Bottom-Sheet Layout */
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .quickview-card {
    grid-template-columns: 1fr !important;
    max-height: 88vh !important;
    max-height: 88dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 26px 26px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  .quickview-gallery {
    height: clamp(210px, 48vw, 270px) !important;
    padding: 1rem !important;
  }

  .quickview-details {
    padding: 1.25rem 1rem !important;
  }

  .checkout-modal-card {
    padding: 1.5rem 1.15rem calc(1.75rem + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 26px 26px 0 0 !important;
    max-height: 88vh !important;
    max-height: 88dvh !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .payment-methods-selector {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
  }

  .pm-radio-card {
    padding: 0.6rem 0.25rem !important;
    font-size: 0.72rem !important;
    border-radius: 10px !important;
    touch-action: manipulation !important;
  }

  .pm-radio-card .pm-brand-img {
    height: 18px !important;
    max-width: 65px !important;
  }

  /* Floating Buttons Safe Inset */
  #floating-whatsapp-btn,
  .floating-whatsapp-btn {
    bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(1.15rem + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    touch-action: manipulation !important;
  }

  .back-to-top {
    bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(1.15rem + env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    touch-action: manipulation !important;
  }

  /* Cart Drawer Full Bleed */
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
  }

  .drawer-header {
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px)) !important;
  }

  .drawer-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Interactive Tap States */
  button:active,
  .btn-primary:active,
  .btn-add-cart:active,
  .header-action-btn:active,
  .mobile-menu-toggle:active {
    transform: scale(0.96) !important;
  }
}

/* Extra Small Devices (<= 350px, e.g. Galaxy Fold outer screen, 320px displays) */
@media (max-width: 350px) {
  .shop-products-grid {
    grid-template-columns: 1fr !important;
    max-width: 290px !important;
    margin: 0 auto !important;
  }

  .brand-logo-svg {
    height: 30px !important;
    max-width: 80px !important;
  }

  .header-action-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .currency-select {
    display: none !important;
  }
}

