﻿
/* =============================================================
   lamporia.ae — Components
   Single authoritative file. No duplicates.
============================================================= */

/* ═══════════════════════════════════════════════════════════
   1. BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.8rem 2rem;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--tb), color var(--tb), border-color var(--tb),
              transform var(--tb), box-shadow var(--tb);
}
.btn:active { transform: translateY(0) !important; }

/* Primary — dark fill */
.btn--primary { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.btn--primary:hover { background: #1e1e1e; border-color: #1e1e1e; transform: translateY(-1px); box-shadow: var(--sh-md); }

/* Secondary — outlined */
.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--secondary:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-1px); }

/* Gold — accent */
.btn--gold { background: var(--color-gold); color: var(--color-white); border-color: var(--color-gold); }
.btn--gold:hover { background: var(--color-gold-dk); border-color: var(--color-gold-dk); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(184,149,90,.3); }

/* Ghost — white outline on dark background */
.btn--ghost { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }

/* Sizes */
.btn--sm   { padding: 0.55rem 1.1rem; font-size: 0.65rem; letter-spacing: 0.12em; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   2. NAVIGATION
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(250,249,246,.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tb), background var(--tb), box-shadow var(--tb);
}
.nav.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(250,249,246,.98);
  box-shadow: 0 1px 0 var(--color-border), var(--sh-xs);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--c-max);
  margin-inline: auto;
  padding-inline: var(--cx);
  gap: var(--s8);
}

/* Logo */
.nav__logo {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: var(--w-regular);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo span { color: var(--color-gold); }

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Desktop links */
.nav__links { display: flex; align-items: center; gap: var(--s8); }
.nav__link {
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: var(--w-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--tf);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tb);
}
.nav__link:hover,
.nav__link.active { color: var(--color-primary); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

/* Action buttons (search, cart) */
.nav__actions { display: flex; align-items: center; gap: var(--s1); }
.nav__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  color: var(--color-primary);
  transition: background var(--tf);
  position: relative;
}
.nav__action-btn:hover { background: var(--color-surface); }
.nav__action-btn svg  { width: 18px; height: 18px; }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: var(--r-pill);
  font-size: 8.5px;
  font-weight: var(--w-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity var(--tb), transform var(--tb);
  pointer-events: none;
}
.cart-badge.has-items { opacity: 1; transform: scale(1); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  transition: background var(--tf);
  padding: var(--s2);
}
.nav__hamburger:hover { background: var(--color-surface); }
.nav__hamburger-line {
  display: block;
  height: 1.5px;
  background: var(--color-primary);
  transition: transform var(--tb), opacity var(--tf);
  transform-origin: center;
}
.nav__hamburger.open .nav__hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open .nav__hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open .nav__hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 9999;
  padding: var(--s6) var(--cx) var(--s12);
  transform: translateX(100%);
  transition: transform var(--ts);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}
.nav__mobile-menu.open { transform: translateX(0); }
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding-top: var(--s4);
}
.nav__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) 0;
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: var(--w-regular);
  letter-spacing: -0.01em;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--tf);
}
.nav__mobile-link:hover { color: var(--color-gold); }
.nav__mobile-link span { font-family: var(--f-sans); font-size: 0.85rem; color: var(--color-muted); }
.nav__mobile-actions { margin-top: auto; padding-top: var(--s8); }

/* ═══════════════════════════════════════════════════════════
   3. PRODUCT CARD
═══════════════════════════════════════════════════════════ */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--tb), box-shadow var(--tb), border-color var(--tb);
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

/* Image area */
.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-ph);
}
/* Image link wrapper */
.product-card__img-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

/* keep the old class name too for backward compat */
.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-ph);
}
.product-card__img-wrap .img-placeholder,
.product-card__image-wrap .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0; border: none;
  transition: transform 600ms var(--ease);
}
.product-card:hover .product-card__img-wrap .img-placeholder,
.product-card:hover .product-card__image-wrap .img-placeholder { transform: scale(1.04); }
.product-card__img-wrap img,
.product-card__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease);
}
.product-card:hover .product-card__img-wrap img,
.product-card:hover .product-card__image-wrap img { transform: scale(1.04); }

