/* Meril Home — Kesin Tasarım CSS (Piksel Hassasiyetli OS 2.0) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-espresso: #3A2315;
  --color-espresso-hover: #29170C;
  --color-beige-button: #E5C6A3;
  --color-beige-hover: #D8B790;
  --color-cream-bg: #FAF1E8;
  --color-card-bg: #FAF5F0;
  --color-text-dark: #2A180E;
  --color-text-muted: #7A685D;
  --color-border: #E8DACF;
  --color-discount: #F8C892;
  --color-star: #E5A93C;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream-bg);
  color: var(--color-text-dark);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

.site-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  background-color: var(--color-cream-bg);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(58, 35, 21, 0.08);
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    background-color: var(--color-cream-bg);
  }
  .site-wrapper {
    max-width: 100%;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Floating Preview Controls (Non-intrusive) */
.floating-preview-toolbar {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 999999;
  display: flex;
  gap: 6px;
  background: rgba(42, 24, 14, 0.9);
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid rgba(229, 198, 163, 0.3);
}

.floating-nav-btn {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: #FAF1E8;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.floating-nav-btn.active, .floating-nav-btn:hover {
  background: var(--color-beige-button);
  color: var(--color-espresso);
}

.floating-zip-btn {
  background: #2F7A43;
  color: #FFFFFF;
}

/* Reference Overlay Mode */
.overlay-ref-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  display: none;
  mix-blend-mode: difference;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #412B1D;
  color: #FAF1E8;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.announcement-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.announcement-divider {
  opacity: 0.4;
  font-size: 10px;
}

/* Site Header */
.site-header {
  width: 100%;
  z-index: 40;
  transition: background-color 0.3s ease;
}

.site-header--index {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: #FFFFFF;
  padding-top: 10px;
}

.site-header--product {
  background-color: var(--color-cream-bg);
  color: var(--color-espresso);
  padding: 6px 0;
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  min-height: 62px;
}

.header-icon-btn {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 6;
}

.header-logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.header-logo {
  height: 48px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  transition: all 0.2s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-toggle {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--color-discount);
  color: var(--color-espresso);
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  border-radius: 50%;
  padding: 0 1px;
}

/* Hero Section (01-Ana-Sayfa) */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 380px;
  height: 380px;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 96px;
  left: 24px;
  right: 24px;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background: rgba(30, 18, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FAF1E8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-beige-button);
  color: var(--color-espresso);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.hero-btn svg {
  width: 14px;
  height: 14px;
}

.hero-bottom-controls {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-pill {
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.hero-pill.active {
  width: 18px;
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.hero-nav-arrows {
  position: absolute;
  right: 14px;
  bottom: -4px;
  display: flex;
  gap: 6px;
}

.hero-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 12, 6, 0.35);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero-arrow-btn svg {
  width: 13px;
  height: 13px;
}

/* Trust Badges Panel (Curved Sheet) */
.trust-badges-panel {
  position: relative;
  z-index: 10;
  background-color: var(--color-cream-bg);
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  padding: 18px 12px 14px;
  margin-top: -6px;
}

.trust-badges-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trust-badge-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 2px;
}

.trust-badge-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-border);
}

.trust-badge-icon {
  color: var(--color-espresso);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-icon svg {
  width: 18px;
  height: 18px;
}

.trust-badge-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  white-space: nowrap;
}

/* Collections Section */
.collections-section {
  padding: 16px 13px 14px;
}

.collections-header {
  text-align: center;
  margin-bottom: 12px;
}

.collections-badge-subtitle {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.collections-main-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.collections-grid {
  display: flex;
  gap: 5px;
  justify-content: space-between;
}

.collection-card {
  width: 68px;
  height: 64px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: block;
  transition: transform 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-2px);
}

/* Promo Banner Section */
.promo-section {
  padding: 6px 13px 30px;
}

.promo-card-wrapper {
  border-radius: 16px;
  overflow: hidden;
  background-size: 100% 100%;
  background-position: center;
  height: 152px;
  display: flex;
  align-items: center;
  padding: 18px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  position: relative;
}

.promo-card-content {
  max-width: 55%;
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.promo-title {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 6px;
}

.promo-title em {
  font-style: italic;
}

.promo-desc {
  font-size: 9.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--color-beige-button);
  color: var(--color-espresso);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
}

.promo-btn svg {
  width: 12px;
  height: 12px;
}

/* Product Detail Section (02-Mobil-Urun-Detay) */
.product-detail-section {
  padding: 10px 14px 90px;
}

.product-gallery-container {
  margin-bottom: 14px;
}

.product-main-image-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  background-color: #EFE4DA;
}

.product-main-img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.wishlist-btn svg {
  width: 16px;
  height: 16px;
}

.wishlist-btn.active svg {
  fill: #D60000;
  stroke: #D60000;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-nav-btn svg {
  width: 14px;
  height: 14px;
}

.gallery-nav-btn.prev { left: 8px; }
.gallery-nav-btn.next { right: 8px; }

