/* =============================================
   BENNETT LUXURY — Shared Header
   ============================================= */

:root {
  --black: #111111;
  --black-soft: #1a1a1a;
  --charcoal: #2a2a2a;
  --gold: #CA9748;
  --gold-dark: #CA9748;
  --gold-light: #CA9748;
  --surface: #f5f5f5;
  --surface-alt: #ebebeb;
  --white: #ffffff;
  --text: #222222;
  --text-muted: #666666;
  --border: #e0e0e0;
  --font: "Montserrat", system-ui, sans-serif;
  --icon-stroke: 2.25;
  --header-h: 0;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

em,
i:not([data-lucide]),
.font-italic {
  font-style: normal;
}

.text-accent {
  color: var(--gold);
  font-style: normal;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
}

.container-xxl {
  max-width: 1320px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Lucide / icon defaults ---------- */
[data-lucide],
.lucide,
svg.lucide,
i.lucide {
  width: 1em;
  height: 1em;
  stroke-width: var(--icon-stroke) !important;
  flex-shrink: 0;
}

/* Elementor Lucide font icons (icon picker) */
i.lucide[class*="icon-"],
.lucide[class*="icon-"] {
  width: auto;
  height: auto;
  font-size: 1em;
  line-height: 1;
  display: inline-block;
  speak: never;
  stroke-width: initial !important;
}

.footer-social svg,
.insta-handle svg,
.why-icon svg,
.category-icon svg,
.header-action svg,
.header-action i.lucide,
.top-bar svg,
.top-bar i.lucide,
.nav-list svg,
.nav-list i.lucide,
.nav-dropdown-toggle svg,
.nav-dropdown-toggle i.lucide,
.section-link svg,
.benefit-item svg,
.footer-contact svg,
.newsletter-form button svg,
.insta-next svg,
.btn-outline-light-custom svg {
  stroke-width: var(--icon-stroke) !important;
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black) !important;
  border: 1px solid var(--gold);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white) !important;
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--white) !important;
  border: 1px solid var(--gold);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-outline-light-custom:hover {
  background: rgba(202, 151, 72, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-light) !important;
}

.btn-outline-light-custom [data-lucide],
.btn-outline-light-custom svg {
  width: 16px;
  height: 16px;
}
/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: #0a0a0a;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(202, 151, 72, 0.15);
}

.top-bar-left li,
.top-bar-right a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-weight: 600;
}

.top-bar-left [data-lucide],
.top-bar-left svg,
.top-bar-left i.lucide,
.top-bar-right [data-lucide],
.top-bar-right svg,
.top-bar-right i.lucide {
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: var(--gold);
  stroke: var(--gold);
  stroke-width: 2.5 !important;
}

.top-bar-right a:hover {
  color: var(--gold-light);
}

.top-phone {
  color: var(--gold) !important;
  font-weight: 700;
}

/* =============================================
   MAIN HEADER
   ============================================= */
