/* You Name It — customer storefront (luxury dessert theme) */

/* Adjusted fallback for Cormorant Garamond — matches metrics to reduce font-swap CLS */
@font-face {
  font-family: "cormorant-fb";
  src: local("Georgia");
  size-adjust: 86%;
  ascent-override: 88%;
  descent-override: 30%;
  line-gap-override: 6%;
}

:root {
  --font-display: "Cormorant Garamond", "cormorant-fb", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --z-header: 200;
  --z-nav-panel: 201;
  --z-drawer-overlay: 298;
  --z-drawer: 299;
  --z-modal-backdrop: 400;
  --z-modal: 401;
  --z-special-order: 600;
  --z-toast: 700;
  --z-admin-auth-gate: 500;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100%;
}

body.store-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--st-text);
  background: var(--st-bg);
  background-image: radial-gradient(ellipse 100% 80% at 100% 0%, rgba(212, 181, 140, 0.2), transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(139, 105, 20, 0.07), transparent 45%);
}

.store-body > main {
  flex: 1;
}

#app {
  min-height: 60vh;
}

.display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: var(--st-accent);
  text-decoration: none;
  transition: color 0.2s var(--st-ease);
}
a:hover {
  color: var(--st-chocolate);
}

/* ----- Header ----- */
.store-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 243, 237, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(61, 41, 20, 0.06);
  box-shadow: 0 4px 30px rgba(44, 24, 16, 0.02);
  transition: background 0.3s var(--st-ease), backdrop-filter 0.3s var(--st-ease), box-shadow 0.3s var(--st-ease);
}
.store-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
}

.store-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  color: var(--st-chocolate);
  line-height: 0;
}

/* Brand PNG — matches admin `.site-logo` (height / object-fit per spec) */
.site-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.store-header .site-logo {
  height: clamp(38px, 5.5vw, 70px);
  max-width: min(280px, 42vw);
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 1;
}

.store-header__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

.store-header__social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  color: var(--st-chocolate);
  transition: background 0.2s var(--st-ease), transform 0.2s var(--st-ease);
}

.store-header__social .social-icon:hover {
  background: var(--st-accent-soft);
  transform: translateY(-1px);
}

.store-header__social .social-icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .site-logo {
    height: 44px;
  }

  .store-header .site-logo {
    max-width: min(140px, 32vw);
  }
  
  .store-header__inner {
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .store-header__social {
    display: none;
  }
  
  .store-header__actions {
    gap: 0.35rem;
  }
  
  .store-cart-link {
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
    min-height: 36px;
  }
  
  .store-cart-link span:not(.store-cart-badge) {
    display: none;
  }
  
  .lang-toggle {
    padding: 0.3rem 0.45rem;
    font-size: 0.7rem;
    min-height: 44px;
  }

  .lang-toggle__label {
    display: none;
  }
  
  .btn-special-order--compact {
    display: none;
  }
  
  .store-menu-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 0.4rem;
  }
  
  .hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
  }
  
  .hero__lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .hero {
    padding: 1.75rem 0.85rem 2.5rem;
  }
  
  .hero__grid {
    gap: 1.25rem;
  }
}

.site-logo--footer {
  height: 56px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

@media (max-width: 640px) {
  .site-logo--footer {
    height: 40px;
    max-width: 160px;
  }
  
  .store-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .store-footer {
    padding: 2.5rem 0.85rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .store-header .site-logo {
    max-width: min(120px, 30vw);
  }
  
  .store-header__inner {
    padding: 0.5rem 0.75rem;
    gap: 0.35rem;
  }

  .section-head {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  
  .store-cart-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    min-height: 34px;
  }
  
  .store-cart-link span:not(.store-cart-badge) {
    display: none;
  }
  
  .lang-toggle {
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
    min-height: 34px;
  }
  
  .lang-toggle__label {
    display: none;
  }
  
  .btn-special-order--compact {
    display: none;
  }
  
  .store-menu-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 0.35rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .social-section__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .special-order-cta__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .special-order-cta__decoration {
    display: none;
  }
  
  .so-panel {
    width: min(480px, 94vw);
    max-height: min(90vh, 680px);
  }
  
  .so-panel__glass {
    border-radius: 20px;
  }
}

@media (max-width: 360px) {
  .store-header .site-logo {
    max-width: 100px;
  }
  
  .store-header__inner {
    padding: 0.4rem 0.6rem;
    gap: 0.3rem;
  }
  
  .store-cart-link {
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
    min-height: 32px;
  }
  
  .store-cart-link svg {
    width: 16px;
    height: 16px;
  }
  
  .lang-toggle {
    padding: 0.2rem 0.35rem;
    font-size: 0.6rem;
    min-height: 32px;
  }
  
  .lang-toggle__code {
    min-width: 1.6rem;
    padding: 0.1rem 0.35rem;
    font-size: 0.6rem;
  }
  
  .store-menu-btn {
    min-width: 34px;
    min-height: 34px;
    padding: 0.3rem;
  }
  
  .store-menu-btn svg {
    width: 18px;
    height: 18px;
  }
  
}

@media (max-width: 320px) {
  .store-header .site-logo {
    max-width: 120px;
    min-width: 120px;
    height: 36px;
  }
  
  .store-header__inner {
    padding: 0.35rem 0.5rem;
    gap: 0.25rem;
  }
  
  .store-cart-link {
    min-height: 30px;
    padding: 0.2rem 0.35rem;
    font-size: 0.6rem;
  }
  
  .store-cart-link svg {
    width: 14px;
    height: 14px;
  }
  
  .lang-toggle {
    min-height: 30px;
    padding: 0.15rem 0.3rem;
    font-size: 0.55rem;
  }
  
  .lang-toggle__code {
    min-width: 1.4rem;
    padding: 0.05rem 0.3rem;
    font-size: 0.55rem;
  }
  
  .store-menu-btn {
    min-height: 30px;
    min-width: 30px;
    padding: 0.25rem;
  }
  
  .store-menu-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .store-cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
    padding: 0 4px;
  }
}

.store-nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: 2rem;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .store-nav {
    display: flex;
  }
}

.store-nav > a {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  color: var(--st-muted);
  font-weight: 500;
  font-size: 0.94rem;
  transition: background 0.2s var(--st-ease), color 0.2s var(--st-ease);
}
.store-nav > a:hover {
  background: rgba(250, 247, 242, 0.8);
  color: var(--st-chocolate);
}

/* Premium Active Navigation States */
[data-store-page="home"] .store-nav > a[href="index.html"],
[data-store-page="shop"] .store-nav > a[href="products.html"],
[data-store-page="cart"] .store-nav > a[href="cart.html"] {
  background: var(--st-accent-soft);
  color: var(--st-accent);
  font-weight: 600;
}

/* Dropdown */
.store-nav__dropdown {
  position: relative;
}
.store-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--st-muted);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--st-ease), color 0.2s var(--st-ease);
}
.store-nav__trigger svg {
  transition: transform 0.28s var(--st-ease);
}
.store-nav__dropdown:hover .store-nav__trigger,
.store-nav__dropdown:focus-within .store-nav__trigger {
  background: rgba(250, 247, 242, 0.9);
  color: var(--st-chocolate);
}
.store-nav__dropdown:hover .store-nav__trigger svg,
.store-nav__dropdown:focus-within .store-nav__trigger svg {
  transform: rotate(180deg);
}

.store-nav__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: 14px;
  box-shadow: var(--st-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s var(--st-ease), transform 0.28s var(--st-ease), visibility 0.28s;
}
.store-nav__dropdown:hover .store-nav__panel,
.store-nav__dropdown:focus-within .store-nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.store-nav__panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--st-text);
  font-size: 0.92rem;
}
.store-nav__panel a:hover {
  background: var(--st-accent-soft);
  color: var(--st-chocolate);
}

.store-nav__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-header__actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
  flex-wrap: nowrap;
}

.store-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-chocolate);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.06);
  transition: transform 0.2s var(--st-ease), box-shadow 0.2s var(--st-ease);
  white-space: nowrap;
  min-height: 40px;
  min-width: 0;
  flex-shrink: 0;
}
.store-cart-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44, 24, 16, 0.1);
}

.store-cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-primary), var(--st-accent));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.store-cart-badge[hidden] {
  display: none;
}
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  top: 0;
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--st-primary, #c9a96e);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.back-to-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--st-chocolate);
  text-decoration: none;
  line-height: 1;
  transition: box-shadow 0.2s, border-color 0.2s;
  flex-shrink: 0;
  min-height: 44px;
}
.lang-toggle:hover {
  border-color: var(--st-accent);
  box-shadow: 0 2px 8px rgba(139, 105, 20, 0.1);
}
.lang-toggle__label {
  font-weight: 500;
  color: var(--st-muted);
}
.lang-toggle__code {
  font-weight: 700;
  color: var(--st-accent);
  min-width: 1.8rem;
  text-align: center;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(139, 105, 20, 0.08);
  font-size: 0.72rem;
}

.store-menu-btn {
  display: inline-flex;
  padding: 0.45rem;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: var(--st-surface);
  color: var(--st-chocolate);
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  min-width: 0;
}
@media (min-width: 900px) {
  .store-menu-btn {
    display: none;
  }
}

/* Mobile drawer */
.store-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 16, 0.4);
  backdrop-filter: blur(4px);
  z-index: 298;
}
@media (max-width: 899px) {
  .store-drawer-overlay {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--st-ease), visibility 0.3s;
  }
  .store-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
  }
}
.store-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  max-width: 100%;
  height: 100vh;
  background: var(--st-surface);
  z-index: 299;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.35s;
  box-shadow: -12px 0 45px rgba(44, 24, 16, 0.12);
  overflow-y: auto;
  padding: 1.5rem;
  overscroll-behavior: contain;
  visibility: hidden;
}
.store-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0s;
}
.store-drawer h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--st-chocolate);
  line-height: 1.2;
}
.store-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--st-border);
}
.store-drawer__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--st-bg2);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--st-chocolate);
  cursor: pointer;
  transition: background 0.25s var(--st-ease), transform 0.25s var(--st-ease);
}
.store-drawer__close:hover {
  background: var(--st-accent-soft);
  transform: rotate(90deg);
}
.store-drawer__social {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--st-bg2);
  border-radius: 16px;
  border: 1px solid rgba(61, 41, 20, 0.06);
}
.store-drawer__social-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.store-drawer__social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.store-drawer__social-links .social-icon {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid rgba(61, 41, 20, 0.08);
  color: var(--st-chocolate);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.25s var(--st-ease), background 0.25s var(--st-ease), color 0.25s var(--st-ease);
}
.store-drawer__social-links .social-icon:hover {
  border-color: var(--st-accent);
  background: var(--st-accent);
  color: #fff;
  transform: translateY(-1px);
}
.store-drawer a {
  display: block;
  padding: 0.9rem 0.75rem;
  color: var(--st-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s var(--st-ease), background 0.3s var(--st-ease), padding-left 0.3s var(--st-ease);
  position: relative;
  border-radius: 12px;
}
.store-drawer a:hover {
  color: var(--st-accent);
  background: var(--st-bg2);
  padding-left: 1.25rem;
}

/* Premium Drawer Active Navigation States */
[data-store-page="home"] .store-drawer a[href="index.html"],
[data-store-page="shop"] .store-drawer a[href="products.html"],
[data-store-page="cart"] .store-drawer a[href="cart.html"] {
  color: var(--st-accent);
  background: var(--st-accent-soft);
  font-weight: 700;
  padding-left: 1.25rem;
}

body.store-body.is-rtl [data-store-page="home"] .store-drawer a[href="index.html"],
body.store-body.is-rtl [data-store-page="shop"] .store-drawer a[href="products.html"],
body.store-body.is-rtl [data-store-page="cart"] .store-drawer a[href="cart.html"] {
  padding-left: 0.75rem;
  padding-right: 1.25rem;
}

.store-drawer .btn-special-order--drawer {
  width: 100%;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
}
.store-drawer .store-drawer__cats {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--st-border);
}
.store-drawer .store-drawer__cats span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.store-drawer .store-drawer__cats a {
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  border-bottom: none;
}
.store-drawer .store-drawer__cats a:hover {
  padding-left: 1.25rem;
}

