/* ============================================
   Creamish Glow — Premium Skincare Brand
   Colors unchanged — layout matches mockup
   ============================================ */

:root {
  --cream-50: #FDFBF7;
  --cream-100: #FAF7F2;
  --cream-200: #F5EDE0;
  --cream-300: #E8DDD0;
  --gold: #C9A962;
  --gold-dark: #A8894A;
  --gold-light: #E8D5A8;
  --rose: #E8D5D0;
  --rose-dark: #D4B8B0;
  --text-primary: #2C2424;
  --text-secondary: #5C4F4F;
  --text-muted: #8A7A7A;
  --white: #FFFFFF;
  --footer-bg: #1A1A1A;
  --shadow-sm: 0 2px 8px rgba(44, 36, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 36, 36, 0.08);
  --shadow-lg: 0 16px 48px rgba(44, 36, 36, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Outfit', 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
  --topbar-height: 38px;
  --header-height: 96px;
  --page-gutter: clamp(28px, 6vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body.app-loading #top-bar,
body.app-loading #header,
body.app-loading #footer {
  visibility: hidden;
}

body.app-loading #app {
  min-height: calc(100vh - var(--topbar-height) - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

body.app-loading #app::after {
  content: '';
  width: 36px;
  height: 36px;
  border: 3px solid var(--cream-300);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: page-spin 0.7s linear infinite;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

/* Prevent grid/flex children from overflowing container */
.container > * {
  min-width: 0;
  max-width: 100%;
}

/* Placeholders — no images until user provides */
.img-placeholder {
  background: linear-gradient(135deg, var(--cream-200) 0%, var(--rose) 100%);
  border: 2px dashed var(--cream-300);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 24px;
  line-height: 1.5;
  max-width: 100%;
  box-sizing: border-box;
}

.img-placeholder--hero { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
.img-placeholder--product { aspect-ratio: 1; border-radius: var(--radius-sm); }
.img-placeholder--promo { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.img-placeholder--about { aspect-ratio: 16/10; border-radius: var(--radius-lg); }

/* Brand logo — header, hero, footer (matches mockup) */
.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-logo--header {
  height: 84px;
  max-width: 300px;
  width: auto;
  flex-shrink: 0;
}

.site-logo--hero {
  height: clamp(120px, 18vw, 200px);
  max-width: min(420px, 90%);
  width: auto;
}

.site-logo--footer {
  height: 56px;
  max-width: 190px;
}

.header__logo a {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.hero__logo-box {
  margin: 8px 0 28px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--cream-300);
}

.btn--outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn--full { width: 100%; }

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary svg { stroke: currentColor; }

/* Top bar */
.top-bar {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar .price {
  color: var(--white);
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-300);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  grid-column: 1;
  justify-self: start;
}

.header__logo {
  grid-column: 1;
  justify-self: start;
}

.header__nav {
  grid-column: 2;
  justify-self: center;
}

.header__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 5;
}

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

.nav__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active { color: var(--gold-dark); }

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
}

.header-icon:hover { background: var(--cream-200); }

.header-icon svg { width: 20px; height: 20px; }

.cart-badge {
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.cart-badge__count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* Header logo grid — desktop: logo left, nav center, icons right */
@media (min-width: 769px) {
  .header__logo { grid-column: 1; justify-self: start; }
  .header__nav { grid-column: 2; justify-self: center; }
  .header__actions { grid-column: 3; justify-self: end; }
}

/* Page header + breadcrumbs */
.page-header {
  padding: 40px 0 28px;
  background: var(--cream-100);
  border-bottom: 1px solid var(--cream-300);
}

.page-header .container {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 8px;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 2px;
}

.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--text-muted); }

/* Home hero — full banner, no crop */
.hero--banner {
  padding: 16px 0 0;
  background: var(--cream-100);
}

.hero__banner-container {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  padding-bottom: 8px;
}

.hero__banner {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: var(--radius-lg);
}

/* Legacy hero grid (unused) */
.hero {
  padding: 48px 0 56px;
  background: var(--cream-100);
}

/* Features bar */
.features-bar {
  padding: 48px 0;
  background: var(--cream-50);
  border-top: none;
  border-bottom: 1px solid var(--cream-300);
}

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

.feature-item {
  text-align: center;
  padding: 0 12px;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--gold);
}

.feature-item__icon svg { width: 100%; height: 100%; }

.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section */
.section { padding: 72px 0; }
.section--cream { background: var(--cream-100); }

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Products */
.products-grid {
  display: grid;
  gap: 28px;
}

.products-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.products-grid--shop { grid-template-columns: repeat(2, 1fr); }

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--cream-300);
  width: 100%;
  max-width: 100%;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card__image-wrap {
  position: relative;
  padding: 16px;
  background: var(--cream-100);
}