.gallery-pills {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.gallery-pill {
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.gallery-pill.active {
  width: 14px;
  background: #FFFFFF;
}

.product-thumbnails-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.thumbnail-item {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.thumbnail-item.active {
  border-color: var(--color-espresso);
  box-shadow: 0 0 0 1px #FAF1E8 inset;
}

/* Product Info */
.product-type-badge {
  display: inline-block;
  background-color: #F3E2D4;
  color: #7D4F32;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.rating-stars {
  display: flex;
  gap: 1px;
}

.rating-stars svg {
  width: 12px;
  height: 12px;
}

.rating-count {
  font-size: 11px;
  color: var(--color-text-muted);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.price-old {
  font-size: 13px;
  color: #9E8D82;
  text-decoration: line-through;
}

.price-discount-badge {
  background-color: var(--color-discount);
  color: var(--color-espresso);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

/* Feature 3-Col Box */
.product-features-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 6px;
  margin-bottom: 16px;
}

.feature-col {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 3px;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-espresso);
}

.feature-text strong {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.feature-text span {
  display: block;
  font-size: 8.5px;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.feature-divider {
  width: 1px;
  height: 24px;
  background-color: var(--color-border);
}

/* Variants Selection */
.product-variants-wrapper {
  margin-bottom: 14px;
}

.variants-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.variants-options {
  display: flex;
  gap: 6px;
}

.variant-chip {
  flex: 1;
  padding: 8px 4px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--color-border);
  background-color: #FAF4EE;
  color: var(--color-text-dark);
  transition: all 0.2s ease;
}

.variant-chip.active {
  background-color: var(--color-espresso);
  border-color: var(--color-espresso);
  color: #FFFFFF;
}

/* ATC Row */
.product-atc-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90px;
  height: 42px;
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0 6px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.qty-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.btn-add-to-cart {
  flex: 1;
  height: 42px;
  background-color: var(--color-espresso);
  color: #FFFFFF;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(58, 35, 21, 0.25);
  transition: background-color 0.2s ease;
}

.btn-add-to-cart svg {
  width: 17px;
  height: 17px;
}

.btn-add-to-cart:hover {
  background-color: var(--color-espresso-hover);
}

/* Accordions */
.product-accordions {
  border-top: 1px solid var(--color-border);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--color-text-dark);
  font-size: 12px;
  font-weight: 600;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion-header-left svg {
  color: var(--color-espresso);
  width: 15px;
  height: 15px;
}

.accordion-header svg:last-child {
  transition: transform 0.25s ease;
  width: 14px;
  height: 14px;
}

.accordion-item.active .accordion-header svg:last-child {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 0 12px 24px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* Sticky Bottom Purchase Bar */
.sticky-purchase-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1.5px solid rgba(232, 218, 207, 0.9);
  padding: 12px 16px calc(12px + var(--safe-bottom));
  z-index: 100;
  box-shadow: 0 -8px 28px rgba(58, 35, 21, 0.12);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .sticky-purchase-bar {
    max-width: 100%;
    left: 0;
    transform: none;
    border-radius: 24px 24px 0 0;
  }
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sticky-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--color-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sticky-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.sticky-subtitle {
  font-size: 9px;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.sticky-price-col {
  text-align: right;
}

.sticky-current-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.sticky-old-price {
  font-size: 9.5px;
  color: #9E8D82;
  text-decoration: line-through;
}

.btn-sticky-atc {
  background-color: var(--color-espresso);
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(58, 35, 21, 0.25);
  transition: all 0.2s ease;
}

.btn-sticky-atc:hover {
  background-color: var(--color-espresso-hover);
  transform: translateY(-1px);
}

.btn-sticky-atc svg {
  width: 14px;
  height: 14px;
}

/* Drawers */
.mobile-drawer, .cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer.active, .cart-drawer.active {
  visibility: visible;
  opacity: 1;
}

.mobile-drawer-overlay, .cart-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 300px;
  background-color: var(--color-cream-bg);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.cart-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background-color: var(--color-cream-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-drawer.active .mobile-drawer-content,
.cart-drawer.active .cart-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header, .cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.mobile-drawer-title, .cart-drawer-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-dark);
}

.mobile-drawer-close, .cart-drawer-close {
  font-size: 22px;
  color: var(--color-text-dark);
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 6px 0;
  border-bottom: 1px solid rgba(232, 218, 207, 0.3);
}

.nav-item.active {
  font-weight: 700;
  color: var(--color-espresso);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.cart-item-variant {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin: 2px 0;
}

.cart-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-espresso);
}

.cart-item-old-price {
  font-size: 10px;
  color: #9E8D82;
  text-decoration: line-through;
  margin-left: 4px;
}

.cart-drawer-footer {
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.cart-free-shipping-note {
  font-size: 10.5px;
  color: #2F7A43;
  margin-bottom: 10px;
  font-weight: 500;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: var(--color-espresso);
  color: #FFFFFF;
  text-align: center;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: #F3E7DC;
  border-top: 1px solid var(--color-border);
  padding: 24px 16px 70px;
  text-align: center;
}

.footer-logo {
  margin: 0 auto 8px;
}

.footer-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.footer-bottom {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Category Page Styles */
.category-page-container {
  padding-bottom: 30px;
}

.category-hero-wrapper {
  padding: 8px 12px 10px;
}

.category-hero-card {
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center right;
  min-height: 145px;
  display: flex;
  align-items: center;
  padding: 18px 16px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.category-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(25, 14, 8, 0.85) 0%, rgba(25, 14, 8, 0.6) 55%, rgba(25, 14, 8, 0.1) 100%);
  z-index: 1;
}

.category-hero-text {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 65%;
}

.category-hero-eyebrow {
  display: block;
  font-size: 8.5px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #E5C6A3;
  margin-bottom: 2px;
}

.category-hero-title {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.category-hero-desc {
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

/* Breadcrumbs */
.category-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 4px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.breadcrumb-home {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-muted);
}

.breadcrumb-home:hover {
  color: var(--color-espresso);
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 9px;
}

.breadcrumb-current {
  color: var(--color-text-dark);
  font-weight: 600;
}

/* Filter & Sort Row */
.category-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px;
  gap: 10px;
}

.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.category-divider {
  width: 1px;
  height: 24px;
  background-color: var(--color-border);
}

.sort-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sort-select {
  appearance: none;
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 8px 28px 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  outline: none;
}

.sort-arrow {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--color-text-dark);
}

/* Subcategory Pills Row */
.subcategory-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.subcategory-pills-row::-webkit-scrollbar {
  display: none;
}

.subcat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

.subcat-pill span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.subcat-thumb-box, .subcat-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F2E4D8;
  border: 1.5px solid transparent;
  transition: all 0.2s;
  overflow: hidden;
}

.subcat-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subcat-pill.active .subcat-thumb-box,
.subcat-pill.active .subcat-icon-circle {
  border-color: var(--color-espresso);
  box-shadow: 0 0 0 2px var(--color-espresso), 0 0 0 3px #FAF1E8;
}

.subcat-icon-circle svg {
  color: var(--color-espresso);
}

/* 2-Column Product Grid */
.products-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px 12px 20px;
}

.product-grid-card {
  background-color: #FAF4EE;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.product-grid-card:hover {
  transform: translateY(-2px);
}

.product-card-media {
  position: relative;
  aspect-ratio: 1.08;
  overflow: hidden;
  background-color: #EBDED4;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-grid-card:hover .product-card-media img {
  transform: scale(1.03);
}

.card-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-espresso);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-wishlist-btn svg {
  width: 14px;
  height: 14px;
}

.card-wishlist-btn.active svg {
  fill: #D60000;
  stroke: #D60000;
}

.card-badge-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #B8470E;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.product-card-details {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  min-height: 31px;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

.product-card-rating .rating-stars svg {
  width: 10px;
  height: 10px;
}

.rating-num {
  font-size: 9.5px;
  color: var(--color-text-muted);
}

.product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 4px;
}

