/* =========================================================================
   AK FABRICS — styles.css
   Palette: cream #FAF6EE · beige #EEE1C6 · chocolate #3B2A1E
            gold #B6862F · charcoal #2A2118 · white #FFFFFF
   Type: "Cormorant Garamond" (display/serif) + "Jost" (body/sans)
   ========================================================================= */

:root {
  --cream: #FAF6EE;
  --beige: #EFE3C8;
  --beige-deep: #E4D3AC;
  --brown: #3B2A1E;
  --brown-soft: #6E5334;
  --gold: #B6862F;
  --gold-light: #D8B770;
  --white: #FFFFFF;
  --charcoal: #2A2118;
  --line: rgba(59, 42, 30, 0.14);
  --shadow: 0 10px 30px rgba(59, 42, 30, 0.10);
  --radius-s: 4px;
  --radius-m: 10px;
  --wa-green: #25D366;
  --wa-green-dark: #1EBE5A;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: "Jost", "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--brown);
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
}

p { margin: 0; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.no-scroll { overflow: hidden; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head .eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: block;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p.section-sub { color: var(--brown-soft); margin-top: 8px; max-width: 60ch; }

.divider-gold {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0;
}

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-brown { background: var(--brown); color: var(--cream); }
.btn-brown:hover { background: #2c1f15; }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9c7328; }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); }
.btn-sm { padding: 9px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-wa-mini {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--wa-green);
  color: #1a7d43;
  border-radius: var(--radius-s);
  font-size: 0.78rem;
  font-weight: 500;
}
.btn-wa-mini:hover { background: rgba(37, 211, 102, 0.1); }

/* ---------------------------------------------------------------------
   ANNOUNCEMENT BAR
   --------------------------------------------------------------------- */
.announcement-bar {
  background: var(--brown);
  color: var(--beige);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 8px 16px;
}
#announcement-text { transition: opacity 0.3s ease; }

/* ---------------------------------------------------------------------
   HEADER
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: padding 0.25s ease;
}
.site-header.compact .header-inner { padding: 10px 20px; }

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.logo-img {
  height: 54px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.compact .logo-img { height: 42px; }
.mobile-menu .logo-img { height: 46px; }

.desktop-nav {
  display: flex;
  gap: 30px;
}
.desktop-nav a {
  font-size: 0.92rem;
  color: var(--brown);
  position: relative;
  padding: 4px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--brown);
  padding: 6px;
  display: flex;
}
.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.header-wa-btn {
  background: var(--wa-green);
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-s);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-wa-btn:hover { background: var(--wa-green-dark); }

.hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--brown);
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--cream);
  z-index: 300;
  padding: 24px 20px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); display: block; }
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.mobile-menu-close {
  background: none; border: none; font-size: 1.6rem; color: var(--brown);
}
.mobile-menu nav a {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--brown);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .mm-wa {
  margin-top: 24px;
}

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 40px;
}
.hero-copy .eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: 18px;
}
.hero-copy .hero-sub {
  color: var(--brown-soft);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 26px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--brown-soft);
}
.hero-trust span:not(:last-child)::after { content: "•"; margin-left: 8px; color: var(--gold); }

.hero-media {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(250, 246, 238, 0.94);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-size: 0.8rem;
  color: var(--brown);
  border-left: 3px solid var(--gold);
}

/* ---------------------------------------------------------------------
   TRUST STRIP
   --------------------------------------------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 36px 0;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 18px;
  text-align: left;
}
.trust-card .trust-icon {
  width: 34px; height: 34px;
  margin-bottom: 12px;
  color: var(--gold);
}
.trust-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.trust-card p { font-size: 0.84rem; color: var(--brown-soft); }

/* ---------------------------------------------------------------------
   CATEGORY SHORTCUTS (light/dark)
   --------------------------------------------------------------------- */
.color-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 10px 0 30px;
}
.color-shortcut-card {
  padding: 28px 24px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.color-shortcut-card.light { background: var(--beige); }
.color-shortcut-card.dark { background: var(--brown); color: var(--cream); }
.color-shortcut-card.dark h3, .color-shortcut-card.dark p { color: var(--cream); }
.color-shortcut-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.color-shortcut-card p { font-size: 0.85rem; opacity: 0.85; }

/* ---------------------------------------------------------------------
   CATEGORY GRID
   --------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 3/3.6;
  background: var(--beige);
  cursor: pointer;
  border: none;
  padding: 0;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; }
.category-card .ph-img { width: 100%; height: 100%; }
.category-card .cat-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 12px;
  background: linear-gradient(to top, rgba(42,33,24,0.82), rgba(42,33,24,0));
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  text-align: left;
}

/* ---------------------------------------------------------------------
   PRODUCT GRID / CARDS
   --------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
}
.product-media {
  position: relative;
  aspect-ratio: 3/3.7;
  background: var(--beige);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 3px;
}
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-cat { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.02em; }
.product-name { font-size: 1.05rem; line-height: 1.25; min-height: 2.5em; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.price { font-weight: 600; font-size: 1.1rem; color: var(--brown); }
.old-price { font-size: 0.85rem; color: #a08c72; text-decoration: line-through; }
.stock { font-size: 0.75rem; }
.stock.in { color: #2f7d46; }
.stock.out { color: #b13f3f; }
.card-actions { display: flex; gap: 8px; margin-top: 10px; }
.card-actions .btn { flex: 1; }

.ph-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--beige), var(--beige) 10px, var(--beige-deep) 10px, var(--beige-deep) 20px);
  color: var(--brown-soft);
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
}
.ph-img.large { min-height: 400px; }
.ph-img.small { border-radius: 4px; }

.empty-msg { color: var(--brown-soft); padding: 40px 0; text-align: center; grid-column: 1/-1; }

/* ---------------------------------------------------------------------
   SHOP CONTROLS / FILTERS
   --------------------------------------------------------------------- */
.shop-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 0.9rem;
}
.search-wrap svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--brown-soft);
}
.sort-select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 0.87rem;
  color: var(--brown);
}
#filters-toggle { display: none; }
.result-count { font-size: 0.82rem; color: var(--brown-soft); margin-bottom: 16px; }