/* Premium Dynamic Active Categories States */
.store-nav__panel a.nav-active-category {
  background: var(--st-accent-soft);
  color: var(--st-accent);
  font-weight: 700;
}
.store-drawer .store-drawer__cats a.drawer-active-category {
  color: var(--st-accent);
  background: var(--st-accent-soft);
  font-weight: 700;
  padding-left: 1.25rem;
}
body.store-body.is-rtl .store-drawer .store-drawer__cats a.drawer-active-category {
  padding-left: 0.75rem;
  padding-right: 1.25rem;
}

@media (max-width: 480px) {
  .store-drawer {
    width: 85vw;
    padding: 1.25rem 1rem;
  }
  .store-drawer h3 {
    font-size: 1.35rem;
  }
  .store-drawer a:hover {
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .store-drawer .store-drawer__cats a:hover {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 360px) {
  .store-drawer {
    width: 90vw;
    padding: 1rem 0.85rem;
  }
  .store-drawer h3 {
    font-size: 1.25rem;
  }
}

/* RTL drawer */
body.store-body.is-rtl .store-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
body.store-body.is-rtl .store-drawer.open {
  transform: translateX(0);
}
body.store-body.is-rtl .store-drawer a:hover {
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
body.store-body.is-rtl .store-drawer .store-drawer__cats a:hover {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (max-width: 480px) {
  body.store-body.is-rtl .store-drawer a:hover {
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  body.store-body.is-rtl .store-drawer .store-drawer__cats a:hover {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(0.75rem, 3vw, 1.25rem) clamp(1.5rem, 5vw, 3rem);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  min-height: auto;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: center;
}
@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero__content {
  animation: heroIn 0.9s var(--st-ease) both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--st-accent-soft);
  color: var(--st-chocolate);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--st-chocolate);
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero__lead {
  margin: clamp(0.75rem, 2vw, 1rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.55;
  color: var(--st-muted);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.875rem;
  width: 100%;
}

.hero__visual {
  position: relative;
  animation: heroVisual 1.1s var(--st-ease) 0.1s both;
}
@keyframes heroVisual {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero__frame {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--color-cream), #e5d8cb);
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.15);
  overflow: hidden;
  contain: layout style paint;
  transition: transform 0.8s var(--st-ease), box-shadow 0.8s var(--st-ease);
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.15);
  transition: transform 0.55s var(--st-ease);
}

@media (max-width: 879px) {
  .hero {
    padding: 1.75rem 0.85rem 2.5rem;
  }
  
  .hero__grid {
    gap: 1.5rem;
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .hero__cta .btn-store {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0.85rem 2rem;
  }
  
  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .hero__lead {
    font-size: 0.9rem;
  }
  
  .hero__cta {
    gap: 0.5rem;
  }
  
  .hero__cta .btn-store {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  
  .btn-special-order--hero {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero {
    padding: 1.25rem 0.85rem 1.75rem;
  }
  
  .hero h1 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }
  
  .hero__lead {
    font-size: 0.85rem;
  }
  
  .hero__cta .btn-store {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .hero {
    padding: 1rem 0.5rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.25rem;
  }
  
  .hero__lead {
    font-size: 0.8rem;
  }
}

/* ----- Special Order CTA Banner ----- */
.special-order-cta {
  padding: 4rem 1.25rem;
  background: linear-gradient(180deg, var(--st-chocolate) 0%, var(--color-chocolate-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.special-order-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
  pointer-events: none;
}

.special-order-cta__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.special-order-cta__text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: white;
}

.special-order-cta__text p {
  font-size: 1.1rem;
  margin: 0 0 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.special-order-cta__decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.special-order-cta__icon {
  font-size: 4rem;
  opacity: 0.8;
}

.special-order-cta__sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle--1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.sparkle--2 {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.sparkle--3 {
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

@keyframes sparkleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
}

/* ----- Special Order CTA (navbar / hero / drawer) ----- */
.btn-special-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid rgba(106, 74, 46, 0.32);
  background: linear-gradient(165deg, var(--color-bg) 0%, var(--color-cream) 42%, var(--color-cream-dark) 100%);
  color: var(--st-chocolate);
  box-shadow: 0 6px 22px rgba(74, 47, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.32s var(--st-ease), box-shadow 0.32s var(--st-ease), filter 0.28s var(--st-ease),
    border-color 0.28s var(--st-ease);
}
.btn-special-order:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 105, 20, 0.45);
  box-shadow: 0 14px 36px rgba(74, 47, 31, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  filter: brightness(1.03);
}
.btn-special-order:active {
  transform: translateY(0);
}
.store-nav .btn-special-order {
  white-space: nowrap;
}
@media (min-width: 900px) {
  .btn-special-order--compact {
    display: none !important;
  }
}
.btn-special-order--compact {
  padding: 0.42rem 0.82rem;
  font-size: 0.78rem;
}
.btn-special-order--hero {
  padding: 0.72rem 1.35rem;
  font-size: 0.92rem;
}
.btn-special-order--drawer {
  width: 100%;
  margin-top: 0.15rem;
}

/* ----- Special Order modal (glass chat) ----- */
#special-order-modal-root {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--st-ease), visibility 0.35s;
}
#special-order-modal-root.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.so-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.42);
  backdrop-filter: blur(8px);
}
.so-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(520px, 94vw);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  transition: transform 0.38s var(--st-ease), opacity 0.38s var(--st-ease);
  opacity: 0;
}
#special-order-modal-root.open .so-panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.so-panel__glass {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  border-radius: clamp(22px, 4vw, 28px);
  background: linear-gradient(155deg, rgba(255, 252, 248, 0.94), rgba(243, 235, 227, 0.92));
  border: 1px solid rgba(139, 105, 20, 0.22);
  box-shadow: 0 28px 70px rgba(44, 24, 16, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.so-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.15rem 0.85rem;
  border-bottom: 1px solid rgba(61, 41, 20, 0.08);
}
.so-panel__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--st-chocolate);
}
.so-panel__intro {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--st-muted);
  line-height: 1.45;
}
.so-panel__close {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--st-chocolate);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.so-panel__close:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}
.so-step {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
#so-step-chat.so-step {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.so-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--st-muted);
}
.so-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--st-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.so-input:focus {
  outline: none;
  border-color: rgba(139, 105, 20, 0.45);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.12);
}
.so-btn-full {
  width: 100%;
  justify-content: center;
}
.so-msgs {
  flex: 1;
  min-height: 200px;
  max-height: min(42vh, 380px);
  overflow-y: auto;
  padding: 0.35rem 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
#so-step-chat .so-msgs {
  max-height: none;
  min-height: 160px;
}
.so-msg-row {
  display: flex;
  width: 100%;
}
.so-msg-row--customer {
  justify-content: flex-end;
}
.so-msg-row--admin {
  justify-content: flex-start;
}
.so-bubble {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 6px 20px rgba(44, 24, 16, 0.08);
}
.so-bubble--customer {
  background: linear-gradient(165deg, var(--color-bg), var(--color-cream));
  border: 1px solid rgba(139, 105, 20, 0.18);
  color: var(--st-text);
}
.so-bubble--admin {
  background: linear-gradient(165deg, var(--color-secondary-dark), #5c3d28);
  color: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.so-bubble--admin .so-bubble__time {
  color: rgba(253, 251, 247, 0.72);
}
.so-bubble__time {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: var(--st-light);
}
.so-bubble__img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 0.45rem;
}
.so-compose {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: end;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(61, 41, 20, 0.08);
}
.so-input--msg {
  min-height: 52px;
  resize: vertical;
  max-height: 140px;
}
.so-attach__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--st-border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--st-chocolate);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.so-attach__btn:hover {
  background: var(--color-surface);
  transform: translateY(-1px);
}
.so-send {
  min-height: 44px;
}
.so-file-name {
  margin: 0;
  font-size: 0.78rem;
  color: var(--st-muted);
}
.so-err {
  margin: 0;
  font-size: 0.84rem;
  color: var(--color-danger);
}
body.store-body.is-rtl .so-compose {
  direction: rtl;
}
body.store-body.is-rtl .so-msgs {
  direction: rtl;
}

.store-auth-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--st-chocolate);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s var(--st-ease), border-color 0.2s var(--st-ease);
}
.store-auth-link:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--st-border);
}

/* Utility */
.is-hidden {
  display: none !important;
}
.is-visible {
  display: block !important;
}

/* ==========================================================================
   Hero Skeleton — loading placeholder (same dimensions as final hero)
   ========================================================================== */
@keyframes shBlockShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.sh-block {
  background: linear-gradient(90deg, #efe8e0 25%, #f5efe7 50%, #efe8e0 75%);
  background-size: 200% 100%;
  animation: shBlockShimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm, 6px);
}
.sh-block--eyebrow {
  width: 140px;
  height: 28px;
  margin-bottom: 12px;
}
.sh-block--h1 {
  width: 75%;
  height: clamp(32px, 5vw, 48px);
  margin-bottom: 14px;
}
.sh-block--lead {
  width: 55%;
  height: 18px;
  margin-bottom: 22px;
}
.sh-block--btn {
  width: 140px;
  height: 44px;
  border-radius: var(--button-radius, 6px);
}
.sh-block--image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
#hero-skeleton .hero__frame {
  position: relative;
  min-height: clamp(200px, 30vw, 420px);
}
@media (prefers-reduced-motion: reduce) {
  .sh-block { animation: none; }
}

/* ==========================================================================
   Phase 3: Overflow, Spacing & Layout Responsiveness Fixes
   ========================================================================== */

/* Prevent horizontal overflow scroll globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Responsive Special Order Chat adjustments */
@media (max-width: 440px) {
  .so-panel {
    width: 96vw !important;
    max-height: min(90vh, 680px) !important;
  }
  .so-step {
    padding: 0.85rem 0.75rem 1rem !important;
    gap: 0.75rem !important;
  }
  .so-compose {
    gap: 0.35rem !important;
  }
  .so-attach__btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }
  .so-send {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.82rem !important;
    min-height: 40px !important;
  }
  .so-input--msg {
    min-height: 40px !important;
  }
}

/* Responsive Checkout & Hero CTA stack */
@media (max-width: 480px) {
  .checkout-card {
    padding: 0 !important;
    border-radius: 20px !important;
  }
  .cart-summary {
    padding: 1.25rem 1rem !important;
    border-radius: 20px !important;
  }
  .hero__cta {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .hero__cta .btn-store,
  .hero__cta .btn-special-order {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center;
    justify-content: center;
  }
}

/* Special Order Banner CTA overrides on narrow screens */
@media (max-width: 400px) {
  .special-order-cta__content {
    padding: 1.5rem 1rem !important;
    gap: 1.5rem !important;
  }
  .special-order-cta__text h2 {
    font-size: 1.65rem !important;
  }
  .special-order-cta__text button {
    white-space: normal !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.88rem !important;
    width: 100% !important;
  }
  .special-order-cta__decoration {
    width: 90px !important;
    height: 90px !important;
  }
  .special-order-cta__icon {
    font-size: 2.75rem !important;
  }
}

/* ----- Reviews Section (Storefront Details) ----- */
.reviews-block {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(61, 41, 20, 0.08);
}

.reviews-block__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .reviews-block__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.reviews-block__head h2 {
  margin: 0;
  font-size: 1.75rem;
  color: var(--st-chocolate);
}

.reviews-block__avg {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--st-muted);
}

.reviews-block__avg .stars-static {
  color: var(--color-warning);
  letter-spacing: 1px;
}

