/* ═══════════════════════════════════════════
   HIGHS — Design System / Style Sheet
   Replicates highs.beauty Shopify Hydrogen
   ═══════════════════════════════════════════ */

/* ─── Google Fonts loaded via HTML <link> ─── */
/* Gilroy 400-800, Playfair Display 400/600/700, Noto Sans HK 400/500/600 */

/* ─── CSS Custom Properties ─── */
:root {
  /* Brand colors */
  --color-background: #F2E9E2;
  --color-background-page: #F9F5F3;
  --color-text-primary: #70433C;
  --color-text-dark: #5A3A33;
  --color-text-subtle: rgba(112, 67, 60, 0.6);
  --color-footer-heading: #A0735A;
  --color-footer-text: #D4B8A0;
  --color-text-inverse: #FFFFFF;
  --color-topbar-text: #70433C;
  --color-topbar-border: #70433C;
  --color-topbar-bg: #70433C;
  --color-header-text: #70433C;
  --color-transparent-header: #ffffff;
  --color-header-bg: #70433C;
  --color-footer-text: #D4B8A0;
  --color-footer-bg: #3B221F;
  --color-border: #70433C;
  --color-border-subtle: #D4B8A0;
  --color-drawer-bg: #F2E9E2;
  --color-label-text: #FFFFFF;
  --color-label-bg-sale: #AB2E2E;
  --color-label-bg-new: #40866E;
  --color-label-bg-soldout: #8B6858;

  /* Buttons */
  --button-primary-bg: #FDB719;
  --button-primary-border: #FDB719;
  --button-primary-text: #3B221F;
  --button-primary-hover-bg: #E5A615;
  --button-primary-hover-border: #E5A615;
  --button-primary-hover-text: #3B221F;
  --button-secondary-bg: transparent;
  --button-secondary-border: #70433C;
  --button-secondary-text: #70433C;
  --button-secondary-hover-bg: #F2E9E2;
  --button-secondary-hover-border: #70433C;
  --button-secondary-hover-text: #70433C;
  --button-outline-bg: transparent;
  --button-outline-border: #70433C;
  --button-outline-text: #70433C;
  --button-outline-hover-bg: #F2E9E2;
  --button-outline-hover-border: #70433C;
  --button-outline-hover-text: #70433C;

  /* Layout */
  --page-width: 1440px;
  --body-base-size: 18px;
  --body-base-spacing: 0.025em;
  --body-base-line-height: 1.2;
  --heading-base-size: 38px;
  --heading-base-spacing: 0.025em;
  --heading-base-line-height: 1.2;
  --height-nav: 3rem;

  /* Fonts (real highs.beauty stack: Nunito Sans Variable body, Runalto + Cormorant serif headings, Gilroy for footer headings) */
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Runalto', 'Cormorant', Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-serif: 'Cormorant', 'Runalto', Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-mono: 'Gilroy', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 80px;
  --section-padding-mobile: 40px;
  --grid-gap: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(59, 34, 31, 0.08);
  --shadow-md: 0 4px 12px rgba(59, 34, 31, 0.1);
  --shadow-lg: 0 8px 30px rgba(59, 34, 31, 0.12);

  /* Z-index layers */
  --z-dropdown: 100;
  --z-nav: 200;
  --z-overlay: 300;
  --z-drawer: 400;
  --z-modal: 500;
  --z-back-to-top: 900;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-base-size);
  line-height: var(--body-base-line-height);
  letter-spacing: var(--body-base-spacing);
  color: var(--color-text-primary);
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

/* ─── Utility ─── */
.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;
}

/* ─── Announcement Bar ─── */
.announcement-bar {
  background-color: var(--color-topbar-bg);
  color: var(--color-text-inverse);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
}

.announcement-bar span {
  opacity: 0.95;
}

/* ─── Navigation ─── */
.nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 64px;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3B221F;
  padding: 0 16px;
  transition: opacity var(--transition);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--color-text-primary);
}

/* ─── Support Dropdown ─────────────────────────────────── */
.nav-item--dropdown {
  position: relative;
}

.nav-link--dropdown {
  cursor: pointer;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3B221F;
  padding: 0 16px;
  transition: opacity var(--transition);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-link--dropdown:hover {
  opacity: 0.7;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav-item--dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-item--dropdown[aria-expanded="true"] .dropdown-chevron,
.nav-link--dropdown[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  padding: 6px 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.15);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(59, 34, 31, 0.12);
  z-index: var(--z-dropdown);
  list-style: none;
}

.nav-dropdown.open {
  display: block;
}

.nav-dropdown-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3B221F;
  padding: 8px 16px;
  display: block;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  transition: background var(--transition);
  cursor: pointer;
}

.nav-dropdown-link:hover {
  background: rgba(112, 67, 60, 0.05);
  opacity: 1;
}

/* ─── Shop dropdown (image thumbnail rows) ─────────────────── */
.shop-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  padding: 12px;
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.15);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(59, 34, 31, 0.12);
  z-index: var(--z-dropdown);
}