/* Badge */
.product-card__badge {
  position: absolute; top: var(--s3); left: var(--s3);
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.58rem;
  font-weight: var(--w-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.product-card__badge--new { background: var(--color-primary); }
.product-card__badge--soldout { background: var(--color-err); }

/* Wishlist */
.product-card__wishlist {
  position: absolute; top: var(--s3); right: var(--s3);
  width: 30px; height: 30px;
  background: var(--color-white);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-xs);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--tb), transform var(--tb);
}
.product-card:hover .product-card__wishlist { opacity: 1; transform: scale(1); }
.product-card__wishlist svg { width: 13px; height: 13px; color: var(--color-muted); }
.product-card__wishlist.active svg { fill: var(--color-err); color: var(--color-err); }

/* Body */
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s5) var(--s5) var(--s4);
  gap: var(--s2);
}
.product-card__category {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.product-card__name {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.product-card__desc {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.55;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s1);
}
.product-card__rating span { font-size: 0.68rem; color: var(--color-muted); }

/* Footer — price above actions, both full width */
.product-card__footer {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s4) var(--s5) var(--s5);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  flex-wrap: wrap;
}
.product-card__price-current {
  font-family: 'DM Sans', var(--f-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}
.product-card__price-old {
  font-family: 'DM Sans', var(--f-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-muted);
  text-decoration: line-through;
  white-space: nowrap;
  opacity: 0.6;
  letter-spacing: -0.01em;
}
/* Two buttons side by side, each taking half the width */
.product-card__actions {
  display: flex;
  gap: var(--s2);
  width: 100%;
}
.product-card__actions .btn {
  flex: 1;
  padding: 0.6rem 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  justify-content: center;
}

@media (max-width: 480px) {
  .product-card__body   { padding: var(--s4); }
  .product-card__footer { padding: var(--s3) var(--s4) var(--s4); }
}

/* ═══════════════════════════════════════════════════════════
   4. CART DRAWER
═══════════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(17,17,17,.4);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0; visibility: hidden;
  transition: opacity var(--ts), visibility var(--ts);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw);
  background: var(--color-white);
  z-index: var(--z-drawer);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--ts);
  box-shadow: var(--sh-xl);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s6);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: var(--w-regular);
}
.cart-drawer__count { font-size: var(--t-sm); color: var(--color-muted); margin-top: 2px; }
.cart-drawer__close {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tf);
}
.cart-drawer__close:hover { background: var(--color-surface-2); }
.cart-drawer__close svg { width: 16px; height: 16px; }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--s5) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding: var(--s16) 0;
  text-align: center;
}
.cart-empty svg { width: 40px; height: 40px; color: var(--color-border); }
.cart-empty p   { font-size: var(--t-sm); color: var(--color-muted); }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s4);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--color-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 64px; height: 80px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-ph);
}
.cart-item__img .img-placeholder { width: 100%; height: 100%; border-radius: 0; border: none; }
.cart-item__details { display: flex; flex-direction: column; gap: var(--s2); }
.cart-item__category { font-size: 0.58rem; color: var(--color-gold); font-weight: var(--w-semibold); text-transform: uppercase; letter-spacing: 0.1em; }
.cart-item__name { font-family: var(--f-serif); font-size: 0.9rem; font-weight: var(--w-regular); color: var(--color-primary); line-height: 1.3; }
.cart-item__price { font-size: var(--t-sm); font-weight: var(--w-semibold); }
.cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cart-item__qty { display: flex; align-items: center; gap: var(--s2); background: var(--color-surface); border-radius: var(--r-pill); padding: 3px 3px 3px 10px; }
.cart-item__qty-btn {
  width: 24px; height: 24px; border-radius: var(--r-pill);
  background: var(--color-white); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--color-primary);
  transition: background var(--tf), color var(--tf);
}
.cart-item__qty-btn:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.cart-item__qty-val { font-size: var(--t-sm); font-weight: var(--w-semibold); min-width: 14px; text-align: center; }
.cart-item__remove { font-size: 0.68rem; color: var(--color-muted); text-decoration: underline; cursor: pointer; transition: color var(--tf); }
.cart-item__remove:hover { color: var(--color-err); }

.cart-drawer__footer {
  padding: var(--s5) var(--s6) var(--s6);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: var(--s4);
}
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.cart-subtotal__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); }
.cart-subtotal__value { font-family: var(--f-serif); font-size: 1.5rem; font-weight: var(--w-regular); }
.cart-drawer__shipping-note { font-size: 0.68rem; color: var(--color-muted); text-align: center; }

/* ═══════════════════════════════════════════════════════════
   5. SEARCH OVERLAY
═══════════════════════════════════════════════════════════ */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(250,249,246,.97);
  backdrop-filter: blur(16px);
  z-index: var(--z-drawer);
  display: flex; flex-direction: column;
  padding: var(--s10) var(--cx);
  opacity: 0; visibility: hidden;
  transition: opacity var(--tb), visibility var(--tb);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s10); }