.product-card__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 1;
}

.product-card__cart {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.product-card__cart:hover { background: var(--gold-dark); }
.product-card__cart svg { width: 16px; height: 16px; }

.product-card__body {
  padding: 18px 20px 22px;
  text-align: center;
}

.product-card__body h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 14px;
}

.product-card__buy {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Bold price text — used site-wide */
.price {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-dark);
}

.section__action { text-align: center; margin-top: 36px; }

/* Promo section */
.promo {
  padding: 72px 0;
  background: var(--cream-200);
}

.promo__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.promo__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 12px 0 20px;
}

.promo__text {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.promo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.9);
}

.promo__image-wrap {
  position: relative;
}

.promo__photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Home gallery — 2×2 grid */
.gallery-section {
  padding: 48px 0 72px;
  background: var(--cream-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-grid__item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-grid__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-story__media {
  width: 100%;
}

.about-story__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Newsletter */
.newsletter-section {
  padding: 56px 0;
  background: var(--cream-100);
  text-align: center;
  border-top: 1px solid var(--cream-300);
}

.newsletter-section__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.newsletter-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: transparent;
}

.newsletter-form input:focus { outline: none; }

.newsletter-form button {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover { background: var(--gold-dark); }

/* Shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 40px var(--page-gutter) 64px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.shop-main,
.shop-sidebar {
  min-width: 0;
}

.shop-sidebar {
  padding-left: 4px;
  padding-right: 12px;
}

.shop-main {
  padding-left: 8px;
  padding-right: 4px;
}

.shop-sidebar h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.sidebar-block { margin-bottom: 32px; }

.sidebar-categories li {
  margin-bottom: 8px;
}

.sidebar-categories a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.sidebar-categories a:hover,
.sidebar-categories a.active { color: var(--gold-dark); font-weight: 500; }

.price-range {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.price-range input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.sidebar-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--white);
}

.sidebar-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.sidebar-badge__icon { color: var(--gold); width: 20px; height: 20px; flex-shrink: 0; }

.shop-toolbar {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Cart toast */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  box-shadow: var(--shadow-lg);
}

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

/* Cart page */
.cart-empty {
  padding: 72px 0 96px;
  text-align: center;
}

.cart-empty__inner {
  max-width: 420px;
}

.cart-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--gold);
}

.cart-empty__icon svg { width: 100%; height: 100%; }

.cart-empty h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px var(--page-gutter) 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.cart-items {
  min-width: 0;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cart-table thead th {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--cream-300);
  text-align: left;
}

.cart-table thead th:nth-child(2),
.cart-table thead th:nth-child(3),
.cart-table thead th:nth-child(4) {
  text-align: center;
}

.cart-table thead th:last-child {
  width: 72px;
}

.cart-table tbody td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--cream-200);
  vertical-align: middle;
}

.cart-line__product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

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

.cart-line__product h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-line__category {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-line__price,
.cart-line__subtotal {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-dark);
  text-align: center;
  white-space: nowrap;
}

.cart-line__qty {
  text-align: center;
}

.cart-line__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cart-line__action {
  text-align: right;
  white-space: nowrap;
}

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

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--cream-300);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-primary);
  transition: border-color var(--transition);
}

.qty-btn:hover { border-color: var(--gold); }

.qty-input {
  width: 48px;
  padding: 6px 4px;
  text-align: center;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-line__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}