.main-header {
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 0 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.btn-categories {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.btn-categories:hover,
.btn-categories:focus,
.btn-categories.show {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  border-color: var(--gold);
}

.btn-categories::after {
  margin-left: 6px;
  border-top-color: var(--gold);
  opacity: 0.9;
}

.dropdown-menu-dark {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.dropdown-menu-dark .dropdown-item {
  font-size: 13px;
  padding: 9px 16px;
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu-dark .dropdown-item:hover {
  background: rgba(202, 151, 72, 0.12);
  color: var(--gold);
}

.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  height: 42px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 14px;
  font-size: 12px;
  color: var(--white);
  outline: none;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.header-search button {
  border: none;
  background: transparent;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.header-search button:hover {
  color: var(--gold);
}

.header-search button [data-lucide],
.header-search button svg,
.header-search button i.lucide {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

/* Brand */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  --brand-logo-h: 56px;
  --brand-logo-mw: 180px;
}

.brand-logo.has-logo-img {
  flex-direction: row;
  align-items: center;
}

.brand-logo-img {
  display: block;
  height: var(--brand-logo-h);
  width: auto;
  max-width: min(var(--brand-logo-mw), 58vw);
  object-fit: contain;
}

.elementor .brand-logo-img,
.brand-logo.has-logo-img .brand-logo-img {
  height: var(--brand-logo-h);
  width: auto;
  max-width: min(var(--brand-logo-mw), 58vw);
  object-fit: contain;
}

.brand-monogram {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-name {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.brand-logo .brand-luxury {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.36em;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.header-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  flex: 0 0 auto;
}

.header-menu-toggle:hover,
.header-menu-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(202, 151, 72, 0.08);
}

.header-menu-toggle [data-lucide],
.header-menu-toggle svg,
.header-menu-toggle i.lucide {
  width: 20px;
  height: 20px;
  font-size: 20px;
  stroke-width: 2.25 !important;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font);
}

.header-action [data-lucide],
.header-action svg,
.header-action i.lucide {
  width: 22px;
  height: 22px;
  font-size: 22px;
  stroke-width: 2.75 !important;
}

.header-action:hover {
  color: var(--gold);
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Nav */
.main-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-list a [data-lucide],
.nav-list a svg {
  width: 14px;
  height: 14px;
}

.has-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 4px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  cursor: pointer;
  line-height: inherit;
}

.nav-dropdown-toggle:hover,
.has-dropdown.open .nav-dropdown-toggle,
.has-dropdown:hover .nav-dropdown-toggle {
  border-bottom-color: var(--gold);
}

.nav-dropdown-toggle [data-lucide],
.nav-dropdown-toggle svg,
.nav-dropdown-toggle i.lucide {
  width: 14px;
  height: 14px;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.has-dropdown.open .nav-dropdown-toggle svg,
.has-dropdown.open .nav-dropdown-toggle i.lucide,
.has-dropdown:hover .nav-dropdown-toggle svg,
.has-dropdown:hover .nav-dropdown-toggle i.lucide {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: #141414;
  border: 1px solid rgba(202, 151, 72, 0.25);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  height: 11px;
}

.has-dropdown.open .nav-dropdown,
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: none;
  text-transform: none;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--gold);
  background: rgba(202, 151, 72, 0.08);
  border-bottom: none;
}

.nav-dropdown-all {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
}
/* =============================================
   CART DRAWER
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-overlay.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: #111;
  color: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-drawer-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.cart-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.cart-close svg,
.cart-close i.lucide {
  width: 22px;
  height: 22px;
  font-size: 22px;
  stroke-width: 2.25 !important;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
}

.cart-empty {
  text-align: center;
  padding: 48px 12px;
  color: rgba(255, 255, 255, 0.65);
}

.cart-empty svg,
.cart-empty i.lucide {
  width: 40px;
  height: 40px;
  font-size: 40px;
  margin: 0 auto 16px;
  color: var(--gold);
  stroke-width: 2.25 !important;
  display: block;
}

.cart-empty p {
  margin: 0 0 20px;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-line img,
.cart-line .cart-line-thumb-link img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
}

.cart-line .cart-line-thumb-link {
  display: block;
  width: 72px;
  height: 88px;
}

.cart-badge[hidden] {
  display: none !important;
}

.cart-line-info h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

.cart-line-info .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.cart-qty span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.cart-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 2px;
}

.cart-remove:hover {
  color: #CA9748;
}

.cart-remove svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.25 !important;
}

.cart-drawer-foot {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
}

.cart-total strong {
  font-size: 18px;
  color: var(--gold);
}

.cart-checkout {
  width: 100%;
}

/* =============================================
   MOBILE NAV CANVAS
   ============================================= */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.is-open {
  opacity: 1;
}

.nav-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #111;
  color: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
}

.nav-canvas.is-open {
  transform: translateX(0);
}

.nav-canvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-canvas-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-canvas-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.nav-canvas-close svg,
.nav-canvas-close i.lucide {
  width: 22px;
  height: 22px;
  font-size: 22px;
  stroke-width: 2.25 !important;
}

.nav-canvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 28px;
}

.nav-canvas-section {
  margin: 18px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(202, 151, 72, 0.75);
}

.nav-canvas-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-canvas-list--cats > li:first-child {
  border-top: 1px solid rgba(202, 151, 72, 0.18);
}

.nav-canvas-list > li > a,
.nav-canvas-list .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  border: none;
  border-bottom: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1.35;
}

.nav-canvas-list > li > a:hover,
.nav-canvas-list > li > a.active,
.nav-canvas-list .nav-dropdown-toggle:hover {
  color: var(--gold);
  background: rgba(202, 151, 72, 0.06);
}

.nav-canvas-list .nav-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  min-width: 0;
  padding: 0 0 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: none;
}

.nav-canvas-list .has-dropdown.open .nav-dropdown {
  display: block;
}

.nav-canvas-list .nav-dropdown a {
  display: block;
  padding: 10px 22px 10px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
}

.nav-canvas-list .nav-dropdown a:hover,
.nav-canvas-list .nav-dropdown-all {
  color: var(--gold);
}

/* =============================================
   HEADER RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .top-bar-left li:nth-child(n + 3) {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
    grid-area: menu;
  }

  .header-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "menu brand actions"
      "left left left";
    gap: 12px 12px;
    padding: 14px 0 12px;
    align-items: center;
  }

  .brand-logo {
    grid-area: brand;
    order: 0;
    align-items: flex-start;
    text-align: left;
    --brand-logo-h: 42px;
    --brand-logo-mw: 130px;
  }

  .brand-logo .brand-name {
    align-items: flex-start;
  }

  .brand-monogram {
    font-size: 28px;
  }

  .brand-name {
    font-size: 13px;
    margin-top: 4px;
  }

  .brand-logo .brand-luxury {
    font-size: 9px;
    letter-spacing: 0.28em;
  }

  .header-actions {
    grid-area: actions;
    justify-content: flex-end;
    gap: 18px;
  }

  .header-left {
    grid-area: left;
    justify-content: stretch;
    width: 100%;
  }

  .header-search {
    max-width: none;
    flex: 1;
  }

  .main-nav--desktop {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    font-size: 11px;
    font-weight: 600;
    padding: 8px 0;
  }

  .top-bar-left {
    display: none !important;
  }

  .top-bar .container-xxl > div {
    justify-content: center !important;
  }

  .header-row {
    gap: 10px 10px;
    padding: 12px 0 10px;
  }

  .header-actions {
    gap: 16px;
  }

  .header-action > span:not(.cart-icon-wrap) {
    display: none;
  }

  .header-action [data-lucide],
  .header-action svg,
  .header-action i.lucide {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }

  .header-search {
    height: 40px;
  }

  .header-menu-toggle {
    width: 40px;
    height: 40px;
  }
}