.filters-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.82rem;
  color: var(--brown);
}
.filter-chip.active { background: var(--brown); color: var(--cream); border-color: var(--brown); }

/* ---------------------------------------------------------------------
   OFFERS
   --------------------------------------------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  position: relative;
  border: 1px solid var(--gold);
}
.offer-card .offer-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.offer-card h3 { color: var(--cream); font-size: 1.35rem; margin-bottom: 8px; }
.offer-card p.offer-desc { font-size: 0.86rem; color: var(--beige); margin-bottom: 14px; }
.offer-card .offer-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.offer-card .offer-price { font-size: 1.6rem; font-weight: 600; color: var(--gold-light); }
.offer-card .offer-oldprice { text-decoration: line-through; color: #b7a586; font-size: 0.9rem; }
.offer-card.featured-offer { background: var(--gold); border-color: var(--gold); }
.offer-card.featured-offer h3, .offer-card.featured-offer p.offer-desc { color: #fff5e4; }
.offer-card.featured-offer .offer-price { color: #fff; }
.offer-card.featured-offer .offer-badge { background: var(--brown); }

/* ---------------------------------------------------------------------
   WHY CHOOSE US
   --------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 30px;
}
.why-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 0;
}
.why-item .why-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.why-item p { font-size: 0.94rem; color: var(--brown); }

/* ---------------------------------------------------------------------
   ABOUT
   --------------------------------------------------------------------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.about-wrap img { border-radius: var(--radius-m); box-shadow: var(--shadow); }
.about-copy p { color: var(--brown-soft); margin-bottom: 16px; font-size: 1.02rem; }

/* ---------------------------------------------------------------------
   STORE / VISIT US
   --------------------------------------------------------------------- */
.store-section { background: var(--beige); }
.store-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.store-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 30px;
  box-shadow: var(--shadow);
}
.store-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.store-card .store-addr { color: var(--brown-soft); margin: 14px 0; line-height: 1.8; }
.store-card .store-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.branch-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 14px;
  font-size: 0.85rem;
}
.branch-box strong { display: block; color: var(--brown); margin-bottom: 4px; }
.store-hours {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  font-size: 0.88rem;
}
.store-hours .closed { color: #b13f3f; font-weight: 500; }
.store-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.store-map-embed {
  border-radius: var(--radius-m);
  overflow: hidden;
  min-height: 340px;
  background: var(--white);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: var(--brown-soft);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------
   DELIVERY / EXCHANGE
   --------------------------------------------------------------------- */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
}
.policy-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.policy-card p { color: var(--brown-soft); font-size: 0.9rem; }

.exchange-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
}
.exchange-block ul { display: flex; flex-direction: column; gap: 10px; }
.exchange-block li {
  padding-left: 18px;
  position: relative;
  color: var(--brown-soft);
  font-size: 0.94rem;
}
.exchange-block li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: var(--brown);
}
.faq-q .plus { color: var(--gold); font-size: 1.3rem; transition: transform 0.2s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 20px; color: var(--brown-soft); font-size: 0.92rem; max-width: 65ch; }

/* ---------------------------------------------------------------------
   TESTIMONIALS / SOCIAL
   --------------------------------------------------------------------- */