.cart-line__remove:hover { color: var(--gold-dark); }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.cart-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-summary__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 8px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-200);
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.cart-summary__row span:last-child,
.cart-summary__total span:last-child,
.checkout-item span:last-child {
  font-weight: 700;
  color: var(--gold-dark);
}

.cart-summary__continue { margin-top: 12px; }

/* Checkout page */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 40px var(--page-gutter) 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.checkout-form-card {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.checkout-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.payment-methods {
  margin: 24px 0 8px;
}

.payment-methods__title {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--cream-200);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-option input:checked + .payment-option__card {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.payment-option__radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--cream-300, #d4c4b0);
  border-radius: 50%;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
}

.payment-option input:checked + .payment-option__card .payment-option__radio {
  border-color: var(--gold);
}

.payment-option input:checked + .payment-option__card .payment-option__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.payment-option__label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.payment-option__desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.checkout-note {
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 8px 0 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.checkout-note strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.checkout-items {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-200);
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.checkout-success {
  display: none;
  text-align: center;
  padding: 72px var(--page-gutter) 96px;
  max-width: 520px;
  margin: 0 auto;
}

.checkout-success.visible { display: block; }

.checkout-success h2 {
  font-size: 1.75rem;
  margin: 16px 0 12px;
}

.checkout-success p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.checkout-success__order {
  margin: 20px 0 28px !important;
  font-size: 0.95rem;
}

.checkout-success__order strong {
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.header-icon.cart-badge { text-decoration: none; }

.cart-badge__count:empty,
.cart-badge__count[data-empty="true"] {
  display: none;
}


/* About page */
.about-intro {
  padding: 56px 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-intro h2 { font-size: 2rem; margin-bottom: 16px; }
.about-intro p { color: var(--text-secondary); }

.about-story {
  padding: 0 0 72px;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-story__text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-mission {
  padding: 72px 0;
  background: var(--cream-200);
  text-align: center;
}

.about-mission h2 { font-size: 2rem; margin: 12px 0 16px; }
.about-mission p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Customer reviews carousel */
.reviews-section {
  padding: 64px 0 72px;
  background: var(--cream-100);
  overflow-x: hidden;
}

.reviews-section__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  padding: 0 4px;
}

.reviews-section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 10px;
}

.reviews-section__header p {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 2.5vw, 0.95rem);
}

.reviews-carousel-wrap {
  width: 100%;
}

.reviews-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(44px, 8vw, 56px);
}

.reviews-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: clamp(36px, 8vw, 44px);
  height: clamp(36px, 8vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--cream-300);
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-dark);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.reviews-nav--prev {
  left: 0;
  transform: translateY(-50%);
}

.reviews-nav--next {
  right: 0;
  transform: translateY(-50%);
}

.reviews-nav svg {
  width: clamp(16px, 4vw, 20px);
  height: clamp(16px, 4vw, 20px);
}

.reviews-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.reviews-nav--prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.reviews-nav--next:hover {
  transform: translateY(-50%) scale(1.05);
}

.reviews-nav--prev:active {
  transform: translateY(-50%) scale(0.97);
}

.reviews-nav--next:active {
  transform: translateY(-50%) scale(0.97);
}

.reviews-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.reviews-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: height 0.35s ease;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.7s;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: clamp(24px, 5vw, 36px) clamp(20px, 4vw, 32px) clamp(28px, 5vw, 40px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  pointer-events: none;
  box-sizing: border-box;
}

.reviews-carousel[data-direction="backward"] .review-card:not(.active) {
  transform: translateX(-24px);
}

.reviews-carousel[data-direction="forward"] .review-card:not(.active) {
  transform: translateX(24px);
}

.review-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.reviews-carousel .review-card:not(.active) {
  position: absolute;
}