.search-overlay__close {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tf);
}
.search-overlay__close:hover { background: var(--color-surface-2); }
.search-overlay__close svg { width: 17px; height: 17px; }
.search-form {
  display: flex; align-items: center; gap: var(--s4);
  border-bottom: 1.5px solid var(--color-primary);
  padding-bottom: var(--s4);
  max-width: 660px; margin: 0 auto; width: 100%;
}
.search-form svg { width: 20px; height: 20px; color: var(--color-muted); flex-shrink: 0; }
.search-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--w-regular);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.search-input::placeholder { color: var(--color-border); }
.search-results { max-width: 660px; margin: var(--s8) auto 0; width: 100%; }
.search-results__label { font-size: 0.62rem; font-weight: var(--w-semibold); letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--s4); display: block; }
.search-result-item {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: padding-left var(--tf);
}
.search-result-item:hover { padding-left: var(--s2); }
.search-result-item__img { width: 44px; height: 56px; border-radius: var(--r-md); overflow: hidden; background: var(--color-ph); flex-shrink: 0; }
.search-result-item__info { flex: 1; }
.search-result-item__cat { font-size: 0.62rem; color: var(--color-gold); font-weight: var(--w-semibold); text-transform: uppercase; letter-spacing: 0.1em; }
.search-result-item__name { font-family: var(--f-serif); font-size: 0.95rem; color: var(--color-primary); }
.search-result-item__price { font-family: 'Cormorant Garamond', var(--f-serif); font-size: 1.05rem; font-weight: 500; color: var(--color-primary); }
.search-no-results { text-align: center; padding: var(--s10) 0; color: var(--color-muted); }

/* ═══════════════════════════════════════════════════════════
   6. ACCORDION
═══════════════════════════════════════════════════════════ */
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s5) 0;
  background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  font-weight: var(--w-medium);
  color: var(--color-primary);
  transition: color var(--tf);
}
.accordion-trigger:hover { color: var(--color-gold); }
.accordion-icon { flex-shrink: 0; width: 17px; height: 17px; position: relative; }
.accordion-icon::before,
.accordion-icon::after { content: ''; position: absolute; background: currentColor; transition: transform var(--tb), opacity var(--tf); }
.accordion-icon::before { width: 10px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.accordion-icon::after  { width: 1px; height: 10px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.accordion-item.open .accordion-icon::after { opacity: 0; transform: translate(-50%,-50%) rotate(90deg); }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 360ms cubic-bezier(0.16,1,0.3,1); }
.accordion-content__inner { padding-bottom: var(--s5); color: var(--color-muted); line-height: var(--lh-loose); font-size: var(--t-sm); font-weight: var(--w-light); }

/* ═══════════════════════════════════════════════════════════
   7. SMALL UTILITIES — Toast · Breadcrumb · Filter · Form
═══════════════════════════════════════════════════════════ */

/* Toast */
.toast-container { position: fixed; bottom: var(--s6); right: var(--s6); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--s3); pointer-events: none; }
.toast { background: var(--color-primary); color: var(--color-white); padding: var(--s4) var(--s5); border-radius: var(--r-lg); font-size: var(--t-sm); font-weight: var(--w-medium); display: flex; align-items: center; gap: var(--s3); box-shadow: var(--sh-lg); pointer-events: auto; animation: fadeUp 250ms var(--ease) both; max-width: 290px; }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast--success { background: var(--color-ok); }
.toast--error   { background: var(--color-err); }
.toast.removing { opacity: 0; transition: opacity 0.2s; }
@media (max-width: 600px) { .toast-container { inset: auto var(--s4) var(--s4); } .toast { max-width: 100%; } }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); color: var(--color-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--color-muted); transition: color var(--tf); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__current { color: var(--color-primary); }

