/* =============================================
   Queen's Closet BD — Premium Style v2
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg-main: #FCFAF8;
  --bg-surface: #FFFFFF;
  --bg-alt: #F3F0EB;
  --text-main: #2C2825;
  --text-muted: #7A726C;
  --gold: #C29B57;
  --gold-hover: #A68242;
  --gold-light: rgba(194, 155, 87, 0.12);
  --gold-mid: rgba(194, 155, 87, 0.25);
  --border-light: #E8E3DD;
  --shadow-soft: 0 4px 24px rgba(44, 40, 37, 0.06);
  --shadow-hover: 0 16px 48px rgba(44, 40, 37, 0.13);
  --shadow-card: 0 2px 16px rgba(44, 40, 37, 0.07);
  --shadow-gold: 0 8px 28px rgba(194, 155, 87, 0.35);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.22s ease;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --header-h: 76px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-main);
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* ─── Utility ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.section-title { margin-bottom: 18px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.gold-line { width: 52px; height: 2px; background: var(--gold); margin: 20px 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--text-main);
  color: var(--text-main);
  background: transparent;
}
.btn-outline:hover {
  background: var(--text-main);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* Focus visible for accessibility */
.btn:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 999;
  background: rgba(252, 250, 248, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.scrolled {
  background: rgba(252, 250, 248, 0.99);
  box-shadow: 0 4px 20px rgba(44, 40, 37, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.nav__logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.nav__logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-main);
  transition: color 0.22s;
}
.nav__logo:hover .nav__logo-main { color: var(--gold); }
.nav__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  color: var(--text-main);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a:hover,
.nav__links a.active { color: var(--gold); }

/* ─── Search Bar ─── */
.search-container { position: relative; flex-shrink: 0; }
.search-input-wrapper { position: relative; display: flex; align-items: center; }
.search-input-wrapper .search-icon {
  position: absolute;
  left: 12px;
  width: 15px; height: 15px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  z-index: 1;
}
.header-search {
  width: 190px;
  padding: 9px 14px 9px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}
.header-search::placeholder { color: var(--text-muted); }
.header-search:focus {
  width: 250px;
  border-color: var(--gold);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1100;
  display: none;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-results-dropdown.visible { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.18s;
  cursor: pointer;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-alt); }
.search-result-item img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.search-result-details { flex: 1; min-width: 0; }
.search-result-details h5 {
  font-family: 'Jost', sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.search-result-details .search-cat {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: capitalize;
  display: block;
}
.search-result-details .search-price {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}
.search-no-results {
  padding: 28px 16px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Mobile Search in Nav */
.mobile-search-wrap {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  display: none;
}
.mobile-search-wrap .search-input-wrapper { width: 100%; }
.mobile-search-wrap .header-search { width: 100%; border-radius: var(--radius); }
.mobile-search-wrap .header-search:focus { width: 100%; }
.mobile-search-wrap .search-results-dropdown { width: 100%; right: auto; left: 0; }

/* ─── Hamburger ─── */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 22px;
  position: relative;
  z-index: 1000;
  outline: none;
  flex-shrink: 0;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text-main);
  transition: all 0.28s ease;
  border-radius: 2px;
}
.nav__hamburger span:nth-child(1) { top: 3px; }
.nav__hamburger span:nth-child(2) { top: 10px; }
.nav__hamburger span:nth-child(3) { top: 17px; }
.nav__hamburger.is-active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; transform: translateX(6px); }
.nav__hamburger.is-active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__hamburger { display: block; }
}

/* ─── Mobile Nav ─── */
.nav__mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  z-index: 998;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  border-top: 1px solid var(--border-light);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.nav__mobile.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav__mobile > a {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  padding: 19px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.22s, background 0.22s, padding-left 0.22s;
}
.nav__mobile > a:last-child { border-bottom: none; }
.nav__mobile > a:hover,
.nav__mobile > a.active {
  color: var(--gold);
  background: var(--gold-light);
  padding-left: 30px;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-h);
}
.hero__bg-slide { position: absolute; inset: 0; z-index: 1; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(252, 250, 248, 1) 0%,
    rgba(252, 250, 248, 0.55) 40%,
    rgba(252, 250, 248, 0.15) 100%
  );
}
.hero__container {
  position: relative;
  z-index: 5;
  max-width: 780px;
  padding: 0 24px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero__eyebrow::before,
.hero__eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero__title { line-height: 1.1; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-main);
  opacity: 0.85;
  margin: 22px auto 38px;
  max-width: 480px;
  line-height: 1.6;
  font-weight: 300;
}
.hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────
   PRODUCT CARDS & GRIDS
───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 28px;
}