.shop-dropdown.open {
  display: block;
}

.shop-dropdown-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px;
  color: #3B221F;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s ease;
  cursor: pointer;
}

.shop-dropdown-row:hover {
  background: rgba(112, 67, 60, 0.05);
}

.shop-dropdown-row img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #F9F5F3;
  border: 1px solid rgba(112, 67, 60, 0.1);
}

.shop-dropdown-row span {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
}

/* ─── Mobile Support accordion ──────────────────────────── */
.mobile-support-header {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: #3B221F;
  padding: 12px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.mobile-support-header[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-support-header .dropdown-chevron {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.mobile-support-list {
  display: none;
  list-style: none;
  padding-left: 12px;
}

.mobile-support-list.open {
  display: block;
}

.mobile-support-list .mobile-nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 0;
  opacity: 0.85;
  cursor: pointer;
}

.mobile-support-list .mobile-nav-link:hover {
  opacity: 1;
}

/* ─── Mobile Shop accordion ─────────────────────────────────── */
.mobile-shop-header {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: #3B221F;
  padding: 12px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.mobile-shop-header .dropdown-chevron {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.mobile-shop-header[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-shop-list {
  display: none;
  list-style: none;
  padding-left: 12px;
}

.mobile-shop-list.open {
  display: block;
}

.mobile-shop-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3B221F;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(112, 67, 60, 0.08);
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.mobile-shop-row:hover { opacity: 1; }

.mobile-shop-row img {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  background: #F9F5F3;
  border: 1px solid rgba(112, 67, 60, 0.1);
}

.mobile-shop-row span {
  font-family: var(--font-body);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  padding: 6px 8px;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 0;
}

.lang-btn.active {
  color: var(--color-text-dark);
  font-weight: 700;
}

.lang-btn:not(.active) {
  opacity: 0.7;
}

.lang-btn:hover {
  opacity: 1;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--color-text-primary);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #3B221F;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition-fast);
}

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

.mobile-nav-links a {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: #3B221F;
  padding: 12px 0;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
}

.mobile-lang-toggle {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: calc(var(--z-nav) + 1);
  padding: 24px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (min-width: 1024px) {
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--button-primary-bg);
  color: var(--button-primary-text);
  border: 1px solid var(--button-primary-border);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--button-primary-hover-bg);
  color: var(--button-primary-hover-text);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  border: 1px solid var(--button-secondary-border);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background-color: var(--button-secondary-hover-bg);
}

/* ─── Main Content ─── */
main {
  flex: 1;
}

/* ─── Page Hero ─── */
.page-hero {
  background-color: var(--color-background);
  padding: 60px 24px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero p {
  color: var(--color-text-subtle);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ─── Static Page Body (About, Locations, Contact) ─── */
.about-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-primary);
}

.about-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin: 32px 0 16px;
}

.about-body p { margin-bottom: 16px; }

.about-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.about-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.about-intro {
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

/* Global presence hero image */
.about-global-presence {
  margin: 24px 0 36px;
  overflow: hidden;
  border-radius: 10px;
}
.about-global-presence img {
  width: 100%;
  height: auto;
  display: block;
}

/* Philosophy list (styled) */
.about-philosophy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.about-philosophy-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.08);
}
.about-philosophy-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-accent-amber);
  font-size: 0.875rem;
  top: 8px;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 40px;
  padding: 28px 8px;
  background: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.1);
  border-radius: 10px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
}

/* Values cards */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  background: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.1);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(59, 34, 31, 0.06);
}

.val-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin: 0 0 8px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  line-height: 1.55;
  margin: 0;
}

/* Mobile: stack stats & values */
@media (max-width: 767px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .stat-num { font-size: 1.75rem; }
}

/* ─── Locations ─────────────────────────────────────────── */
.locations-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.location-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(112, 67, 60, 0.1);
  box-shadow: 0 2px 8px rgba(59, 34, 31, 0.06);
}

.loc-img-hero {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background-color: var(--color-background-soft);
}

.loc-body-new {
  padding: 20px 24px 22px;
}

.loc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.loc-name {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
}

.loc-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background-color: var(--color-text-primary);
  border-radius: 999px;
  transition: background-color var(--transition-fast);
  letter-spacing: 0.02em;
}
.loc-maps-btn:hover { background-color: var(--color-accent-amber); color: var(--color-text-primary); }

.loc-addr {
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  margin: 4px 0 6px;
  line-height: 1.5;
}

.loc-tel {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 2px 0 4px;
}

.loc-hours {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  margin: 0;
}

.order-online-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(112, 67, 60, 0.12);
}

/* Mobile: hero photo shorter */
@media (max-width: 767px) {
  .loc-img-hero { height: 200px; }
  .loc-body-new { padding: 16px; }
  .loc-top { flex-direction: column; align-items: flex-start; }
}

