/*
 * Theme Name:   Febexstudio Child
 * Theme URI:    https://febexstudio.com
 * Description:  Astra Child Theme for Febexstudio — Quiet-luxury women's fashion. Olive / Gold / Cream. WhatsApp-order store.
 * Author:       Febexstudio
 * Author URI:   https://febexstudio.com
 * Template:     astra
 * Version:      1.0.0
 * Text Domain:  febexstudio-child
 * License:      GPL-2.0-or-later
 */

/* ============================================================
   IMPORT GOOGLE FONTS
   Cormorant Garamond (serif display)
   Jost (sans body/UI)
   Pinyon Script (script accent)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&family=Pinyon+Script&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ---- Palette ---- */
  --cream:        #F4F0E6;
  --cream-2:      #EFE9DB;
  --paper:        #FBF9F3;
  --ink:          #23211B;
  --ink-soft:     #6F6B5E;
  --ink-faint:    #9A9587;
  --olive:        #474B31;
  --olive-2:      #5E6342;
  --olive-deep:   #3A3D27;
  --gold:         #B0904F;
  --gold-2:       #C7A766;
  --gold-soft:    #D8C49A;
  --line:         #E3DDCD;
  --line-soft:    #ECE7DA;
  --danger:       #9A4A33;

  --gold-grad: linear-gradient(105deg, #9d7a3a 0%, #caa766 28%, #e7d29b 50%, #b78f4d 74%, #8f6d33 100%);

  /* ---- Typography ---- */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', -apple-system, 'Segoe UI', sans-serif;
  --script: 'Pinyon Script', cursive;

  /* ---- Layout ---- */
  --maxw:   1540px;
  --pad:    clamp(20px, 5vw, 64px);
  --ease:   cubic-bezier(.5, .05, .2, 1);

  /* ---- Elementor colour handles (set these in Elementor > Site Settings > Global Colors) ---- */
  /* Primary   → #474B31  (olive)         */
  /* Secondary → #B0904F  (gold)          */
  /* Text      → #23211B  (ink)           */
  /* Accent    → #3A3D27  (olive-deep)    */
}

/* ============================================================
   GLOBAL RESET / BASE OVERRIDE (overrides Astra defaults)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body,
body.ast-page-builder-template {
  font-family: var(--sans) !important;
  background: var(--cream) !important;
  color: var(--ink) !important;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--olive); color: var(--cream); }

/* ---- Headings — global (Elementor can override sizes per-widget) ---- */
h1, h2, h3, h4, h5, h6,
.entry-title,
.woocommerce-loop-product__title {
  font-family: var(--serif) !important;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--ink);
}

/* ---- Paragraphs / body copy ---- */
p, li, td, th, label, input, select, textarea, button {
  font-family: var(--sans);
}

/* ============================================================
   ASTRA LAYOUT OVERRIDES
   ============================================================ */

/* Remove default Astra header & footer so our custom ones take over */
#masthead,
.site-header,
.ast-header-break-point .main-header-bar,
.main-header-bar-wrap,
.ast-mobile-header-wrap {
  display: none !important;
}

/* Remove Astra footer */
.site-footer,
#colophon {
  display: none !important;
}

/* Container width */
.ast-container,
.ast-grid-right-nav,
.site-content > .ast-container {
  max-width: var(--maxw) !important;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
}

/* Page content breathing room */
.entry-content,
.ast-article-single {
  padding-top: 0 !important;
}
.fbx-nav{
	margin:0px;
}
/* ============================================================
   TYPOGRAPHY HELPERS (utility classes)
   ============================================================ */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.eyebrow.olive  { color: var(--olive-2); }