/* ─── Progressive Mobile Product Loader ─── */
.product-loader {
  display: none;
  min-height: 58px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-loader.active {
  visibility: visible;
  opacity: 1;
}

.product-loader span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
  animation: productLoaderDot 1.1s ease-in-out infinite;
}

.product-loader span:nth-child(2) { animation-delay: 0.16s; }
.product-loader span:nth-child(3) { animation-delay: 0.32s; }

@keyframes productLoaderDot {
  0%, 70%, 100% {
    opacity: 0.3;
    transform: translateY(0) scale(0.8);
  }
  35% {
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }
}


.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.38s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.product-card__img {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }

/* Quick-action overlay on product card */
.product-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(44,40,37,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__overlay-btn {
  background: var(--gold);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease 0.05s, opacity 0.3s ease 0.05s, background 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.product-card:hover .product-card__overlay-btn {
  transform: translateY(0);
  opacity: 1;
}
.product-card__overlay-btn:hover { background: var(--gold-hover); }

.product-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__cat {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.product-card__name {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
.product-card__price {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.product-card__details,
.product-card__btn {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: block;
  line-height: 1;
}
.product-card__details {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
}
.product-card__details:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.product-card__btn {
  background: var(--text-main);
  color: #fff;
  border: 1.5px solid var(--text-main);
}
.product-card__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ─── Product Badges ─── */
.product-badge {
  position: absolute;
  top: 13px; left: 13px;
  padding: 5px 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 3px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.badge--new        { background: var(--gold); }
.badge--bestseller { background: var(--text-main); }
.badge--sale       { background: #A34843; }
.badge--trending   { background: #4A6572; }
.badge--limited    { background: #7B5B78; }
.badge--hot        { background: #C0562F; }

/* ─── Skeleton Loading ─── */
.skeleton-shimmer {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--bg-alt) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.4s infinite linear;
}
@keyframes loadingShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.skeleton-img { width: 100%; padding-bottom: 125%; background: var(--border-light); position: relative; }
.skeleton-img .skeleton-shimmer { position: absolute; inset: 0; }
.skeleton-body { padding: 20px 22px; }
.skeleton-line { height: 11px; border-radius: 3px; margin-bottom: 10px; }
.skeleton-line--short  { width: 32%; }
.skeleton-line--medium { width: 72%; height: 17px; }
.skeleton-line--price  { width: 40%; height: 14px; }

/* ─────────────────────────────────────────────
   TRUST SECTION
───────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 34px 22px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.trust-card:hover::before { transform: scaleX(1); }
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 155, 87, 0.3);
}
.trust-card__icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  border-radius: 50%;
  color: var(--gold);
  transition: var(--transition);
}
.trust-card:hover .trust-card__icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
}
.trust-card__icon svg { width: 24px; height: 24px; fill: currentColor; }
.trust-card__title {
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
}
.trust-card__text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─────────────────────────────────────────────
   WHY CHOOSE US
───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.why-card { text-align: center; padding: 16px; }
.why-card__icon {
  width: 68px; height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  color: var(--gold);
  transition: var(--transition);
}
.why-card:hover .why-card__icon {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 24px rgba(194, 155, 87, 0.3);
  transform: translateY(-3px);
}
.why-card__icon svg { width: 30px; height: 30px; fill: currentColor; }
.why-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-main);
}
.why-card__text { font-size: 0.9rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   FLOATING WHATSAPP
───────────────────────────────────────────── */
.whatsapp-floating {
  position: fixed;
  bottom: 30px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9990;
  transition: var(--transition);
  animation: waPulse 2.8s ease-in-out infinite;
}
.whatsapp-floating svg { width: 26px; height: 26px; fill: currentColor; }
.whatsapp-floating:hover {
  background: #1da851;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}
.whatsapp-floating .wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.whatsapp-floating .wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text-main);
}
.whatsapp-floating:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.68); }
}

/* ─────────────────────────────────────────────
   PAGE HERO (sub-pages)
───────────────────────────────────────────── */
.page-hero {
  background: var(--bg-alt);
  padding: calc(var(--header-h) + 56px) 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  position: relative;
}
.page-hero__title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 12px;
  position: relative;
}
.page-hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  position: relative;
}

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* When only one column present, span full width */
.about-intro--single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.about-intro__text p { margin-bottom: 18px; font-size: 1.02rem; }
.about-intro__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  box-shadow: var(--shadow-hover);
}
.about-intro__visual img { width: 100%; height: 100%; object-fit: cover; }
.about-intro__visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--bg-alt) 0%, #EDE8E1 100%);
}
.about-intro__visual-placeholder svg { width: 64px; height: 64px; fill: var(--gold); opacity: 0.4; }
.about-intro__visual-placeholder span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--text-muted);
  opacity: 0.6;
}
.mission-box {
  background: var(--bg-surface);
  border-left: 3px solid var(--gold);
  padding: 28px 30px;
  margin-top: 30px;
  box-shadow: var(--shadow-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mission-box__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.mission-box__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.55;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.value-card {
  background: var(--bg-surface);
  padding: 38px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.value-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-hover);
}
.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-main);
}
.value-card p { font-size: 0.95rem; }