.review-card__stars {
  color: var(--gold);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.review-card__text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: italic;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-card__footer {
  margin-top: auto;
}

.review-card__author {
  font-weight: 600;
  font-size: clamp(0.875rem, 2.5vw, 0.95rem);
  color: var(--text-primary);
}

.review-card__location {
  font-size: clamp(0.8rem, 2.2vw, 0.85rem);
  color: var(--text-muted);
  margin-top: 4px;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 0 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--cream-300);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.reviews-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Live customer reviews grid (About page) */
.customer-reviews-section {
  padding: 64px 0 80px;
  background: var(--white);
  border-top: 1px solid var(--cream-300);
}

.customer-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.customer-review-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.customer-review-card__product {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 12px 0 8px;
}

.customer-reviews-empty,
.customer-reviews-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-secondary);
  padding: 32px 16px;
}

/* Post-purchase review popup */
.review-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 26, 26, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.review-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.review-popup {
  position: relative;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.review-popup h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  padding-right: 32px;
}

.review-popup__subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.review-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cream-200);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-primary);
}

.review-popup__field {
  margin-bottom: 18px;
}

.review-popup__field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-popup__field select,
.review-popup__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--white);
  box-sizing: border-box;
}

.review-popup__field textarea {
  resize: vertical;
  min-height: 100px;
}

.star-rating-input {
  display: flex;
  gap: 6px;
}

.star-rating-input__star {
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--cream-300);
  padding: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-input__star.active {
  color: var(--gold);
}

.star-rating-input__star:hover {
  transform: scale(1.1);
}

.review-popup__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

.review-popup__success {
  text-align: center;
  color: var(--gold-dark);
  font-weight: 600;
  padding: 24px 0 8px;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--cream-300);
  color: var(--text-secondary);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Admin panel */
body.admin-auth-page {
  background: #141210;
}

body.admin-auth-page .footer {
  display: none;
}

.admin-login-page {
  position: relative;
  min-height: calc(100vh - var(--topbar-height) - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--page-gutter) 64px;
  background: linear-gradient(145deg, #1a1714 0%, #2a231c 42%, #1f1a16 100%);
  overflow: hidden;
}

.admin-login-page__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 169, 98, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(232, 213, 168, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.admin-login-page__inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 1;
}

.admin-login-page__card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.admin-login-page__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.site-logo--admin {
  height: 72px;
  max-width: 220px;
  object-fit: contain;
}

.admin-login-page__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--cream-200) 100%);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-login-page__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.25rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.admin-login-page__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.admin-login-page__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-login-page__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.admin-login-page__field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: var(--cream-50);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.admin-login-page__field input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.admin-login-page__submit {
  margin-top: 6px;
  padding: 15px 24px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.admin-login-page__secure {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-200);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.page-header--admin {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  border-bottom: 1px solid var(--cream-300);
}

.page-header--admin .page-header__sub {
  color: var(--text-secondary);
  margin-top: 8px;
  font-size: 0.95rem;
}

.admin-section {
  padding: 40px 0 80px;
}

.admin-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.admin-dashboard__header h2 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

.admin-dashboard__header p {
  color: var(--text-secondary);
}

.admin-dashboard__divider {
  height: 1px;
  background: var(--cream-300);
  margin: 40px 0 32px;
}

.admin-order-count {
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.admin-orders-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.admin-orders-table th,
.admin-orders-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.9rem;
}

.admin-orders-table th {
  background: var(--cream-100);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.admin-orders-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-orders-table tbody tr:hover {
  background: var(--cream-50, #fdfbf8);
}

.admin-muted {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.admin-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
  background: var(--cream-200);
  color: var(--text-secondary);
}

.admin-status--ok {
  background: #e8f5e9;
  color: #2e7d32;
}

.admin-status--pending {
  background: #fff8e1;
  color: #f57c00;
}

.admin-empty,
.admin-loading {
  text-align: center;
  color: var(--text-secondary);
  padding: 48px 16px;
}

.hidden {
  display: none !important;
}

/* My Orders */
.orders-section {
  padding: 48px 0 80px;
}

.orders-section__inner {
  max-width: 960px;
}

.orders-lookup-card {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.orders-lookup-card h2 {
  margin-bottom: 8px;
}

.orders-lookup-card > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.orders-lookup-form__field {
  margin-bottom: 16px;
}

.orders-lookup-form__field label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.orders-lookup-form__field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}

.orders-lookup-form__field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.2);
}

.orders-lookup-hint {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.orders-results h2 {
  margin-bottom: 20px;
}

.orders-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.orders-table th,
.orders-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.9rem;
}

.orders-table th {
  background: var(--cream-100);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.orders-table tbody tr:last-child td {
  border-bottom: none;
}

.orders-table tbody tr:hover {
  background: var(--cream-50, #fdfbf8);
}

.orders-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--cream-200);
  color: var(--text-secondary);
}

.orders-status--ok {
  background: #e8f5e9;
  color: #2e7d32;
}

.orders-status--pending {
  background: #fff8e1;
  color: #f57c00;
}

.orders-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 32px 16px;
}