.product-card-price-row .price-current {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.product-card-price-row .price-old {
  font-size: 10px;
  color: #9E8D82;
  text-decoration: line-through;
}

.card-quick-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-espresso);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(58, 35, 21, 0.25);
  transition: transform 0.15s, background-color 0.15s;
}

.card-quick-add-btn:active {
  transform: scale(0.92);
}

.card-quick-add-btn svg {
  width: 13px;
  height: 13px;
}

.product-card-discount-tag {
  align-self: flex-start;
  background-color: var(--color-discount);
  color: var(--color-espresso);
  font-size: 9px;
  font-weight: 700;
  padding: 1.5px 5px;
  border-radius: 4px;
}

/* Sections Shared Headers */
.section-header-wrap {
  text-align: center;
  margin-bottom: 14px;
}

.section-eyebrow {
  display: block;
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.section-main-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-dark);
}

/* Related Products Section */
.related-products-section {
  padding: 24px 12px 16px;
  border-top: 1px solid var(--color-border);
}

.related-products-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -12px;
  padding: 0 12px;
}

.related-products-scroll::-webkit-scrollbar {
  display: none;
}

.related-products-grid {
  display: flex;
  gap: 10px;
  width: max-content;
}

.related-card {
  width: 140px;
  background-color: #FAF4EE;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.related-card-img-wrap {
  display: block;
  aspect-ratio: 1;
  background-color: #EBDED4;
}

.related-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-body {
  padding: 8px;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  line-height: 1.25;
  min-height: 28px;
}

.related-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.related-old-price {
  font-size: 9.5px;
  color: #9E8D82;
  text-decoration: line-through;
  margin-left: 2px;
}

.btn-related-add {
  display: block;
  width: 100%;
  padding: 6px 0;
  background-color: var(--color-espresso);
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

/* Customer Reviews Section */
.customer-reviews-section {
  padding: 24px 14px 20px;
  border-top: 1px solid var(--color-border);
}

.reviews-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  gap: 12px;
}

.reviews-big-score {
  text-align: center;
  min-width: 90px;
}

.score-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-dark);
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 4px 0 2px;
}

.score-stars svg {
  width: 12px;
  height: 12px;
}

.score-total {
  font-size: 9.5px;
  color: var(--color-text-muted);
}

.reviews-progress-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--color-text-muted);
}

.progress-bar {
  flex: 1;
  height: 5px;
  background-color: #EBDED4;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #E5A93C;
  border-radius: 9999px;
}

.customer-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card {
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-espresso);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.review-author-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.verified-badge {
  font-size: 9px;
  font-weight: 600;
  color: #2F7A43;
  margin-left: 4px;
}

.review-stars {
  display: flex;
  gap: 1.5px;
  margin-top: 2px;
}

.review-stars svg {
  width: 10px;
  height: 10px;
}

.review-date {
  font-size: 9.5px;
  color: var(--color-text-muted);
}

.review-text {
  font-size: 11px;
  line-height: 1.45;
  color: #4A3A30;
  margin-bottom: 6px;
}

.review-product-tag {
  display: inline-block;
  font-size: 9px;
  color: var(--color-text-muted);
  background: #EFE4DA;
  padding: 2px 6px;
  border-radius: 4px;
}

/* FAQ Section */
.faq-section {
  padding: 24px 14px 20px;
  border-top: 1px solid var(--color-border);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background-color: #FAF4EE;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
  gap: 10px;
}

