/* BYDSHOP — consolidated responsive header matching the four approved layouts.
   This file owns header layout and replaces the accumulated header overrides. */
.site-header {
  position:relative; z-index:30; width:100%; box-sizing:border-box;
  color:#f5f7fb; background:#061827;
  border:0; border-bottom:1px solid rgba(113,166,210,.45); border-radius:0;
  box-shadow:0 8px 24px rgba(4,16,29,.18);
  font-family:'Exo 2',Inter,Arial,sans-serif;
}
.site-header *, .site-header *::before, .site-header *::after { box-sizing:border-box; }
.bydshop-header-layout {
  width:min(100%,1920px); margin:0 auto; padding:10px clamp(16px,2vw,34px);
  display:grid; align-items:center;
  grid-template-columns:minmax(180px,1.05fr) minmax(180px,1.1fr) minmax(155px,.95fr) minmax(110px,.65fr) minmax(130px,.8fr) minmax(115px,.7fr) minmax(145px,.9fr);
  grid-template-areas:"phones address account cart social social social" "logo search search search timer timer cta";
  gap:10px 12px;
}
.topbar__phone-stack { grid-area:phones; display:flex; flex-direction:column; gap:3px; min-width:0; padding-right:24px; margin-right:12px; border-right:1px solid rgba(205,225,245,.38); }
.topbar__phone { display:flex; align-items:center; gap:8px; color:#f5f7fb; text-decoration:none; font-size:clamp(12px,.85vw,16px); font-weight:700; line-height:1.25; white-space:nowrap; }
.topbar__phone .icon { color:#ed202b; font-size:18px; }
.topbar__address { grid-area:address; display:flex; align-items:center; gap:9px; min-width:0; height:100%; padding:0 22px; margin:0 8px; border-right:1px solid rgba(205,225,245,.38); color:#edf3fa; text-decoration:none; font-size:clamp(11px,.78vw,15px); line-height:1.3; }
.topbar__address .icon { flex:0 0 auto; font-size:23px; }
.topbar__actions { display:contents; }
.topbar__actions a { position:relative; display:flex; align-items:center; gap:7px; color:#f5f7fb; text-decoration:none; font-size:13px; font-weight:600; white-space:nowrap; }
.topbar__account { grid-area:account; justify-self:center; padding:0 22px; margin:0 8px; border-right:1px solid rgba(205,225,245,.38); }
.topbar__cart--header { grid-area:cart; justify-self:center; padding-right:17px; margin-right:6px; border-right:1px solid rgba(205,225,245,.38); }
.topbar__account-icon,.topbar__cart-icon { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; width:31px; height:34px; }
.topbar__account-icon svg,.topbar__cart-icon svg { display:block; width:29px; height:29px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.topbar__cart-icon { margin-right:3px; }
.topbar__cart { padding-left:4px; }
.topbar__actions .bydshop-cart-count { position:absolute; top:-8px; left:18px; display:grid; place-items:center; min-width:18px; height:18px; padding:0 4px; border:0; border-radius:50%; background:#ed202b; color:#fff; font-size:11px; font-weight:800; line-height:1; }
.topbar__social { grid-area:social; display:flex; align-items:center; justify-content:flex-end; gap:clamp(7px,.8vw,14px); min-width:0; }
.topbar__social-link { display:block; flex:0 1 auto; min-width:0; max-width:210px; line-height:0; }
.topbar__social-link picture { display:block; }
.topbar__social-link img { display:block; width:auto; max-width:100%; height:clamp(34px,3.5vw,54px); object-fit:contain; }
.wordmark { grid-area:logo; display:inline-flex; align-items:center; gap:4px; width:max-content; color:#fff; text-decoration:none; font-size:clamp(28px,2.4vw,43px); font-weight:950; font-style:italic; letter-spacing:-1.8px; white-space:nowrap; }
.wordmark span { color:#ed202b; }
.wordmark b { color:#fff; }
.topbar__cart--header { grid-area:cart; position:relative; display:inline-flex; align-items:center; justify-content:center; gap:5px; justify-self:center; min-width:42px; min-height:42px; color:#fff; text-decoration:none; }
.topbar__cart--header .topbar__cart-icon { display:inline-flex; align-items:center; justify-content:center; width:32px; height:34px; }
.topbar__cart--header .topbar__cart-icon svg { display:block; width:29px; height:29px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.topbar__cart--header .bydshop-cart-count { position:absolute; top:-2px; right:5px; display:grid; place-items:center; box-sizing:border-box; width:20px; min-width:20px; height:20px; padding:0; aspect-ratio:1; border:1px solid rgba(255,255,255,.9); border-radius:50%; background:#ed202b; color:#fff; font-size:11px; font-weight:800; line-height:18px; text-align:center; }
.topbar__cart--header .topbar__action-label { display:none; }
.bydshop-header-search { grid-area:search; display:flex; flex:initial; align-items:center; width:100%; max-width:none; min-width:0; height:48px; padding:0 8px 0 16px; border:1px solid rgba(225,237,249,.72); border-radius:28px; background:linear-gradient(110deg,#081b2d,#10263b); }
.bydshop-header-search:focus-within { border-color:#69b8ff; box-shadow:0 0 0 2px rgba(60,155,255,.18); }
.bydshop-header-search input[type=search] { flex:1 1 auto; min-width:0; width:100%; height:100%; padding:0 8px 0 0; border:0; outline:0; background:transparent; color:#fff; font:inherit; font-size:15px; box-shadow:none; }
.bydshop-header-search input[type=search]::placeholder { color:#d4dce6; opacity:1; }
.bydshop-header-search button { flex:0 0 38px; width:38px; height:38px; padding:0; border:0; border-radius:50%; background:transparent; color:#fff; font-size:29px; line-height:1; cursor:pointer; }
.bydshop-header-timer { grid-area:timer; display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; min-height:48px; padding:7px 13px; border:1px solid rgba(225,237,249,.7); border-radius:12px; background:#030b12; }
.bydshop-header-timer__info { display:flex; flex-direction:column; gap:2px; min-width:0; }
.bydshop-header-timer__status { display:flex; align-items:center; gap:7px; color:#18e56e; font-size:clamp(12px,1vw,17px); font-weight:900; white-space:nowrap; }
.bydshop-header-timer.is-closed .bydshop-header-timer__status { color:#FF4500; }
.bydshop-header-timer.is-closed .bydshop-header-timer__dot { background:#FF4500; box-shadow:0 0 9px #FF4500; }
.bydshop-header-timer__dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:#16e66a; box-shadow:0 0 9px #16e66a; }
.bydshop-header-timer__label { color:#20df72; font-size:clamp(9px,.7vw,12px); line-height:1.15; white-space:nowrap; }
.bydshop-header-timer__digits { padding-left:10px; border-left:1px solid rgba(255,255,255,.35); color:#FF4500; font-size:clamp(20px,1.9vw,34px); font-weight:900; line-height:1; letter-spacing:-.5px; white-space:nowrap; }
.bydshop-header-timer__digits.is-open { color:#FFD700; }
.bydshop-header-timer__digits.is-closed { color:#FF4500; }
.bydshop-header-timer.is-open .bydshop-header-timer__label { color:#FF4500; }
.bydshop-header-timer.is-closed .bydshop-header-timer__label { color:#20df72; }
.nav-cta { grid-area:cta; display:flex; align-items:center; justify-content:center; gap:12px; min-height:48px; padding:9px 17px; border:1px solid #ff4852; border-radius:11px; background:linear-gradient(180deg,#ff1824,#d9000d); color:#fff; text-decoration:none; text-align:center; font-size:clamp(13px,1vw,17px); font-weight:850; white-space:nowrap; box-shadow:0 4px 12px rgba(237,32,43,.2); }
.nav-cta span { font-size:27px; line-height:.7; }
.bydshop-menu-toggle { display:none; }
.main-nav { display:block; width:100%; min-height:0; margin:0; padding:0; border-top:1px solid rgba(120,173,217,.38); }
.main-nav__mobile-account { display:none; }
.main-nav__utility { display:flex; align-items:center; justify-content:space-between; gap:24px; width:min(100%,1920px); margin:0 auto; padding:8px clamp(16px,2vw,34px) 2px; border-bottom:1px solid rgba(255,255,255,.10); }
.main-nav__utility .topbar__account { margin-right:auto; justify-content:flex-start; }
.main-nav__utility .topbar__cart { margin-left:auto; justify-content:flex-end; }
.main-nav__utility a { position:relative; display:inline-flex; align-items:center; gap:9px; min-height:38px; color:#fff; text-decoration:none; font-size:14px; font-weight:700; }
.main-nav__utility .topbar__account-icon,.main-nav__utility .topbar__cart-icon { display:inline-flex; width:25px; height:27px; }
.main-nav__utility .topbar__account-icon svg,.main-nav__utility .topbar__cart-icon svg { width:24px; height:24px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.main-nav__utility .bydshop-cart-count { position:absolute; top:0; left:17px; display:grid; place-items:center; min-width:16px; height:16px; padding:0 3px; border:1px solid #fff; border-radius:50%; background:transparent; color:#fff; font-size:10px; font-weight:800; line-height:1; }

.main-nav__links { display:block; width:min(100%,1920px); margin:0 auto; padding:0 clamp(16px,2vw,34px); }
.main-nav__links ul.menu { display:flex; align-items:center; justify-content:center; gap:clamp(24px,4vw,66px); min-height:48px; margin:0; padding:0; list-style:none; }
.main-nav__links li { position:relative; margin:0; padding:0; list-style:none; }
.main-nav__links a { display:flex; align-items:center; min-height:44px; color:#f3f6fb; text-decoration:none; font-size:clamp(13px,.95vw,17px); font-weight:750; white-space:nowrap; }
.main-nav__links a:hover,.main-nav__links a:focus-visible { color:#fff; }
.main-nav__links .sub-menu { position:absolute; z-index:50; top:100%; left:0; display:none; min-width:210px; padding:8px; border:1px solid rgba(113,166,210,.45); border-radius:8px; background:#071827; box-shadow:0 12px 24px rgba(0,0,0,.28); }
.main-nav__links li:hover > .sub-menu,.main-nav__links li:focus-within > .sub-menu { display:block; }
.main-nav__links .sub-menu a { min-height:36px; padding:7px 10px; white-space:normal; }
@media (min-width:1601px) {
 .bydshop-header-layout { padding-top:12px; padding-bottom:12px; column-gap:18px; }
}
/* Compact desktop widths: let the address wrap inside its own cell without growing the contact row. */
@media (min-width:1025px) and (max-width:1200px) {
  .bydshop-header-layout {
    grid-template-columns:minmax(155px,1.15fr) minmax(135px,1fr) minmax(105px,.78fr) minmax(68px,.5fr) minmax(112px,.9fr);
    grid-template-areas:"phones address account cart social" "logo search search timer cta";
    column-gap:8px;
  }
  .topbar__phone-stack {
    padding-right:8px;
    margin-right:0;
  }
  .topbar__phone {
    gap:5px;
    font-size:12px;
  }
  .topbar__address {
    justify-content:center;
    text-align:center;
    padding:0 5px;
    margin:0;
    font-size:11px;
    line-height:1.15;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .topbar__address .icon {
    font-size:18px;
  }
  .topbar__account {
    padding-left:5px;
    padding-right:5px;
    margin-left:0;
    margin-right:0;
    font-size:11px;
  }
  .topbar__cart--header {
    padding-left:4px;
    padding-right:4px;
    margin-left:0;
    margin-right:0;
  }
  .topbar__cart--header .topbar__action-label {
    display:none;
  }
  .topbar__social {
    gap:4px;
  }
  .topbar__social-link img {
    height:34px;
  }
}
@media (min-width:1025px) and (max-width:1600px) {
 .bydshop-header-layout { grid-template-columns:minmax(180px,1.05fr) minmax(180px,1.1fr) minmax(155px,.95fr) minmax(110px,.65fr) minmax(130px,.8fr) minmax(115px,.7fr) minmax(145px,.9fr); gap:9px 10px; padding-left:18px; padding-right:18px; }
 .topbar__actions a { padding-left:0; padding-right:0; }
 .topbar__phone { font-size:15px; }
 .topbar__address { font-size:12px; }
 .topbar__phone-stack { padding-right:20px; margin-right:8px; }
 .topbar__address { padding-left:18px; padding-right:18px; margin-left:5px; margin-right:5px; }
 .topbar__account { padding-left:16px; padding-right:16px; margin-left:5px; margin-right:5px; }
 .topbar__cart--header { padding-left:16px; padding-right:16px; margin-left:5px; margin-right:5px; }
 .topbar__cart--header .bydshop-cart-count { top:-2px; right:5px; }
 .bydshop-header-timer { gap:6px; padding-left:7px; padding-right:7px; }
 .topbar__account-icon,.topbar__cart-icon { width:31px; height:34px; }
 .topbar__account-icon svg,.topbar__cart-icon svg { width:29px; height:29px; }
 .topbar__cart--header .topbar__action-label { display:inline; }
 .bydshop-header-timer { padding:6px 8px; gap:7px; }
 .bydshop-header-timer__digits { font-size:21px; padding-left:8px; }
 .bydshop-header-search { height:44px; }
 .nav-cta { min-height:44px; padding:7px 10px; }
 .main-nav__links ul.menu { gap:30px; min-height:42px; }
}
/* Final compact-desktop fit: keep every header control inside 1025–1200px viewports. */
@media (min-width:1025px) and (max-width:1200px) {
  .bydshop-header-layout {
    grid-template-columns:
      minmax(145px,1.05fr)
      minmax(130px,.95fr)
      minmax(120px,.9fr)
      minmax(60px,.45fr)
      minmax(95px,.8fr)
      minmax(95px,.8fr)
      minmax(135px,1fr);
    grid-template-areas:
      "phones address account cart social social social"
      "logo search search search timer timer cta";
    column-gap:8px;
    padding-left:14px;
    padding-right:14px;
  }
  .topbar__phone-stack { padding-right:7px; margin-right:0; }
  .topbar__phone { gap:4px; font-size:12px; }
  .topbar__address {
    display:flex;
    flex-wrap:wrap;
    align-content:center;
    justify-content:center;
    align-items:center;
    gap:3px;
    height:48px;
    min-height:48px;
    max-height:48px;
    padding:0 4px;
    margin:0;
    font-size:11px;
    line-height:1.15;
    text-align:center;
    overflow:hidden;
  }
  .topbar__address > span:last-child {
    flex:0 1 100%;
    min-width:0;
    white-space:normal;
    overflow-wrap:break-word;
    word-break:normal;
    text-align:center;
  }
  .topbar__address .icon { flex:0 0 auto; }
  .topbar__address .icon { font-size:17px; }
  .topbar__account {
    padding:0 4px;
    margin:0;
    font-size:0;
    gap:0;
    white-space:nowrap;
    justify-content:center;
  }
  .topbar__account .topbar__action-label { display:none; }
  .topbar__account-icon { width:27px; height:29px; }
  .topbar__account-icon svg { width:25px; height:25px; }
  .topbar__cart--header {
    min-width:0;
    padding:0 3px;
    margin:0;
    border-right:0;
  }
  .topbar__cart--header .topbar__action-label { display:none; }
  .topbar__social {
    width:100%;
    min-width:0;
    display:flex;
    justify-content:space-between;
    gap:5px;
  }
  .topbar__social-link {
    flex:1 1 0;
    width:0;
    max-width:none;
    min-width:0;
  }
  .topbar__social-link img {
    width:100%;
    height:32px;
    max-width:100%;
    object-fit:fill;
  }
  .bydshop-header-search { min-width:0; }
  .bydshop-header-timer { min-width:0; gap:4px; padding-left:5px; padding-right:5px; }
  .bydshop-header-timer__status { font-size:12px; }
  .bydshop-header-timer__label { font-size:9px; }
  .bydshop-header-timer__digits { padding-left:5px; font-size:19px; }
  .nav-cta {
    min-width:0;
    width:100%;
    min-height:44px;
    padding:6px 5px;
    gap:5px;
    font-size:12px;
    line-height:1.1;
    white-space:normal;
  }
  .nav-cta span { flex:0 0 auto; font-size:23px; }
}
@media (min-width:768px) and (max-width:1024px) {
  .topbar__actions { display:flex; grid-area:actions; justify-content:flex-end; gap:14px; }
  .topbar__account,.topbar__cart--header { grid-area:auto; }
  .main-nav__utility { flex-direction:column; align-items:stretch; gap:0; }
  .main-nav__utility a { min-height:42px; width:100%; }
  .main-nav__utility .topbar__account { justify-content:flex-start; }
  .main-nav__utility .topbar__cart { justify-content:flex-end; }
 .bydshop-header-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); grid-template-areas:"menu logo actions" "phones address social" "search timer cta"; gap:9px 12px; padding:12px 16px; }
  .topbar__actions { justify-content:flex-end; border:0; }
  .topbar__actions a { min-width:36px; padding:0 4px; font-size:0; }
  .topbar__actions .topbar__account { border:0; }
 .bydshop-menu-toggle { grid-area:menu; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; justify-self:start; width:42px; height:48px; padding:4px 2px; border:0; background:transparent; color:#fff; cursor:pointer; }
  .bydshop-menu-toggle__bars { display:flex; flex-direction:column; gap:5px; width:30px; }
  .bydshop-menu-toggle__bars i { display:block; width:30px; height:4px; border-radius:3px; background:#fff; }
  .bydshop-menu-toggle__label { color:#fff; font-size:9px; font-weight:900; line-height:1; letter-spacing:.12em; }
 .wordmark { justify-self:center; font-size:34px; }
 .topbar__cart--header { justify-self:end; }
 .topbar__actions { justify-self:end; }
 .topbar__actions a { font-size:0; }
 .topbar__account-icon,.topbar__cart-icon { width:28px; height:30px; }
 .bydshop-cart-count { font-size:11px; }
 .topbar__phone-stack { flex-direction:row; flex-wrap:wrap; justify-content:space-between; gap:5px 10px; padding:5px 10px 5px 0; border:0; border-right:1px solid rgba(205,225,245,.3); }
 .topbar__phone { font-size:clamp(11px,1.35vw,14px); }
 .topbar__address { min-height:42px; padding:0 8px; border-right:1px solid rgba(205,225,245,.3); font-size:12px; }
 .topbar__social { justify-content:space-between; gap:6px; }
 .topbar__social-link { flex:1 1 0; max-width:none; }
 .topbar__social-link img { width:100%; height:auto; max-height:40px; }
 .bydshop-header-search { height:44px; padding-left:10px; }
 .bydshop-header-search input[type=search] { font-size:12px; }
 .bydshop-header-timer { min-height:44px; padding:6px 8px; gap:5px; }
 .bydshop-header-timer__label { display:none; }
 .bydshop-header-timer__digits { padding-left:10px; font-size:17px; }
 .nav-cta { min-height:44px; padding:6px 8px; font-size:12px; }
 .main-nav__links ul.menu { flex-wrap:wrap; gap:10px 28px; min-height:42px; }
 .main-nav__links a { min-height:38px; font-size:13px; }
}
@media (max-width:767px) {
 .site-header { border-radius:0; }
 .bydshop-header-layout { grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) 40px; grid-template-areas:"menu logo logo cart" "timer timer timer timer" "phones phones address address" "social social social social" "search search search search" "cta cta cta cta"; gap:9px 8px; padding:9px 12px 12px; }
 .topbar__actions { display:contents; }
 .topbar__account { display:none !important; }
 .main-nav__mobile-account { display:block; padding:8px 14px 4px; }
 .main-nav__mobile-account a { display:flex; align-items:center; gap:10px; min-height:42px; color:#fff; text-decoration:none; font-size:14px; font-weight:700; }
 .main-nav__mobile-account .topbar__account-icon { display:inline-flex; width:25px; height:27px; }
 .main-nav__mobile-account .topbar__account-icon svg { width:24px; height:24px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
 .topbar__actions .topbar__account-icon { display:inline-flex; }
 .bydshop-menu-toggle { grid-area:menu; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; justify-self:start; width:42px; height:46px; padding:3px 0; border:0; background:transparent; color:#fff; cursor:pointer; }
  .bydshop-menu-toggle__bars { display:flex; flex-direction:column; gap:5px; width:29px; }
  .bydshop-menu-toggle__bars i { display:block; width:29px; height:2px; border-radius:2px; background:#fff; }
  .bydshop-menu-toggle__label { color:#fff; font-size:9px; font-weight:400; line-height:1; letter-spacing:.12em; }
 .wordmark { justify-self:center; font-size:clamp(27px,8vw,35px); }
 .topbar__cart--header { justify-self:end; min-width:38px; }
  .topbar__cart--header { border-right:0 !important; padding-right:0 !important; margin-right:0 !important; }
 .topbar__actions { justify-self:end; gap:14px; }
 .topbar__actions .topbar__account-icon,.topbar__actions .topbar__cart-icon { display:inline-flex; }
 .topbar__actions .bydshop-cart-count { top:-7px; left:15px; }
 .topbar__actions a { font-size:0; }
 .topbar__account-icon,.topbar__cart-icon { width:26px; height:28px; }
 .bydshop-cart-count { top:-7px; left:15px; min-width:16px; height:16px; font-size:10px; }
 .bydshop-header-timer { display:grid; grid-template-columns:1fr 1fr; min-height:58px; padding:7px 14px; border-radius:16px; }
 .bydshop-header-timer__info { align-items:center; justify-self:stretch; }
 .bydshop-header-timer__status { font-size:16px; }
 .bydshop-header-timer__label { display:block; font-size:11px; }
 .bydshop-header-timer__digits { justify-self:stretch; padding-left:0; border-left:0; text-align:center; font-size:clamp(23px,7vw,31px); }
 .bydshop-header-timer__digits.is-open { color:#00FF3B; }
 .topbar__phone-stack { gap:4px; padding:5px 8px 5px 0; border-right:1px solid rgba(205,225,245,.35); }
 .topbar__phone { font-size:clamp(11px,3.5vw,14px); gap:5px; }
 .topbar__phone .icon { font-size:16px; }
 .topbar__address { padding:4px 0 4px 7px; border-left:0; border-right:0; font-size:clamp(11px,3.3vw,13px); white-space:normal; }
 .topbar__social { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
 .topbar__social-link { width:100%; max-width:none; }
 .topbar__social-link img { width:100%; height:auto; max-height:none; }
 .bydshop-header-search { height:46px; }
 .bydshop-header-search input[type=search] { font-size:13px; }
 .nav-cta { min-height:48px; width:100%; font-size:16px; }
 .main-nav { display:none; border-top:1px solid rgba(120,173,217,.38); }
 .main-nav.is-menu-open { display:block; }
 .main-nav__links { padding:5px 14px 12px; }
 .main-nav__links ul.menu { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .main-nav__links li { width:100%; }
 .main-nav__links a { width:100%; min-height:42px; padding:9px 4px; white-space:normal; border-bottom:1px solid rgba(255,255,255,.1); }
 .main-nav__links .sub-menu { position:static; display:block; min-width:0; padding:0 0 0 15px; border:0; border-radius:0; background:transparent; box-shadow:none; }
 .main-nav__links .sub-menu a { min-height:35px; font-size:13px; }
}
@media (max-width:360px) {
 .bydshop-header-layout { grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) 36px; grid-template-areas:"menu logo logo cart" "timer timer timer timer" "phones phones address address" "social social social social" "search search search search" "cta cta cta cta"; padding-left:8px; padding-right:8px; gap:8px 5px; }
 .topbar__phone { font-size:10px; }
 .topbar__address { font-size:10px; }
 .bydshop-header-timer { grid-template-columns:1fr 1fr; padding-left:9px; padding-right:9px; }
 .bydshop-header-timer__digits { font-size:22px; }
 .topbar__social { gap:3px; }
}

@media (min-width:768px) and (max-width:1024px) {
 .main-nav.is-menu-collapsed { display:none; }
}

/* Footer duplicates the same three branded contact buttons used in the header. */
.footer-social { display:flex; align-items:center; justify-content:flex-start; gap:clamp(7px,.8vw,14px); width:100%; margin-top:18px; margin-bottom:10px; }
.footer-social__link { display:block; flex:0 1 auto; min-width:0; max-width:210px; line-height:0; }
.footer-social__link picture { display:block; }
.footer-social__link img { display:block; width:auto; max-width:100%; height:clamp(34px,3.5vw,54px); object-fit:contain; }
@media (max-width:767px) {
  .footer-social { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin-top:18px; margin-bottom:10px; }
  .footer-social__link { width:100%; max-width:none; }
  .footer-social__link img { width:100%; height:auto; max-height:none; }
}

/* Desktop: center each top-row item inside its full grid cell.
   Dividers sit on cell edges, so spacing on both sides is symmetrical. */
@media (min-width:1025px) {
  .topbar__phone-stack,
  .topbar__address,
  .topbar__account,
  .topbar__cart--header {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    justify-self:stretch;
    margin:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
    border-right:1px solid rgba(205,225,245,.38);
  }
  .topbar__phone-stack {
    align-items:flex-start;
  }
  .topbar__phone {
    justify-content:flex-start;
  }
  .topbar__address,
  .topbar__account,
  .topbar__cart--header {
    justify-content:center;
    text-align:center;
  }
}

/* Cart counter is positioned relative to the icon itself at every breakpoint. */
.topbar__cart--header .topbar__cart-visual {
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
}
.topbar__cart--header .bydshop-cart-count {
  position:absolute;
  top:-5px;
  right:-5px;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  width:18px;
  min-width:18px;
  height:18px;
  padding:0;
  border:1px solid #fff;
  border-radius:50%;
  background:transparent;
  color:#fff;
  font-size:10px;
  font-weight:400;
  line-height:16px;
  text-align:center;
}

/* Keep compact desktop address inside its grid cell; override the shared desktop padding. */
@media (min-width:1025px) and (max-width:1200px) {
  .topbar__address {
    padding-left:4px !important;
    padding-right:4px !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}

/* At 1201–1300px, keep the address text wrapped within its own divider-bounded cell. */
@media (min-width:1201px) and (max-width:1300px) {
  .topbar__address {
    display:flex;
    flex-wrap:wrap;
    align-content:center;
    justify-content:center;
    align-items:center;
    gap:2px 4px;
    height:48px;
    min-height:48px;
    max-height:48px;
    padding-left:4px !important;
    padding-right:4px !important;
    margin:0 !important;
    font-size:11px;
    line-height:1.15;
    text-align:center;
    overflow:hidden;
  }
  .topbar__address > span:last-child {
    flex:0 1 100%;
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
    text-align:center;
  }
  .topbar__address .icon {
    flex:0 0 auto;
    font-size:17px;
  }
}


/* BYDSHOP BYD UFO CTA OVERRIDE */
.byd-ufo-cta {
  grid-area:service;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  width:100%;
  min-width:0;
  min-height:48px;
  padding:5px 12px;
  border:1px solid rgba(255,255,255,.28);
  border-left:4px solid #FF6900;
  border-radius:11px;
  background:linear-gradient(110deg,#111820,#202D38);
  color:#fff;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  transition:border-color .2s, background .2s, transform .2s;
}
.byd-ufo-cta:hover,.byd-ufo-cta:focus-visible {
  border-color:#FF6900;
  background:linear-gradient(110deg,#18232D,#263746);
  color:#fff;
}
.byd-ufo-cta__logo {
  display:flex;
  flex:0 0 68px;
  align-items:center;
  justify-content:center;
  width:68px;
  min-width:0;
}
.byd-ufo-cta__logo img {
  display:block;
  width:100%;
  height:auto;
  max-height:29px;
  object-fit:contain;
}
.byd-ufo-cta__copy {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.byd-ufo-cta__eyebrow {
  color:#FF6900;
  font-size:9px;
  font-weight:900;
  line-height:1.15;
  letter-spacing:.07em;
  white-space:nowrap;
}
.byd-ufo-cta__title {
  color:#fff;
  font-size:clamp(12px,.9vw,15px);
  font-weight:850;
  line-height:1.2;
  white-space:nowrap;
}
.byd-ufo-cta__arrow {
  flex:0 0 auto;
  margin-left:auto;
  color:#FF6900;
  font-size:26px;
  line-height:1;
}

@media (min-width:1201px) {
  .bydshop-header-layout {
    grid-template-areas:"phones address account cart social social social" "logo search search service service timer timer";
  }
}
@media (min-width:1025px) and (max-width:1200px) {
  .bydshop-header-layout {
    grid-template-columns:minmax(155px,1.15fr) minmax(135px,1fr) minmax(105px,.78fr) minmax(100px,.72fr) minmax(112px,.9fr) minmax(135px,1fr);
    grid-template-areas:"phones address account cart social social" "logo search search service service timer";
  }
}
@media (min-width:768px) and (max-width:1024px) {
  .bydshop-header-layout {
    grid-template-areas:"menu logo actions" "phones address social" "search timer service";
  }
  .byd-ufo-cta {
    min-height:44px;
    gap:5px;
    padding:4px 6px;
  }
  .byd-ufo-cta__logo { flex-basis:52px; width:52px; }
  .byd-ufo-cta__logo img { max-height:23px; }
  .byd-ufo-cta__eyebrow { font-size:8px; }
  .byd-ufo-cta__title { font-size:11px; }
}
@media (max-width:767px) {
  .bydshop-header-layout {
    grid-template-areas:"menu logo logo cart" "timer timer timer timer" "phones phones address address" "social social social social" "search search search search" "service service service service";
  }
  .byd-ufo-cta {
    min-height:48px;
    justify-content:center;
    gap:12px;
    padding:5px 14px;
  }
  .byd-ufo-cta__logo { flex-basis:78px; width:78px; }
  .byd-ufo-cta__logo img { max-height:31px; }
  .byd-ufo-cta__eyebrow { font-size:10px; }
  .byd-ufo-cta__title { font-size:14px; }
}
@media (max-width:360px) {
  .bydshop-header-layout {
    grid-template-areas:"menu logo logo cart" "timer timer timer timer" "phones phones address address" "social social social social" "search search search search" "service service service service";
  }
  .byd-ufo-cta { gap:8px; padding-left:9px; padding-right:9px; }
  .byd-ufo-cta__logo { flex-basis:66px; width:66px; }
  .byd-ufo-cta__title { font-size:13px; }
}

/* BYD UFO CTA — larger logo and lighter typography */
.byd-ufo-cta {
  min-height:56px;
  padding-top:6px;
  padding-bottom:6px;
}
.byd-ufo-cta__logo {
  flex:0 0 100px;
  width:100px;
}
.byd-ufo-cta__logo img {
  max-height:40px;
}
.byd-ufo-cta__eyebrow {
  font-size:11px;
  font-weight:500;
  letter-spacing:.04em;
}
.byd-ufo-cta__title {
  font-size:17px;
  font-weight:500;
}
@media (min-width:768px) and (max-width:1024px) {
  .byd-ufo-cta__logo {
    flex-basis:76px;
    width:76px;
  }
  .byd-ufo-cta__logo img { max-height:32px; }
  .byd-ufo-cta__eyebrow { font-size:10px; }
  .byd-ufo-cta__title { font-size:14px; }
}
@media (max-width:767px) {
  .byd-ufo-cta {
    min-height:56px;
    gap:12px;
  }
  .byd-ufo-cta__logo {
    flex-basis:100px;
    width:100px;
  }
  .byd-ufo-cta__logo img { max-height:40px; }
  .byd-ufo-cta__eyebrow { font-size:11px; }
  .byd-ufo-cta__title { font-size:16px; }
}
@media (max-width:360px) {
  .byd-ufo-cta__logo {
    flex-basis:88px;
    width:88px;
  }
  .byd-ufo-cta__title { font-size:15px; }
}

/* BYD UFO CTA — remove vertical padding, preserve compact height */
.byd-ufo-cta {
  min-height:48px;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
@media (min-width:768px) and (max-width:1024px) {
  .byd-ufo-cta { min-height:44px; }
}
@media (max-width:767px) {
  .byd-ufo-cta { min-height:48px; }
}