.page-header__sub {
  color: var(--text-secondary);
  margin-top: 8px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .orders-lookup-card {
    padding: 24px 20px;
  }

  .orders-table {
    min-width: 0;
  }

  .orders-table thead {
    display: none;
  }

  .orders-table tbody tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--cream-200);
  }

  .orders-table tbody tr:last-child {
    border-bottom: none;
  }

  .orders-table td {
    display: block;
    padding: 4px 0;
    border: none;
  }

  .orders-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 2px;
  }
}

/* Address autocomplete */
.form-group--autocomplete {
  position: relative;
}

.address-autocomplete {
  position: relative;
}

.address-autocomplete__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-height: 220px;
  overflow-y: auto;
}

.address-autocomplete__item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  color: var(--text-primary);
  cursor: pointer;
}

.address-autocomplete__item:hover,
.address-autocomplete__item:focus {
  background: var(--cream-100);
}

@media (max-width: 900px) {
  .admin-orders-table {
    min-width: 0;
  }

  .admin-orders-table thead {
    display: none;
  }

  .admin-orders-table tbody tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--cream-200);
  }

  .admin-orders-table tbody tr:last-child {
    border-bottom: none;
  }

  .admin-orders-table td {
    display: block;
    padding: 6px 0;
    border: none;
  }

  .admin-orders-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 2px;
  }
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px var(--page-gutter) 64px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon svg { width: 18px; height: 18px; }

.contact-detail h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-detail a:hover { color: var(--gold-dark); }

.contact-social {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-300);
}

.contact-social h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--text-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  transition: background var(--transition);
}

.social-icon:hover { background: var(--gold); }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.visible { display: block; }

.form-success__icon {
  width: 56px;
  height: 56px;
  background: var(--cream-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
  font-size: 1.25rem;
}

/* Trust bar */
.trust-bar {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--cream-300);
}

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

/* FAQ */
.faq-section { padding: 56px 0 72px; background: var(--cream-100); }
.faq-section h2 { text-align: center; font-size: 1.75rem; margin-bottom: 32px; }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--cream-300);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question__icon {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-question__icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-answer__inner { padding: 0 20px 18px; color: var(--text-secondary); font-size: 0.95rem; }
.faq-item.active .faq-answer { max-height: 200px; }

/* Footer */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer__brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer__links li { margin-bottom: 8px; }

.footer__links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--gold-light); }

.footer__newsletter input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }

.footer__newsletter button {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.footer__newsletter button:hover { background: var(--gold-dark); }

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer__social a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

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

.payment-badge {
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(45, 42, 38, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--topbar-height) + var(--header-height) + 24px) 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.search-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  width: min(560px, 100%);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--cream-200);
}

.search-panel__icon {
  color: var(--gold-dark);
  flex-shrink: 0;
}

.search-panel__icon svg {
  width: 20px;
  height: 20px;
}

.search-panel__header input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
}

.search-panel__close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--cream-100);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.search-panel__close:hover {
  background: var(--cream-200);
  color: var(--text-primary);
}

.search-panel__results {
  max-height: 320px;
  overflow-y: auto;
}