.faq-question-btn svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-espresso);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question-btn svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 14px 12px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Collection Card Styling for WebP + SVG Icons */
.collection-card {
  width: 68px;
  height: 64px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-2px);
}

.collection-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 8, 4, 0.42);
  z-index: 1;
}

.collection-card-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #FFFFFF;
}

.collection-card-icon {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  fill: none;
}

.collection-card-name {
  font-size: 9.5px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Remove floating toolbar completely as requested */
.floating-preview-toolbar, .overlay-ref-img {
  display: none !important;
}


/* --- MERIL HOME ATÖLYE & ENRICHED HOMEPAGE STYLES --- */

.section-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-espresso);
  opacity: 0.8;
  margin-bottom: 6px;
  text-align: center;
}

.section-main-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--color-espresso);
  line-height: 1.25;
  text-align: center;
  margin-bottom: 8px;
}

.section-lead-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 18px;
  padding: 0 8px;
}

/* Custom Atelier Section */
.custom-atelier-section {
  margin: 32px 14px 24px;
  padding: 22px 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F3EC 100%);
  border-radius: 22px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(58, 35, 21, 0.05);
  position: relative;
  overflow: hidden;
}

.custom-atelier-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E5C6A3, #3A2315, #E5C6A3);
}

.atelier-configurator-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(232, 218, 207, 0.7);
  box-shadow: 0 6px 20px rgba(58, 35, 21, 0.04);
  margin-bottom: 18px;
}

/* Mockup Frame */
.atelier-mockup-frame {
  position: relative;
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 30%, #F6EDE3 0%, #E7D7C8 100%);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(58, 35, 21, 0.08);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
}

.mockup-wall-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  background: #D9C3B0;
  border-top: 2px solid #C4AB95;
  opacity: 0.7;
}

.mockup-hanging-rod {
  display: none !important;
}

.mockup-tapestry-wrap {
  width: 125px;
  height: 175px;
  position: relative;
  z-index: 2;
  box-shadow: 0 14px 34px rgba(42, 24, 14, 0.28), 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
  border-radius: 4px;
  background: #FAF5F0;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Real-time Visual Size Scaling on the Wall */
.mockup-tapestry-wrap.size-70x100 {
  width: 95px !important;
  height: 135px !important;
  transform: translateY(12px) scale(0.92);
}

.mockup-tapestry-wrap.size-100x140 {
  width: 125px !important;
  height: 175px !important;
  transform: translateY(0) scale(1);
}

.mockup-tapestry-wrap.size-140x200 {
  width: 155px !important;
  height: 215px !important;
  transform: translateY(-8px) scale(1.12);
}

.mockup-tapestry-wrap.rug-mode {
  transform: rotateX(55deg) rotateZ(-12deg) scale(1.1);
  box-shadow: 0 14px 20px rgba(42, 24, 14, 0.3);
  margin-top: 30px;
}

.mockup-tapestry-wrap.rug-mode ~ .mockup-hanging-rod {
  display: none;
}

.atelier-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-badges-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.mockup-badge {
  background: rgba(58, 35, 21, 0.85);
  backdrop-filter: blur(4px);
  color: #FAF1E8;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.mockup-dim-badge {
  background: rgba(229, 198, 163, 0.95);
  color: var(--color-espresso);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Atelier Step Titles */
.atelier-step-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-espresso);
  margin-top: 14px;
  margin-bottom: 7px;
}

.atelier-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-espresso);
  color: #FAF1E8;
  font-size: 10px;
  margin-right: 6px;
}

/* Step 1: Type Segment */
.atelier-type-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #F4EAE0;
  padding: 4px;
  border-radius: 12px;
}

.atelier-type-btn {
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  text-align: center;
  transition: all 0.2s ease;
}

.atelier-type-btn.active {
  background: #FFFFFF;
  color: var(--color-espresso);
  box-shadow: 0 2px 8px rgba(58, 35, 21, 0.12);
}

/* Step 2: Fabrics */
.atelier-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.atelier-fabric-btn {
  padding: 7px 6px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #FAF6F1;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.fabric-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
}

.atelier-fabric-btn.active {
  border-color: var(--color-espresso);
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--color-espresso);
}

/* Step 3: Sizes */
.atelier-sizes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.atelier-size-chip {
  padding: 7px 4px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #FAF6F1;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: center;
  transition: all 0.2s;
}

.atelier-size-chip.active {
  background: var(--color-espresso);
  color: #FFFFFF;
  border-color: var(--color-espresso);
}

.atelier-custom-inputs {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background: #FAF5F0;
  border-radius: 10px;
  border: 1px dashed var(--color-border);
}

.atelier-custom-inputs.show {
  display: grid;
}

.custom-input-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.custom-input-box label {
  font-size: 9px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.custom-input-box input {
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  color: var(--color-espresso);
}

/* Step 4: Upload Box */
.atelier-upload-box {
  border: 2px dashed #D6C2AF;
  background: #FAF6F2;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.atelier-upload-box:hover {
  background: #F4EAE0;
  border-color: var(--color-espresso);
}

.upload-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-espresso);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.upload-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-espresso);
}

.upload-sub {
  font-size: 9.5px;
  color: var(--color-text-muted);
}

/* Preset test thumbnails */
.atelier-preset-strip {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.preset-thumb-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid transparent;
  padding: 0;
  background: none;
}

.preset-thumb-btn.active {
  border-color: var(--color-espresso);
  box-shadow: 0 0 0 1px var(--color-espresso);
}

.preset-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Step 5: Price & Actions */
.atelier-price-banner {
  background: #FAF5F0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--color-border);
}

