:root {
  --bds-primary: #0b2d52;
  --bds-primary-dark: #061c35;
  --bds-accent: #cf942c;
  --bds-ink: #0b1f3a;
  --bds-muted: #687386;
  --bds-surface: #fff;
  --bds-surface-soft: #faf7f0;
  --bds-border: #e8ddc9;
  --bds-footer-bg: #071a2d;
  --bds-footer-text: #e9edf3;
  --bds-container: 1280px;
  --bds-radius: 16px;
  --bds-shadow-sm: 0 3px 14px rgba(45, 28, 15, 0.08);
  --bds-shadow-md: 0 12px 30px rgba(45, 28, 15, 0.15);
}

.bds-container {
  width: min(calc(100% - 32px), var(--bds-container));
  margin-inline: auto;
}

.bds-header,
.bds-footer,
.bds-mobile-drawer,
.bds-mobile-bottom-nav {
  font-family: inherit;
  color: var(--bds-ink);
}

.bds-header svg,
.bds-footer svg,
.bds-mobile-drawer svg,
.bds-mobile-bottom-nav svg {
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bds-header a,
.bds-footer a,
.bds-mobile-bottom-nav a {
  text-decoration: none;
}

.bds-header {
  position: relative;
  z-index: 999;
  background: var(--bds-surface);
  border-bottom: 1px solid var(--bds-border);
}

.bds-sticky-header-enabled .bds-header {
  position: sticky;
  top: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}

body.admin-bar.bds-sticky-header-enabled .bds-header { top: 32px; }
.bds-header.is-scrolled { box-shadow: var(--bds-shadow-sm); }

.bds-announcement {
  background: #fbefe3;
  color: #1c1712;
  font-size: 13px;
  line-height: 1.2;
}

.bds-announcement__inner {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.bds-announcement__welcome { justify-self: start; }
.bds-announcement__message { font-weight: 700; text-align: center; }
.bds-announcement__message a,
.bds-track-link { color: #d2181b; margin-left: 8px; font-weight: 700; }
.bds-announcement__meta { justify-self: end; display: flex; gap: 18px; align-items: center; }
.bds-announcement__meta a:not(.bds-track-link) { color: inherit; font-weight: 600; }

.bds-header-main { background: var(--bds-surface); }
.bds-header-main__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(320px, 620px) auto;
  align-items: center;
  gap: 28px;
}

.bds-brand { display: inline-flex; flex-direction: column; width: fit-content; color: var(--bds-primary); line-height: 1; }
.bds-brand .custom-logo-link { display: block; }
.bds-brand img { width: auto; max-width: 175px; max-height: 56px; object-fit: contain; }
.bds-brand__name { font-size: clamp(26px, 2.2vw, 36px); font-weight: 700; letter-spacing: -.04em; }
.bds-brand__tagline { margin-top: 4px; color: var(--bds-muted); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }

.bds-product-search {
  display: grid;
  grid-template-columns: 1fr 48px;
  height: 48px;
  border: 1px solid var(--bds-border);
  border-radius: 999px;
  background: var(--bds-surface);
  overflow: hidden;
  box-shadow: 0 2px 7px rgba(45, 28, 15, .04);
}
.bds-product-search input {
  min-width: 0;
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  padding: 0 8px 0 20px;
  background: transparent;
  color: var(--bds-ink);
  font: inherit;
}
.bds-product-search input::placeholder { color: #9da5b4; opacity: 1; }
.bds-product-search button {
  width: 42px;
  height: 42px;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #d7c2ad;
  color: white;
  cursor: pointer;
}

.bds-header-actions { display: flex; align-items: center; gap: 9px; justify-content: flex-end; white-space: nowrap; }
.bds-action-link,
.bds-account-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--bds-border);
  border-radius: 999px;
  color: var(--bds-primary);
  background: var(--bds-surface-soft);
}
.bds-account-link { gap: 8px; color: var(--bds-ink); font-weight: 600; }
.bds-cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.bds-action-link .bds-cart-count {
  position: absolute;
  top: -8px;
  right: -3px;
  background: var(--bds-primary);
  color: white;
}

.bds-mobile-menu-toggle { display: none; }

.bds-nav-row {
  position: relative;
  border-top: 1px solid #f2ece5;
  border-bottom: 1px solid var(--bds-border);
  background: var(--bds-surface);
}
.bds-nav-row__inner { min-height: 54px; display: flex; align-items: center; gap: 10px; }
.bds-category-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--bds-primary);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bds-category-toggle svg:last-child { width: 14px; transition: transform .2s ease; }
.bds-category-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }

.bds-primary-nav-wrap { min-width: 0; overflow: hidden; }
ul.bds-primary-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
ul.bds-primary-nav::-webkit-scrollbar { display: none; }
ul.bds-primary-nav > li { position: relative; flex: 0 0 auto; }
ul.bds-primary-nav > li > a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--bds-border);
  border-radius: 999px;
  background: #fffdfa;
  color: var(--bds-ink);
  font-size: 14px;
  white-space: nowrap;
}
ul.bds-primary-nav > li.current-menu-item > a,
ul.bds-primary-nav > li > a:hover { border-color: var(--bds-primary); color: var(--bds-primary-dark); }
ul.bds-primary-nav .sub-menu { display: none; }

.bds-category-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 22px 0 28px;
  background: var(--bds-surface);
  border-top: 1px solid var(--bds-border);
  box-shadow: var(--bds-shadow-md);
}
.bds-category-panel[hidden] { display: none !important; }
.bds-category-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bds-category-panel__head strong { font-size: 22px; color: var(--bds-primary-dark); }
.bds-category-panel__head a { color: var(--bds-primary); }
.bds-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bds-category-chip {
  min-height: 64px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--bds-border);
  border-radius: calc(var(--bds-radius) - 4px);
  background: var(--bds-surface-soft);
  color: var(--bds-ink);
}
.bds-category-chip small { color: var(--bds-muted); margin-top: 3px; }
.bds-category-chip:hover { border-color: var(--bds-primary); transform: translateY(-1px); }