/* Value icon */
.value-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.value-card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.value-card:hover .value-card__icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
}

/* ─────────────────────────────────────────────
   SHOP PAGE
───────────────────────────────────────────── */
.shop-search {
  max-width: 560px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}
.shop-search svg.search-icon {
  position: absolute;
  left: 44px;
  width: 18px; height: 18px;
  color: var(--gold);
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  z-index: 1;
}
#shopSearch {
  width: 100%;
  height: 56px;
  padding: 0 24px 0 52px;
  border: 1.5px solid var(--border-light);
  border-radius: 40px;
  background: var(--bg-surface);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-main);
  outline: none;
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
}
#shopSearch::placeholder { color: var(--text-muted); }
#shopSearch:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-light), var(--shadow-hover);
}
#shopSearch:hover { box-shadow: 0 8px 28px rgba(44, 40, 37, 0.1); }

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(194, 155, 87, 0.3);
}

/* No results message */
.no-results-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.no-results-msg strong {
  color: var(--text-main);
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   CONTACT & ORDER PAGES
───────────────────────────────────────────── */
.contact-inner,
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .order-layout { grid-template-columns: 1.6fr 1fr; }
}

.contact-info__item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info__icon {
  width: 48px; height: 48px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.contact-info__item:hover .contact-info__icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.05);
}
.contact-info__icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-info__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 5px;
}