/* Contact list */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-list a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-list a:hover {
  color: var(--color-text-dark);
}

@media (max-width: 767px) {
  .page-hero {
    padding: 40px 16px;
  }
  .page-hero h1 {
    font-size: 1.75rem;
  }
}

/* ─── Shop Hero Banner ─── */
.shop-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background-color: #F2E9E2;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(59, 34, 31, 0.78) 0%,
    rgba(59, 34, 31, 0.55) 38%,
    rgba(59, 34, 31, 0.10) 70%,
    rgba(59, 34, 31, 0) 100%
  );
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  max-width: 760px;
  color: #FAFAFA;
}

.shop-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #FAFAFA;
  text-shadow: 0 2px 16px rgba(59, 34, 31, 0.45);
}

.shop-hero-content p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
  color: #FAFAFA;
}

.shop-controls {
  padding: 28px 24px 0;
}

@media (max-width: 768px) {
  .shop-hero { height: 340px; }
  .shop-hero-content { padding: 0 32px; }
  .shop-hero-content h1 { font-size: 2.2rem; }
  .shop-hero-overlay {
    background: linear-gradient(180deg, rgba(59,34,31,0.7) 0%, rgba(59,34,31,0.25) 60%, rgba(59,34,31,0.1) 100%);
  }
}

/* ─── Product Listing ─── */
.products-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

@media (max-width: 600px) {
  .products-container {
    padding: 0 16px 60px;
  }
}

/* Breadcrumb */

/* Category tabs */
.category-tabs {
  display: flex;
  gap: 4px;
  padding: 24px 24px 0;
  flex-wrap: wrap;
}

.category-tab {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.category-tab.active {
  border-bottom-color: var(--color-text-primary);
}

.category-tab:hover {
  opacity: 0.7;
}

/* Free shipping progress bar inside listing */
.shipping-banner {
  padding: 20px 24px 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-align: center;
  color: var(--color-text-subtle);
}

/* Products grid — matches highs.beauty: 2 / 3 / 4 columns */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

/* Product card — matches highs.beauty exactly */
.product-card {
  cursor: pointer;
  display: block;
  text-align: center;
  font-family: var(--font-body);
  text-decoration: none;
  color: var(--color-text-primary);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 14px;
  margin: 0 auto 14px;
  width: 100%;
  background-color: #F9F5F3;
  box-shadow: 0 1px 4px rgba(112, 67, 60, 0.08);
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (min-width: 768px) {
  .product-card-img-wrap { margin-bottom: 18px; }
}

.product-card-img-wrap img.p-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  mix-blend-mode: multiply;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

@media (max-width: 767px) {
}

.p-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0;
}

.p-tagline {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-text-subtle);
  line-height: 1.3;
  margin: 0;
}

.p-price {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-top: 4px;
}

/* ── Hover-to-reveal "Add to cart" overlay on product card ── */
.product-card {
  overflow: hidden;
  position: relative;
}

.p-add-btn {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  margin-top: 0;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: #70433c;
  color: #F2E9E2;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.p-add-btn svg {
  display: inline-flex;
}

.product-card:hover .p-add-btn,
.product-card:focus-within .p-add-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.p-add-btn:hover { background: #9A5A4A; transform: translate(-50%, -50%) scale(1.04); }
.p-add-btn:active { transform: translate(-50%, -50%) scale(0.96); }

@media (max-width: 767px) {
  .p-add-btn { padding: 7px 16px; font-size: 0.75rem; }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--color-text-subtle);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ─── Product Detail (Two-column) ────────────────────── */
.product-detail-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
}

/* ─── Back button (in-flow, visible, above content) ──────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--color-brand-brown);
  border-radius: 999px;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin-bottom: 18px;
}
.back-btn:hover {
  background: var(--color-brand-brown);
  color: #ffffff;
}
.back-btn .arr { font-size: 1.2rem; line-height: 1; }

/* ─── Gallery column ─────────────────────────────────── */
.product-gallery-col {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-gallery-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

/* Carousel container — slides stacked horizontally */
.product-gallery-carousel {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background-color: var(--color-background);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overflow: hidden;
}
/* Inner track — desktop: slides absolute, only active visible */
.carousel-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: none;
  cursor: pointer;
  border-radius: 8px;
  background-color: var(--color-background-soft);
}
.gallery-slide.active { display: block; }

/* Desktop: carousel navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(59, 34, 31, 0.18);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}
.gallery-nav:hover { background: var(--color-background); }
.gallery-nav-prev { left: 12px; }
.gallery-nav-next { right: 12px; }

/* Desktop: thumbnail grid */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 1;
  width: 100%;
  object-fit: contain;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: var(--color-background-soft);
  transition: border-color var(--transition-fast);
}
.gallery-thumb.active { border-color: var(--color-text-primary); }
.gallery-thumb:hover { border-color: rgba(112, 67, 60, 0.4); }

/* Desktop: dots hidden */
.gallery-dots {
  display: none;
}