.bds-mobile-drawer { display: none; }
.bds-mobile-bottom-nav { display: none; }

/* Footer */
.bds-footer { margin-top: 60px; background: var(--bds-footer-bg); color: var(--bds-footer-text); }
.bds-footer-trust { padding: 38px 0 28px; }
.bds-footer-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bds-trust-card {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--bds-radius);
  background: rgba(255,255,255,.04);
}
.bds-trust-card__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(247,217,131,.12);
  color: var(--bds-accent);
}
.bds-trust-card strong,
.bds-trust-card span { display: block; }
.bds-trust-card strong { color: #fff; font-size: 14px; line-height: 1.2; }
.bds-trust-card span { margin-top: 4px; font-size: 12px; opacity: .8; }

.bds-footer-main { padding: 24px 0 52px; }
.bds-footer-grid { display: grid; grid-template-columns: 1.45fr .9fr .9fr 1fr; gap: 54px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); }
.bds-footer-logo { display: inline-block; color: white; font-size: 34px; font-weight: 700; }
.bds-footer-logo img { max-width: 190px; max-height: 72px; width: auto; filter: brightness(0) invert(1); }
.bds-footer-brand p { max-width: 430px; margin: 18px 0; line-height: 1.75; color: var(--bds-footer-text); }
.bds-social-links { display: flex; gap: 9px; }
.bds-social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: white; }
.bds-footer-column h2 { margin: 0 0 20px; color: var(--bds-accent); font-size: 14px; text-transform: uppercase; letter-spacing: .14em; }
.bds-footer-column h2::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 10px; background: var(--bds-accent); opacity: .7; }
ul.bds-footer-menu { margin: 0; padding: 0; list-style: none; }
ul.bds-footer-menu li + li { margin-top: 9px; }
ul.bds-footer-menu a { color: var(--bds-footer-text); }
ul.bds-footer-menu a:hover { color: white; }
.bds-footer-contact > a:not(.bds-whatsapp-button),
.bds-footer-contact > div { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; color: var(--bds-footer-text); }
.bds-footer-contact svg { flex: 0 0 19px; color: var(--bds-accent); margin-top: 2px; }
.bds-whatsapp-button { display: inline-flex; margin-top: 15px; padding: 12px 18px; border-radius: 10px; background: var(--bds-accent); color: #24180e; font-weight: 700; }
.bds-footer-placeholder { opacity: .75; }
.bds-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.bds-footer-bottom__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: rgba(255,255,255,.66); }

@media (max-width: 1100px) {
  .bds-header-main__inner { grid-template-columns: 150px minmax(250px, 1fr) auto; gap: 14px; }
  .bds-account-link span { display: none; }
  .bds-account-link { padding: 0; width: 44px; }
  .bds-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bds-footer-grid { gap: 28px; }
}

@media (max-width: 921px) {
  body.admin-bar.bds-sticky-header-enabled .bds-header { top: 46px; }
  body.bds-mobile-bottom-nav-enabled { padding-bottom: 72px; }
  .bds-container { width: min(calc(100% - 20px), var(--bds-container)); }

  .bds-announcement__inner {
    min-height: 38px;
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
  }
  .bds-announcement__welcome,
  .bds-announcement__meta > a:not(.bds-track-link) { display: none; }
  .bds-announcement__message { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .bds-announcement__meta { margin-left: auto; flex: 0 0 auto; }
  .bds-track-link { font-size: 12px; margin-left: 0; }

  .bds-header-main__inner {
    min-height: 67px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 38px;
    gap: 9px;
  }
  .bds-brand img { max-width: 105px; max-height: 44px; }
  .bds-brand__name { font-size: 24px; }
  .bds-brand__tagline { font-size: 7px; }
  .bds-product-search { height: 45px; grid-template-columns: 1fr 42px; }
  .bds-product-search input { padding-left: 14px; font-size: 14px; }
  .bds-product-search button { width: 38px; height: 38px; }
  .bds-header-actions { display: none; }
  .bds-mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
  }
  .bds-mobile-menu-toggle svg { width: 28px; height: 28px; stroke-width: 2.2; }

  .bds-nav-row__inner { min-height: 51px; gap: 7px; overflow: hidden; }
  .bds-category-toggle { height: 38px; padding: 0 14px; font-size: 13px; }
  ul.bds-primary-nav { gap: 7px; }
  ul.bds-primary-nav > li > a { height: 36px; padding: 0 13px; font-size: 13px; }
  .bds-category-panel { max-height: calc(100vh - 160px); overflow: auto; padding: 16px 0 22px; }
  .bds-category-panel__head strong { font-size: 18px; }
  .bds-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bds-category-chip { min-height: 58px; padding: 10px 12px; font-size: 13px; }

  .bds-mobile-drawer { display: block; position: fixed; inset: 0; z-index: 99999; visibility: hidden; pointer-events: none; }
  .bds-mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
  .bds-mobile-drawer__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(15, 18, 24, .48); opacity: 0; transition: opacity .2s ease; }
  .bds-mobile-drawer.is-open .bds-mobile-drawer__backdrop { opacity: 1; }
  .bds-mobile-drawer__panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(88vw, 360px);
    padding: 18px;
    overflow: auto;
    background: white;
    transform: translateX(100%);
    transition: transform .22s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.16);
  }
  .bds-mobile-drawer.is-open .bds-mobile-drawer__panel { transform: translateX(0); }
  .bds-mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--bds-border); }
  .bds-mobile-drawer__head strong { font-size: 20px; }
  .bds-mobile-drawer__head button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--bds-border); border-radius: 50%; background: white; }
  ul.bds-mobile-drawer__menu { margin: 16px 0 0; padding: 0; list-style: none; }
  ul.bds-mobile-drawer__menu a { display: block; padding: 13px 4px; color: var(--bds-ink); border-bottom: 1px solid #f1ece7; }
  ul.bds-mobile-drawer__menu .sub-menu { margin: 0 0 0 14px; padding: 0; list-style: none; }
  .bds-mobile-drawer__shop { display: block; margin-top: 18px; padding: 13px 16px; border-radius: 12px; background: var(--bds-primary); color: white; text-align: center; font-weight: 700; }
  .bds-lock-scroll { overflow: hidden; }

  .bds-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #171717;
    color: white;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 25px rgba(0,0,0,.15);
  }
  body.admin-bar .bds-mobile-bottom-nav { bottom: 0; }
  .bds-mobile-bottom-nav a {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 7px 2px 6px;
    color: white;
    font-size: 10px;
    line-height: 1.1;
  }