.reviews-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .reviews-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  background: rgba(253, 251, 247, 0.55);
  border: 1px solid rgba(61, 41, 20, 0.06);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.02);
  transition: transform 0.3s var(--st-ease), box-shadow 0.3s var(--st-ease);
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44, 24, 16, 0.05);
}

.review-card__photo-link {
  display: block;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.review-card__photo {
  display: block;
  max-width: 90px;
  max-height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(61, 41, 20, 0.08);
}

.review-card__stars {
  color: var(--color-warning);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.review-card__text {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--st-text);
  line-height: 1.5;
  font-weight: 500;
}

.review-card__who {
  margin: auto 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--st-light);
}

.review-form-card {
  max-width: 580px;
  margin: 0 auto;
  background: rgba(253, 251, 247, 0.85);
  border: 1px solid rgba(139, 105, 20, 0.18);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(44, 24, 16, 0.04);
  backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
  .review-form-card {
    padding: 2.25rem 2rem;
  }
}

.review-form-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--st-chocolate);
}

.review-stars-input {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.star-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-border);
  cursor: pointer;
  padding: 0.1rem;
  transition: transform 0.15s, color 0.15s;
}

.star-btn:hover {
  transform: scale(1.2);
}

.star-btn.is-active {
  color: var(--color-warning);
}

.review-input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--st-border);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.review-input:focus {
  border-color: rgba(139, 105, 20, 0.45);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.12);
}

.review-input[type="text"] {
  max-width: 100%;
}

textarea.review-input {
  resize: vertical;
  min-height: 80px;
  max-height: 180px;
}

.review-msg {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: var(--st-muted);
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ----- Focus-visible accessibility ----- */
:focus-visible {
  outline: 2px solid var(--st-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* ----- Respect reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .product-card:hover {
    transform: none;
  }

  .store-drawer,
  .store-drawer-overlay {
    transition: none;
  }

  .hero__frame:hover {
    transform: none;
  }
}

/* ==========================================================================
   Premium Responsive Improvements — All Breakpoints
   ========================================================================== */

/* Tablet (768-899px) */
@media (min-width: 768px) and (max-width: 899px) {
  .store-header__inner {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .store-nav {
    display: flex;
    gap: 0.25rem;
  }

  .store-nav > a,
  .store-nav__trigger {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  .store-header__social--nav {
    display: none;
  }

  .store-header__actions {
    gap: 0.35rem;
  }

  .store-cart-link {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .store-cart-link span:not(.store-cart-badge) {
    display: none;
  }

  .lang-toggle {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }

  .lang-toggle__label {
    display: none;
  }

  .btn-special-order--compact {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  .hero__grid {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  }

  .category-grid {
    gap: 1rem;
  }

  .special-order-cta__content {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
}

/* Large Phones (480-639px) */
@media (min-width: 480px) and (max-width: 639px) {
  .hero__grid {
    gap: 1.25rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero__cta .btn-store,
  .hero__cta .btn-special-order {
    width: 100%;
    justify-content: center;
  }

  .section-head {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Small Phones (360-479px) */
@media (max-width: 479px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }

  .section-head {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .section-head .btn-store {
    align-self: flex-start;
  }

  .hero {
    padding: 1.25rem 0.85rem 1.75rem;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .hero__lead {
    font-size: 0.88rem;
  }

  .hero__frame {
    aspect-ratio: 4/3;
    max-width: 100%;
  }

  .special-order-cta__content {
    padding: 1.5rem 0;
    gap: 1.5rem;
  }

  .special-order-cta__text h2 {
    font-size: 1.65rem;
  }

  .special-order-cta__text button {
    width: 100%;
  }

  .special-order-cta__decoration {
    width: 90px;
    height: 90px;
  }

  .special-order-cta__icon {
    font-size: 2.75rem;
  }

  .testimonials-grid {
    gap: 1rem;
  }

  .review-form-card {
    padding: 1.25rem;
  }

  .so-panel {
    width: 96vw;
    max-height: min(90vh, 680px);
  }

  .so-step {
    padding: 0.75rem 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .so-compose {
    gap: 0.35rem;
  }

  .so-attach__btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .so-send {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    min-height: 40px;
  }

  .so-input--msg {
    min-height: 40px;
  }
}

/* Ultra-small (<360px) */
@media (max-width: 359px) {
  .product-card {
    border-radius: 10px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .hero {
    padding: 1rem 0.5rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.25rem;
  }

  .hero__lead {
    font-size: 0.82rem;
  }

  .hero__cta .btn-store,
  .hero__cta .btn-special-order {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  .store-header .site-logo {
    max-width: 85px;
    height: 36px;
  }

  .store-header__inner {
    padding: 0.35rem 0.5rem;
    gap: 0.25rem;
  }

  .store-cart-link {
    min-height: 30px;
    padding: 0.2rem 0.35rem;
    font-size: 0.6rem;
  }

  .store-cart-link svg {
    width: 14px;
    height: 14px;
  }

  .lang-toggle {
    min-height: 30px;
    padding: 0.15rem 0.3rem;
    font-size: 0.55rem;
  }

  .store-cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }

  .store-menu-btn {
    min-height: 30px;
    min-width: 30px;
    padding: 0.25rem;
  }

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

/* ==========================================================================
   Section Head & Common Layout Improvements
   ========================================================================== */

.section-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--st-chocolate);
}

.section-head p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--st-muted);
}

.category-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.category-grid {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .category-grid {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.testimonials-section .section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid rgba(61,41,20,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  box-shadow: 0 2px 12px rgba(44,24,16,0.03);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(44,24,16,0.06);
  transform: translateY(-2px);
}

.testimonial-card__quote-icon {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-family: serif;
  line-height: 1;
  opacity: 0.25;
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  pointer-events: none;
}

.testimonial-card__text {
  font-style: italic;
  color: var(--color-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(61,41,20,0.06);
  margin-top: auto;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.testimonial-card__rating {
  display: flex;
  gap: 0.125rem;
  color: var(--color-primary-dark);
}

.testimonial-card__rating .stars-static {
  color: var(--color-primary-dark);
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.testimonials-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Social Section */
.social-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.social-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.social-section__text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  color: var(--st-chocolate);
}

.social-section__text p {
  font-size: 1rem;
  color: var(--st-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.social-section__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  color: var(--st-chocolate);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s var(--st-ease), box-shadow 0.3s var(--st-ease), border-color 0.3s var(--st-ease), background 0.3s var(--st-ease), color 0.3s var(--st-ease);
  width: fit-content;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.1);
  border-color: var(--st-accent);
}

.social-link--instagram:hover {
  background: linear-gradient(135deg, #feda75, #d62976);
  color: #fff;
  border-color: transparent;
}

.social-link--tiktok:hover {
  background: #000;
  color: #fff;
  border-color: transparent;
}

.social-link--facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
}

.social-link--whatsapp:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-color: transparent;
}

.social-section__visual {
  display: flex;
  justify-content: center;
}

.social-section__image-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.12);
  max-width: 360px;
  width: 100%;
  aspect-ratio: 1/1;
}

.social-section__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--st-ease);
}

.social-section__image-frame:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .social-section__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-section__visual {
    order: -1;
  }

  .social-section__image-frame {
    max-width: 280px;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .social-section {
    padding: 2rem 0.85rem;
  }
}

@media (max-width: 640px) {
  .special-order-cta {
    padding: 2.5rem 0.85rem;
  }
}

/* ==========================================================================
   Premium Checkout & Cart Improvements
   ========================================================================== */

.cart-page {
  padding-top: 2rem;
}

.cart-page h1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cart-page > p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

#cart-mount {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (max-width: 640px) {
  .cart-page h1,
  .cart-page > p {
    padding-left: 0;
    padding-right: 0;
  }
  #cart-mount {
    padding-left: 0;
    padding-right: 0;
  }
}

.checkout-card {
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
}

/* ---------- Cart Lines wrapper — fill grid column ---------- */
.cart-lines {
  width: 100%;
}

/* ---------- Cart Line — Premium Compact ---------- */
.cart-line {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--st-surface);
  border: 1px solid rgba(61,41,20,0.06);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44,24,16,0.02);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.cart-line:hover {
  border-color: rgba(139,105,20,0.12);
  box-shadow: 0 6px 24px rgba(44,24,16,0.04);
}
.cart-line + .cart-line {
  margin-top: 0.65rem;
}

/* Primary row: image + info */
.cart-line__primary {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cart-line__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-cream);
}

.cart-line__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-line__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--st-chocolate);
  margin: 0;
  line-height: 1.3;
}

.cart-line__variants {
  font-size: 0.75rem;
  color: var(--st-accent);
  font-weight: 600;
  margin: 0.1rem 0 0;
  line-height: 1.3;
}

.cart-line__unit {
  font-size: 0.78rem;
  color: var(--st-light);
  font-weight: 500;
  margin: 0.1rem 0 0;
}

/* Actions row: qty + total price */
.cart-line__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0 0;
  padding-inline-end: 0;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(61,41,20,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface);
  flex-shrink: 0;
}
.cart-qty button {
  padding: 0.25rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--st-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
  user-select: none;
}
.cart-qty button:hover {
  background: var(--st-bg2);
  color: var(--st-accent);
}
.cart-qty button:active {
  background: var(--color-bg);
  transform: scale(0.92);
}
.cart-qty .qty-inp {
  width: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--st-text);
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.cart-qty .qty-inp::-webkit-inner-spin-button,
.cart-qty .qty-inp::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.cart-line__total {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--st-chocolate);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Remove button — subtle, full-width below */
.btn-remove {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.15rem 0 0;
  margin: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--st-light);
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.btn-remove:hover {
  color: var(--color-danger);
}
.btn-remove:active {
  transform: scale(0.97);
}

/* Desktop cart line */
@media (min-width: 641px) {
  .cart-line {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
  }
  .cart-line__primary {
    flex: 1;
    min-width: 0;
    gap: 1rem;
    align-items: center;
  }
  .cart-line__img {
    width: 88px;
    height: 88px;
  }
  .cart-line__title {
    font-size: 1.05rem;
  }
  .cart-line__unit {
    font-size: 0.82rem;
  }
  .cart-line__actions {
    gap: 1rem;
    padding-top: 0;
    flex-shrink: 0;
  }
  .cart-qty button {
    padding: 0.3rem 0.65rem;
  }
  .cart-qty .qty-inp {
    width: 2.25rem;
  }
  .cart-line__total {
    font-size: 1rem;
    min-width: 5.5rem;
    text-align: right;
  }
  .btn-remove {
    width: auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--st-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .btn-remove:hover {
    color: var(--color-danger);
  }
}

.cart-summary {
  background: var(--st-bg2);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  padding: 1.5rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.95rem;
}

.cart-summary__row--total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--st-chocolate);
  border-top: 1px solid var(--st-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* ==========================================================================
   Premium Checkout Cart — Redesigned Summary, Coupon, Delivery
   ========================================================================== */

/* Cart layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.75rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

@media (max-width: 960px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem 0;
  }
}

/* ---------- Premium Order Summary (glassmorphism) ---------- */
.cart-summary {
  position: sticky;
  top: 1.5rem;
}

.cart-summary__glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(61,41,20,0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(44,24,16,0.04);
  transition: box-shadow 0.3s ease;
}

.cart-summary__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--st-chocolate);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(61,41,20,0.06);
}

.cart-summary__heading svg {
  color: var(--st-accent);
  flex-shrink: 0;
}

.cart-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.92rem;
}

.summary-row__label {
  color: var(--st-muted);
  font-weight: 500;
}

.summary-row__code {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(139,105,20,0.08);
  color: var(--st-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.summary-row__value {
  font-weight: 600;
  color: var(--st-chocolate);
}

.summary-row__value--delivery {
  color: var(--st-accent);
}

.summary-row--discount .summary-row__value--discount {
  color: var(--color-success);
}

.summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,41,20,0.08), transparent);
  margin: 0.5rem 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0;
}

.summary-total__label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--st-chocolate);
}

.summary-total__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--st-chocolate);
}