.testimonial-placeholder {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-m);
  padding: 40px;
  text-align: center;
  color: var(--brown-soft);
}
.social-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--brown);
  border-radius: var(--radius-m);
  padding: 30px 34px;
  margin-top: 40px;
}
.social-strip h3 { color: var(--cream); font-size: 1.4rem; }
.social-strip p { color: var(--beige); font-size: 0.88rem; margin-top: 4px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-icons .ig { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.social-icons .tt { background: #000; }
.social-icons .fb { background: #1877f2; }

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--brown);
  color: var(--beige);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(250,246,238,0.15);
}
.footer-grid h5 {
  color: var(--gold-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-grid ul li { margin-bottom: 9px; font-size: 0.87rem; }
.footer-grid ul li a:hover { color: var(--gold-light); }
.footer-logo { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; color: var(--cream); margin-bottom: 10px; }
.footer-brand p { font-size: 0.87rem; color: var(--beige); opacity: 0.85; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(250,246,238,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(250,246,238,0.7);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------------------
   FLOATING WHATSAPP + BACK TO TOP
   --------------------------------------------------------------------- */
.floating-wa {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.floating-wa:hover { background: var(--wa-green-dark); transform: translateY(-2px); }
.floating-wa .fw-text {
  display: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding-right: 4px;
}
@media (min-width: 900px) {
  .floating-wa .fw-text { display: inline; }
}

.back-to-top {
  position: fixed;
  bottom: 22px; left: 22px;
  z-index: 240;
  background: var(--brown);
  color: var(--cream);
  border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------------
   CART DRAWER
   --------------------------------------------------------------------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(42,33,24,0.5);
  z-index: 400;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--cream);
  z-index: 401;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3 { font-size: 1.4rem; }
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-line {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-img { width: 60px; height: 70px; border-radius: 4px; overflow: hidden; background: var(--beige); }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-size: 0.85rem; line-height: 1.3; }
.cart-line-code { font-size: 0.7rem; color: var(--brown-soft); margin: 2px 0; }
.cart-line-price { font-size: 0.85rem; font-weight: 600; color: var(--brown); }
.cart-line-qty {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 4px;
}
.cart-line-qty button { background: none; border: none; width: 24px; padding: 6px 0; }
.cart-line-qty input { width: 28px; border: none; text-align: center; background: none; font-size: 0.85rem; }
.cart-line-remove { background: none; border: none; color: #b13f3f; font-size: 0.9rem; }

.cart-drawer-foot {
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
}
.cart-totals-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 6px; color: var(--brown-soft); }
.cart-totals-row.total { font-size: 1.1rem; font-weight: 600; color: var(--brown); margin-top: 8px; }
#bundle-note {
  font-size: 0.78rem;
  color: #2f7d46;
  background: #eaf6ee;
  padding: 8px 10px;
  border-radius: 4px;
  margin: 10px 0;
}
.checkout-form { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.checkout-form input, .checkout-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.85rem;
  background: var(--white);
}
.checkout-note { font-size: 0.72rem; color: var(--brown-soft); margin-top: 8px; }

/* ---------------------------------------------------------------------
   PRODUCT MODAL
   --------------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(42,33,24,0.55);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-m);
  max-width: 980px;
  width: 100%;
  padding: 30px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--beige);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--brown);
}
.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.modal-gallery-main {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 3/3.6;
  background: var(--beige);
}
.modal-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.modal-thumbs .thumb {
  width: 56px; height: 68px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0; background: none;
}
.modal-thumbs .thumb.active { border-color: var(--gold); }
.modal-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-category { color: var(--gold); font-size: 0.8rem; }
.modal-name { font-size: 1.7rem; margin: 6px 0 4px; }
.modal-code { font-size: 0.8rem; color: var(--brown-soft); margin-bottom: 12px; }
.modal-badge {
  background: var(--gold); color: #fff; font-size: 0.68rem;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 10px;
}
.modal-price-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 0; }
.modal-price { font-size: 1.6rem; font-weight: 600; color: var(--brown); }
.modal-oldprice { text-decoration: line-through; color: #a08c72; }
.modal-stock { font-size: 0.85rem; margin-bottom: 14px; display: block; }
.modal-stock.in { color: #2f7d46; }
.modal-stock.out { color: #b13f3f; }
.modal-desc { color: var(--brown-soft); font-size: 0.92rem; margin-bottom: 16px; }
.modal-details { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.modal-details li { font-size: 0.86rem; color: var(--brown-soft); }
.modal-details strong { color: var(--brown); }

.modal-qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.qty-control button { background: none; border: none; width: 32px; padding: 8px 0; }
.modal-qty { width: 40px; text-align: center; border: none; background: none; font-size: 0.95rem; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 160px; }

.modal-related { margin-top: 40px; }
.modal-related h4 { font-size: 1.2rem; margin-bottom: 14px; }
.modal-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.modal-related-grid .product-name { font-size: 0.9rem; min-height: auto; }

/* ---------------------------------------------------------------------
   TOAST
   --------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------------------
   MISC
   --------------------------------------------------------------------- */
.center { text-align: center; }
.section-cta-row { display: flex; justify-content: center; margin-top: 30px; }
.editable-note {
  background: #fdf3d8;
  border: 1px solid #e8cf85;
  color: #6d5a1c;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin: 10px 0;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .product-grid, .category-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid, .policy-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
  .about-wrap, .store-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .desktop-nav, .header-wa-btn .fw-label { display: none; }
  .hamburger { display: flex; }
  .section { padding: 44px 0; }
  .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .offer-grid, .policy-grid, .why-grid, .color-shortcuts, .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .filters-panel { display: none; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .filters-panel.mobile-open { display: flex; }
  #filters-toggle { display: inline-flex; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .modal-box { padding: 20px; }
  .modal-related-grid { grid-template-columns: 1fr 1fr; }
  .social-strip { flex-direction: column; text-align: center; }
  .store-card .store-branches { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .product-grid, .category-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { flex: 1; }
}