/* Filter tags */
.filter-bar { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.filter-tag { display: inline-flex; align-items: center; padding: 0.5rem 1.2rem; border-radius: var(--r-pill); border: 1px solid var(--color-border); font-size: 0.7rem; font-weight: var(--w-medium); letter-spacing: 0.06em; color: var(--color-muted); background: var(--color-white); cursor: pointer; transition: all var(--tf); }
.filter-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-tag.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

/* Form elements */
.form-group { display: flex; flex-direction: column; gap: var(--s2); }
.form-label { font-size: var(--t-xs); font-weight: var(--w-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem var(--s4);
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); outline: none; appearance: none;
  font-family: var(--f-sans); font-size: var(--t-base); color: var(--color-primary);
  transition: border-color var(--tf), box-shadow var(--tf);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-border); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(184,149,90,.12); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ═══════════════════════════════════════════════════════════
   8. PAGE HEADER · FOOTER · QTY · REVIEWS · SECTION HDR
═══════════════════════════════════════════════════════════ */

/* Page header (shop, faq, blog, etc.) */
.page-header {
  padding-top: calc(var(--nav-h) + var(--s16));
  padding-bottom: var(--s16);
  text-align: center;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.page-header__eyebrow { display: block; margin-bottom: var(--s3); }
.page-header h1 { margin-bottom: var(--s4); }
.page-header p { max-width: 500px; margin: 0 auto; font-size: var(--t-md); font-weight: var(--w-light); }

/* Footer */
.footer { background: var(--color-footer); color: var(--color-footer-text); padding-top: var(--s20); padding-bottom: var(--s10); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s12); padding-bottom: var(--s16); border-bottom: 1px solid var(--color-footer-rule); }
.footer__brand-logo { font-family: var(--f-serif); font-size: 1.375rem; font-weight: var(--w-regular); color: var(--color-white); margin-bottom: var(--s4); display: block; }
.footer__brand-logo span { color: var(--color-gold); }
.footer__brand-desc { font-size: var(--t-sm); line-height: var(--lh-loose); color: var(--color-footer-text); max-width: 240px; font-weight: var(--w-light); }
.footer__social { display: flex; gap: var(--s3); margin-top: var(--s6); }
.footer__social-link { width: 34px; height: 34px; border-radius: var(--r-pill); border: 1px solid var(--color-footer-rule); display: flex; align-items: center; justify-content: center; color: var(--color-footer-text); transition: all var(--tf); }
.footer__social-link:hover { border-color: var(--color-gold); color: var(--color-gold); background: rgba(184,149,90,.08); }
.footer__social-link svg { width: 14px; height: 14px; }
.footer__col-title { font-size: 0.62rem; font-weight: var(--w-semibold); letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-white); margin-bottom: var(--s5); }
.footer__links { display: flex; flex-direction: column; gap: var(--s3); }
.footer__link { font-size: var(--t-sm); color: var(--color-footer-text); font-weight: var(--w-light); transition: color var(--tf); }
.footer__link:hover { color: var(--color-gold); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s8); gap: var(--s4); flex-wrap: wrap; }
.footer__copy { font-size: var(--t-sm); color: var(--color-footer-text); font-weight: var(--w-light); }
.footer__legal { display: flex; gap: var(--s6); }
.footer__legal-link { font-size: 0.68rem; color: var(--color-footer-text); transition: color var(--tf); }
.footer__legal-link:hover { color: var(--color-gold); }

/* Qty selector */
.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--r-lg); overflow: hidden; }
.qty-btn { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--color-surface); cursor: pointer; font-size: 1.1rem; color: var(--color-primary); transition: background var(--tf); }
.qty-btn:hover { background: var(--color-surface-2); }
.qty-value { width: 46px; height: 42px; display: flex; align-items: center; justify-content: center; font-weight: var(--w-semibold); border-inline: 1px solid var(--color-border); }

/* Reviews */
.review-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--r-xl); padding: var(--s8); display: flex; flex-direction: column; gap: var(--s4); }
.review-card__header { display: flex; align-items: flex-start; gap: var(--s4); }
.review-card__avatar { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--color-surface-2); display: flex; align-items: center; justify-content: center; font-family: var(--f-serif); font-size: 1.1rem; color: var(--color-gold); flex-shrink: 0; }
.review-card__name { font-weight: var(--w-semibold); font-size: var(--t-sm); color: var(--color-primary); }
.review-card__date { font-size: 0.68rem; color: var(--color-muted); margin-top: 2px; }
.review-card__verified { font-size: 0.62rem; color: var(--color-ok); font-weight: var(--w-medium); display: flex; align-items: center; gap: 3px; }
.review-card__text { font-size: var(--t-sm); line-height: var(--lh-loose); color: var(--color-muted); font-weight: var(--w-light); font-style: italic; }

/* Product card name link — clean, no underline */
.product-card__name-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card__name-link:hover .product-card__name {
  color: var(--color-gold);
  transition: color var(--tf);
}

/* WhatsApp button */
.btn--wa {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  gap: var(--s2);
}
.btn--wa:hover {
  background: #20c05e;
  border-color: #20c05e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn--wa svg { flex-shrink: 0; }