/* Mobile: swipeable carousel, no thumbnails */
@media (max-width: 767px) {
  .carousel-wrap {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    width: auto;
    transition: transform 0.3s ease-out;
  }
  .gallery-slide {
    position: relative;
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }
  .gallery-thumbs { display: none; }
  .gallery-nav { display: none; }
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
  }
  .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(112, 67, 60, 0.30);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
  }
  .gallery-dot.active {
    background: var(--color-text-primary);
    transform: scale(1.25);
  }
}

/* ─── Info column ────────────────────────────────────── */
.product-info-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Eyebrow subtitle */
.pdu-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(112, 67, 60, 0.55);
  margin: 0 0 4px;
}

/* Product name */
.pdu-name {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.18;
  margin: 0 0 10px;
}

/* Ingredients line */
.pdu-ingredients {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(112, 67, 60, 0.7);
  margin: 0 0 6px;
}
.pdu-ingredients span { font-weight: 600; color: var(--color-text-primary); }

/* Scent profile */
.pdu-scent {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(112, 67, 60, 0.75);
  margin: 0 0 12px;
}
.pdu-scent span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}
.pdu-scent em {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-primary);
}

/* Price */
.pdu-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 18px;
}

/* Section headings (shared) */
.product-what-is h3,
.product-functions h3,
.product-how-to-use h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}

/* What-It-Is callout (amber left border) */
.product-what-is {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: #ffffff;
  border-left: 3px solid var(--color-accent-amber);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(59, 34, 31, 0.04);
}
.product-what-is p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin: 0;
}

/* Key functions */
.product-functions {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.12);
}
.product-functions p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(90, 58, 51, 0.8);
  margin: 0;
}

/* Description */
.product-description-block {
  margin: 0 0 18px;
}
.product-description-block p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(90, 58, 51, 0.85);
  margin: 0;
}

/* CTA row */
.pdu-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 16px;
}
.pdu-cta-row .add-to-cart-detail {
  flex: 1 1 auto;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 700;
}
.pdu-cta-row .wishlist-toggle-detail {
  min-width: 160px;
  padding: 14px 20px;
  font-size: 0.875rem;
}

/* Origin badge */
.pdu-origin-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.pdu-origin {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-primary);
  background: rgba(253, 183, 25, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}

.pdu-origin-wrap .country-badge {
  flex-shrink: 0;
}

.pdu-origin-wrap .badge-flag svg {
  width: 22px;
  height: auto;
  display: block;
}

.pdu-origin-wrap .badge-text {
  font-size: 0.55rem;
}

/* How-to-use numbered steps */
.product-how-to-use {
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid rgba(112, 67, 60, 0.12);
}
.pdu-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pdu-step {
  display: flex;
  gap: 14px;
}
.pdu-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-text-primary);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pdu-step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pdu-step-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}
.pdu-step-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(90, 58, 51, 0.75);
  margin: 0;
}

/* Mobile: single column */
@media (max-width: 767px) {
  .product-detail-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 16px 80px;
  }
  .product-gallery-col { position: static; }
  /* Hide desktop arrow buttons — use swipe/dots on mobile */
  .gallery-nav { display: none; }
    .pdu-name { font-size: 1.5rem; line-height: 1.2; }
  .pdu-price { font-size: 1.35rem; margin-bottom: 12px; }
  .pdu-cta-row { flex-direction: column; gap: 8px; }
  .pdu-cta-row .add-to-cart-detail,
  .pdu-cta-row .wishlist-toggle-detail { width: 100%; }
  .pdu-origin { width: fit-content; }
  .product-what-is { padding: 12px 14px; }
  .product-what-is p,
  .product-functions p,
  .product-description-block p { font-size: 0.875rem; line-height: 1.5; }
}

/* ─── Cart Drawer ─── */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background-color: var(--color-drawer-bg);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
}

.cart-drawer-header h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(112, 67, 60, 0.08);
}

/* Cart drawer item image */
.cart-item-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  background: #ffffff;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-item-name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.cart-item-price {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-item-qty .qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(112, 67, 60, 0.22);
  background: #fff;
  color: #70433c;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  padding: 0;
}

.cart-item-qty .qty-btn:hover {
  background: #70433c;
  color: #F2E9E2;
}

.cart-item-qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.cart-item-remove {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a56a63;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 6px;
}

.cart-item-remove:hover {
  color: #c92a2a;
  background: rgba(201, 42, 42, 0.08);
}