.search-panel__hint,
.search-panel__empty {
  padding: 24px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-bottom: 1px solid var(--cream-100);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.search-result:hover {
  background: var(--cream-50);
}

.search-result__name {
  font-weight: 500;
  color: var(--text-primary);
}

.search-result__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero__grid,
  .about-story__grid,
  .contact-layout,
  .shop-layout,
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }

  .features-bar__grid,
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .shop-sidebar {
    order: 2;
    padding-right: 0;
  }

  .shop-main { order: 1; }

  .cart-layout {
    padding: 28px var(--page-gutter) 48px;
    gap: 24px;
  }

  .cart-table thead { display: none; }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr.cart-line {
    padding: 20px;
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
  }

  .cart-table td {
    padding: 8px 0;
    border-bottom: none;
    text-align: left !important;
  }

  .cart-line__product {
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--cream-200);
  }

  .cart-line__product h3 {
    word-break: break-word;
  }

  .cart-line__price::before {
    content: 'Price: ';
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.85rem;
  }

  .cart-line__subtotal::before {
    content: 'Subtotal: ';
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.85rem;
  }

  .cart-line__qty-controls { display: inline-flex; }

  .cart-summary { position: static; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 104px;
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 6px;
  }

  .nav-toggle {
    display: flex;
    grid-column: 1;
    justify-self: start;
  }

  .header__logo {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }

  .header__logo a {
    padding: 2px 0;
  }

  .site-logo--header {
    height: 92px;
    max-width: min(340px, 72vw);
  }

  .site-logo--hero {
    height: 110px;
    max-width: 280px;
  }

  .header__actions {
    grid-column: 3;
    justify-self: end;
    gap: 8px;
  }

  .header__nav { display: none; }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: calc(var(--topbar-height) + var(--header-height));
    background: rgba(26, 26, 26, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
  }

  .nav-backdrop.visible {
    display: block;
    opacity: 1;
  }

  body.nav-open {
    overflow: hidden;
  }

  .header__nav.mobile-open {
    display: block;
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--cream-50);
    padding: 20px var(--page-gutter);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--cream-300);
  }

  .header__nav.mobile-open .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header__nav.mobile-open .nav__link {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--cream-200);
  }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .header-icon {
    width: 32px;
    height: 32px;
  }

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

  .page-header {
    padding: 28px 0 24px;
  }

  .shop-layout {
    padding: 24px var(--page-gutter) 48px;
    gap: 28px;
  }

  .shop-sidebar {
    order: 2;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
  }

  .shop-main {
    order: 1;
    padding-left: 0;
    padding-right: 0;
  }

  .shop-toolbar {
    margin-bottom: 20px;
  }

  .products-grid--2,
  .products-grid--shop {
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
    gap: 20px;
  }

  .product-card__image-wrap {
    padding: 14px;
  }

  .contact-layout {
    padding: 28px var(--page-gutter) 48px;
    gap: 20px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .features-bar__grid,
  .trust-bar__grid { grid-template-columns: 1fr; }

  .features-bar,
  .trust-bar {
    padding-left: 0;
    padding-right: 0;
  }

  .feature-item {
    padding: 0 var(--page-gutter);
  }

  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }

  .hero--banner {
    padding: 12px 0 0;
  }

  .hero__banner {
    border-radius: var(--radius-md);
  }

  .gallery-section {
    padding: 32px 0 48px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .promo { padding: 48px 0; }

  .about-intro { padding: 40px var(--page-gutter); }

  .faq-section { padding: 40px 0 48px; }

  .reviews-section { padding: 48px 0 56px; }

  .reviews-carousel-viewport {
    padding: 0 40px;
  }

  .reviews-nav--prev { left: 2px; }
  .reviews-nav--next { right: 2px; }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 22px;
    --header-height: 98px;
  }

  .reviews-carousel-viewport {
    padding: 0 36px;
  }

  .reviews-nav {
    width: 34px;
    height: 34px;
  }

  .reviews-dots {
    gap: 6px;
    margin-top: 22px;
  }

  .reviews-dot {
    width: 7px;
    height: 7px;
  }

  .site-logo--header {
    height: 86px;
    max-width: min(320px, 78vw);
  }

  .top-bar {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 0 12px;
  }

  .page-header h1 {
    font-size: 1.65rem;
  }

  .product-card__body {
    padding: 16px;
  }

  .checkout-form-card { padding: 24px 20px; }
}