/* ─── Forms ─── */
.form-wrap {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}
.form-group { margin-bottom: 22px; position: relative; }
.form-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.97rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  transition: border-color 0.22s, box-shadow 0.22s;
  outline: none;
  color: var(--text-main);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
  background: var(--bg-surface);
}
.form-control:hover:not(:focus) { border-color: #ccc8c3; }
.form-control.is-invalid { border-color: #A34843; box-shadow: 0 0 0 3px rgba(163,72,67,0.1); }
.form-control.is-valid { border-color: #4caf50; }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; appearance: auto; }

/* Inline validation message */
.field-error {
  font-size: 0.75rem;
  color: #A34843;
  margin-top: 5px;
  display: none;
}
.field-error.visible { display: block; }

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.form-actions .btn { flex: 1; min-width: 160px; }

.order-success {
  display: none;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 1px solid #81c784;
  padding: 36px;
  text-align: center;
  border-radius: var(--radius);
  margin-top: 24px;
  animation: fadeScaleIn 0.45s ease;
}
.order-success.visible { display: block; }
.order-success h3 { color: #2e7d32; margin-bottom: 8px; }
@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* ─── Image Upload (Admin) ─── */
.image-upload-area {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
}
.image-upload-area:hover,
.image-upload-area.drag-over {
  border-color: var(--gold);
  background: var(--gold-light);
}
.image-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%; height: 100%;
}
.image-upload-area .upload-icon { font-size: 2rem; margin-bottom: 10px; }
.image-upload-area p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }
.image-upload-area strong { color: var(--gold); }
.image-preview-wrap { margin-top: 14px; display: none; position: relative; }
.image-preview-wrap.show { display: block; }
.image-preview-wrap img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.image-preview-wrap .remove-img {
  position: absolute;
  top: 8px; right: 8px;
  background: #A34843;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s;
}
.image-preview-wrap .remove-img:hover { background: #8b2e28; }

/* ─────────────────────────────────────────────
   PRODUCT DETAIL PAGE
───────────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-detail-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.product-detail-gallery__main {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.product-detail-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-detail-gallery__main:hover img { transform: scale(1.03); }

.product-detail-info { padding-top: 8px; }
.product-detail-info .product-badge {
  position: static;
  display: inline-block;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
}
.detail-cat {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.detail-name {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin-bottom: 14px;
  line-height: 1.1;
}
.detail-price {
  font-family: 'Jost', sans-serif;
  font-size: 1.9rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 26px;
  display: block;
}
.detail-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin: 24px 0;
}
.detail-desc-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}
.detail-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.detail-actions .btn { width: 100%; justify-content: center; }
.detail-meta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.detail-meta-item:hover { background: var(--gold-light); }
.detail-meta-item svg { width: 17px; height: 17px; fill: var(--gold); flex-shrink: 0; }

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-alt);
  padding: calc(var(--header-h) + 18px) 0 18px;
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb p {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }

/* Related Products */
.related-section { padding: 80px 0; background: var(--bg-alt); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background: var(--text-main);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 36px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer__logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 6px;
  display: block;
  transition: color 0.22s;
}
.footer__logo-main:hover { color: var(--gold); }
.footer__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}
.footer__brand p {
  color: rgba(255,255,255,0.55);
  max-width: 290px;
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer__socials a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  transition: var(--transition-fast);
}
/* Facebook & TikTok: fill-based icons */
.footer__socials a[aria-label="Facebook"] svg,
.footer__socials a[aria-label="TikTok"] svg,
.footer__socials a[aria-label="WhatsApp"] svg {
  width: 17px; height: 17px;
  fill: rgba(201, 169, 110, 0.9);
  stroke: none;
  transition: fill 0.22s;
}
/* Instagram: stroke-based */
.footer__socials a[aria-label="Instagram"] svg {
  width: 17px; height: 17px;
  fill: rgba(201, 169, 110, 0.9);
  stroke: none;
  transition: fill 0.22s;
}
.footer__socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer__socials a:hover svg { fill: #fff !important; stroke: none !important; }

.footer__col-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  transition: color 0.22s, padding-left 0.22s;
}
.footer__links a:hover { color: #fff; padding-left: 6px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ─────────────────────────────────────────────
   REVEAL ANIMATION
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   BACK TO TOP
───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 42px; height: 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
  z-index: 9989;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  cursor: pointer;
  pointer-events: none;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}
.back-to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .search-container { display: none; }
  .mobile-search-wrap { display: block; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand p { max-width: 100%; }

  .about-intro,
  .contact-inner,
  .order-layout { grid-template-columns: 1fr; gap: 36px; }

  .product-detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-detail-gallery { position: static; }

  .form-wrap { padding: 28px 24px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: min(280px, 100%); }

  /* Hide visual placeholder on mobile about */
  .about-intro__visual { display: none; }
}

@media (max-width: 768px) {
  .product-loader { display: flex; }

  :root { --header-h: 68px; }

  .hero { min-height: 520px; }
  .hero__bg-img { object-position: 65% center; }
  .hero__bg-slide::after {
    background: linear-gradient(
      to top,
      rgba(252, 250, 248, 1) 0%,
      rgba(252, 250, 248, 0.8) 45%,
      rgba(252, 250, 248, 0.3) 100%
    ) !important;
  }
  .hero__container { padding: 0 20px; }
  .hero__sub { font-size: 1rem; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-card { padding: 24px 16px; }

  .shop-search { padding: 0 16px; margin-top: -20px; }
  #shopSearch { height: 50px; font-size: 0.9rem; }

  .page-hero { padding: calc(var(--header-h) + 40px) 0 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__body { padding: 12px 12px 14px; }
  .product-card__name { font-size: 0.95rem; }
  .product-card__price { font-size: 0.98rem; margin-bottom: 10px; }
  .product-card__actions { grid-template-columns: 1fr 1fr; gap: 6px; }
  .product-card__details,
  .product-card__btn {
    padding: 11px 6px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
  /* Hide overlay on touch */
  .product-card__overlay { display: none; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-card { padding: 20px 12px; }
  .trust-card__icon { width: 44px; height: 44px; }
  .trust-card__text { font-size: 0.78rem; }

  .hero__actions .btn { width: 100%; }
  .btn { padding: 14px 24px; font-size: 0.78rem; }

  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }

  .whatsapp-floating { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .whatsapp-floating svg { width: 24px; height: 24px; }
  .whatsapp-floating .wa-tooltip { display: none; }

  .back-to-top { bottom: 82px; right: 18px; width: 38px; height: 38px; }

  .form-wrap { padding: 22px 16px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }

  .mission-box__text { font-size: 1.1rem; }
  .section { padding: 52px 0; }

  .shop-search { margin-top: -14px; }
}

@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card__body { padding: 10px 10px 12px; }
  .product-card__name { font-size: 0.88rem; }
}

/* ─── Print ─── */
@media print {
  .header, .nav__mobile, .whatsapp-floating, .back-to-top, .footer { display: none !important; }
  body { margin-top: 0; }
}


.product-stock-badge{
position:absolute;
top:12px;
right:12px;
background:#A34843;
color:#fff;
padding:6px 10px;
font-size:11px;
font-weight:700;
border-radius:4px;
z-index:10;
}

.product-card__btn.disabled{
pointer-events:none;
opacity:.55;
cursor:not-allowed;
}