.cart-item-remove svg {
  display: block;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(112, 67, 60, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cart drawer — full-width checkout button */
.cart-drawer .btn-primary {
  width: 100%;
  margin-top: 4px;
}

/* Free shipping progress */

/* Cart empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: var(--color-text-subtle);
}

.cart-empty svg {
  margin-bottom: 16px;
  opacity: 0.4;
}

.cart-empty p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.cart-empty .btn-primary {
  margin-top: 16px;
}

/* ─── Checkout Page ─── */

.checkout-step {
  margin-bottom: 32px;
}

.checkout-step h2 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(112, 67, 60, 0.2);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  background-color: #ffffff;
  transition: border-color var(--transition-fast);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-text-primary);
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

@media (max-width: 600px) {
}

/* Order summary */

/* ─── Order Confirmation ─── */

.order-number {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 16px 0;
  padding: 12px 24px;
  background-color: var(--color-background);
  border-radius: 8px;
  display: inline-block;
}

/* ─── Order History ─── */

.order-card {
  background-color: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.order-card-status.pending { background-color: rgba(253, 183, 25, 0.2); color: #8B6914; }
.order-card-status.shipped { background-color: rgba(64, 134, 110, 0.2); color: #2D6B50; }
.order-card-status.delivered { background-color: rgba(64, 134, 110, 0.2); color: #2D6B50; }
.order-card-status.cancelled { background-color: rgba(171, 46, 46, 0.15); color: #AB2E2E; }

/* ─── Footer ─── */
footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img,
.footer-logo-img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-footer-text);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social .social-link {
  color: var(--color-footer-text);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-social .social-link:hover {
  opacity: 1;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h3,
.footer-column h3,
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-footer-heading);
  margin-bottom: 14px;
}

.footer-col ul,
.footer-column ul,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a,
.footer-column a,
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-footer-text);
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 1.5;
}

.footer-col a:hover,
.footer-column a:hover,
.footer-links a:hover {
  opacity: 0.8;
}

.footer-newsletter {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #a0735a;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.newsletter-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-footer-text);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-input {
  background: #ffffff;
  border: 1px solid #949596;
  border-radius: 999px;
  height: 36px;
  padding: 0 16px;
  font-size: 0.8125rem;
  color: #795548;
  outline: none;
  width: 240px;
  font-family: var(--font-body);
}

.newsletter-btn {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 16px;
  background-color: #a66550;
  border: none;
  border-radius: 999px;
  height: 36px;
  cursor: pointer;
  margin-left: -40px;
  z-index: 1;
  font-family: var(--font-body);
  white-space: nowrap;
}

.newsletter-success {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #70a470;
}

.footer-bottom {
  max-width: var(--page-width);
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid #a0735a;
  text-align: center;
}

.copyright {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-footer-text);
  opacity: 0.7;
}

.copyright a {
  color: var(--color-footer-text);
  text-decoration: none;
}

@media (max-width: 1023px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: var(--z-back-to-top);
  cursor: pointer;
  border: none;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition-fast);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ─── Loading / Spinner ─── */

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Toast Notifications ─── */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: calc(var(--z-modal) + 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateX(120%);
  transition: transform var(--transition);
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background-color: #40866E;
  color: #ffffff;
}

.toast.error {
  background-color: #AB2E2E;
  color: #ffffff;
}

.toast.info {
  background-color: var(--color-text-primary);
  color: #ffffff;
}

/* ─── Instagram Section ─── */
.instagram-section {
  background-color: #F9F5F3;
  padding: 60px 24px;
  text-align: center;
}

.instagram-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.instagram-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.instagram-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-subtle);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.instagram-feed {
  min-height: 200px;
}

/* Hide Common Ninja free watermark - blend with background */
.commonninja-ribbon {
  display: none !important;
}
/* Fallback: make it invisible by matching background */
.commonninja-ribbon,
.commonninja-ribbon a,
.commonninja-ribbon span {
  background: #F9F5F3 !important;
  box-shadow: none !important;
  color: #F9F5F3 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ─── Cookie Consent ─── */
/* ─── Cookie Banner ─────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 720px;
  background: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.18);
  border-radius: 16px;
  padding: 18px 22px 16px;
  z-index: var(--z-modal);
  box-shadow: 0 8px 28px rgba(112, 67, 60, 0.22);
  font-family: var(--font-body);
  color: var(--color-text-primary);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-text {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  color: var(--color-text-primary);
}

.cookie-link {
  color: #70433c;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  margin-left: 4px;
}

.cookie-link:hover { color: #9A5A4A; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Three buttons — equal prominence. Solid brand color for primary,
   identical outline for reject (same weight, same size, not buried). */
.cookie-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  font-family: var(--font-body);
}

.cookie-btn:active { transform: scale(0.96); }

.cookie-accept-all-btn {
  background: #70433c;
  color: #F2E9E2;
  border: 2px solid #70433c;
}

.cookie-accept-all-btn:hover { background: #9A5A4A; border-color: #9A5A4A; }

.cookie-reject-all-btn {
  background: #ffffff;
  color: #70433c;
  border: 2px solid #70433c;
}

.cookie-reject-all-btn:hover { background: #F2E9E2; }

.cookie-settings-btn {
  background: #ffffff;
  color: #5D3E14;
  border: 1.5px dashed rgba(93, 62, 20, 0.55);
  font-weight: 600;
}

.cookie-settings-btn:hover { background: #FFF6EF; }

/* ─── Cookie Settings Dialog ──────────────────── */
.cookie-dialog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 40, 30, 0.45);
  z-index: 9998;
}

.cookie-dialog {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 480px;
  background: #ffffff;
  border: 1px solid rgba(112, 67, 60, 0.2);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(112, 67, 60, 0.3);
  z-index: 9999;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--color-text-primary);
}

.cookie-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
}