.price-banner-info {
  display: flex;
  flex-direction: column;
}

.price-banner-label {
  font-size: 9.5px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.price-banner-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-espresso);
}

.price-banner-tag {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
}

.atelier-actions-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.atelier-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.2s;
}

.atelier-whatsapp-cta:hover {
  background: #20BD5A;
}

.atelier-cart-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  background: var(--color-espresso);
  color: #FFFFFF;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s;
}

.atelier-cart-cta:hover {
  background: var(--color-espresso-hover);
}

/* 3-Step Process Infographic */
.atelier-process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.process-step-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.process-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-beige-button);
  color: var(--color-espresso);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}

.process-step-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 2px;
}

.process-step-desc {
  font-size: 8.5px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Best Sellers Grid */
.home-bestsellers-section {
  padding: 24px 14px;
}

.home-bestsellers-header {
  margin-bottom: 14px;
}

.bestsellers-footer-cta {
  margin-top: 14px;
  text-align: center;
}

.bestsellers-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-espresso);
  color: var(--color-espresso);
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.2s;
}

.bestsellers-all-link:hover {
  background: var(--color-espresso);
  color: #FFFFFF;
}

/* Atelier Craft Pillars */
.atelier-craft-section {
  padding: 20px 14px;
  background: #FAF5F0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.craft-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px 10px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.craft-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F4EAE0;
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.craft-title {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-espresso);
}

.craft-desc {
  font-size: 9px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Social Proof (#MerilHomeEvimde) */
.home-social-section {
  padding: 24px 14px;
}

.social-scroll-wrap {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.social-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.social-card {
  flex: 0 0 160px;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(58, 35, 21, 0.05);
}

.social-img-box {
  width: 100%;
  height: 150px;
  position: relative;
}

.social-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-tag-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(42, 24, 14, 0.85);
  backdrop-filter: blur(4px);
  color: #FAF1E8;
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.social-card-body {
  padding: 8px;
}

.social-handle {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-espresso);
}

.social-comment {
  font-size: 9px;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* Home Reviews */
.home-reviews-section {
  padding: 20px 14px 26px;
}

.reviews-score-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 auto 14px;
  width: fit-content;
}

.reviews-score-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-espresso);
}

.home-reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.home-review-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px;
}

.home-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.home-review-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-icon {
  color: #2F7A43;
}

.home-review-body {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Home FAQ */
.home-faq-section {
  padding: 22px 14px 26px;
  background: #FAF5F0;
  border-top: 1px solid var(--color-border);
}

/* Newsletter Box */
.home-newsletter-card {
  margin: 20px 14px 26px;
  background: linear-gradient(135deg, #3A2315 0%, #29170C 100%);
  border-radius: 20px;
  padding: 22px 16px;
  color: #FAF1E8;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: #FAF1E8;
  margin-bottom: 6px;
}

.newsletter-desc {
  font-size: 11px;
  color: rgba(250, 241, 232, 0.75);
  line-height: 1.4;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 6px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(229, 198, 163, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 11.5px;
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
  padding: 10px 18px;
  background: var(--color-beige-button);
  color: var(--color-espresso);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: var(--color-beige-hover);
}

/* Enriched Footer */
.enriched-footer {
  background: #24140A;
  color: #FAF1E8;
  padding: 28px 16px env(safe-area-inset-bottom, 20px);
}

.enriched-footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-beige-button);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  font-size: 10.5px;
  color: rgba(250, 241, 232, 0.75);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
  font-size: 10px;
  color: rgba(250, 241, 232, 0.7);
}

.footer-bottom-copy {
  text-align: center;
  font-size: 9.5px;
  color: rgba(250, 241, 232, 0.5);
}




/* 3-Size Grid */
.atelier-sizes-grid--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.atelier-sizes-grid--three .atelier-size-chip {
  padding: 10px 4px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: #FAF6F1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.size-chip-dim {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-espresso);
}

.size-chip-sub {
  font-size: 8px;
  color: var(--color-text-muted);
}

.atelier-sizes-grid--three .atelier-size-chip.active {
  background: var(--color-espresso);
  border-color: var(--color-espresso);
  box-shadow: 0 4px 12px rgba(58, 35, 21, 0.2);
}

.atelier-sizes-grid--three .atelier-size-chip.active .size-chip-dim {
  color: #FFFFFF;
}

.atelier-sizes-grid--three .atelier-size-chip.active .size-chip-sub {
  color: var(--color-beige-button);
}

/* WhatsApp Direct Send Card */
.atelier-wa-box {
  background: #F0FDF4;
  border: 1.5px dashed #86EFAC;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0 14px;
}

.atelier-wa-icon-box {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.15);
}

.atelier-wa-text-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.atelier-wa-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #166534;
}

.atelier-wa-desc {
  font-size: 9.5px;
  line-height: 1.45;
  color: #15803D;
}



/* Hero Slider Multi-Slide Transition */
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.04);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(20,12,6,0.3) 0%, rgba(20,12,6,0.1) 45%, rgba(20,12,6,0.6) 100%);
  z-index: 2;
}

.hero-slide-content {
  position: absolute;
  top: 96px;
  left: 24px;
  right: 24px;
  z-index: 3;
}



/* Header Search Dropdown (Horizontal Slide-down) */
.header-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(58, 35, 21, 0.12);
  padding: 12px 16px 14px;
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.header-search-dropdown.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #F4EAE0;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  transition: border-color 0.2s, background 0.2s;
}