.bds-mobile-bottom-nav svg { width: 23px; height: 23px; }
  .bds-mobile-bottom-nav .bds-cart-count { min-width: auto; height: auto; padding: 0; background: transparent; color: inherit; font-size: inherit; }

  .bds-footer { margin-top: 36px; }
  .bds-footer-trust { padding: 28px 0 20px; }
  .bds-footer-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bds-trust-card { min-height: 92px; padding: 12px; align-items: center; }
  .bds-trust-card__icon { flex-basis: 42px; width: 42px; height: 42px; }
  .bds-trust-card strong { font-size: 12px; }
  .bds-trust-card span { font-size: 10px; }
  .bds-footer-main { padding-bottom: 32px; }
  .bds-footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; }
  .bds-footer-brand p { margin: 14px 0; }
  .bds-footer-logo { font-size: 40px; }
  .bds-footer-column h2 { margin-bottom: 16px; }
  .bds-footer-bottom__inner { min-height: 92px; flex-direction: column; justify-content: center; text-align: center; gap: 7px; }
}

@media (max-width: 480px) {
  .bds-container { width: min(calc(100% - 16px), var(--bds-container)); }
  .bds-header-main__inner { grid-template-columns: 112px minmax(0, 1fr) 34px; gap: 6px; }
  .bds-product-search input { font-size: 13px; padding-left: 11px; }
  .bds-category-toggle span { font-size: 12px; }
  .bds-footer-trust__grid { gap: 9px; }
  .bds-trust-card { gap: 8px; }
}

/* =========================================================
   Mega Batch 6 — reference visual convergence shell
   ========================================================= */

/* Generated BDS/Woo pages provide their own page headings. */
.bds-generated-page .entry-header,
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header,
.woocommerce-account .entry-header { display: none !important; }

/* JoinChat is intentionally retired in this build. Hide stale cached markup too. */
#joinchat,
.joinchat,
.joinchat__button,
.joinchat__box { display: none !important; }

.bds-header { box-shadow: none; }
.bds-sticky-header-enabled .bds-header.is-scrolled { box-shadow: 0 7px 24px color-mix(in srgb, var(--bds-ink) 10%, transparent); }