/* ---------- Premium Promo/Coupon ---------- */
.cart-summary__promo {
  margin-top: 0.75rem;
}

.cart-coupon--premium {
  background: rgba(250,247,242,0.8);
  border: 1px solid rgba(61,41,20,0.06);
  border-radius: 14px;
  padding: 0.85rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cart-coupon--premium.cart-coupon--applied {
  background: rgba(232,245,233,0.6);
  border-color: rgba(76,175,80,0.15);
}

.cart-coupon__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-coupon__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(139,105,20,0.08);
  color: var(--st-accent);
}

.cart-coupon__fields {
  flex: 1;
  display: flex;
  gap: 0.4rem;
  min-width: 0;
}

.cart-coupon__input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(61,41,20,0.1);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--st-chocolate);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-coupon__input:focus {
  border-color: rgba(139,105,20,0.35);
  box-shadow: 0 0 0 3px rgba(139,105,20,0.08);
}

.cart-coupon__input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-coupon__btn {
  position: relative;
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(139,105,20,0.15);
  min-height: 34px;
  min-width: 60px;
}

.cart-coupon__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139,105,20,0.25);
}

.cart-coupon__btn:active:not(:disabled) {
  transform: scale(0.97);
}

.cart-coupon__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cart-coupon__btn-text {
  transition: opacity 0.2s;
}

.cart-coupon__btn-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.cart-coupon__btn.is-loading .cart-coupon__btn-text {
  opacity: 0;
}

.cart-coupon__btn.is-loading .cart-coupon__btn-loader {
  display: block;
}

.cart-coupon__remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(198,40,40,0.06);
  color: var(--color-danger);
  cursor: pointer;
  transition: background 0.2s;
}

.cart-coupon__remove:hover {
  background: rgba(198,40,40,0.12);
}

.cart-coupon__msg {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0.35rem 0 0;
  min-height: 1em;
  transition: color 0.2s;
}

.cart-coupon__msg.is-success {
  color: var(--color-success);
}

.cart-coupon__msg.is-error {
  color: var(--color-danger);
}

.cart-coupon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(46,125,50,0.08);
  color: var(--color-success);
  font-size: 0.72rem;
  font-weight: 600;
}

.cart-summary__foot {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(61,41,20,0.06);
}

.cart-summary__continue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--st-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cart-summary__continue:hover {
  color: var(--st-accent);
}

/* ---------- Premium Checkout Card ---------- */
.checkout-card {
  background: var(--st-surface);
  border: 1px solid rgba(61,41,20,0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44,24,16,0.03);
}

.checkout-card__header {
  padding: 1.5rem 1.5rem 0;
}

.checkout-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--st-chocolate);
  margin: 0;
}

.checkout-card__sub {
  font-size: 0.88rem;
  color: var(--st-muted);
  font-weight: 500;
  margin: 0.25rem 0 0;
}

.checkout-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* ---------- Delivery Location Section ---------- */
.checkout-delivery__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--st-chocolate);
  margin: 0 0 0.85rem;
}

.checkout-delivery__title svg {
  color: var(--st-accent);
  flex-shrink: 0;
}

.checkout-delivery__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
  .checkout-delivery__row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.checkout-field--wide {
  grid-column: 1 / -1;
}

.checkout-field__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--st-chocolate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-field__input,
.checkout-field__select,
.checkout-field__textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(61,41,20,0.1);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--st-chocolate);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}

.checkout-field__input:focus,
.checkout-field__select:focus,
.checkout-field__textarea:focus {
  border-color: rgba(139,105,20,0.35);
  box-shadow: 0 0 0 3px rgba(139,105,20,0.08);
}

.checkout-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b5346' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.checkout-field__select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--color-bg);
}

.checkout-field__textarea {
  resize: vertical;
  min-height: 48px;
}

.checkout-field__input::placeholder,
.checkout-field__textarea::placeholder {
  color: var(--st-light);
  font-weight: 400;
}

/* ---------- Delivery Status ---------- */
.checkout-delivery__status {
  margin: 0.5rem 0 0;
  min-height: 1.2em;
}

.checkout-delivery__status-text {
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.checkout-delivery__status-text--idle {
  color: var(--st-light);
}

.checkout-delivery__status-text--ok {
  color: var(--color-success);
}

.checkout-delivery__status-text--ok::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Checkout Divider ---------- */
.checkout-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,41,20,0.06), transparent);
  margin: 0.75rem 0;
}

/* ---------- Delivery Zone Selection Cards ---------- */
.checkout-zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.checkout-zone-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(61,41,20,0.1);
  border-radius: 12px;
  background: var(--st-surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.checkout-zone-card:hover {
  border-color: var(--st-accent);
  background: rgba(139,105,20,0.04);
}

.checkout-zone-card.is-selected {
  border-color: var(--st-accent);
  background: rgba(139,105,20,0.08);
  box-shadow: 0 0 0 2px rgba(139,105,20,0.15);
}

.checkout-zone-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-zone-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--st-chocolate);
}

.checkout-zone-card__price {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--st-accent);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .checkout-zone-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Checkout Map ---------- */
.checkout-map {
  margin-top: 0.75rem;
}
.checkout-map__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border: 1px dashed var(--st-border, #ddd);
  border-radius: 6px;
  background: transparent;
  color: var(--st-text, #333);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.checkout-map__toggle:hover {
  border-color: var(--st-accent, #c9a96e);
  background: rgba(201,169,110,0.05);
}
.checkout-map__body {
  margin-top: 0.5rem;
  border: 1px solid var(--st-border, #ddd);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface);
}
[data-theme="dark"] .checkout-map__body {
  border-color: var(--color-border);
  background: var(--color-bg-secondary);
}
.checkout-map__toolbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: 1px solid var(--st-border, #eee);
  align-items: center;
}
[data-theme="dark"] .checkout-map__toolbar {
  border-bottom-color: var(--color-border);
}
.checkout-map__search {
  flex: 1;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--st-border, #ddd);
  border-radius: 4px;
  font-size: 0.8rem;
  background: var(--color-surface);
  color: var(--color-text);
  min-width: 0;
}
[data-theme="dark"] .checkout-map__search {
  background: var(--color-bg-secondary);
  color: var(--color-text);
  border-color: var(--color-border);
}
.checkout-map__container {
  width: 100%;
  height: 240px;
}
.checkout-map__result {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--st-border, #eee);
  font-size: 0.8rem;
}
[data-theme="dark"] .checkout-map__result {
  border-top-color: var(--color-border);
}
.checkout-map__match {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-success);
  flex-wrap: wrap;
}
.checkout-map__match svg {
  flex-shrink: 0;
}
.checkout-map__eta {
  color: var(--st-text, #666);
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  background: var(--color-bg-hover);
  border-radius: 4px;
}
[data-theme="dark"] .checkout-map__eta {
  background: var(--color-bg-hover);
  color: var(--color-text-muted);
}
.checkout-map__minorder {
  color: var(--st-text, #666);
  font-size: 0.75rem;
}
.checkout-map__nomatch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-danger);
}
.checkout-map__searching {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--st-text, #666);
  font-size: 0.8rem;
}
.checkout-map__spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--st-border, #ddd);
  border-top-color: var(--st-accent, #c9a96e);
  border-radius: 50%;
  animation: checkout-map-spin 0.6s linear infinite;
}
@keyframes checkout-map-spin {
  to { transform: rotate(360deg); }
}
.checkout-map__fee {
  font-weight: 700;
  color: var(--st-accent, #c9a96e);
  margin-left: auto;
}
.checkout-map__match {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-success);
  flex-wrap: wrap;
}
.checkout-map__match svg {
  flex-shrink: 0;
}

.checkout-delivery__status-text--searching {
  color: var(--st-text, #666);
  font-style: italic;
  font-size: 0.82rem;
}
.checkout-delivery__status-text--outside {
  color: var(--color-danger);
  font-weight: 600;
  font-size: 0.85rem;
}
.checkout-delivery__status-text--ok {
  color: var(--color-success);
  font-weight: 600;
}
.checkout-status-icon {
  display: inline-block;
  margin-right: 0.2rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Current-location pulse ring */
.checkout-map__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}
.checkout-map__pulse--active {
  opacity: 1;
  animation: checkout-map-pulse 1.4s ease-out infinite;
  border: 3px solid #4285f4;
}
@keyframes checkout-map-pulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Enhanced unsupported area UX */
.checkout-unsupported__enhanced {
  background: linear-gradient(135deg, rgba(253,237,236,0.9), rgba(255,255,255,0.95));
  border: 1px solid rgba(220,53,69,0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
}
[data-theme="dark"] .checkout-unsupported__enhanced {
  background: rgba(220,53,69,0.08);
  border-color: rgba(220,53,69,0.3);
}
.checkout-unsupported__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--color-danger);
}
.checkout-unsupported__closest {
  font-size: 0.82rem;
  color: var(--st-text, #555);
  margin: 0.25rem 0;
}
.checkout-unsupported__phone {
  font-size: 0.82rem;
  color: var(--st-text, #555);
  margin: 0.25rem 0;
}
.checkout-unsupported__phone a {
  color: var(--st-accent, #c9a96e);
  text-decoration: none;
  font-weight: 600;
}
.checkout-unsupported__phone a:hover {
  text-decoration: underline;
}
.checkout-unsupported__whatsapp {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  background: #25d366 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 0.3rem 0.8rem !important;
  font-size: 0.8rem !important;
  margin-top: 0.5rem;
  text-decoration: none;
}
.checkout-unsupported__whatsapp:hover {
  background: #1da851 !important;
}

.btn-store.btn-store--sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* #9 Mobile map optimization */
@media (max-width: 480px) {
  .checkout-map__toolbar {
    flex-wrap: wrap;
  }
  .checkout-map__search {
    min-width: 100%;
    margin-top: 0.35rem;
  }
  .checkout-map__container {
    height: 200px;
  }
  .checkout-map__match {
    font-size: 0.75rem;
  }
  .checkout-map__toggle {
    font-size: 0.78rem;
    padding: 0.3rem 0.6rem;
  }
  .checkout-unsupported__enhanced {
    padding: 0.75rem;
  }
}

/* ---------- Unsupported Area Creative UX ---------- */
.checkout-unsupported {
  background: linear-gradient(135deg, rgba(250,247,242,0.9), rgba(255,255,255,0.95));
  border: 1px solid rgba(139,105,20,0.12);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  animation: fadeUp 0.5s ease both;
}

.checkout-unsupported__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.checkout-unsupported__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--st-chocolate);
  margin: 0 0 0.35rem;
}

.checkout-unsupported__text {
  font-size: 0.88rem;
  color: var(--st-muted);
  margin: 0;
  line-height: 1.5;
}

.checkout-unsupported__sub {
  font-size: 0.78rem;
  color: var(--st-accent);
  font-weight: 600;
  margin: 0.5rem 0 0;
}

/* ---------- Checkout submit & message ---------- */
.checkout-submit {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  min-height: 48px;
  justify-content: center;
}

.checkout-msg {
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.5rem 0 0;
  text-align: center;
  min-height: 1.2em;
  color: var(--color-danger);
}

/* ---------- Mobile cart layout ---------- */
@media (max-width: 960px) {
  .cart-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .cart-layout {
    padding: 0.5rem 0;
    gap: 0.75rem;
  }
  .cart-line {
    padding: 0.75rem;
    gap: 0.4rem;
    border-radius: 14px;
  }
  .cart-line__img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }
  .cart-line__primary {
    gap: 0.6rem;
  }
  .cart-line__title {
    font-size: 0.88rem;
  }
  .cart-line__unit {
    font-size: 0.72rem;
  }
  .cart-line__actions {
    padding: 0.25rem 0 0;
    padding-inline-end: 0.5rem;
  }
  .cart-qty button {
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
  }
  .cart-qty .qty-inp {
    width: 1.75rem;
    font-size: 0.75rem;
  }
  .cart-line__total {
    font-size: 0.88rem;
  }
  .btn-remove {
    font-size: 0.65rem;
    padding-top: 0.1rem;
  }
}

/* Ultra-compact for 360–390px */
@media (max-width: 390px) {
  .cart-line {
    padding: 0.65rem 0.6rem;
    gap: 0.35rem;
    border-radius: 12px;
  }
  .cart-line__img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
  }
  .cart-line__primary {
    gap: 0.5rem;
  }
  .cart-line__title {
    font-size: 0.82rem;
  }
  .cart-line__variants {
    font-size: 0.68rem;
  }
  .cart-line__unit {
    font-size: 0.68rem;
  }
  .cart-line__actions {
    padding: 0.15rem 0 0;
    padding-inline-end: 0.4rem;
  }
  .cart-qty button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-height: 36px;
  }
  .cart-qty .qty-inp {
    width: 1.5rem;
    font-size: 0.7rem;
  }
  .cart-line__total {
    font-size: 0.82rem;
  }
  .btn-remove {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .checkout-card {
    padding: 0;
    border-radius: 20px;
  }

  .checkout-card__header {
    padding: 0.75rem 0.85rem 0;
  }

  .checkout-card__title {
    font-size: 1.1rem;
  }

  .checkout-card__sub {
    font-size: 0.82rem;
    margin-top: 0.15rem;
  }

  .checkout-card__body {
    padding: 0.65rem 0.85rem 0.85rem;
  }

  .cart-summary__glass {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .cart-summary__heading {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
  }

  .cart-summary__heading svg {
    width: 18px;
    height: 18px;
  }

  .summary-row {
    padding: 0.35rem 0;
    font-size: 0.88rem;
  }

  .summary-divider {
    margin: 0.3rem 0;
  }

  .summary-total {
    padding: 0.45rem 0 0;
  }

  .summary-total__label {
    font-size: 1rem;
  }

  .summary-total__value {
    font-size: 1.1rem;
  }

  .cart-summary__promo {
    margin-top: 0.5rem;
  }

  .cart-coupon--premium {
    padding: 0.65rem;
    border-radius: 12px;
  }

  .cart-coupon__inner {
    gap: 0.4rem;
  }

  .cart-summary__foot {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }

  .cart-summary__continue {
    font-size: 0.8rem;
  }
}

/* ---------- RTL adjustments for checkout ---------- */
body.store-body.is-rtl .checkout-field__label {
  text-align: right;
}

body.store-body.is-rtl .checkout-field__input,
body.store-body.is-rtl .checkout-field__textarea {
  text-align: right;
}

body.store-body.is-rtl .checkout-field__select {
  background-position: left 0.75rem center;
  padding-right: 0.85rem;
  padding-left: 2rem;
  text-align: right;
}

body.store-body.is-rtl .cart-summary__heading {
  text-align: right;
}

body.store-body.is-rtl .cart-summary__continue svg {
  transform: scaleX(-1);
}

body.store-body.is-rtl .cart-coupon__icon {
  order: 1;
}

body.store-body.is-rtl .checkout-delivery__title svg {
  order: 1;
}

body.store-body.is-rtl .checkout-card__title,
body.store-body.is-rtl .checkout-card__sub {
  text-align: right;
}

body.store-body.is-rtl .checkout-unsupported {
  text-align: center;
}

body.store-body.is-rtl .summary-row {
  direction: rtl;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  padding: 0 0.85rem;
}

@media (min-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
    padding: 0 1.25rem;
  }
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

.breadcrumb__sep {
  color: var(--color-cream-dark);
}

.breadcrumb__current {
  color: var(--color-text);
}

/* ==========================================================================
   Premium Product Detail
   ========================================================================== */

.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0.85rem;
  align-items: start;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-detail {
    gap: 2.5rem;
    padding: 1.5rem;
  }
}

.product-detail__gallery {
  border-radius: 16px;
  overflow: hidden;
  background: var(--st-bg2);
  aspect-ratio: 1/1;
  position: relative;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--st-ease);
}