.cookie-dialog-header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.cookie-dialog-close {
  background: none;
  border: 0;
  padding: 6px;
  color: #70433c;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.cookie-dialog-close:hover { background: rgba(112, 67, 60, 0.08); }

.cookie-dialog-body {
  padding: 16px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 67, 60, 0.12);
  border-radius: 12px;
  background: #FFF6EF;
}

.cookie-cat[data-cat="necessary"] {
  background: #F5EDE7;
  border-color: rgba(112, 67, 60, 0.22);
}

.cookie-cat-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: default;
  margin: 0;
}

.cookie-cat-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.cookie-cat-desc {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  line-height: 1.4;
}

.cookie-cat-lock {
  font-size: 1rem;
}

/* Custom toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d6c7bd;
  transition: background 0.2s ease;
}

.cookie-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked ~ .cookie-toggle-track {
  background: #70433c;
}

.cookie-toggle input:checked ~ .cookie-toggle-thumb {
  transform: translateX(20px);
}

.cookie-dialog-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(112, 67, 60, 0.1);
  justify-content: flex-end;
}

.cookie-dialog-footer .cookie-btn { padding: 9px 18px; }

/* ─── Footer Cookie Settings link ─────────────── */
.cookie-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #70433c;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-footer-link:hover { color: #9A5A4A; }

.cookie-footer-link svg { display: block; }

@media (max-width: 640px) {
  .cookie-consent {
    left: 8px;
    right: 8px;
    width: auto;
    bottom: 8px;
    transform: none;
    border-radius: 14px;
    padding: 14px 16px 12px;
  }
  .cookie-actions { justify-content: space-between; }
  .cookie-btn { flex: 1; min-width: 0; padding: 10px 12px; font-size: 0.75rem; }
  .cookie-dialog {
    left: 8px;
    right: 8px;
    width: auto;
    bottom: 8px;
    transform: none;
  }
}

/* ─── Admin / Order Management ─── */

/* ─── Section Content ─── */

/* ─── Responsive Adjustments ─── */
@media (max-width: 767px) {
  .nav-logo img {
    height: 36px;
  }
  .cart-drawer {
    width: 100vw;
  }
}
/* Footer heading i18n — always wins */
footer .footer-col-title [data-lang] { display: none !important; }
body.en footer .footer-col-title [data-lang="en"] { display: inline !important; }
body:not(.en) footer .footer-col-title [data-lang="zh"] { display: inline !important; }

/* ─── Auth UI ─── */
.auth-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  padding: 6px 14px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--color-text-primary);
  border-radius: 999px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.auth-btn:hover {
  background-color: var(--color-text-primary);
  color: #FFFFFF;
}

.user-menu {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(112, 67, 60, 0.2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast);
}

.user-menu-btn:hover {
  border-color: var(--color-text-primary);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-text-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid rgba(112, 67, 60, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(59, 34, 31, 0.1);
  min-width: 180px;
  z-index: var(--z-dropdown);
  overflow: hidden;
}

.dropdown-link {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-primary);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dropdown-link:hover {
  background-color: rgba(112, 67, 60, 0.05);
}

.dropdown-link:not(:last-child) {
  border-bottom: 1px solid rgba(112, 67, 60, 0.06);
}

/* ─── Payment Methods Section ──────────────────────────────── */
.payment-methods {
  margin-top: 20px;
  padding: 16px;
  background: #FAF5F3;
  border-radius: 8px;
}

.payment-methods p {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--brown);
  font-size: 0.9rem;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.pay-icon {
  padding: 6px 14px;
  background: white;
  border: 1px solid rgba(112, 67, 60, 0.15);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--brown);
  font-weight: 500;
}

.stripe-note {
  font-size: 0.8rem;
  color: rgba(90, 58, 51, 0.6);
  margin: 0;
  font-style: italic;
}

/* ─── Confirmation Pages ───────────────────────────────────── */
.confirmation-page {
  text-align: center;
  padding: 40px 20px;
  max-width: 560px;
  margin: 0 auto;
}

.confirm-icon-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.cancel-icon {
  background: var(--brown);
  color: white;
}

.confirmation-page h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--brown);
}