.bds-announcement { background: color-mix(in srgb, var(--bds-primary) 10%, var(--bds-surface)); }
.bds-announcement__inner { min-height: 31px; }
.bds-announcement__message { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bds-header-main__inner {
  min-height: 70px;
  grid-template-columns: minmax(145px, 205px) minmax(360px, 610px) auto;
  gap: clamp(14px, 2vw, 28px);
}
.bds-brand img { max-width: 168px; max-height: 54px; }
.bds-product-search { height: 46px; border-color: color-mix(in srgb, var(--bds-primary) 20%, var(--bds-border)); }
.bds-product-search button { width: 40px; height: 40px; background: color-mix(in srgb, var(--bds-primary) 34%, var(--bds-surface)); color: var(--bds-surface); }
.bds-action-link,
.bds-account-link { height: 42px; min-width: 42px; background: color-mix(in srgb, var(--bds-primary) 4%, var(--bds-surface)); }

.bds-nav-row__inner { min-height: 52px; }
.bds-category-toggle { height: 38px; padding-inline: 17px; }
ul.bds-primary-nav > li > a { height: 36px; padding-inline: 14px; background: var(--bds-surface); }

.bds-category-panel { padding: 14px 0 20px; }
.bds-category-panel__head { margin-bottom: 12px; }
.bds-category-panel__head strong { font-size: 19px; }
.bds-category-panel .bds-mega-menu { padding: 10px 0 4px; }

/* Footer density mirrors the reference while remaining fully dynamic. */
.bds-footer { margin-top: 52px; }
.bds-footer-trust { padding: 30px 0 20px; }
.bds-footer-trust__grid--1 { grid-template-columns: minmax(0, 1fr); }
.bds-footer-trust__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bds-footer-trust__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bds-footer-trust__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bds-trust-card { min-height: 74px; padding: 13px 14px; }
.bds-trust-card__icon { width: 44px; height: 44px; flex-basis: 44px; }
.bds-footer-main { padding: 22px 0 48px; }
.bds-footer-grid { grid-template-columns: minmax(250px, 1.35fr) minmax(150px, .8fr) minmax(170px, .9fr) minmax(220px, 1fr); gap: clamp(26px, 4vw, 58px); }
.bds-footer-brand p { max-width: 390px; line-height: 1.65; }
.bds-footer-bottom__inner { min-height: 66px; }

@media (min-width: 922px) {
  .bds-primary-nav-wrap { flex: 1 1 auto; }
}

@media (max-width: 1100px) and (min-width: 922px) {
  .bds-header-main__inner { grid-template-columns: 145px minmax(300px, 1fr) auto; }
  .bds-brand img { max-width: 140px; }
}

@media (max-width: 921px) {
  body.bds-mobile-bottom-nav-enabled { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .bds-container { width: min(calc(100% - 16px), var(--bds-container)); }

  .bds-announcement__inner { min-height: 37px; padding-inline: 2px; }
  .bds-announcement__message { flex: 1 1 auto; text-align: center; font-size: 11px; }
  .bds-track-link { flex: 0 0 auto; font-size: 11px; }

  .bds-header-main__inner {
    min-height: 59px;
    grid-template-columns: 100px minmax(0, 1fr) 34px;
    gap: 6px;
  }
  .bds-brand img { max-width: 96px; max-height: 39px; }
  .bds-brand__name { font-size: 21px; }
  .bds-brand__tagline { display: none; }
  .bds-product-search { height: 42px; grid-template-columns: 1fr 38px; }
  .bds-product-search input { padding-left: 11px; font-size: 12px; }
  .bds-product-search button { width: 35px; height: 35px; }
  .bds-mobile-menu-toggle { width: 34px; height: 34px; }
  .bds-mobile-menu-toggle svg { width: 25px; height: 25px; }

  .bds-nav-row__inner { min-height: 49px; gap: 6px; padding-inline: 0; }
  .bds-category-toggle { height: 36px; padding: 0 12px; gap: 5px; font-size: 12px; }
  .bds-category-toggle svg { width: 16px; height: 16px; }
  ul.bds-primary-nav { gap: 6px; }
  ul.bds-primary-nav > li > a { height: 34px; padding: 0 12px; font-size: 12px; }

  .bds-category-panel {
    max-height: min(67vh, 520px);
    padding: 8px 0 16px;
    border-top: 1px solid var(--bds-border);
    box-shadow: 0 16px 34px color-mix(in srgb, var(--bds-ink) 15%, transparent);
  }
  .bds-category-panel .bds-mega-menu { display: block; padding: 7px 0; }
  .bds-category-panel__head { margin-bottom: 9px; }
  .bds-category-panel__head strong { font-size: 17px; }
  .bds-category-panel__head a { font-size: 11px; }
  .bds-mega-menu__brands { display: none; }

  .bds-mobile-bottom-nav { min-height: 64px; }
  .bds-mobile-bottom-nav a { padding-top: 6px; font-size: 9px; }
  .bds-mobile-bottom-nav svg { width: 22px; height: 22px; }

  .bds-footer { margin-top: 34px; }
  .bds-footer-trust { padding: 22px 0 18px; }
  .bds-footer-trust__grid,
  .bds-footer-trust__grid--1,
  .bds-footer-trust__grid--2,
  .bds-footer-trust__grid--3,
  .bds-footer-trust__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bds-trust-card { min-height: 82px; padding: 11px; }
  .bds-footer-grid { gap: 32px; }
  .bds-footer-brand p { font-size: 13px; }
  .bds-footer-column h2 { font-size: 13px; }
  .bds-footer-menu a,
  .bds-footer-contact { font-size: 13px; }
}

@media (max-width: 390px) {
  .bds-header-main__inner { grid-template-columns: 94px minmax(0, 1fr) 31px; gap: 5px; }
  .bds-brand img { max-width: 90px; }
  .bds-product-search { height: 40px; grid-template-columns: 1fr 36px; }
  .bds-product-search button { width: 33px; height: 33px; }
  .bds-mobile-menu-toggle { width: 31px; height: 31px; }
  .bds-category-toggle { padding-inline: 10px; }
  ul.bds-primary-nav > li > a { padding-inline: 11px; }
  .bds-footer-trust__grid,
  .bds-footer-trust__grid--1,
  .bds-footer-trust__grid--2,
  .bds-footer-trust__grid--3,
  .bds-footer-trust__grid--4 { gap: 8px; }
  .bds-trust-card { gap: 8px; }
}

/* =========================================================
   Mega Batch 12 — City Attire pixel-polish shell
   ========================================================= */
:root {
  --bds-header-icon: 42px;
  --bds-mobile-logo-height: 40px;
  --bds-elev-1: 0 6px 20px color-mix(in srgb, var(--bds-ink) 7%, transparent);
  --bds-elev-2: 0 18px 50px color-mix(in srgb, var(--bds-ink) 16%, transparent);
}

.bds-header-main__inner { min-height: 72px; }
.bds-brand img { max-width: 182px; max-height: 58px; }
.bds-product-search { height: 46px; border-color: color-mix(in srgb, var(--bds-primary) 14%, var(--bds-border)); box-shadow: none; }
.bds-product-search:focus-within { border-color: color-mix(in srgb, var(--bds-primary) 52%, var(--bds-border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bds-primary) 9%, transparent); }
.bds-product-search button { background: color-mix(in srgb, var(--bds-primary) 28%, #fff); color: #fff; }
.bds-header-actions { gap: 8px; }
.bds-action-link, .bds-account-link { border-color: color-mix(in srgb, var(--bds-primary) 11%, var(--bds-border)); background: #fff; }
.bds-action-link:hover, .bds-account-link:hover { border-color: color-mix(in srgb, var(--bds-primary) 45%, var(--bds-border)); background: var(--bds-surface-soft); }
.bds-mobile-header-actions { display: none; }

.bds-nav-row { box-shadow: 0 1px 0 rgba(6,28,53,.02); }
.bds-nav-row__inner { min-height: 50px; }
.bds-category-toggle { height: 36px; padding-inline: 16px; letter-spacing: .01em; }
ul.bds-primary-nav > li > a { height: 35px; padding-inline: 15px; font-size: 13px; border-color: color-mix(in srgb, var(--bds-primary) 10%, var(--bds-border)); }

/* Search overlay only exists for compact/mobile header. */
.bds-mobile-search { display: none; }

/* Drawer markup is hidden on desktop; premium mobile treatment below. */
.bds-mobile-drawer__brand small,
.bds-mobile-drawer__contact small,
.bds-mobile-drawer__contact strong { display: block; }

/* Footer refinement */
.bds-footer-trust__grid { align-items: stretch; }
.bds-trust-card { min-height: 78px; border-color: color-mix(in srgb, #fff 9%, transparent); }
.bds-trust-card__icon { border: 1px solid color-mix(in srgb, var(--bds-accent) 26%, transparent); }
.bds-footer-grid { padding-top: 36px; }
.bds-footer-column a { transition: color .16s ease, transform .16s ease; }
.bds-footer-column a:hover { transform: translateX(2px); }
.bds-whatsapp-button { min-height: 46px; align-items: center; justify-content: center; padding-inline: 22px; box-shadow: 0 8px 20px color-mix(in srgb, var(--bds-accent) 18%, transparent); }

@media (max-width: 921px) {
  body.bds-mobile-bottom-nav-enabled { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }

  .bds-announcement { border-bottom: 1px solid color-mix(in srgb, var(--bds-primary) 7%, var(--bds-border)); }
  .bds-announcement__inner { min-height: 32px; display: flex; justify-content: center; gap: 8px; padding-inline: 0; }
  .bds-announcement__welcome { display: none; }
  .bds-announcement__message { min-width: 0; flex: 1 1 auto; font-size: 10px; text-align: center; }
  .bds-announcement__meta { flex: 0 0 auto; }
  .bds-announcement__meta a:not(.bds-track-link) { display: none; }
  .bds-track-link { margin-left: 0; font-size: 10px; white-space: nowrap; }

  /* Requested layout: menu | centered logo | search + wishlist + cart */
  .bds-header-main__inner {
    min-height: 62px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }
  .bds-mobile-menu-toggle {
    grid-column: 1;
    display: grid;
    width: var(--bds-mobile-header-icon-size);
    height: var(--bds-mobile-header-icon-size);
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--bds-primary) 12%, var(--bds-border));
    border-radius: 12px;
    background: var(--bds-surface-soft);
    color: var(--bds-primary-dark);
  }
  .bds-mobile-menu-toggle svg { width: 22px; height: 22px; }
  .bds-brand { grid-column: 2; justify-self: center; max-width: min(100%, 150px); }
  .bds-brand img { width: auto; max-width: 142px; max-height: var(--bds-mobile-logo-height); }
  .bds-product-search--desktop, .bds-header-actions { display: none !important; }
  .bds-mobile-header-actions { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
  .bds-mobile-header-action {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--bds-primary-dark);
  }
  .bds-mobile-header-action:hover { background: var(--bds-surface-soft); }
  .bds-mobile-header-action svg { width: 20px; height: 20px; }
  .bds-mobile-action-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--bds-primary);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
  }

  /* Mobile secondary nav is chips only; Categories lives in premium drawer. */
  .bds-nav-row__inner { min-height: 43px; padding-block: 4px; }
  .bds-category-toggle { display: none; }
  .bds-primary-nav-wrap { width: 100%; }
  ul.bds-primary-nav { gap: 6px; padding-inline: 0; }
  ul.bds-primary-nav > li > a { height: 33px; padding-inline: 12px; font-size: 11px; }
  .bds-category-panel { display: none !important; }

  /* Mobile search overlay. */
  .bds-mobile-search { position: fixed; inset: 0; z-index: 100120; display: block; visibility: hidden; pointer-events: none; }
  .bds-mobile-search.is-open { visibility: visible; pointer-events: auto; }
  .bds-mobile-search__backdrop { position: absolute; inset: 0; border: 0; background: rgba(5,18,33,.54); opacity: 0; transition: opacity .24s ease; backdrop-filter: blur(5px); }
  .bds-mobile-search.is-open .bds-mobile-search__backdrop { opacity: 1; }
  .bds-mobile-search__panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 17px 16px 20px;
    border-radius: 0 0 24px 24px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(4,19,35,.22);
    transform: translateY(-104%);
    transition: transform .28s cubic-bezier(.2,.75,.2,1);
  }
  .bds-mobile-search.is-open .bds-mobile-search__panel { transform: translateY(0); }
  .bds-mobile-search__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
  .bds-mobile-search__head strong { display: block; color: var(--bds-primary-dark); font-size: 18px; line-height: 1.2; }
  .bds-mobile-search__head small { display: block; margin-top: 3px; color: var(--bds-muted); font-size: 10px; }
  .bds-mobile-search__head button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--bds-border); border-radius: 50%; background: var(--bds-surface-soft); color: var(--bds-primary-dark); }
  .bds-mobile-search__head button svg { width: 18px; height: 18px; }
  .bds-product-search--mobile-overlay { position: relative; display: grid !important; height: 50px; grid-template-columns: 1fr 44px; overflow: visible; }
  .bds-product-search--mobile-overlay input { font-size: 14px; }
  .bds-product-search--mobile-overlay button { width: 38px; height: 38px; }
  .bds-product-search--mobile-overlay .bds-search-results { top: calc(100% + 8px); max-height: min(58vh, 480px); overflow: auto; border-radius: 16px; box-shadow: var(--bds-elev-2); }

  /* Ultra-premium left off-canvas. */
  .bds-mobile-drawer { display: block; position: fixed; inset: 0; z-index: 100110; visibility: hidden; pointer-events: none; }
  .bds-mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
  .bds-mobile-drawer__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(5,18,33,.54); opacity: 0; transition: opacity .25s ease; backdrop-filter: blur(5px); }
  .bds-mobile-drawer.is-open .bds-mobile-drawer__backdrop { opacity: 1; }
  .bds-mobile-drawer__panel {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: min(90vw, 390px);
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, #fff 0, #fff 68%, color-mix(in srgb, var(--bds-surface-soft) 86%, #fff) 100%);
    color: var(--bds-ink);
    box-shadow: 20px 0 60px rgba(5,18,33,.24);
    transform: translateX(-102%);
    transition: transform .3s cubic-bezier(.2,.75,.2,1);
  }
  .bds-mobile-drawer.is-open .bds-mobile-drawer__panel { transform: translateX(0); }
  .bds-mobile-drawer__head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 18px 14px; border-bottom: 1px solid var(--bds-border); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .bds-mobile-drawer__brand { min-width: 0; display: flex; flex-direction: column; color: var(--bds-ink); }
  .bds-mobile-drawer__brand img { width: auto; max-width: 148px; max-height: 43px; object-fit: contain; object-position: left center; }
  .bds-mobile-drawer__brand strong { font-size: 20px; color: var(--bds-primary-dark); }
  .bds-mobile-drawer__brand small { margin-top: 3px; color: var(--bds-muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
  .bds-mobile-drawer__close { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--bds-border); border-radius: 50%; background: var(--bds-surface-soft); color: var(--bds-primary-dark); }
  .bds-mobile-drawer__close svg { width: 18px; height: 18px; }
  .bds-mobile-drawer__quick { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; padding: 14px 18px 4px; }
  .bds-mobile-drawer__quick a { position: relative; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid color-mix(in srgb, var(--bds-primary) 10%, var(--bds-border)); border-radius: 15px; background: var(--bds-surface-soft); color: var(--bds-primary-dark); font-size: 10px; font-weight: 700; }
  .bds-mobile-drawer__quick svg { width: 20px; height: 20px; }
  .bds-mobile-drawer__quick b { position: absolute; top: 8px; right: 10px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border-radius: 999px; background: var(--bds-primary); color: #fff; font-size: 9px; }
  .bds-mobile-drawer__section { margin: 16px 18px 0; padding-top: 16px; border-top: 1px solid var(--bds-border); }
  .bds-mobile-drawer__section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
  .bds-mobile-drawer__section-title > span { color: var(--bds-accent); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
  .bds-mobile-drawer__section-title > a { color: var(--bds-muted); font-size: 10px; }
  ul.bds-mobile-drawer__menu { margin: 0; padding: 0; list-style: none; }
  ul.bds-mobile-drawer__menu > li + li { border-top: 1px solid color-mix(in srgb, var(--bds-border) 70%, transparent); }
  ul.bds-mobile-drawer__menu a { min-height: 45px; display: flex; align-items: center; padding: 9px 4px; border: 0; color: var(--bds-ink); font-size: 13px; font-weight: 650; }
  ul.bds-mobile-drawer__menu > li.current-menu-item > a { color: var(--bds-primary); }
  ul.bds-mobile-drawer__menu .sub-menu { margin: 0 0 8px 12px; padding: 4px 0 4px 12px; border-left: 2px solid color-mix(in srgb, var(--bds-accent) 55%, var(--bds-border)); list-style: none; }
  ul.bds-mobile-drawer__menu .sub-menu a { min-height: 36px; font-size: 11px; font-weight: 500; color: var(--bds-muted); }
  .bds-mobile-drawer__care-links { display: grid; gap: 2px; }
  .bds-mobile-drawer__care-links a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 4px; color: var(--bds-ink); font-size: 12px; }
  .bds-mobile-drawer__care-links a span:last-child { color: var(--bds-accent); font-size: 20px; line-height: 1; }
  .bds-mobile-drawer__contact { margin: 18px 18px 26px; padding: 16px; border: 1px solid color-mix(in srgb, var(--bds-primary) 10%, var(--bds-border)); border-radius: 18px; background: color-mix(in srgb, var(--bds-surface-soft) 75%, #fff); }
  .bds-mobile-drawer__contact > a:not(.bds-mobile-drawer__whatsapp):not(.bds-mobile-drawer__social),
  .bds-mobile-drawer__contact > div { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; color: var(--bds-ink); }
  .bds-mobile-drawer__contact > a svg,
  .bds-mobile-drawer__contact > div svg { flex: 0 0 18px; margin-top: 2px; color: var(--bds-accent); }
  .bds-mobile-drawer__contact small { color: var(--bds-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .bds-mobile-drawer__contact strong { margin-top: 2px; color: var(--bds-ink); font-size: 11px; line-height: 1.45; }
  .bds-mobile-drawer__whatsapp { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 10px; border-radius: 12px; background: var(--bds-accent); color: var(--bds-primary-dark); font-size: 12px; font-weight: 800; }
  .bds-mobile-drawer__whatsapp svg { width: 18px; height: 18px; }
  .bds-mobile-drawer__social { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; color: var(--bds-primary-dark); font-size: 10px; font-weight: 700; }
  .bds-mobile-drawer__social svg { width: 15px; height: 15px; }

  /* Refined mobile bottom navigation. */
  .bds-mobile-bottom-nav { min-height: 60px; background: var(--bds-footer-bg); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -10px 26px rgba(4,18,32,.16); }
  .bds-mobile-bottom-nav a { gap: 3px; padding: 6px 2px 5px; color: color-mix(in srgb, var(--bds-footer-text) 78%, transparent); font-size: 9px; }
  .bds-mobile-bottom-nav a:hover { color: #fff; }
.bds-mobile-bottom-nav svg { width: 20px; height: 20px; }
  .bds-mobile-nav-badge { position: absolute; top: 4px; left: calc(50% + 7px); min-width: 15px !important; height: 15px !important; display: grid !important; place-items: center; padding: 0 3px !important; border-radius: 999px; background: var(--bds-accent) !important; color: var(--bds-primary-dark) !important; font-size: 8px !important; font-weight: 900; }

  .bds-footer-trust__grid,
  .bds-footer-trust__grid--1,
  .bds-footer-trust__grid--2,
  .bds-footer-trust__grid--3,
  .bds-footer-trust__grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .bds-trust-card { min-height: 88px; padding: 11px; border-radius: 14px; }
  .bds-footer-grid { gap: 28px; }
}

@media (max-width: 430px) {
  .bds-container { width: min(calc(100% - 18px), var(--bds-container)); }
  .bds-header-main__inner { grid-template-columns: 40px minmax(0,1fr) auto; gap: 4px; }
  .bds-mobile-menu-toggle { width: 40px; height: 40px; }
  .bds-brand img { max-width: 126px; max-height: 36px; }
  .bds-mobile-header-actions { gap: 1px; }
  .bds-mobile-header-action { width: 34px; height: 36px; }
  .bds-mobile-header-action svg { width: 18px; height: 18px; }
  ul.bds-primary-nav > li > a { height: 32px; padding-inline: 11px; font-size: 10px; }
  .bds-mobile-drawer__panel { width: min(92vw, 380px); }
  .bds-mobile-drawer__quick { gap: 6px; }
  .bds-mobile-drawer__quick a { min-height: 68px; }
}

@media (max-width: 360px) {
  .bds-brand img { max-width: 112px; }
  .bds-mobile-header-action { width: 32px; }
  .bds-mobile-drawer__panel { width: 94vw; }
}

/* =========================================================
   Mega Batch 12.1 — critical mobile overflow + close-control fix
   ========================================================= */

/* Hard stop for accidental page-level horizontal overflow. Internal rails/navs retain their own scrolling. */
html { max-width: 100%; overflow-x: clip; }
body.bds-storefront { max-width: 100%; overflow-x: clip; }
.bds-footer,
.bds-footer-main,
.bds-footer-trust,
.bds-footer-bottom { width: 100%; max-width: 100%; overflow-x: clip; }
.bds-footer .bds-container,
.bds-footer-grid,
.bds-footer-grid > *,
.bds-footer-contact,
.bds-footer-contact > a,
.bds-footer-contact > div,
.bds-footer-contact span { min-width: 0; max-width: 100%; box-sizing: border-box; }
.bds-footer-contact span,
ul.bds-footer-menu a { overflow-wrap: anywhere; word-break: normal; }
.bds-whatsapp-button { max-width: 100%; white-space: normal; text-align: center; }

/* Draw every X with CSS so it remains visible even if a third-party SVG rule strips strokes. */
.bds-mobile-drawer__close,
.bds-mobile-search__head [data-bds-search-close] {
  position: relative;
  color: var(--bds-primary-dark) !important;
}
.bds-mobile-drawer__close svg,
.bds-mobile-search__head [data-bds-search-close] svg { display: none !important; }
.bds-mobile-drawer__close::before,
.bds-mobile-drawer__close::after,
.bds-mobile-search__head [data-bds-search-close]::before,
.bds-mobile-search__head [data-bds-search-close]::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}
.bds-mobile-drawer__close::before,
.bds-mobile-search__head [data-bds-search-close]::before { transform: translate(-50%, -50%) rotate(45deg); }
.bds-mobile-drawer__close::after,
.bds-mobile-search__head [data-bds-search-close]::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 921px) {
  .bds-footer .bds-container { width: min(calc(100% - 24px), var(--bds-container)) !important; }
  .bds-footer .bds-footer-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      'brand brand'
      'shop care'
      'contact contact';
    gap: 28px 20px !important;
  }
  .bds-footer-brand { grid-area: brand; }
  .bds-footer-grid > .bds-footer-column:nth-child(2) { grid-area: shop; }
  .bds-footer-grid > .bds-footer-column:nth-child(3) { grid-area: care; }
  .bds-footer-contact { grid-area: contact; }
  .bds-footer-brand p { max-width: 100%; }
  .bds-footer-logo img { max-width: min(230px, 78vw); }
  .bds-footer-contact > a:not(.bds-whatsapp-button),
  .bds-footer-contact > div { align-items: flex-start; }
  .bds-footer-bottom__inner { width: 100%; max-width: 100%; }
}

@media (max-width: 560px) {
  .bds-footer .bds-container { width: min(calc(100% - 20px), var(--bds-container)) !important; }
  .bds-footer .bds-footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      'brand'
      'shop'
      'care'
      'contact';
    gap: 26px !important;
  }
  .bds-footer-column h2 { margin-bottom: 13px; }
  .bds-whatsapp-button { width: 100%; }
}


/* =========================================================
   BDS 1.12.4 — header precision pass
   ========================================================= */

/* Desktop search: do not rely on mixed grid widths from older layers.
   Keep the submit circle optically centered inside the pill. */
@media (min-width: 922px) {
  .bds-product-search--desktop {
    position: relative !important;
    display: block !important;
    height: 46px !important;
    padding: 0 52px 0 0 !important;
    overflow: visible !important;
  }

  .bds-product-search--desktop > input[type="search"] {
    width: 100% !important;
    height: 100% !important;
    padding: 0 10px 0 18px !important;
    border-radius: 999px !important;
  }

  .bds-product-search--desktop > button[type="submit"] {
    position: absolute !important;
    top: 50% !important;
    right: 4px !important;
    left: auto !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    line-height: 1 !important;
  }

  .bds-product-search--desktop > button[type="submit"] svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: 0 !important;
  }
}

/* Header count badges: scoped harder than the shared cart-count rules used
   by drawer/footer/mobile-bottom-nav. */
@media (max-width: 921px) {
  .bds-mobile-header-action {
    overflow: visible !important;
  }

  .bds-mobile-header-action > .bds-mobile-action-count,
  .bds-mobile-header-action > .bds-mobile-action-count.bds-cart-count,
  .bds-mobile-header-action > .bds-mobile-action-count.bds-wishlist-count {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 4 !important;
    min-width: 16px !important;
    width: auto !important;
    height: 16px !important;
    padding: 0 4px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: var(--bds-accent) !important;
    color: var(--bds-primary-dark) !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 7px rgba(7, 28, 52, .14) !important;
    transform: none !important;
  }
}


/* =========================================================
   Astra Child 1.12.5 — mobile badge fragment-safe positioning
   ========================================================= */
@media (max-width: 921px) {
  .bds-mobile-header-actions .bds-mobile-header-action {
    position: relative !important;
    overflow: visible !important;
  }

  .bds-mobile-header-actions .bds-mobile-header-action > .bds-cart-count,
  .bds-mobile-header-actions .bds-mobile-header-action > .bds-wishlist-count,
  .bds-mobile-header-actions .bds-mobile-header-action > .bds-mobile-action-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    bottom: auto !important;
    left: auto !important;
    min-width: 16px !important;
    width: auto !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    display: grid !important;
    place-items: center !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: var(--bds-accent) !important;
    color: var(--bds-primary-dark) !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    transform: none !important;
    z-index: 6 !important;
    box-shadow: 0 2px 7px rgba(7,28,52,.14) !important;
  }
}