.product-detail__gallery:hover img {
  transform: scale(1.03);
}

.product-detail__gallery-fallback {
  font-size: 3rem;
  user-select: none;
}

@media (min-width: 768px) {
  .product-detail__gallery-fallback {
    font-size: 4rem;
  }
}

.product-detail__cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}

@media (min-width: 768px) {
  .product-detail__cat {
    font-size: 0.75rem;
  }
}

.product-detail__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .product-detail__title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .product-detail__title {
    font-size: 2.25rem;
  }
}

.product-detail__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--st-accent);
  margin: 0;
}

.product-detail__price-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin: 0.15rem 0 0;
}

@media (min-width: 768px) {
  .product-detail__price {
    font-size: 1.5rem;
  }
  .product-detail__price-hint {
    font-size: 0.8rem;
  }
}

.product-detail__desc {
  font-size: 0.9rem;
  color: var(--st-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .product-detail__desc {
    font-size: 0.95rem;
  }
}

.product-detail__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.product-detail__stock--ok {
  color: var(--color-success);
  background: var(--color-success-light);
}

.product-detail__stock--bad {
  color: var(--color-danger);
  background: var(--color-danger-light);
}

/* Variant groups */
.variant-ui {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .variant-ui {
    gap: 1rem;
  }
}

.variant-group {
  border: 1px solid rgba(61, 41, 20, 0.06);
  border-radius: 16px;
  padding: 0.85rem;
  background: var(--color-bg);
}

@media (min-width: 768px) {
  .variant-group {
    padding: 1rem;
  }
}

.variant-group__label {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

@media (min-width: 768px) {
  .variant-group__label {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
  }
}

.variant-group__options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .variant-group__options {
    gap: 0.4rem;
  }
}

.variant-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: var(--color-surface);
  border: 1px solid rgba(61, 41, 20, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--st-ease), background 0.2s var(--st-ease);
  user-select: none;
  min-height: 44px;
}

@media (min-width: 768px) {
  .variant-option {
    padding: 0.7rem 0.85rem;
    gap: 0.75rem;
  }
}

.variant-option:hover {
  border-color: rgba(139, 105, 20, 0.4);
  background: rgba(250, 247, 242, 0.1);
}

.variant-option input[type="radio"],
.variant-option input[type="checkbox"] {
  accent-color: var(--color-primary-dark);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}

@media (min-width: 768px) {
  .variant-option input[type="radio"],
  .variant-option input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
  }
}

.variant-option__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .variant-option__label {
    font-size: 0.9rem;
  }
}

.variant-option__extra {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-style: normal;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .variant-option__extra {
    font-size: 0.8rem;
  }
}

/* Quantity line */
.product-detail__qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(61, 41, 20, 0.06);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .product-detail__qty {
    padding: 0.75rem 0;
    gap: 1rem;
  }
}

.product-detail__qty-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .product-detail__qty-label {
    font-size: 0.75rem;
  }
}

.qty-input {
  width: 4.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(61, 41, 20, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  background: var(--color-surface);
  outline: none;
  font-family: inherit;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .qty-input {
    width: 5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
  }
}

.qty-input:focus {
  border-color: var(--color-primary-dark);
}

/* Add-to-cart button */
.product-detail__add-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  min-height: 48px;
  border-radius: 14px;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(139, 105, 20, 0.2);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .product-detail__add-btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}

.product-detail__add-btn:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(139, 105, 20, 0.3);
  transform: translateY(-1px);
}

.product-detail__add-btn:active:not(:disabled) {
  transform: scale(0.97);
}

/* Info column spacer */
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .product-detail__info {
    gap: 1rem;
  }
}

/* ==========================================================================
   RTL Consolidated Fixes
   ========================================================================== */

body.store-body.is-rtl .store-nav {
  margin-inline-start: 0;
  margin-inline-end: 2rem;
}

body.store-body.is-rtl .store-header__actions {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

body.store-body.is-rtl .store-nav__panel {
  left: auto;
  right: 0;
}

body.store-body.is-rtl .hero__cta {
  justify-content: flex-start;
}

body.store-body.is-rtl .hero__eyebrow {
  text-align: right;
}

body.store-body.is-rtl .hero__lead {
  text-align: right;
}

body.store-body.is-rtl .section-head {
  text-align: right;
}

body.store-body.is-rtl .section-head > div {
  text-align: right;
}

body.store-body.is-rtl .category-showcase {
  text-align: right;
}

body.store-body.is-rtl .social-section__text {
  text-align: right;
}

body.store-body.is-rtl .social-section__text h2 {
  text-align: right;
}

body.store-body.is-rtl .social-link {
  text-align: right;
}

body.store-body.is-rtl .special-order-cta__text {
  text-align: right;
}

body.store-body.is-rtl .special-order-cta__text h2 {
  text-align: right;
}

body.store-body.is-rtl .product-detail__info {
  text-align: right;
}

body.store-body.is-rtl .cart-line {
  text-align: right;
}

body.store-body.is-rtl .cart-summary {
  text-align: right;
}

body.store-body.is-rtl .checkout-card {
  text-align: right;
}

body.store-body.is-rtl .cart-line__title {
  text-align: right;
}

body.store-body.is-rtl .cart-line__actions {
  direction: rtl;
}

body.store-body.is-rtl .cart-line__total {
  text-align: left;
}

body.store-body.is-rtl .cart-qty {
  direction: ltr;
}

body.store-body.is-rtl .btn-remove {
  text-align: right;
}

body.store-body.is-rtl .cart-summary__row {
  text-align: right;
  direction: rtl;
}

body.store-body.is-rtl .cart-coupon__label {
  text-align: right;
}

body.store-body.is-rtl .cart-coupon__row {
  direction: rtl;
}

body.store-body.is-rtl .checkout-label {
  text-align: right;
}

body.store-body.is-rtl .checkout-input {
  text-align: right;
}

body.store-body.is-rtl .cart-empty {
  text-align: center;
}

body.store-body.is-rtl #cart-mount [class*="text-left"] {
  text-align: right !important;
}

body.store-body.is-rtl #cart-mount [class*="text-right"] {
  text-align: left !important;
}

body.store-body.is-rtl .testimonials-section {
  text-align: right;
}

body.store-body.is-rtl .review-card {
  text-align: right;
}

body.store-body.is-rtl .review-form-card {
  text-align: right;
}

body.store-body.is-rtl .review-form-card h3 {
  text-align: right;
}

body.store-body.is-rtl .review-stars-input {
  justify-content: flex-end;
}

body.store-body.is-rtl .so-panel__title {
  text-align: right;
}

body.store-body.is-rtl .so-panel__intro {
  text-align: right;
}

body.store-body.is-rtl .so-label {
  text-align: right;
}

body.store-body.is-rtl .so-input {
  text-align: right;
}

body.store-body.is-rtl .store-drawer__head h3 {
  text-align: right;
}

/* Shop page RTL */
body.store-body.is-rtl .shop-header-wrap {
  text-align: right;
}

body.store-body.is-rtl .shop-search {
  text-align: right;
  padding: 0 3rem 0 1.25rem;
}

body.store-body.is-rtl .shop-search__icon {
  left: auto;
  right: 1rem;
}

body.store-body.is-rtl .filter-chips {
  direction: rtl;
}

@media (max-width: 430px) {
  body.store-body.is-rtl .shop-search { padding: 0 2.75rem 0 1rem; }
  body.store-body.is-rtl .shop-search__icon { left: auto; right: 0.85rem; }
}

@media (max-width: 370px) {
  body.store-body.is-rtl .shop-search { padding: 0 2.5rem 0 0.85rem; }
  body.store-body.is-rtl .shop-search__icon { left: auto; right: 0.75rem; }
}

body.store-body.is-rtl .product-detail {
  text-align: right;
}

body.store-body.is-rtl .product-detail__title {
  text-align: right;
}

body.store-body.is-rtl .product-detail__cat {
  text-align: right;
}

body.store-body.is-rtl .product-detail__price {
  text-align: right;
}

body.store-body.is-rtl .product-detail__desc {
  text-align: right;
}