.confirm-stripe-note,
.cancel-note {
  color: rgba(90, 58, 51, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.confirm-order-details {
  background: #FAF5F3;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.confirm-order-details p {
  margin: 8px 0;
  font-size: 1rem;
  color: var(--brown);
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.confirm-actions .btn-primary,
.confirm-actions .btn-secondary {
  display: block;
  text-align: center;
  padding: 14px 32px;
  min-width: 240px;
  font-size: 1rem;
}

.cancel-page .confirm-icon-large {
  background: var(--brown);
  color: white;
}

/* ─── Account Page ─── */
.account-card {
  text-align: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(112, 67, 60, 0.1);
  margin-bottom: 24px;
}

.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-text-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 16px;
  overflow: hidden;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-card h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--color-text-primary);
}

.account-card p {
  color: var(--color-text-subtle);
  font-size: 0.9375rem;
  margin: 0;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background-color: #F9F5F3;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(112, 67, 60, 0.1);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-subtle);
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ─── Policy Pages ─────────────────────────────────────── */
.policy-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.policy-intro {
  background: #F9F5F3;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 28px;
  border-left: 3px solid var(--color-amber);
}

.policy-intro span[data-lang="en"],
.policy-intro span[data-lang="zh"] {
  color: var(--color-text-secondary);
}

.policy-heading {
  margin: 32px 0 14px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-brown);
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.12);
}

.policy-heading span[data-lang="en"],
.policy-heading span[data-lang="zh"] {
  color: var(--color-brown);
}

.policy-block {
  margin-bottom: 16px;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.policy-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.policy-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-brown);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.policy-item div {
  color: var(--color-text-secondary);
}

.policy-bullets {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.policy-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.policy-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--color-amber);
  font-size: 1.2rem;
}

.policy-bullets li strong {
  color: var(--color-brown);
}

/* Policy callouts */
.policy-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 24px;
  border: 1px solid;
}

.policy-callout-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.policy-callout strong {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.policy-callout p {
  margin: 8px 0 0;
  line-height: 1.65;
}

/* Warning callout (Shipping) */
.policy-callout-warning {
  background: #FBF1E2;
  border-color: var(--color-amber);
}

.policy-callout-warning .policy-callout-icon {
  background: var(--color-amber);
  color: var(--color-brown);
}

.policy-callout-warning strong {
  color: #7A4F00;
}

.policy-callout-warning p {
  color: #5D3E14;
}

/* Danger callout (Refund) */
.policy-callout-danger {
  background: #FCE8E8;
  border-color: #C94A4A;
}

.policy-callout-danger .policy-callout-icon {
  background: #C94A4A;
  color: #fff;
}

.policy-callout-danger strong {
  color: #9A2E2E;
}

.policy-callout-danger p {
  color: #6B1F1F;
}

/* Info callout (Privacy) */
.policy-callout-info {
  background: #EDEFF5;
  border-color: #6B7AB0;
}

.policy-callout-info .policy-callout-icon {
  background: #6B7AB0;
  color: #fff;
}

.policy-callout-info strong {
  color: #3B4A78;
}

.policy-callout-info p {
  color: #2C3552;
}

/* Policy tables */
.policy-table {
  margin: 14px 0;
  border: 1px solid rgba(112, 67, 60, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.policy-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.08);
  font-size: 0.9rem;
}

.policy-table-row:last-child,
.policy-table-foot {
  border-bottom: none;
}

.policy-table-head {
  background: var(--color-cream);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-brown);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.policy-table-row div:first-child {
  color: var(--color-text-primary);
}

.policy-table-row div:last-child {
  color: var(--color-text-secondary);
}

.policy-table-foot {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-subtle);
  font-style: italic;
  padding-top: 6px;
}

/* TOC */
.policy-toc-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  columns: 2;
  column-gap: 32px;
}

.policy-toc-list li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  border-bottom: 1px dotted rgba(112, 67, 60, 0.12);
  break-inside: avoid;
}

.policy-toc-list li span[data-lang="en"],
.policy-toc-list li span[data-lang="zh"] {
  color: var(--color-text-secondary);
}

.policy-toc-list li::before {
  color: var(--color-amber);
  margin-right: 4px;
}

/* Checkout China notice */
.checkout-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FBF1E2;
  border: 1px solid var(--color-amber);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.88rem;
}

.checkout-notice-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
}

.checkout-notice strong {
  color: #7A4F00;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.checkout-notice p {
  margin: 6px 0 0;
  color: #5D3E14;
  line-height: 1.6;
}

/* Policy page mobile responsive */
@media (max-width: 768px) {
  .policy-body { padding: 20px 16px 48px; }
  .policy-heading { font-size: 1.05rem; margin-top: 24px; }
  .policy-table-row { grid-template-columns: 1fr; gap: 4px; }
  .policy-toc-list { columns: 1; }
  .policy-callout { flex-direction: column; }
  .policy-callout-icon { margin-bottom: 4px; }
}

/* ─── Country Flag Badge ─── */
.country-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 7px;
  background: rgba(255, 250, 247, 0.95);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(112, 67, 60, 0.28);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(112, 67, 60, 0.22);
  z-index: 3;
  font-family: var(--font-body);
  min-width: 42px;
}