.search-input-wrap:focus-within {
  border-color: var(--color-espresso);
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(58, 35, 21, 0.12);
}

.search-input-icon {
  color: var(--color-espresso);
  flex-shrink: 0;
  margin-right: 8px;
}

.header-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--color-espresso);
  padding: 8px 0;
  outline: none;
}

.header-search-input::placeholder {
  color: #9C897D;
  font-size: 12px;
}

.search-clear-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.search-clear-btn:hover {
  color: var(--color-espresso);
}

.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

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

.search-tag-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.search-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-espresso);
  background: rgba(58, 35, 21, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.search-tag:hover {
  background: var(--color-beige-button);
  color: var(--color-espresso);
}

.search-tag--highlight {
  background: rgba(37, 211, 102, 0.12);
  color: #15803D;
  border: 1px solid rgba(37, 211, 102, 0.3);
}


/* ============================================================================
   MERIL HOME — SCROLL FIXES, FILTER DRAWER, TOAST & FULL DESKTOP RESPONSIVE
   ============================================================================ */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
}

.site-wrapper {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Smooth Native & Drag Scrolling for Sliders & Horizontal Strips */
.hero-section,
.product-main-image-wrapper {
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.hero-section img,
.product-main-image-wrapper img,
.subcategory-pills-row img,
.social-scroll-wrap img,
.related-products-scroll img,
.product-thumbnails-row img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.subcategory-pills-row,
.social-scroll-wrap,
.related-products-scroll,
.search-quick-tags,
.product-thumbnails-row {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.subcategory-pills-row.is-dragging,
.social-scroll-wrap.is-dragging,
.related-products-scroll.is-dragging,
.search-quick-tags.is-dragging,
.product-thumbnails-row.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* Desktop Navigation (hidden on mobile, shown on PC >= 1024px) */
.desktop-nav-links {
  display: none;
}

/* Toast Notification */
.meril-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(42, 24, 14, 0.94);
  color: #FAF1E8;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10005;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.meril-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Collection Filter Drawer / Modal */
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999;
  isolation: isolate;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.filter-drawer.active {
  visibility: visible;
  opacity: 1;
}

.filter-drawer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(25, 14, 8, 0.62);
  backdrop-filter: blur(4px);
}

.filter-drawer-sheet {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 82vh;
  background-color: #FAF1E8;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -10px 32px rgba(42, 24, 14, 0.24);
}

.filter-drawer.active .filter-drawer-sheet {
  transform: translateY(0);
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.filter-drawer-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.filter-drawer-close {
  font-size: 26px;
  line-height: 1;
  color: var(--color-text-muted);
  padding: 4px;
}

.filter-drawer-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filter-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.filter-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  transition: all 0.2s ease;
}

.filter-chip.active {
  background: var(--color-espresso);
  color: #FAF1E8;
  border-color: var(--color-espresso);
}

.filter-drawer-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
  background: #FFFDF9;
}

.btn-filter-clear {
  flex: 1;
  padding: 12px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-espresso);
  background: #EFE4DA;
}

.btn-filter-apply {
  flex: 2;
  padding: 12px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--color-espresso);
}

/* Ensure product page footer isn't hidden under sticky bar */
body.template-product .site-footer {
  padding-bottom: 100px;
}

/* ============================================================================
   TABLET & DESKTOP FULL-WIDTH RESPONSIVE LAYOUT (>= 769px)
   ============================================================================ */