body.store-body.is-rtl .variant-option__label {
  text-align: right;
  direction: rtl;
}

body.store-body.is-rtl .variant-option__extra {
  margin-left: 0;
  margin-right: auto;
}

body.store-body.is-rtl .product-detail__qty {
  direction: rtl;
}

body.store-body.is-rtl .breadcrumb {
  direction: rtl;
}

body.store-body.is-rtl .breadcrumb__sep {
  display: inline-block;
}

/* Product cards RTL */
body.store-body.is-rtl .product-card {
  text-align: right;
}

body.store-body.is-rtl .product-card__title {
  text-align: right;
}

body.store-body.is-rtl .product-card__price {
  text-align: right;
}

body.store-body.is-rtl .product-card__meta {
  text-align: right;
}

body.store-body.is-rtl .product-card__cat {
  text-align: right;
}

body.store-body.is-rtl .product-card__actions .btn-store {
  text-align: center;
}

/* Language toggle RTL positioning */
body.store-body.is-rtl .lang-toggle {
  margin-inline: 0;
}

body.store-body.is-rtl .lang-toggle__label {
  text-align: right;
}

/* Special order compose RTL */
body.store-body.is-rtl .so-compose .so-label {
  text-align: right;
}

body.store-body.is-rtl .so-compose .so-input {
  text-align: right;
}

body.store-body.is-rtl .so-compose .so-input--msg {
  text-align: right;
}

/* Header nav links RTL */
body.store-body.is-rtl .store-nav a {
  text-align: right;
}

body.store-body.is-rtl .store-header__social--nav .social-icon {
  margin-inline: 0;
}

/* Curated Collections RTL */
body.store-body.is-rtl .curated-collections__head {
  text-align: right;
}

body.store-body.is-rtl .curated-collections__body {
  text-align: right;
}

/* Cart empty state RTL */
body.store-body.is-rtl .cart-empty__title {
  text-align: center;
}

body.store-body.is-rtl .cart-empty__text {
  text-align: center;
}

/* Shop page RTL refinements */
body.store-body.is-rtl .shop-header__title {
  text-align: right;
}

body.store-body.is-rtl .shop-header__count {
  text-align: right;
}

body.store-body.is-rtl .shop-header__search {
  text-align: right;
}

/* Checkout delivery form RTL refinement */
body.store-body.is-rtl .checkout-field {
  text-align: right;
}

body.store-body.is-rtl .checkout-field__select option {
  text-align: right;
}

/* Coupon section RTL refinement */
body.store-body.is-rtl .cart-coupon__fields {
  direction: rtl;
}

body.store-body.is-rtl .cart-coupon__msg {
  text-align: right;
}

/* RTL Footer */
body.store-body.is-rtl .store-footer {
  text-align: right;
}

body.store-body.is-rtl .store-footer__brand {
  text-align: right;
}

body.store-body.is-rtl .store-footer__inner {
  direction: rtl;
}

body.store-body.is-rtl .store-footer__bottom {
  text-align: center;
}

/* RTL Typography */
body.store-body.is-rtl {
  font-family: "Noto Sans Arabic", var(--font-sans), sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.store-body.is-rtl h1,
body.store-body.is-rtl h2,
body.store-body.is-rtl h3,
body.store-body.is-rtl .display-font {
  font-family: "Noto Sans Arabic", var(--font-sans), sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Shop Layout Enhancement
   ========================================================================== */

/* ==========================================================================
   Shop Catalog — Mobile-First Luxury Layout
   ========================================================================== */

.shop-catalog {
  padding: 1.25rem 0 0;
  width: 100%;
  box-sizing: border-box;
}

.shop-header-wrap {
  text-align: center;
  margin-bottom: 1.25rem;
}

.shop-header__title {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  color: var(--color-text);
  animation: fadeSlideUp 0.7s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

.shop-header__sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 430px) {
  .shop-header__title { font-size: 1.6rem; }
  .shop-header__sub { font-size: 0.82rem; }
  .shop-catalog { padding: 0.75rem 0 0; }
}

@media (max-width: 370px) {
  .shop-header__title { font-size: 1.4rem; }
  .shop-header__sub { font-size: 0.75rem; }
  .shop-catalog { padding: 0.5rem 0 0; }
}

/* ----- Search ----- */
.shop-search-wrap {
  position: relative;
  margin-bottom: 1.25rem;
  width: 100%;
}

.shop-search {
  width: 100%;
  min-height: 56px;
  border-radius: 22px;
  border: 1px solid rgba(61, 41, 20, 0.1);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0 1.25rem 0 3rem;
  outline: none;
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.shop-search:focus {
  border-color: rgba(139, 105, 20, 0.5);
  box-shadow: 0 0 0 4px rgba(139, 105, 20, 0.1), 0 2px 12px rgba(44, 24, 16, 0.04);
}

.shop-search::placeholder {
  color: var(--color-text-muted);
}

.shop-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  width: 20px;
  height: 20px;
}

@media (max-width: 430px) {
  .shop-search { font-size: 0.88rem; min-height: 50px; border-radius: 18px; padding: 0 1rem 0 2.75rem; }
  .shop-search__icon { width: 18px; height: 18px; left: 0.85rem; }
}

@media (max-width: 370px) {
  .shop-search { font-size: 0.82rem; min-height: 44px; border-radius: 16px; padding: 0 0.85rem 0 2.5rem; }
  .shop-search__icon { width: 16px; height: 16px; left: 0.75rem; }
}

/* ----- Category Filter Pills ----- */
.shop-filter-wrap {
  margin-bottom: 1.5rem;
  width: 100%;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chips .filter-chip {
  flex-shrink: 0;
  min-height: 44px;
}

/* ==========================================================================
   Admin Dashboard Responsive Improvements
   ========================================================================== */

@media (max-width: 768px) {
  .admin-auth-gate__card {
    padding: 1.5rem 1.25rem;
  }

  .admin-auth-gate__title {
    font-size: 1.1rem;
  }
}

/* Ensure modals work on mobile */
@media (max-width: 560px) {
  .modal-backdrop {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal {
    max-width: 100%;
    max-height: calc(100vh - 0.5rem);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .modal.modal--product {
    max-width: 100%;
    max-height: calc(100vh - 0.5rem);
  }

  .modal.modal--product .modal__body {
    max-height: calc(100vh - 200px);
  }

  .modal__head {
    padding: 0.85rem 1rem;
  }

  .modal__head h2 {
    font-size: 1.15rem;
  }

  .modal__body {
    padding: 1rem;
  }

  .modal__foot {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .modal__foot .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .modal__head h2 {
    font-size: 1rem;
  }

  .modal__body {
    padding: 0.75rem;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   Premium Micro-interactions & Hover Effects
   ========================================================================== */

/* Smooth image loading */
img {
  transition: opacity 0.35s var(--st-ease);
}

/* Product card image loaded state — fixes invisible images */
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease-out;
}
.product-card__img--loaded {
  opacity: 1 !important;
}
.product-card__media:hover .product-card__img--loaded {
  transform: scale(1.05);
}

/* Button press effect */
.btn-store:not(:disabled):active,
.btn:not(:disabled):active,
.yni-auth-btn:not(:disabled):active {
  transform: scale(0.97);
}

/* Link underline animation */
.store-nav > a,
.store-drawer a {
  position: relative;
}

.store-drawer a::after {
  content: '';
  position: absolute;
  bottom: 0.65rem;
  left: 0.75rem;
  right: auto;
  width: 0;
  height: 2px;
  background: var(--st-accent);
  transition: width 0.3s var(--st-ease);
  border-radius: 1px;
}

.store-drawer a:hover::after {
  width: calc(100% - 1.5rem);
}

body.store-body.is-rtl .store-drawer a::after {
  left: auto;
  right: 0.75rem;
}

/* Card hover glow */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(139, 105, 20, 0.08);
  transition: opacity 0.35s var(--st-ease);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

/* Hero frame hover */
.hero__frame:hover {
  transform: scale(1.01);
  box-shadow: 0 28px 70px rgba(44, 24, 16, 0.18);
}

/* Category card hover */
.category-card {
  position: relative;
  border-radius: var(--st-radius);
  overflow: hidden;
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.35s var(--st-ease), box-shadow 0.35s var(--st-ease), border-color 0.35s var(--st-ease);
  text-decoration: none;
  color: var(--st-chocolate);
  padding: 1rem;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 24, 16, 0.12);
  border-color: rgba(139, 105, 20, 0.25);
}

.category-card__img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.55s var(--st-ease);
  z-index: 0;
}

.category-card:hover .category-card__img {
  transform: scale(1.08);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 251, 247, 0.15) 0%, rgba(253, 251, 247, 0.92) 100%);
  z-index: 1;
}

.category-card__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  margin: 0;
}

.category-card__count {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  color: var(--st-muted);
  margin: 0;
}

.category-card__image-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-cream);
}

/* Toast enhancements */
.toast-wrap {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: var(--z-toast, 700);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--st-chocolate);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 10px 40px rgba(44, 24, 16, 0.2);
  animation: toastSlideIn 0.4s var(--st-ease) both;
  max-width: 340px;
  line-height: 1.45;
}

.toast--error {
  background: #7a3331;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.store-body.is-rtl .toast-wrap {
  right: auto;
  left: 1.25rem;
  align-items: flex-end;
}

body.store-body.is-rtl .toast {
  text-align: right;
  direction: rtl;
}

/* Empty state enhancement */
.cart-empty {
  text-align: center;
  padding: 3rem 1.25rem;
}

.cart-empty p {
  font-size: 1.15rem;
  color: var(--st-muted);
  margin: 0 0 1.5rem;
}

/* Checkbox/radio styling */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--st-accent);
}

/* Select styling */
select {
  appearance: auto;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

/* ==========================================================================
   Product Grid: Responsive Columns — Mobile-First Premium Layout
   ========================================================================== */

#shop-grid {
  min-height: 320px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 430px) {
  .product-grid { gap: 0.65rem; }
}

@media (max-width: 370px) {
  .product-grid { gap: 0.5rem; }
}

/* Loading & empty states */
.shop-grid-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--st-muted);
}

/* ==========================================================================
   About Section — Mobile-First Card Layout
   ========================================================================== */

.about-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--color-bg), var(--color-cream));
  padding: 2.5rem 0;
}

.about-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-section__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.about-section__blob--1 {
  width: 16rem;
  height: 16rem;
  top: -4rem;
  left: -4rem;
  background: rgba(139, 105, 20, 0.06);
}

.about-section__blob--2 {
  width: 16rem;
  height: 16rem;
  bottom: -4rem;
  right: -4rem;
  background: rgba(44, 24, 16, 0.03);
}

.about-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.85rem;
  position: relative;
  z-index: 1;
}

.about-section__card {
  background: var(--color-bg);
  border: 1px solid rgba(61, 41, 20, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.05), 0 2px 8px rgba(44, 24, 16, 0.03);
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.about-section__visual {
  width: 100%;
  line-height: 0;
}

.about-section__frame {
  width: 100%;
}

.about-section__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--color-cream);
  overflow: hidden;
}

.about-section__skeleton {
  position: absolute;
  inset: 0;
  background: var(--color-cream);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-section__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section__frame.is-photo-ready .about-section__skeleton {
  opacity: 0;
  pointer-events: none;
}

.about-section__photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-section__photo-fallback.is-visible {
  opacity: 1;
  display: flex !important;
}

.about-section__illu {
  width: 75%;
  height: 75%;
}

.about-section__copy {
  padding: 1.5rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.about-section__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.about-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.about-section__divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.85rem 0 1.1rem;
}

.about-section__line {
  flex: 1;
  height: 1px;
  max-width: 60px;
  background: rgba(201, 169, 110, 0.35);
}

.about-section__star {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-section__star svg {
  display: block;
  width: 16px;
  height: 16px;
}

.about-section__intro {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 0.85rem;
}

.about-section__support {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 0.15rem;
}

.about-section__closing {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-primary-dark);
  margin: 0.5rem 0 1.35rem;
  font-style: italic;
}

.about-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  min-height: 44px;
  box-shadow: 0 4px 16px rgba(139, 105, 20, 0.2);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 105, 20, 0.3);
}