.script         { font-family: var(--script); font-weight: 400; }
.serif          { font-family: var(--serif); }
.lead {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.7;
}
.h-section      { font-size: clamp(30px, 4.4vw, 56px); font-weight: 500; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* divider rule */
.rule { display: flex; align-items: center; gap: 14px; justify-content: center; }
.rule::before, .rule::after {
  content: ""; height: 1px; width: 46px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.rule::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.rule span   { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); opacity: .8; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.fbx-anno {
  background: var(--olive-deep);
  color: #E9E4D4;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
  z-index: 100;
}
.fbx-anno__track {
  display: inline-flex;
  gap: 54px;
  padding: 9px 0;
  animation: fbx-marq 38s linear infinite;
}
.fbx-anno__track span {
  display: inline-flex;
  align-items: center;
  gap: 54px;
}
.fbx-anno__track span::after {
  content: "❖";
  color: var(--gold-2);
  font-size: 8px;
}
@keyframes fbx-marq { to { transform: translateX(-50%); } }

/* ============================================================
   HEADER
   ============================================================ */
.fbx-header-wrap {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(244, 240, 230, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.fbx-hdr {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  height: 104px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---- Logo ---- */
.fbx-logo {
  justify-self: center;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.fbx-logo img    { height: 62px; width: auto; }
.fbx-logo__text  { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.fbx-logo__tag   { font-family: var(--sans); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* ---- Nav ---- */
.fbx-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.fbx-nav__left  { grid-column: 1; justify-self: start; }
.fbx-nav__right { grid-column: 3; justify-self: end; }

.fbx-nav li     { position: relative; }

.fbx-nav a {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
}
.fbx-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.fbx-nav a:hover::after,
.fbx-nav li.current-menu-item > a::after,
.fbx-nav li.current-menu-ancestor > a::after { width: 100%; }
.fbx-nav li.current-menu-item > a { color: var(--olive-2); }

/* ---- Dropdown ---- */
.fbx-nav li:hover > .fbx-dropdown,
.fbx-nav li:focus-within > .fbx-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.fbx-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(35,33,27,.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  list-style: none;
  z-index: 200;
}
.fbx-dropdown::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.fbx-dropdown li a {
  display: block;
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s, color .2s;
}
.fbx-dropdown li:last-child a { border-bottom: none; }
.fbx-dropdown li a:hover      { background: var(--cream); color: var(--olive-2); }
.fbx-dropdown li a::after     { display: none; }

/* ---- Mega Menu ---- */
.fbx-mega {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(92vw, 780px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 60px rgba(35,33,27,.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fbx-nav li:hover > .fbx-mega,
.fbx-nav li:focus-within > .fbx-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }

.fbx-mega__col   { padding: 28px 22px; border-right: 1px solid var(--line-soft); }
.fbx-mega__col:last-child { border-right: none; }
.fbx-mega__head  { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; display: block; }
.fbx-mega__list  { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.fbx-mega__list a {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color .2s;
}
.fbx-mega__list a::after  { display: none; }
.fbx-mega__list a:hover   { color: var(--olive-2); }
.fbx-mega__img { grid-column: span 1; overflow: hidden; min-height: 180px; }
.fbx-mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fbx-mega:hover .fbx-mega__img img { transform: scale(1.04); }

/* ---- Header tools ---- */
.fbx-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.fbx-icon-btn {
  position: relative;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--ink);
  transition: color .25s;
  cursor: pointer;
  background: none;
  border: none;
}
.fbx-icon-btn:hover { color: var(--gold); }
.fbx-icon-btn svg   { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.fbx-cart-count {
  position: absolute;
  top: -8px; right: -9px;
  min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px;
  background: var(--olive); color: var(--cream);
  font-size: 10px; font-weight: 500;
  display: grid; place-items: center;
  font-family: var(--sans);
}

/* ---- Burger ---- */
.fbx-burger {
  display: none;
  place-items: center;
  width: 28px; height: 28px;
  cursor: pointer;
}
.fbx-burger svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 1.5; fill: none; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.fbx-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  pointer-events: none;
}
.fbx-drawer.is-open { visibility: visible; pointer-events: auto; }

.fbx-drawer__back {
  position: absolute; inset: 0;
  background: rgba(35, 33, 27, .5);
  opacity: 0;
  transition: opacity .3s;
}
.fbx-drawer.is-open .fbx-drawer__back { opacity: 1; }

.fbx-drawer__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(88vw, 380px);
  background: var(--cream);
  transform: translateX(-100%);
  transition: transform .42s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 0 40px;
}
.fbx-drawer.is-open .fbx-drawer__panel { transform: none; }

.fbx-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.fbx-drawer__logo img  { height: 42px; width: auto; }
.fbx-drawer__close {
  font-size: 26px;
  line-height: 1;
  color: var(--ink-soft);
  background: none; border: none;
  cursor: pointer;
}
.fbx-drawer__close:hover { color: var(--ink); }

.fbx-drawer__nav { flex: 1; padding: 8px 0; }

/* first-level items */
.fbx-drawer__item { display: block; }
.fbx-drawer__item > a,
.fbx-drawer__item > button.fbx-drawer__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 28px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  text-align: left;
}
.fbx-drawer__item > button.fbx-drawer__parent svg {
  width: 16px; height: 16px;
  stroke: var(--gold); fill: none; stroke-width: 1.6;
  transition: transform .3s;
}
.fbx-drawer__item.is-open > button.fbx-drawer__parent svg { transform: rotate(180deg); }

/* sub-items */
.fbx-drawer__sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
  background: var(--cream-2);
}
.fbx-drawer__item.is-open .fbx-drawer__sub { max-height: 500px; }
.fbx-drawer__sub li a {
  display: block;
  padding: 11px 28px 11px 44px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s;
}
.fbx-drawer__sub li a:hover { color: var(--olive-2); }

.fbx-drawer__footer {
  padding: 22px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   HEADER RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .fbx-nav { gap: 18px; }
  .fbx-nav a { font-size: 11px; letter-spacing: .08em; }
}

@media (max-width: 900px) {
  .fbx-hdr { height: 74px; }
  .fbx-nav__left,
  .fbx-nav__right { display: none; }
  .fbx-burger { display: grid; grid-column: 1; }
  .fbx-logo { grid-column: 2; }
  .fbx-tools { grid-column: 3; }
  .fbx-logo img { height: 46px; }
  .fbx-hdr { grid-template-columns: auto 1fr auto; }
}

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.fbx-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 34px;
  transition: .35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}
.fbx-btn--olive,  .btn-olive  { background: var(--olive);     color: var(--cream); border-color: var(--olive); }
.fbx-btn--olive:hover,
.btn-olive:hover               { background: var(--olive-deep); border-color: var(--olive-deep); }
.fbx-btn--gold,   .btn-gold   { background: var(--gold-grad);  color: #3a2f12; }
.fbx-btn--gold:hover,
.btn-gold:hover                { filter: brightness(1.06); }
.fbx-btn--line,   .btn-line   { border-color: var(--ink); color: var(--ink); background: transparent; }
.fbx-btn--line:hover,
.btn-line:hover                { background: var(--ink); color: var(--cream); }
.fbx-btn--wa,     .btn-wa     { background: #3f6b4f; color: #fff; border-color: #3f6b4f; }
.fbx-btn--wa:hover,
.btn-wa:hover                  { background: #345a42; }
.fbx-btn--wa svg, .btn-wa svg  { width: 18px; height: 18px; fill: currentColor; }
.fbx-btn.lg, .btn.lg           { padding: 19px 44px; font-size: 12.5px; }
.fbx-btn.block, .btn.block     { width: 100%; }

/* WooCommerce button resets */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: var(--sans) !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  background: var(--olive) !important;
  color: var(--cream) !important;
  border-radius: 0 !important;
  padding: 16px 34px !important;
  transition: .35s var(--ease) !important;
  border: 1px solid var(--olive) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--olive-deep) !important;
  border-color: var(--olive-deep) !important;
  color: var(--cream) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.fbx-footer {
  background: var(--olive-deep);
  color: #D9D4C4;
  margin-top: clamp(60px, 9vw, 130px);
}
.fbx-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 46px;
  padding: 72px var(--pad) 56px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.fbx-footer h4 {
  font-family: var(--sans) !important;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 500;
  margin-bottom: 22px;
}
.fbx-footer__brand img   { height: 54px; width: auto; filter: brightness(1.15); }
.fbx-footer__brand p     { font-size: 13.5px; font-weight: 300; line-height: 1.7; color: #B9B4A4; margin-top: 18px; max-width: 300px; }
.fbx-footer__links       { display: flex; flex-direction: column; gap: 11px; }
.fbx-footer__links a     { font-size: 13.5px; font-weight: 300; color: #C9C4B4; transition: color .2s; }
.fbx-footer__links a:hover { color: var(--gold-2); }
.fbx-footer__newsletter p { font-size: 13.5px; font-weight: 300; color: #B9B4A4; line-height: 1.7; margin-bottom: 18px; }
.fbx-news-form { display: flex; border: 1px solid rgba(217,212,196,.28); }
.fbx-news-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 13px 15px; color: #E9E4D4;
  font-family: var(--sans); font-size: 13px;
}
.fbx-news-form input::placeholder { color: #8C8775; }
.fbx-news-form button {
  padding: 0 18px;
  background: var(--gold-grad);
  color: #3a2f12;
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500;
}
.fbx-footer__social      { display: flex; gap: 14px; margin-top: 22px; }
.fbx-footer__social a    { width: 36px; height: 36px; border: 1px solid rgba(217,212,196,.3); border-radius: 50%; display: grid; place-items: center; transition: .25s; }
.fbx-footer__social a:hover { border-color: var(--gold-2); color: var(--gold-2); }
.fbx-footer__social svg  { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.fbx-footer__bottom {
  border-top: 1px solid rgba(217,212,196,.16);
  padding: 20px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #9A9583;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .fbx-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .fbx-footer__top { grid-template-columns: 1fr; }
}

/* ============================================================
   SLIDE-OUT CART
   ============================================================ */
.fbx-cart-scrim {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(35,33,27,.42);
  opacity: 0; visibility: hidden; transition: .35s;
}
.fbx-cart-scrim.is-open { opacity: 1; visibility: visible; }

.fbx-cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 995;
  width: min(92vw, 430px);
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .46s var(--ease);
  display: flex; flex-direction: column;
}
.fbx-cart.is-open { transform: none; }

.fbx-cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 26px; border-bottom: 1px solid var(--line);
}
.fbx-cart__head h3 { font-family: var(--serif); font-size: 24px; }
.fbx-cart__head .fbx-cart__close {
  font-size: 26px; line-height: 1; color: var(--ink-soft); background: none; border: none; cursor: pointer;
}
.fbx-cart__head .fbx-cart__close:hover { color: var(--ink); }
.fbx-cart__note {
  font-size: 11px; letter-spacing: .05em; color: var(--ink-soft);
  padding: 12px 26px; background: var(--cream-2); text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.fbx-cart__items { flex: 1; overflow: auto; padding: 8px 26px; }
.fbx-citem {
  display: grid; grid-template-columns: 74px 1fr auto;
  gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.fbx-citem__img { aspect-ratio: 3/4; background: var(--cream-2); overflow: hidden; }
.fbx-citem__img img { width: 100%; height: 100%; object-fit: cover; }
.fbx-citem__name  { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.fbx-citem__meta  { font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; margin-top: 4px; }
.fbx-citem__sku   { font-size: 10px; color: var(--ink-faint); letter-spacing: .08em; margin-top: 2px; }
.fbx-citem__price { font-size: 13px; margin-top: 8px; }
.fbx-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 9px; }
.fbx-qty button { width: 26px; height: 26px; display: grid; place-items: center; font-size: 14px; color: var(--ink-soft); background: none; border: none; cursor: pointer; }
.fbx-qty button:hover { color: var(--ink); }
.fbx-qty span { min-width: 26px; text-align: center; font-size: 12px; font-weight: 500; }
.fbx-citem__rm { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 10px; display: block; background: none; border: none; cursor: pointer; }
.fbx-citem__rm:hover { color: var(--danger); }
.fbx-cart__empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; padding: 40px; text-align: center; color: var(--ink-soft);
}
.fbx-cart__empty svg { width: 46px; height: 46px; stroke: var(--gold); fill: none; stroke-width: 1; }
.fbx-cart__foot {
  border-top: 1px solid var(--line); padding: 22px 26px;
  background: var(--paper); display: none;
}
.fbx-cart__foot.is-visible { display: block; }
.fbx-cart__sub  { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.fbx-cart__sub .l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.fbx-cart__sub .v { font-family: var(--serif); font-size: 26px; }
.fbx-cart__foot .hint { font-size: 11px; color: var(--ink-soft); margin-bottom: 16px; }

/* ============================================================
   TOAST
   ============================================================ */
.fbx-toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1200;
  background: var(--olive-deep); color: var(--cream);
  padding: 14px 26px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: .4s var(--ease);
}
.fbx-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MISC
   ============================================================ */
.sec        { padding: clamp(56px, 8vw, 108px) 0; }
.sec-head   { text-align: center; margin-bottom: clamp(34px, 4vw, 58px); }
.sec-head .eyebrow { display: block; margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 14px; }

/* ============================================================
   DESKTOP NAV — Dropdowns & Mega Menu
   ============================================================ */

/* Nav base */
.fbx-nav { display:flex; align-items:center; gap:26px; list-style:none; }
.fbx-nav__left  { justify-self:start; }

.fbx-nav__item  { position:relative; }
.fbx-nav__link  {
    font-size:12px; letter-spacing:.12em; text-transform:uppercase;
    font-weight:400; color:var(--ink);
    padding:6px 0; white-space:nowrap; display:inline-flex; align-items:center; gap:4px;
    position:relative;
}
.fbx-nav__link::after {
    content:""; position:absolute; left:0; bottom:-2px;
    height:1px; width:0; background:var(--gold);
    transition:width .35s var(--ease);
}
.fbx-nav__link:hover::after,
.fbx-nav__link.is-active::after { width:100%; }
.fbx-nav__link.is-active { color:var(--olive-2); }
.fbx-nav__arrow { width:13px; height:13px; stroke:currentColor; flex-shrink:0; margin-left:1px; }

/* ── DROPDOWN ───────────────────────────────────────────── */
.fbx-nav__item:hover > .fbx-dropdown,
.fbx-nav__item:focus-within > .fbx-dropdown { opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto; }

.fbx-dropdown {
    position:absolute; top:calc(100% + 14px); left:50%;
    transform:translateX(-50%) translateY(8px);
    min-width:200px;
    background:var(--paper); border:1px solid var(--line);
    box-shadow:0 12px 40px rgba(35,33,27,.10);
    opacity:0; visibility:hidden;
    transition:opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    list-style:none; z-index:200;
}
.fbx-dropdown::before {
    content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg);
    width:10px; height:10px;
    background:var(--paper); border-left:1px solid var(--line); border-top:1px solid var(--line);
}
.fbx-dropdown li a {
    display:block; padding:13px 22px;
    font-size:12px; letter-spacing:.1em; text-transform:uppercase;
    border-bottom:1px solid var(--line-soft); transition:background .2s, color .2s; color:var(--ink-soft);
}
.fbx-dropdown li:last-child a { border-bottom:none; }
.fbx-dropdown li a:hover   { background:var(--cream); color:var(--olive-2); }
.fbx-dropdown li a.is-active { color:var(--olive-2); }

/* ── MEGA MENU ──────────────────────────────────────────── */
.fbx-nav__item.has-mega:hover > .fbx-mega-wrap,
.fbx-nav__item.has-mega:focus-within > .fbx-mega-wrap { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); pointer-events:auto; }

.fbx-mega-wrap {
    position:absolute; top:calc(100% + 14px); left:50%;
    transform:translateX(-50%) translateY(8px);
    background:var(--paper); border:1px solid var(--line);
    box-shadow:0 20px 60px rgba(35,33,27,.13);
    opacity:0; visibility:hidden;
    transition:opacity .3s var(--ease), transform .3s, visibility .3s;
    z-index:200;
    /* Width grows with number of columns */
    width:min(92vw, 680px);
}
.fbx-mega-wrap.fbx-mega-wrap--2col { width:min(92vw, 500px); }
.fbx-mega-wrap.fbx-mega-wrap--3col { width:min(92vw, 660px); }
.fbx-mega-wrap.fbx-mega-wrap--4col { width:min(92vw, 820px); }
.fbx-mega-wrap.has-img             { width:min(92vw, 900px); }

.fbx-mega { display:flex; }

/* Columns area */
.fbx-mega__cols { display:grid; padding:28px 24px; flex:1; gap:0; }
.fbx-mega__cols--1 { grid-template-columns:1fr; }
.fbx-mega__cols--2 { grid-template-columns:repeat(2,1fr); }
.fbx-mega__cols--3 { grid-template-columns:repeat(3,1fr); }
.fbx-mega__cols--4 { grid-template-columns:repeat(4,1fr); }

.fbx-mega__col { padding:0 16px; border-right:1px solid var(--line-soft); }
.fbx-mega__col:first-child { padding-left:0; }
.fbx-mega__col:last-child  { border-right:none; padding-right:0; }

.fbx-mega__col-head {
    display:block; font-family:var(--sans);
    font-size:10px; letter-spacing:.26em; text-transform:uppercase;
    color:var(--gold); font-weight:500; margin-bottom:14px;
}
.fbx-mega__col-links { list-style:none; display:flex; flex-direction:column; gap:2px; }
.fbx-mega__col-links li a {
    display:block; font-size:14px; color:var(--ink-soft);
    padding:6px 0; border-bottom:1px solid var(--line-soft);
    transition:color .2s, padding-left .2s; text-transform:none; letter-spacing:.02em;
}
.fbx-mega__col-links li:last-child a { border-bottom:none; }
.fbx-mega__col-links li a:hover { color:var(--olive-2); padding-left:5px; }

/* Image panel */
.fbx-mega__img {
    width:240px; flex-shrink:0;
    background-size:cover; background-position:center;
    position:relative; min-height:220px;
}
.fbx-mega__img-cap {
    position:absolute; inset:0;
    background:linear-gradient(0deg, rgba(35,33,27,.72), rgba(35,33,27,.04));
    display:flex; flex-direction:column; justify-content:flex-end;
    padding:22px 20px; gap:6px;
}
.fbx-mega__img-head { font-family:var(--serif); font-size:22px; color:#fff; display:block; }
.fbx-mega__img-text { font-size:12px; color:#E4DFCF; display:block; }
.fbx-mega__img-cap .fbx-btn { margin-top:10px; font-size:11px !important; padding:12px 18px !important; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:1100px) { .fbx-nav { gap:18px; } .fbx-nav__link { font-size:11px; } }
@media(max-width:900px)  { .fbx-nav__left, .fbx-nav__right { display:none !important; } }

/* ============================================================

/* ============================================================
   LUCIDE ICONS
   ============================================================ */
/* Lucide renders <svg> inside <i data-lucide="..."> */
.fbx-icon-btn svg,
.fbx-burger svg,
.fbx-icon-btn i svg,
.fbx-burger i svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
  display: block;
  stroke: currentColor;
  fill: none;
}

/* ============================================================
   SEARCH OVERLAY — full-screen modal
   ============================================================ */
.fbx-search-overlay {
  position: fixed; inset: 0; z-index: 980;
  visibility: hidden; pointer-events: none;
}
.fbx-search-overlay.is-open { visibility: visible; pointer-events: auto; }

.fbx-search-scrim {
  position: absolute; inset: 0;
  background: rgba(35,33,27,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s;
}
.fbx-search-overlay.is-open .fbx-search-scrim { opacity: 1; }

.fbx-search-modal {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--cream);
  padding: 28px clamp(20px,5vw,64px) 32px;
  transform: translateY(-100%);
  transition: transform .42s var(--ease);
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(35,33,27,.18);
}
.fbx-search-overlay.is-open .fbx-search-modal { transform: none; }

.fbx-search-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.fbx-search-modal__label { color: var(--gold); font-size: 11px; }

.fbx-search-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream-2);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-soft); transition: .2s;
}
.fbx-search-close:hover { background: var(--ink); color: var(--cream); }
.fbx-search-close svg,.fbx-search-close i svg { width: 16px; height: 16px; stroke-width: 2; }

.fbx-search-modal__input-wrap {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px;
}
.fbx-search-modal__icon svg { width: 22px; height: 22px; stroke: var(--ink-faint); flex-shrink: 0; }

.fbx-search-field {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--serif); font-size: clamp(22px,3vw,34px); color: var(--ink); padding: 0; line-height: 1.2;
}
.fbx-search-field::placeholder { color: var(--ink-faint); }
.fbx-search-field::-webkit-search-decoration,
.fbx-search-field::-webkit-search-cancel-button { display: none; }

.fbx-search-modal__kbd {
  font-family: var(--sans); font-size: 10px; letter-spacing: .1em;
  color: var(--ink-faint); background: var(--cream-2); border: 1px solid var(--line);
  padding: 4px 8px; white-space: nowrap; flex-shrink: 0;
}
@media(max-width:600px){ .fbx-search-modal__kbd { display: none; } }

/* Search results */
.fbx-search-results { margin-bottom: 22px; min-height: 20px; }

.fbx-sr-item {
  display: grid; grid-template-columns: 56px 1fr 20px; gap: 14px;
  align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  text-decoration: none; color: var(--ink); transition: padding .2s;
}
.fbx-sr-item:hover { padding-left: 6px; color: var(--olive-2); }
.fbx-sr-item:last-child { border-bottom: none; }
.fbx-sr-img { width: 56px; height: 72px; background: var(--cream-2); overflow: hidden; flex-shrink: 0; }
.fbx-sr-img img { width: 100%; height: 100%; object-fit: cover; }
.fbx-sr-info { display: flex; flex-direction: column; gap: 2px; }
.fbx-sr-cat   { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.fbx-sr-name  { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.fbx-sr-price { font-size: 13px; color: var(--ink-soft); }
.fbx-sr-arrow { width: 18px; height: 18px; stroke: var(--ink-faint); flex-shrink: 0; opacity: 0; transition: opacity .2s; }
.fbx-sr-item:hover .fbx-sr-arrow { opacity: 1; }

/* Loading dots */
.fbx-sr-loading { display: flex; gap: 6px; padding: 16px 0; }
.fbx-sr-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: .4; animation: fbx-dot .9s ease-in-out infinite; }
.fbx-sr-loading span:nth-child(2) { animation-delay: .2s; }
.fbx-sr-loading span:nth-child(3) { animation-delay: .4s; }
@keyframes fbx-dot { 0%,100%{opacity:.2;transform:scale(.8)}50%{opacity:1;transform:scale(1)} }
.fbx-sr-none { font-size: 14px; color: var(--ink-soft); padding: 12px 0; }

/* Popular tags */
.fbx-search-modal__footer {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}
.fbx-search-tag {
  padding: 5px 12px; border: 1px solid var(--line);
  color: var(--ink-soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  transition: .2s; text-decoration: none;
}
.fbx-search-tag:hover { border-color: var(--olive); color: var(--olive); }

/* ============================================================
   TOAST
   ============================================================ */
.fbx-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(14px);
  z-index: 1200;
  background: var(--olive-deep); color: var(--cream);
  padding: 13px 24px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: .4s var(--ease);
  white-space: nowrap; max-width: 90vw;
}
.fbx-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.fbx-toast--error  { background: var(--danger); }

/* ============================================================
   GLOBAL BUTTON / FOCUS FIXES
   Remove golden browser outline on focus — use our own subtle ring
   ============================================================ */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
/* Only show focus ring on keyboard navigation (accessibility) */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

/* Prevent any button from getting the browser's blue/gold focus ring */
.fbx-btn:focus,
.fbx-btn:focus-visible,
.fbx-icon-btn:focus,
.fbx-icon-btn:focus-visible,
.fbx-pcard__wish:focus,
.fbx-swatch-btn:focus,
.fbx-size-btn:focus,
.fbx-pdp__qbtn:focus,
.fbx-acc__head:focus {
  outline: none;
  box-shadow: none;
}

/* ============================================================
   WHATSAPP ICON — real brand icon SVG inline helper class
   Use: <span class="fbx-wa-icon"></span> or in ::before
   ============================================================ */
.fbx-btn--wa::before,
#fbx-chat-order-wrap a::before,
#fbx-chat-order-wrap button::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-right: 2px;
  flex-shrink: 0;
}
/* Hide the Lucide SVG in WA buttons since we use the real icon via ::before */
.fbx-btn--wa i,
.fbx-btn--wa svg { display: none; }

/* ============================================================
   LUCIDE ICON SITEWIDE SIZE NORMALISATION
   ============================================================ */
/* All Lucide icons rendered by lucide.createIcons() get a default size */
[data-lucide] svg,
i[data-lucide] svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  display: block;
}
/* Header icon buttons — slightly larger */
.fbx-icon-btn [data-lucide] svg,
.fbx-icon-btn i[data-lucide] svg {
  width: 22px;
  height: 22px;
}
/* Burger — slightly larger */
.fbx-burger [data-lucide] svg,
.fbx-burger i[data-lucide] svg {
  width: 24px;
  height: 24px;
}
/* Close buttons */
.fbx-search-close [data-lucide] svg,
.fbx-search-close i[data-lucide] svg,
.fbx-drawer__close [data-lucide] svg {
  width: 18px;
  height: 18px;
}
/* Trust badge icons */
.fbx-pdp__trust [data-lucide] svg,
.fbx-pdp__trust i[data-lucide] svg {
  width: 18px;
  height: 18px;
  stroke: var(--olive-2);
}
/* Cart item remove */
.fbx-citem__rm [data-lucide] svg {
  width: 16px;
  height: 16px;
}