@media (min-width: 769px) {
  .site-wrapper {
    max-width: 100%;
    margin: 0;
    box-shadow: none;
  }

  /* Announcement Bar */
  .announcement-bar {
    padding: 9px 24px;
    font-size: 12px;
  }

  /* Header */
  .site-header {
    padding: 0 32px;
  }

  .site-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    height: 76px;
    padding: 0;
  }

  .header-logo {
    height: 54px !important;
    max-height: 54px !important;
  }

  .header-actions {
    gap: 14px;
  }

  .header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
  }

  .header-icon-btn:hover {
    background-color: rgba(122, 104, 93, 0.14);
  }

  .search-dropdown-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 24px 18px;
  }

  .header-search-input {
    font-size: 14px;
    padding: 12px 44px;
  }

  /* Hero Section — Full-Width Editorial Desktop */
  .hero-section {
    height: 600px;
  }

  .hero-slide-bg {
    background-position: center center;
  }

  .hero-slide-bg::after {
    background: linear-gradient(
      90deg,
      rgba(22, 12, 6, 0.72) 0%,
      rgba(22, 12, 6, 0.42) 45%,
      rgba(22, 12, 6, 0.14) 100%
    );
  }

  .hero-slide-content {
    max-width: 1240px;
    margin: 0 auto;
    left: 32px;
    right: 32px;
    top: 50%;
    transform: translateY(-54%);
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 16px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 56px;
    line-height: 1.06;
    margin-bottom: 18px;
    max-width: 560px;
  }

  .hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 28px;
  }

  .hero-btn {
    padding: 14px 30px;
    font-size: 14.5px;
    gap: 10px;
  }

  .hero-bottom-controls {
    max-width: 1240px;
    margin: 0 auto;
    left: 32px;
    right: 32px;
    bottom: 52px;
  }

  .hero-arrow-btn {
    width: 42px;
    height: 42px;
  }

  /* Trust Badges Panel */
  .trust-badges-panel {
    max-width: 1120px;
    margin: -34px auto 0;
    border-radius: 24px;
    padding: 24px 36px;
    box-shadow: 0 12px 36px rgba(58, 35, 21, 0.08);
    border: 1px solid rgba(232, 218, 207, 0.75);
  }

  .trust-badges-inner {
    justify-content: space-around;
    gap: 24px;
  }

  .trust-badge-item {
    flex-direction: row;
    gap: 12px;
  }

  .trust-badge-icon {
    width: 44px;
    height: 44px;
  }

  .trust-badge-label {
    font-size: 13.5px;
    font-weight: 600;
  }

  /* Section Containers Centered */
  .collections-section,
  .promo-section,
  .custom-atelier-section,
  .home-bestsellers-section,
  .atelier-craft-section,
  .home-social-section,
  .home-reviews-section,
  .home-faq-section,
  .category-hero-wrapper,
  .category-breadcrumbs,
  .category-controls-row,
  .subcategory-pills-row,
  .products-grid-2col,
  .related-products-section,
  .customer-reviews-section,
  .faq-section,
  .footer-inner {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  .collections-section {
    padding-top: 56px;
    padding-bottom: 24px;
  }

  .collections-badge-subtitle,
  .section-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .collections-main-title,
  .section-main-title {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .section-lead-text {
    font-size: 14.5px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 5-Column Luxury Collection Cards */
  .collections-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 24px;
  }

  .collection-card {
    width: 100%;
    height: 165px;
    border-radius: 18px;
  }

  .collection-card-icon {
    width: 34px;
    height: 34px;
  }

  .collection-card-name {
    font-size: 15px;
  }

  /* Promo Banner */
  .promo-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .promo-card-wrapper {
    height: 300px;
    border-radius: 24px;
    padding: 40px 52px;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .promo-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(42, 24, 14, 0.75) 0%, rgba(42, 24, 14, 0.35) 55%, rgba(42, 24, 14, 0.08) 100%);
    z-index: 1;
  }

  .promo-content {
    position: relative;
    z-index: 2;
    max-width: 460px;
  }

  .promo-title {
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .promo-desc {
    font-size: 15.5px;
    margin-bottom: 22px;
  }

  .promo-btn {
    padding: 12px 26px;
    font-size: 13.5px;
  }

  /* Custom Atelier — Split 2-Column Studio on Desktop */
  .custom-atelier-section {
    padding-top: 48px;
    padding-bottom: 56px;
    text-align: center;
  }

  .atelier-configurator-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas:
      "mockup step"
      "mockup sizes"
      "mockup wa"
      "mockup price"
      "mockup actions";
    gap: 16px 32px;
    align-items: start;
    padding: 32px;
    border-radius: 24px;
    margin-top: 28px;
    text-align: left;
  }

  .atelier-mockup-frame {
    grid-area: mockup;
    height: 100%;
    min-height: 430px;
    border-radius: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mockup-tapestry-wrap {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mockup-tapestry-wrap.size-70x100 {
    width: 135px;
    height: 190px;
    transform: scale(0.94);
  }

  .mockup-tapestry-wrap.size-100x140 {
    width: 185px;
    height: 255px;
    transform: scale(1);
  }

  .mockup-tapestry-wrap.size-140x200 {
    width: 235px;
    height: 315px;
    transform: scale(1.06);
  }

  .atelier-step-label {
    grid-area: step;
    font-size: 14px;
    margin-top: 0;
  }

  .atelier-sizes-grid--three {
    grid-area: sizes;
    gap: 12px;
  }

  .atelier-size-chip {
    padding: 14px 12px;
  }

  .size-chip-dim {
    font-size: 14px;
  }

  .size-chip-sub {
    font-size: 11px;
  }

  .atelier-wa-box {
    grid-area: wa;
    padding: 16px;
  }

  .atelier-wa-title {
    font-size: 13.5px;
  }

  .atelier-wa-desc {
    font-size: 12px;
  }

  .atelier-price-banner {
    grid-area: price;
    padding: 16px 20px;
  }

  .price-banner-amount {
    font-size: 22px;
  }

  .atelier-actions-group {
    grid-area: actions;
    gap: 12px;
  }

  .atelier-whatsapp-cta,
  .atelier-cart-cta {
    padding: 14px 20px;
    font-size: 13.5px;
  }

  .atelier-process-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
  }

  .process-step-card {
    padding: 22px 20px;
    border-radius: 18px;
  }

  .process-step-title {
    font-size: 14px;
  }

  .process-step-desc {
    font-size: 12.5px;
  }

  /* Best Sellers & Collection Grids */
  .home-bestsellers-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .home-bestsellers-header {
    text-align: center;
    margin-bottom: 28px;
  }

  .products-grid-2col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-left: 0;
    padding-right: 0;
  }

  #category-products-grid.products-grid-2col {
    padding-left: 32px;
    padding-right: 32px;
  }

  .product-grid-card {
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .product-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(58, 35, 21, 0.1);
  }

  .product-card-details {
    padding: 14px 14px 16px;
  }

  .product-card-title {
    font-size: 14.5px;
  }

  .price-current {
    font-size: 16px;
  }

  .price-old {
    font-size: 12px;
  }

  .card-quick-add-btn {
    width: 36px;
    height: 36px;
  }

  .card-quick-add-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Craft Pillars */
  .atelier-craft-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .craft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .craft-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .craft-title {
    font-size: 14px;
  }

  .craft-desc {
    font-size: 12.5px;
  }

  /* Social Proof Grid on Desktop */
  .home-social-section {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .social-scroll-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
    cursor: default;
  }

  .social-card {
    flex: none;
    width: 100%;
    border-radius: 18px;
  }

  .social-img-box {
    height: 220px;
  }

  .social-handle {
    font-size: 13px;
  }

  .social-comment {
    font-size: 12.5px;
  }

  /* Reviews */
  .home-reviews-section {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
  }

  .home-review-card {
    padding: 22px 24px;
    border-radius: 18px;
  }

  .home-review-author {
    font-size: 14px;
  }

  .home-review-body {
    font-size: 13.5px;
  }

  /* FAQ */
  .home-faq-section,
  .faq-section {
    max-width: 880px;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .faq-question-btn {
    padding: 16px 20px;
    font-size: 14.5px;
  }

  .faq-answer {
    padding: 0 20px 18px;
    font-size: 13.5px;
  }

  /* ---- PRODUCT PAGE DESKTOP 2-COLUMN LAYOUT ---- */
  .product-detail-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 32px 64px;
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .product-gallery-container {
    position: sticky;
    top: 96px;
    margin-bottom: 0;
  }

  .product-main-image-wrapper {
    border-radius: 24px;
  }

  .product-main-img {
    aspect-ratio: 1.15;
  }

  .product-thumbnails-row {
    gap: 10px;
    margin-top: 14px;
  }

  .thumbnail-item {
    border-radius: 10px;
  }

  .product-info-container {
    padding: 8px 0;
  }

  .product-type-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .product-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 10px 0 12px;
  }

  .product-price-row .price-current {
    font-size: 28px;
  }

  .product-price-row .price-old {
    font-size: 16px;
  }

  .product-features-row {
    padding: 16px;
    border-radius: 16px;
    margin: 20px 0;
  }

  .variants-label {
    font-size: 13px;
  }

  .variant-chip {
    padding: 12px 18px;
    font-size: 13.5px;
  }

  .product-atc-row {
    gap: 14px;
    margin: 22px 0;
  }

  .btn-add-to-cart {
    padding: 16px 28px;
    font-size: 15px;
  }

  .accordion-header {
    padding: 16px 4px;
    font-size: 14px;
  }

  .accordion-body {
    font-size: 13.5px;
  }

  /* Related Products Desktop Grid */
  .related-products-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .related-products-scroll {
    overflow: visible;
    margin: 0;
    padding: 0;
    cursor: default;
  }

  .related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: 100%;
  }

  .related-card {
    width: 100%;
    border-radius: 18px;
  }

  .related-card-img-wrap {
    height: 220px;
  }

  .related-title {
    font-size: 14.5px;
  }

  .related-price {
    font-size: 15px;
  }

  /* Customer Reviews on Product Page */
  .customer-reviews-section {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .reviews-summary-card {
    padding: 24px 28px;
    border-radius: 20px;
  }

  .customer-reviews-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
  }

  /* Sticky Purchase Bar on Desktop — Full Width Centered Inner */
  .sticky-purchase-bar {
    max-width: 100%;
    left: 0;
    transform: none;
    border-radius: 24px 24px 0 0;
    padding: 14px 32px;
  }

  .sticky-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    gap: 20px;
  }

  .sticky-thumb {
    width: 50px;
    height: 50px;
  }

  .sticky-title {
    font-size: 14.5px;
  }

  .sticky-subtitle {
    font-size: 12px;
  }

  .sticky-current-price {
    font-size: 18px;
  }

  .sticky-old-price {
    font-size: 12px;
  }

  .btn-sticky-atc {
    padding: 13px 28px;
    font-size: 14px;
  }

  /* ---- COLLECTION PAGE DESKTOP ---- */
  .category-hero-wrapper {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .category-hero-card {
    height: 250px;
    border-radius: 24px;
    padding: 36px 48px;
  }

  .category-hero-title {
    font-size: 40px;
  }

  .category-hero-desc {
    font-size: 15px;
  }

  .category-breadcrumbs {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 13px;
  }

  .category-controls-row {
    padding-top: 4px;
    padding-bottom: 18px;
    justify-content: space-between;
  }

  .btn-filter-toggle {
    padding: 10px 20px;
    font-size: 13px;
  }

  .sort-select {
    padding: 10px 38px 10px 16px;
    font-size: 13px;
  }

  .subcategory-pills-row {
    justify-content: center;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .subcat-icon-circle,
  .subcat-thumb-box {
    width: 58px;
    height: 58px;
  }

  .subcat-pill span {
    font-size: 12.5px;
  }

  /* Filter Drawer Centered Modal on Desktop */
  .filter-drawer-sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: 520px;
    max-width: 92vw;
    border-radius: 24px;
    transform: translate(-50%, -46%) scale(0.96);
  }

  .filter-drawer.active .filter-drawer-sheet {
    transform: translate(-50%, -50%) scale(1);
  }

  /* Cart Drawer wider on desktop */
  .cart-drawer-content {
    max-width: 420px;
  }

  .site-footer {
    padding: 48px 0 40px;
  }
}

/* Large Desktop >= 1024px */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .desktop-nav-link {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: opacity 0.2s ease;
    white-space: nowrap;
  }

  .site-header--index .desktop-nav-link {
    color: #FAF1E8;
  }

  .site-header--product .desktop-nav-link,
  .site-header--collection .desktop-nav-link {
    color: var(--color-espresso);
  }

  .desktop-nav-link:hover {
    opacity: 0.72;
  }

  .hero-section {
    height: 640px;
  }

  .hero-title {
    font-size: 62px;
  }

  .products-grid-2col {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .social-scroll-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