.about-section__cta:active {
  transform: scale(0.97);
}

.about-section__cta:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.about-section--visible {
  opacity: 1;
}

/* Tablet + */
@media (min-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }

  .about-section__container {
    padding: 0 1.25rem;
  }

  .about-section__card {
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.07), 0 3px 12px rgba(44, 24, 16, 0.04);
  }

  .about-section__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-section__visual {
    order: 2;
  }

  .about-section__copy {
    order: 1;
    padding: 2.5rem 1rem 2.5rem 2.5rem;
  }

  .about-section__image-wrap {
    aspect-ratio: 4 / 5;
  }

  .about-section__frame:hover .about-section__photo {
    transform: scale(1.03);
  }

  .about-section__eyebrow {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .about-section__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
  }

  .about-section__divider {
    margin: 1.25rem 0 1.5rem;
  }

  .about-section__intro {
    font-size: 1rem;
    max-width: 48ch;
  }

  .about-section__support {
    font-size: 0.92rem;
    max-width: 52ch;
  }

  .about-section__closing {
    font-size: 1.05rem;
    margin: 0.65rem 0 1.75rem;
    max-width: 44ch;
  }

  .about-section__cta {
    padding: 0.75rem 1.75rem;
    font-size: 0.88rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .about-section {
    padding: 6rem 0;
  }

  .about-section__copy {
    padding: 3rem 2rem 3rem 3rem;
  }
}

/* RTL */
body.store-body.is-rtl .about-section__copy {
  text-align: right;
}

body.store-body.is-rtl .about-section__title {
  text-align: right;
}

body.store-body.is-rtl .about-section__intro,
body.store-body.is-rtl .about-section__support,
body.store-body.is-rtl .about-section__closing {
  max-width: 100%;
}

body.store-body.is-rtl .about-section__divider {
  flex-direction: row-reverse;
}

body.store-body.is-rtl .about-section__cta {
  align-self: flex-end;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .about-section__copy > * {
    opacity: 0;
    transform: translateY(20px);
    animation: aboutFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .about-section__eyebrow { animation-delay: 0.05s; }
  .about-section__title { animation-delay: 0.1s; }
  .about-section__divider { animation-delay: 0.15s; }
  .about-section__intro { animation-delay: 0.2s; }
  .about-section__support { animation-delay: 0.25s; }
  .about-section__closing { animation-delay: 0.3s; }
  .about-section__cta { animation-delay: 0.35s; }

  .about-section__visual {
    opacity: 0;
    transform: translateY(20px);
    animation: aboutFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
  }

  @keyframes aboutFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section__copy > *,
  .about-section__visual {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .about-section__frame:hover .about-section__photo {
    transform: none;
  }
}

/* ==========================================================================
   Product Buttons — Premium Consistent Design
   ========================================================================== */

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.25s var(--st-ease), box-shadow 0.25s var(--st-ease), background 0.25s var(--st-ease), color 0.25s var(--st-ease), border-color 0.25s var(--st-ease), opacity 0.25s var(--st-ease);
  white-space: nowrap;
  min-height: 40px;
  box-sizing: border-box;
}

.btn-store--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(139, 105, 20, 0.2);
}
.btn-store--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(139, 105, 20, 0.3);
}
.btn-store--primary:active:not(:disabled) {
  transform: scale(0.97);
}
.btn-store--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-store--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: rgba(61, 41, 20, 0.15);
}
.btn-store--ghost:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  border-color: rgba(139, 105, 20, 0.3);
}

.btn-store--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-store--outline:hover:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.2);
}
.btn-store--outline:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-store--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  min-height: 34px;
  border-radius: 10px;
}

/* Compact product card body */
/* Product card — semantic replacement for inline Tailwind */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgba(61, 41, 20, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(44, 24, 16, 0.04);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  box-shadow: 0 16px 40px rgba(44, 24, 16, 0.08);
  transform: translateY(-6px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: var(--color-cream);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  padding: 0.75rem 0.85rem 0.85rem;
}

.product-card__cat {
  font-size: 0.65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.15rem;
}

.product-card__title {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(61, 41, 20, 0.06);
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.product-card__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.price-from {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-left: 0.2rem;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  user-select: none;
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.product-card__actions .btn-store {
  flex: 1;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  min-height: 44px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Compact mobile override */
@media (max-width: 479px) {
  .product-card__body {
    padding: 0.55rem 0.6rem 0.7rem;
  }
  .product-card__title {
    font-size: 0.82rem;
  }
  .product-card__price {
    font-size: 0.8rem;
  }
  .product-card__cat {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
  }
  .product-card__actions .btn-store {
    padding: 0.35rem 0.5rem;
    font-size: 0.72rem;
    min-height: 44px;
  }
}

/* Ultra-compact for 360-370px */
@media (max-width: 370px) {
  .product-card {
    border-radius: 10px;
  }
  .product-card__body {
    padding: 0.4rem 0.45rem 0.5rem;
  }
  .product-card__title {
    font-size: 0.75rem;
  }
  .product-card__price {
    font-size: 0.72rem;
  }
  .product-card__price-row {
    flex-wrap: nowrap;
  }
  .price-from {
    font-size: 0.65rem;
  }
  .product-card__cat {
    font-size: 0.62rem;
    margin-bottom: 0.05rem;
  }
  .product-card__actions .btn-store {
    padding: 0.2rem 0.35rem;
    font-size: 0.65rem;
    min-height: 40px;
    border-radius: 8px;
  }
  .product-card__meta {
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
  }
}

/* ==========================================================================
   Featured Products CTA Section
   ========================================================================== */

.featured-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.25rem 1rem;
  grid-column: 1 / -1;
}

.featured-cta .btn-store {
  min-width: 200px;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Sold out button state */
.btn-store--sold-out {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   Remove duplicate inline button overrides — ensure consistent btn-store
   ========================================================================== */

/* Detail page button — now defined in .product-detail__add-btn above */

/* Checkout submit button */
.checkout-submit {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  min-height: 48px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(139, 105, 20, 0.2);
}

/* Buttons in cart */
.cart-summary .btn-store--ghost {
  justify-content: center;
}

/* Filter chips */
.filter-chip {
  transition: background 0.25s var(--st-ease), color 0.25s var(--st-ease), border-color 0.25s var(--st-ease);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(61, 41, 20, 0.1);
  color: var(--color-text-muted);
  background: var(--color-surface);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
  line-height: 1.3;
}
.filter-chip:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  border-color: rgba(139, 105, 20, 0.3);
}
.filter-chip--active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(139, 105, 20, 0.2);
}
.filter-chip--active:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
}
.filter-chip--clear {
  background: transparent;
  border-color: rgba(61, 41, 20, 0.15);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.filter-chip--clear:hover {
  background: var(--color-bg);
  color: var(--color-text-muted);
  border-color: rgba(61, 41, 20, 0.25);
}

/* ==========================================================================
   Hero image transition fix — no flash
   ========================================================================== */

.hero__img {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.55s var(--st-ease);
}
.hero__img--ready {
  opacity: 1;
}

/* ==========================================================================
   Responsive RTL refinements
   ========================================================================== */
@media (max-width: 480px) {
  body.store-body.is-rtl .checkout-field__select {
    background-position: left 0.65rem center;
  }

  body.store-body.is-rtl .store-header__actions {
    gap: 0.25rem;
  }

  body.store-body.is-rtl .cart-summary__continue {
    justify-content: flex-start;
  }

  body.store-body.is-rtl .cart-summary__continue svg {
    transform: scaleX(-1);
  }
}

@media (max-width: 768px) {
  body.store-body.is-rtl .store-nav {
    margin-inline-end: 0;
  }

  body.store-body.is-rtl .store-nav__list {
    gap: 0.25rem;
  }
}

/* ==========================================================================
   ISSUE 2 FIX: Testimonials / Review Cards
   ========================================================================== */

/* --- Testimonials --- */
.testimonial-card {
  min-width: 280px;
  word-break: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44, 24, 16, 0.08);
}

@media (min-width: 640px) {
  .testimonial-card {
    min-width: 320px;
  }
}

.testimonial-card__content {
  overflow: hidden;
}

.testimonial-card__content p {
  font-size: 1rem !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

.testimonial-card__name {
  font-size: 0.875rem !important;
}

.testimonial-card__rating {
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__rating .stars-static {
  color: var(--color-warning) !important;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* --- Product Detail Review Cards --- */
.review-card {
  min-width: 280px;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1.25rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .review-card {
    min-width: 320px;
  }
}

.review-card__stars {
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
}

.review-card__text {
  font-size: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.review-card__who {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

/* ---- Curated Collections ---- */

#curated-collections {
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
#curated-collections:empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(239,230,220,0.4) 50%, transparent 100%);
  animation: curated-shimmer 1.5s infinite;
  border-radius: 16px;
}
@keyframes curated-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.curated-collections {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.curated-collections__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.curated-collections__title {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  color: var(--color-text);
}

.curated-collections__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .curated-collections__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .curated-collections__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.curated-collections__card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.curated-collections__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.curated-collections__media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--color-cream);
}

.curated-collections__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.curated-collections__card:hover .curated-collections__media img {
  transform: scale(1.05);
}

.curated-collections__body {
  padding: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.curated-collections__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.curated-collections__card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-decoration: none;
}

@media (min-width: 640px) {
  .curated-collections {
    padding: 2.5rem 1.25rem;
  }
  .curated-collections__name {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .curated-collections {
    padding: 3rem 1.25rem;
  }
  .curated-collections__body {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   Curated for You — Horizontal Scroll Section
   ========================================================================== */

.curated-for-you {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.curated-for-you__header {
  padding: 0;
  margin-bottom: 1rem;
}

.curated-for-you__title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  color: var(--color-text);
}

.curated-for-you__sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.curated-for-you__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 0.5rem;
  scrollbar-width: none;
  margin: 0;
  min-height: 280px;
}

.curated-for-you__track::-webkit-scrollbar {
  display: none;
}

.curated-for-you__card {
  flex: 0 0 auto;
  width: 280px;
  min-width: 280px;
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid rgba(61, 41, 20, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(44, 24, 16, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.curated-for-you__card:hover {
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.08);
  transform: translateY(-2px);
}

.curated-for-you__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-cream);
}

.curated-for-you__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.curated-for-you__card:hover .curated-for-you__media img {
  transform: scale(1.04);
}

.curated-for-you__body {
  padding: 0.85rem 1rem 1rem;
  text-align: center;
}

.curated-for-you__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(139, 105, 20, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.curated-for-you__name {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.3;
  font-weight: 600;
  word-break: break-word;
}

.curated-for-you__desc {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  word-break: break-word;
}

.curated-for-you__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  min-height: 44px;
  transition: gap 0.25s ease;
}

.curated-for-you__link:hover {
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .curated-for-you__card {
    width: 300px;
    min-width: 300px;
  }
  .curated-for-you__track {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .curated-for-you__card {
    width: 320px;
    min-width: 320px;
  }
}

@media print {
  .store-header,
  .store-drawer,
  .store-drawer-overlay,
  .store-footer,
  .store-menu-btn,
  .lang-toggle,
  .btn-special-order,
  .store-auth-link,
  .store-cart-link,
  .social-section,
  .special-order-cta,
  .so-panel,
  #special-order-modal-root {
    display: none !important;
  }

  body {
    background: var(--color-surface);
    color: #000;
  }

  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ═══════════════════════════════════
   Order Success Modal
   ═══════════════════════════════════ */

.order-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: orderSuccessFadeIn 0.3s ease;
}

@keyframes orderSuccessFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.order-success-modal {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: orderSuccessSlideUp 0.35s ease;
}

@keyframes orderSuccessSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.order-success-modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.order-success-modal__title {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
}

.order-success-modal__sub {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.order-success-modal__code {
  background: var(--color-bg-secondary);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.order-success-modal__code-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.order-success-modal__code-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary-dark);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.04em;
}

.order-success-modal__eta {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.order-success-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-success-modal__btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
}

.order-success-modal__btn:hover { opacity: 0.85; }

.order-success-modal__btn--primary {
  background: var(--color-primary-dark);
  color: #fff;
}

.order-success-modal__btn--ghost {
  background: transparent;
  color: var(--color-secondary-dark);
  border: 2px solid var(--color-border);
}

.order-success-modal__btn--ghost:hover {
  background: var(--color-bg-secondary);
}

@media (max-width: 414px) {
  .order-success-modal { padding: 2rem 1.25rem; }
  .order-success-modal__title { font-size: 1.3rem; }
  .order-success-modal__icon { width: 52px; height: 52px; font-size: 1.4rem; }
}

@media (max-width: 320px) {
  .order-success-modal { padding: 1.5rem 1rem; }
  .order-success-modal__code-value { font-size: 1rem; }
}

/* ═══════════════════════════════════
   Track My Order Modal
   ═══════════════════════════════════ */

.track-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: orderSuccessFadeIn 0.3s ease;
}

.track-modal {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: orderSuccessSlideUp 0.35s ease;
  position: relative;
}

.track-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.35rem;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-modal__close:hover { color: var(--color-secondary-dark); }

.track-modal__title {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
}

.track-modal__desc {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.track-modal__input-wrap {
  display: flex;
  gap: 0.5rem;
}

.track-modal__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--color-secondary-dark);
  background: var(--color-bg);
  outline: none;
  transition: border-color 0.2s ease;
}

.track-modal__input:focus {
  border-color: var(--color-primary-dark);
}

.track-modal__input::placeholder { color: var(--color-text-muted); }

.track-modal__submit {
  white-space: nowrap;
  min-width: 90px;
}

.track-modal__error {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--color-danger);
}

.track-modal__error.hidden { display: none; }

/* ── Auth Gate Modal ── */
.ag-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(44, 24, 16, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ag-backdrop.open {
  display: flex;
  opacity: 1;
}
.ag-backdrop.open .ag-modal {
  transform: translateY(0) scale(1);
}
.ag-modal {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
  overflow: hidden;
}
.ag-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg);
}
.ag-modal__head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-text);
}
.ag-modal__close {
  border: none;
  background: transparent;
  padding: 0.35rem;
  border-radius: 4px;
  color: var(--color-text-muted);
  line-height: 0;
  cursor: pointer;
  font-size: 1.25rem;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-modal__close:hover { background: var(--color-cream); color: var(--color-text); }
.ag-modal__body { padding: 1.25rem; }
.ag-cookie { font-size: 2.25rem; margin: 0 0 0.5rem; }
.ag-msg { margin: 0 0 1.5rem; color: var(--color-text-muted); }
.ag-actions { display: flex; flex-direction: column; gap: 0.65rem; align-items: center; }
.ag-btn { min-width: 200px; text-align: center; }

@media (max-width: 414px) {
  .track-modal { padding: 2rem 1.25rem; }
  .track-modal__title { font-size: 1.3rem; }
  .track-modal__input-wrap { flex-direction: column; }
  .track-modal__submit { width: 100%; }
}

@media (max-width: 320px) {
  .track-modal { padding: 1.5rem 1rem; }
}

/* ═══════════════════════════════════
   Track My Order — Header / Drawer button
   ═══════════════════════════════════ */

.btn-track-order {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-secondary-dark);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-track-order:hover {
  background: rgba(74,47,31,0.06);
  color: var(--color-primary-dark);
}

.btn-track-order--drawer {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
}

/* ═══════════════════════════════════
   Order History Modal
   ═══════════════════════════════════ */

.order-history-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  padding-top: 5vh;
  animation: orderSuccessFadeIn 0.3s ease;
  overflow-y: auto;
}

.order-history-modal {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: orderSuccessSlideUp 0.35s ease;
  position: relative;
  margin-top: 2rem;
}

.order-history-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.35rem;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-history-modal__close:hover { color: var(--color-secondary-dark); }

.order-history-modal__title {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
}

.order-history-modal__input-wrap {
  display: flex;
  gap: 0.5rem;
}

.order-history-modal__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--color-secondary-dark);
  background: var(--color-bg);
  outline: none;
  transition: border-color 0.2s ease;
}
.order-history-modal__input:focus { border-color: var(--color-primary-dark); }
.order-history-modal__input::placeholder { color: var(--color-text-muted); }