/* Flag on top, larger */
.badge-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: inset 0 0 0 0.5px rgba(112, 67, 60, 0.18);
}

.badge-flag svg {
  display: block;
  width: 26px;
  height: 22px;
}

/* Country text below, smaller */
.badge-text {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5D3E14;
  white-space: nowrap;
}

/* Product detail page: badge sits in top-left of carousel */
.product-gallery-carousel .country-badge {
  top: 14px;
  left: 14px;
}

/* ─── Free Shipping Progress Bar (in cart drawer) ─── */
.free-shipping-bar {
  display: none;
  padding: 12px 24px 8px;
  border-bottom: 1px solid rgba(112, 67, 60, 0.08);
}
.free-shipping-bar.shown {
  display: block;
}
.free-shipping-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: #70433c;
  margin: 0 0 6px;
  display: block;
}
.free-shipping-text.success {
  color: #5a8f3e;
}
.free-shipping-progress-track {
  position: relative;
  height: 6px;
  background: rgba(112, 67, 60, 0.10);
  border-radius: 3px;
  overflow: hidden;
}
.free-shipping-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #c9917e 0%, #70433c 100%);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.free-shipping-bar.success .free-shipping-progress-fill {
  background: linear-gradient(90deg, #7fb069 0%, #5a8f3e 100%);
}

/* ─── Cart Recommendations ─── */
.cart-recommendations {
  padding: 16px 24px 12px;
  border-top: 1px solid rgba(112, 67, 60, 0.08);
  background: rgba(112, 67, 60, 0.025);
}
.cart-recs-title {
  margin: 0 0 12px;
  font-family: var(--font-heading, 'Run Alto', serif);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #70433c;
}
.cart-recs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cart-rec-item {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.cart-rec-item:hover {
  transform: translateY(-2px);
}
.cart-rec-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(112, 67, 60, 0.10);
}
.cart-rec-meta {
  padding-top: 6px;
}
.cart-rec-name {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  color: #5d3e14;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-rec-price {
  margin: 2px 0 4px;
  font-size: 0.72rem;
  color: #70433c;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-rec-add {
  background: #70433c;
  color: #F2E9E2;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cart-rec-add:hover { background: #9A5A4A; transform: scale(1.04); }
.cart-rec-add:active { transform: scale(0.95); }

/* ─── FAQ Chatbot Widget ──────────────────────────── */
/* Match back-to-top: same 52x52 size, dark brown, placed ABOVE it */
#highs-faq-launcher {
  position: fixed;
  bottom: 160px;
  right: 24px;
  z-index: 10001;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-text-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}
#highs-faq-launcher svg { width: 24px; height: 24px; }
#highs-faq-launcher:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

#highs-faq-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 10000;
  width: 480px;
  max-height: 700px;
  background: var(--color-background);
  border: 1px solid var(--color-brand-brown);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(39, 34, 31, 0.25);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#highs-faq-panel.highs-faq-collapsed {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.highs-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-brand-brown);
  color: var(--color-text-on-brand);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.highs-faq-header strong { font-weight: 600; }
#highs-faq-close {
  background: transparent;
  color: var(--color-text-on-brand);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.85;
  padding: 2px 6px;
}
#highs-faq-close:hover { opacity: 1; }

#highs-faq-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highs-faq-msg {
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--color-text-primary);
  border-radius: 12px;
  padding: 12px 14px;
  max-width: 90%;
  word-wrap: break-word;
}
.highs-faq-msg a {
  color: var(--color-brand-amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.highs-faq-msg.bot-msg {
  background: rgba(112, 67, 60, 0.08);
  border: 1px solid rgba(112, 67, 60, 0.12);
  align-self: flex-start;
}
.highs-faq-msg.user-msg {
  background: var(--color-brand-amber);
  color: var(--color-text-on-brand);
  align-self: flex-end;
}
.highs-faq-msg.user-msg a { color: #fff; }

.highs-faq-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.highs-faq-suggestions span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 5px 10px;
  border-radius: 16px;
  border: 1px solid rgba(112, 67, 60, 0.3);
  color: var(--color-brand-brown);
  cursor: pointer;
  transition: background 0.2s ease;
}
.highs-faq-suggestions span:hover { background: rgba(253, 183, 25, 0.15); }

.highs-faq-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(112, 67, 60, 0.12);
  background: var(--color-background);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
#highs-faq-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--color-brand-brown);
  border-radius: 20px;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border 0.2s ease;
}
#highs-faq-input:focus { border-color: var(--color-brand-amber); }
#highs-faq-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-brand-amber);
  color: var(--color-text-on-brand);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
#highs-faq-send:hover { background: var(--color-brand-brown); }

.highs-faq-anim { animation: fad 0.25s ease; }
@keyframes fad { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 767px) {
  #highs-faq-panel {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
    max-height: 75vh;
  }
  #highs-faq-launcher { bottom: 16px; right: 16px; width: 54px; height: 54px; }
}