/* =========================================================
   BDS 1.12.9.2 — evidence-based shell UX convergence
   ========================================================= */
/* Continuous announcement marquee. */
.bds-announcement__message {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.bds-announcement__marquee {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.bds-announcement__marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  will-change: transform;
  animation: bdsAnnouncementMarquee var(--bds-announcement-duration, 24s) linear infinite;
}

.bds-announcement__marquee-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 56px;
}

.bds-announcement__marquee-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bds-announcement__marquee-item + .bds-announcement__marquee-item::before {
  content: '•';
  display: inline-block;
  margin: 0 24px;
  opacity: .7;
}

.bds-announcement__item-text {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.bds-announcement__marquee-item a,
.bds-announcement__marquee-link-copy {
  margin-left: 5px;
  font-weight: 800;
}

@keyframes bdsAnnouncementMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.bds-announcement__marquee:hover .bds-announcement__marquee-track,
.bds-announcement__marquee:focus-within .bds-announcement__marquee-track {
  animation-play-state: paused;
}

@media (max-width: 767px) {
.bds-announcement__marquee-group {
    padding-right: 42px;
  }

  .bds-announcement__marquee-item + .bds-announcement__marquee-item::before {
    margin: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bds-announcement__marquee-track {
    animation: none;
  }
} }

.bds-footer-column h2,
.bds-footer-follow h2 {
  font-weight: 800;
  color: var(--bds-accent);
  color: color-mix(in srgb, var(--bds-accent) 78%, #fff 22%);
}
.bds-footer-column h2::after,
.bds-footer-follow h2::after {
  background: var(--bds-accent);
  background: color-mix(in srgb, var(--bds-accent) 78%, #fff 22%);
  opacity: .92;
}
.bds-footer-follow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: start; gap: clamp(28px, 5vw, 70px); margin-top: 0; padding-top: 28px; padding-bottom: 38px; border-top: 1px solid rgba(255,255,255,.1); }
.bds-footer-follow h2 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; }
.bds-footer-follow h2::before { content: '✓'; margin-right: 8px; color: var(--bds-accent); }
.bds-footer-follow h2::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 10px; }
.bds-footer-follow__content > p { max-width: 560px; margin: 0 0 17px; color: color-mix(in srgb, var(--bds-footer-text) 86%, transparent); line-height: 1.55; }
/* Fabrilife footer social row: same Simple Icons v13 source and sizing. */
.bds-footer-follow__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 0 0 22px;
}