.order-history-modal__submit { white-space: nowrap; min-width: 120px; }

.order-history-modal__error {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--color-danger);
}
.order-history-modal__error.hidden { display: none; }

.order-history-modal__loading {
  text-align: center;
  padding: 1.5rem 0;
}
.order-history-modal__loading.hidden { display: none; }

.order-history-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid #e0d6cc;
  border-top-color: var(--color-primary-dark);
  border-radius: 50%;
  animation: history-spin 0.7s linear infinite;
}
@keyframes history-spin { to { transform: rotate(360deg); } }

.order-history-modal__empty {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.order-history-modal__empty.hidden { display: none; }

.order-history-modal__results { margin-top: 1rem; }
.order-history-modal__results.hidden { display: none; }

/* Order cards inside modal */
.order-history-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  background: var(--color-bg);
  transition: box-shadow 0.2s ease;
}
.order-history-card:hover { box-shadow: 0 4px 14px rgba(74,47,31,0.06); }

.order-history-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.order-history-card__code {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
}

.order-history-card__badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.order-history-card__badge.badge--pending { background: var(--color-warning-light, #fff3cd); color: var(--color-warning-dark, #856404); }
.order-history-card__badge.badge--confirmed { background: var(--color-success-light); color: var(--color-success); }
.order-history-card__badge.badge--preparing { background: var(--color-warning-light, #fff3cd); color: var(--color-warning-dark, #e65100); }
.order-history-card__badge.badge--processing { background: var(--color-warning-light, #fff3cd); color: var(--color-warning-dark, #e65100); }
.order-history-card__badge.badge--ready { background: var(--color-info-light, #e3f2fd); color: var(--color-info, #1565c0); }
.order-history-card__badge.badge--shipped { background: var(--color-info-light, #e0e8f5); color: var(--color-info-dark, #283593); }
.order-history-card__badge.badge--delivered { background: var(--color-success-light); color: var(--color-success); }
.order-history-card__badge.badge--cancelled {   background: var(--color-danger-light); color: var(--color-danger); }

.order-history-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
}

.order-history-card__info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.order-history-card__label { color: var(--color-text-muted); }
.order-history-card__value { font-weight: 600; color: var(--color-secondary-dark); }

.order-history-card__eta {
  font-size: 0.78rem;
  color: var(--color-primary-dark);
}

.order-history-card__items {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.order-history-card__footer { text-align: right; }

.order-history-card__btn {
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  min-height: 36px;
  border-radius: 8px;
  display: inline-block;
}

@media (max-width: 414px) {
  .order-history-modal { padding: 1.5rem 1.25rem; }
  .order-history-modal__title { font-size: 1.3rem; }
  .order-history-modal__input-wrap { flex-direction: column; }
  .order-history-modal__submit { width: 100%; }
}

@media (max-width: 320px) {
  .order-history-modal { padding: 1.25rem 1rem; }
}

/* Account Dropdown */
.account-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: var(--color-surface);
  border: 1px solid var(--st-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 1000;
  display: none;
}
.account-dropdown--open {
  display: block;
}
.account-dropdown__loading {
  color: var(--st-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.account-dropdown__info {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--st-border);
  margin-bottom: 0.75rem;
}
.account-dropdown__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--st-chocolate);
}
.account-dropdown__email,
.account-dropdown__phone,
.account-dropdown__address {
  font-size: 0.8rem;
  color: var(--st-muted);
  margin-top: 0.2rem;
  line-height: 1.35;
}
.account-dropdown__actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.account-dropdown__link {
  font-size: 0.85rem;
  color: var(--st-chocolate);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: pointer;
  display: block;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.account-dropdown__link:hover {
  background: rgba(0,0,0,0.04);
}
.account-dropdown__link--danger {
  color: var(--color-danger);
  font-weight: 600;
}
.account-dropdown__link--danger:hover {
  background: rgba(192,57,43,0.08);
}

/* --- Banners section (Site Content CMS) --- */
.banners-section {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--content-max-width, 1200px);
  margin: 0 auto;
  width: 100%;
}
.banner-item {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
}
.banner-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.banner-item a {
  text-decoration: none;
}

@media (min-width: 768px) {
  .banners-section {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .banner-item {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ── Artisanal Heritage design system (homepage only) ── */
body.store-body {
  --home-bg: var(--color-bg);
  --home-primary: var(--color-text);
  --home-accent: var(--color-primary);
  --home-accent-soft: rgba(212, 175, 55, 0.12);
  --home-accent-light: rgba(212, 175, 55, 0.06);
  background-color: var(--home-bg);
}

body.store-body .display-font {
  font-family: "Libre Caslon Text", "Cormorant Garamond", "cormorant-fb", Georgia, serif;
  font-weight: 400;
}

body.store-body .hero__eyebrow,
body.store-body .about-section__eyebrow,
body.store-body .about-section__star svg path {
  color: var(--home-accent);
  fill: var(--home-accent);
}

body.store-body .about-section__divider .about-section__line {
  background: var(--home-accent);
}

body.store-body .btn-store--primary {
  background: var(--home-primary);
  border-color: var(--home-primary);
}

body.store-body .curated-for-you__title,
body.store-body .curated-collections__title {
  font-family: "Libre Caslon Text", "Cormorant Garamond", "Georgia", serif;
  font-weight: 400;
}

body.store-body .hero__frame {
  border-radius: 8px;
}

body.store-body .about-section__card {
  border-radius: 8px;
}

body.store-body .category-card {
  border-radius: 8px;
}

body.store-body .curated-for-you__card {
  border-radius: 8px;
}

body.store-body .curated-collections__card {
  border-radius: 8px;
}

body.store-body .testimonial-card {
  border-radius: 8px;
}

body.store-body .banner-item {
  border-radius: 8px;
}

body.store-body .hero__img {
  transition: opacity 0.4s ease;
}

/* ── Wishlist heart icon on product cards ── */
.yni-wishlist-heart {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--st-muted, #6b5346);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.06);
  padding: 0;
  line-height: 0;
}

.yni-wishlist-heart:hover {
  transform: scale(1.08);
  color: var(--color-danger);
  background: var(--color-surface);
  box-shadow: 0 4px 14px rgba(44, 24, 16, 0.1);
}

.yni-wishlist-heart:active {
  transform: scale(0.92);
}

.yni-wishlist-heart.is-active {
  color: var(--color-danger);
  background: var(--color-surface);
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.15);
}

.yni-wishlist-heart.is-active svg {
  fill: var(--color-danger);
}

.yni-wishlist-heart svg {
  transition: fill 0.2s ease;
  display: block;
}

/* RTL: flip heart position */
body.store-body.is-rtl .yni-wishlist-heart {
  right: auto;
  left: 0.5rem;
}

/* ── Recommendations Section ── */
.recommended-section {
  padding: 3rem 5%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 320px;
}

.recommended-section .sh-section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.recommended-section .sh-section__head h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--st-chocolate, #4a2f1f);
}

.recommended-section .sh-section__head p {
  font-size: 0.95rem;
  color: var(--st-muted, #6b5346);
  margin: 0;
}

.recommended-section .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.recommended-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--st-muted, #6b5346);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .recommended-section {
    padding: 2rem 1rem;
  }

  .recommended-section .sh-section__head h2 {
    font-size: 1.35rem;
  }

  .recommended-section .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }
}

body.store-body .about-section--visible .about-section__card {
  animation: fadeUp 0.6s ease both;
}