.bds-footer-follow__socials .social,
.bds-footer-follow__socials .bds-footer-social {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  text-decoration: none;
}

.bds-footer-follow__socials .social:hover,
.bds-footer-follow__socials .bds-footer-social:hover {
  background: transparent;
  opacity: .82;
  transform: none;
}

.bds-footer-follow__socials .social img,
.bds-footer-follow__socials .bds-footer-social img {
  display: block;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  max-width: 20px !important;
  margin: 0;
  padding: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* Fabrilife-style compact Facebook profile card. */
.bds-facebook-page-widget {
  width: min(100%, 300px);
  height: auto;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fb-verify-card {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f0f0f2;
  color: #171717 !important;
  text-decoration: none !important;
  box-shadow: none;
}

.fb-verify-card:hover {
  color: #171717 !important;
  text-decoration: none !important;
}

.fb-verify-left {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
}

.fb-verify-left svg {
  display: block;
  width: 28px;
  height: 28px;
}

.fb-verify-right {
  min-width: 0;
  flex: 1;
}

.fb-verify-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 2px;
  color: #111;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.fb-verify-follow {
  color: #1877f2;
  font-size: 13px;
  font-weight: 600;
}

.fb-verify-sub {
  margin-top: 3px;
  color: #65676b;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 400;
}


/* Mobile follow area: centered like the Fabrilife reference. */
@media (max-width: 921px) {
  .bds-footer-follow__content {
    text-align: center;
  }

  .bds-footer-follow__content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .bds-footer-follow h2 {
    text-align: center;
  }

  .bds-footer-follow h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .bds-footer-follow__socials {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .bds-facebook-page-widget {
    margin-left: auto;
    margin-right: auto;
  }

  .fb-verify-card {
    text-align: left;
  }
}
.bds-footer-handling { background: var(--bds-surface); color: var(--bds-ink); border-top: 1px solid color-mix(in srgb, var(--bds-primary) 8%, var(--bds-border)); }
.bds-footer-handling__inner { min-height: 72px; display: grid; place-items: center; padding-block: 18px; text-align: center; font-size: 15px; line-height: 1.5; font-weight: 600; }

@media (max-width: 921px) {
  .bds-brand { min-width: 0; max-width: 100% !important; justify-self: center; }
  .bds-brand img {
    width: auto !important;
    max-width: min(var(--bds-mobile-logo-width, 150px), 100%) !important;
    max-height: var(--bds-mobile-logo-height, 40px) !important;
  }
  .bds-announcement__item { max-width: 100%; }
  .bds-footer-follow { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 30px; }
}

@media (max-width: 430px) {
  .bds-brand img { max-width: min(var(--bds-mobile-logo-width, 150px), 100%) !important; max-height: var(--bds-mobile-logo-height, 40px) !important; }
  .bds-announcement__item { gap: 5px; }
  .bds-announcement__item a { margin-left: 3px; }
  .bds-footer-handling__inner { min-height: 82px; padding: 18px 10px; font-size: 14px; }
}

@media (max-width: 360px) {
  .bds-brand img { max-width: min(var(--bds-mobile-logo-width, 150px), 100%) !important; }
}

@media (max-width: 921px) {
  .bds-mobile-bottom-nav a.is-active,
  .bds-mobile-bottom-nav a[aria-current="page"] { color: var(--bds-accent) !important; }
}

/* =========================================================
   BDS 1.12.9.2 — non-home header cleanup + subtle active nav
   ========================================================= */
body:not(.bds-storefront-home-page):not(.home):not(.front-page) .bds-nav-row {
  display: none !important;
}

body:not(.bds-storefront-home-page):not(.home):not(.front-page) #primary {
  margin-top: 0 !important;
}

@media (max-width: 921px) {
  .bds-mobile-bottom-nav a.is-active,
  .bds-mobile-bottom-nav a[aria-current="page"] {
    color: var(--bds-accent) !important;
    background: rgba(255,255,255,.08) !important;
    border-radius: 16px;
  }
}

/* BDS footer Follow Us heading contrast fix */
.bds-footer .bds-footer-follow h2 {
    color: var(--bds-footer-text) !important;
}

