/* ==========================================================================
   Homepage theme (Biba-style) — used only by shop/layout/biba.php
   ========================================================================== */

:root {
  --bb-ink: #1c1c1c;
  --bb-soft: #555;
  --bb-muted: #8a8a8a;
  --bb-line: #e5e5e5;
  --bb-line-2: #f2f2f2;
  --bb-bg: #fff;
  --bb-bg-soft: #f7f5f3;
  --bb-wine: #7d1d34;
  --bb-wine-dark: #5f1526;
  --bb-gold: #b08d3f;
  --bb-max: 1600px;
  --bb-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --bb-serif: "Cormorant Garamond", Georgia, serif;
}

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

body.bb {
  margin: 0;
  font-family: var(--bb-sans);
  color: var(--bb-ink);
  background: var(--bb-bg);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Element-level resets stay at low specificity so component classes win. */
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }

.bb-wrap { max-width: var(--bb-max); margin: 0 auto; padding: 0 28px; }

.bb-icon {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.bb-icon-sm { width: 16px; height: 16px; }

/* ==========================================================================
   Promo bar
   ========================================================================== */

.bb-promo {
  background: var(--bb-wine);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  font-weight: 400;
}

/* ==========================================================================
   Header
   ========================================================================== */

.bb-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  border-bottom: 1px solid var(--bb-line);
}

.bb-utility {
  border-bottom: 1px solid var(--bb-line-2);
  font-size: 12px;
  color: var(--bb-soft);
}

.bb-utility .bb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.bb-ship {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  cursor: pointer;
}
.bb-ship .bb-icon { width: 15px; height: 15px; }
.bb-ship-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--bb-line);
  min-width: 190px;
  padding: 6px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s;
  z-index: 30;
}
.bb-ship:hover .bb-ship-list { opacity: 1; visibility: visible; transform: translateY(0); }
.bb-ship-list a { display: block; padding: 7px 14px; font-size: 12.5px; }
.bb-ship-list a:hover { background: var(--bb-bg-soft); }

.bb-utility-right { display: flex; align-items: center; gap: 20px; }
.bb-utility-right a:hover { color: var(--bb-wine); }

.bb-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
  position: relative;
}

.bb-burger {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  color: var(--bb-ink);
  line-height: 1;
  border-radius: 4px;
  flex: 0 0 auto;
}
.bb-burger:hover {
  background: var(--bb-bg-soft);
}
.bb-burger .bb-icon {
  width: 24px;
  height: 24px;
}

.bb-logo {
  font-family: var(--bb-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bb-ink);
  flex: 0 1 auto;
  min-width: 0;
}
.bb-logo span { color: var(--bb-wine); }
.bb-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.bb-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.bb-search {
  flex: 1 1 auto;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  min-width: 140px;
}
.bb-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--bb-line);
  border-radius: 2px;
  background: #fbfafa;
  padding: 0 14px 0 42px;
  font-size: 13px;
  outline: none;
  transition: 0.16s;
}
.bb-search input:focus { border-color: var(--bb-ink); background: #fff; }
.bb-search .bb-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bb-muted);
  width: 17px; height: 17px;
}

.bb-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: 0 0 auto;
}

.bb-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 10px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bb-soft);
  position: relative;
  transition: 0.16s;
  text-decoration: none;
  border-radius: 4px;
  flex: 0 0 auto;
}
.bb-act:hover { color: var(--bb-wine); }
.bb-act .bb-icon { width: 21px; height: 21px; }

.bb-badge {
  position: absolute;
  top: 1px;
  right: 5px;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bb-wine);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* ==========================================================================
   Nav + mega menu
   ========================================================================== */

.bb-nav { border-top: 1px solid var(--bb-line-2); background: #fff; }

.bb-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.bb-nav-item { position: static; }

.bb-nav-item > a {
  display: block;
  padding: 13px 14px;
  font-size: 11.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bb-ink);
  position: relative;
  white-space: nowrap;
}
.bb-nav-item > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 1px;
  background: var(--bb-wine);
  transform: scaleX(0);
  transition: transform 0.22s;
}
.bb-nav-item:hover > a { color: var(--bb-wine); }
.bb-nav-item:hover > a::after { transform: scaleX(1); }
.bb-nav-item.is-sale > a { color: var(--bb-wine); font-weight: 600; }

.bb-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--bb-line);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s;
  z-index: 90;
}
.bb-nav-item:hover .bb-mega { opacity: 1; visibility: visible; transform: translateY(0); }

.bb-mega-inner {
  max-width: var(--bb-max);
  margin: 0 auto;
  padding: 30px 28px 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 300px;
  gap: 34px;
}

.bb-mega-col h5 {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.bb-mega-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--bb-soft);
  transition: 0.14s;
}
.bb-mega-col a:hover { color: var(--bb-wine); padding-left: 4px; }
.bb-mega-col a.bb-shop-all { color: var(--bb-ink); font-weight: 500; }

.bb-mega-media { overflow: hidden; border-radius: 2px; }
.bb-mega-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s;
}
.bb-mega-media:hover img { transform: scale(1.05); }

/* ==========================================================================
   Hero carousel
   ========================================================================== */

.bb-hero { position: relative; overflow: hidden; background: var(--bb-bg-soft); }

.bb-hero-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}

.bb-hero-slide { min-width: 100%; position: relative; }

.bb-hero-slide img {
  width: 100%;
  aspect-ratio: 1440 / 700;
  object-fit: cover;
}

.bb-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: 0.22s;
  z-index: 3;
}
.bb-hero:hover .bb-hero-arrow { opacity: 1; }
.bb-hero-arrow:hover { background: #fff; }
.bb-hero-arrow.prev { left: 22px; }
.bb-hero-arrow.next { right: 22px; }

.bb-hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.bb-hero-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: 0.22s;
}
.bb-hero-dots button.active { background: #fff; width: 26px; border-radius: 5px; }

/* ==========================================================================
   Section shell
   ========================================================================== */

.bb-section { padding: 52px 0; }
.bb-section.tight { padding: 34px 0; }
.bb-section.soft { background: var(--bb-bg-soft); }

.bb-head { text-align: center; margin-bottom: 30px; }
.bb-head h2 {
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.bb-head p { margin: 8px 0 0; color: var(--bb-muted); font-size: 13px; }
.bb-head .bb-rule {
  width: 54px; height: 1px;
  background: var(--bb-gold);
  margin: 12px auto 0;
}

/* ==========================================================================
   Category strip
   ========================================================================== */

.bb-cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.bb-cat {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  display: block;
}
.bb-cat img {
  width: 100%;
  height: auto;
  transition: transform 0.55s;
}
.bb-cat:hover img { transform: scale(1.06); }

/* ==========================================================================
   Product rail
   ========================================================================== */

.bb-rail-wrap { position: relative; }

.bb-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 16px) / 5);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.bb-rail::-webkit-scrollbar { display: none; }
.bb-rail > * { scroll-snap-align: start; }

.bb-rail-arrow {
  position: absolute;
  top: 34%;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--bb-line);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  z-index: 4;
  transition: 0.18s;
}
.bb-rail-arrow:hover { background: var(--bb-ink); color: #fff; border-color: var(--bb-ink); }
.bb-rail-arrow.prev { left: -14px; }
.bb-rail-arrow.next { right: -14px; }

.bb-tile { position: relative; }

.bb-tile-media {
  position: relative;
  overflow: hidden;
  background: var(--bb-bg-soft);
  border-radius: 2px;
}
.bb-tile-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.55s;
}
.bb-tile:hover .bb-tile-media img { transform: scale(1.05); }

.bb-tile-flag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--bb-wine);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.bb-tile-flag.dark { background: var(--bb-ink); }
.bb-tile-flag.gold { background: var(--bb-gold); color: #1c1c1c; }

.bb-wish {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  color: var(--bb-soft);
  transition: 0.18s;
  z-index: 2;
}
.bb-wish:hover { color: var(--bb-wine); transform: scale(1.08); }
.bb-wish.active { color: var(--bb-wine); }
.bb-wish.active .bb-icon { fill: var(--bb-wine); }

.bb-oos {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(28, 28, 28, 0.82);
  color: #fff;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px;
}

.bb-tile-body { padding: 12px 2px 0; text-align: center; }

.bb-tile-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--bb-soft);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bb-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.bb-price .was { color: var(--bb-muted); text-decoration: line-through; font-weight: 400; font-size: 12.5px; }
.bb-price .off { color: var(--bb-wine); font-weight: 600; font-size: 12px; }

.bb-stars { color: var(--bb-gold); font-size: 12px; letter-spacing: 1px; margin-top: 5px; }

/* ==========================================================================
   Wide banner
   ========================================================================== */

.bb-banner { display: block; overflow: hidden; }
.bb-banner img { width: 100%; object-fit: cover; transition: transform 0.6s; }
.bb-banner:hover img { transform: scale(1.02); }

/* ==========================================================================
   Shop by colour
   ========================================================================== */

.bb-color-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.bb-color { position: relative; overflow: hidden; border-radius: 2px; display: block; }
.bb-color img {
  width: 100%;
  height: auto;
  transition: transform 0.55s;
}
.bb-color:hover img { transform: scale(1.05); }

/* ==========================================================================
   Trust strip
   ========================================================================== */

.bb-trust {
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
  padding: 26px 0;
}
.bb-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.bb-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bb-trust-item .bb-icon { color: var(--bb-wine); width: 24px; height: 24px; }

/* ==========================================================================
   SEO copy
   ========================================================================== */

.bb-seo { padding: 40px 0 48px; }
.bb-seo h2 {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bb-seo-body {
  font-size: 13px;
  color: var(--bb-soft);
  line-height: 1.9;
  max-height: 78px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.bb-seo-body.open { max-height: 1200px; }
.bb-seo-toggle {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-wine);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.bb-footer { background: var(--bb-bg-soft); border-top: 1px solid var(--bb-line); }

.bb-foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 34px;
  padding: 46px 0 34px;
}

.bb-foot-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 600;
}
.bb-foot-col a, .bb-foot-col p {
  display: block;
  font-size: 12.5px;
  color: var(--bb-soft);
  line-height: 2.15;
  margin: 0;
}
.bb-foot-col a:hover { color: var(--bb-wine); }

.bb-news { display: flex; gap: 8px; margin: 12px 0 18px; max-width: 320px; }
.bb-news input {
  flex: 1;
  height: 40px;
  border: 1px solid var(--bb-line);
  background: #fff;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 2px;
  outline: none;
}
.bb-news input:focus { border-color: var(--bb-ink); }
.bb-news button {
  height: 40px;
  padding: 0 20px;
  background: var(--bb-ink);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: 0.18s;
}
.bb-news button:hover { background: var(--bb-wine); }

.bb-social { display: flex; gap: 10px; margin-top: 4px; }
.bb-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bb-soft);
  transition: 0.18s;
}
.bb-social a:hover { background: var(--bb-ink); color: #fff; border-color: var(--bb-ink); }

.bb-pay {
  border-top: 1px solid var(--bb-line);
  padding: 18px 0;
  text-align: center;
}
.bb-pay span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin-bottom: 12px;
}
.bb-pay img { max-height: 30px; width: auto; margin: 0 auto; }

.bb-foot-bottom {
  border-top: 1px solid var(--bb-line);
  padding: 18px 0 26px;
  text-align: center;
  font-size: 11.5px;
  color: var(--bb-muted);
  line-height: 1.9;
}
.bb-foot-bottom strong { display: block; color: var(--bb-soft); margin-top: 10px; font-weight: 600; }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */

.bb-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: #fff;
  z-index: 210;
  padding: 18px;
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden; /* offscreen alone still expands scroll area on mobile browsers */
  transition: transform 0.28s, visibility 0.28s;
}
.bb-drawer.open { transform: translateX(0); visibility: visible; }

.bb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: 0.22s;
}
.bb-backdrop.open { opacity: 1; visibility: visible; }

.bb-drawer a {
  display: block;
  padding: 11px 2px;
  border-bottom: 1px solid var(--bb-line-2);
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.bb-drawer .sub a {
  padding-left: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--bb-soft);
  border-bottom: none;
}

/* ==========================================================================
   Flash alerts
   ========================================================================== */

.bb-alert {
  padding: 11px 16px;
  border-radius: 2px;
  font-size: 13px;
  margin: 14px 0;
  border: 1px solid;
}
.bb-alert.success { background: #eefaf2; border-color: #bfe6ce; color: #17914e; }
.bb-alert.error { background: #fdeeed; border-color: #f3c8c5; color: #d0342c; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
  .bb-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .bb-cat-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .bb-nav { display: none; }
  .bb-burger { display: grid; place-items: center; }
  .bb-main { height: 68px; gap: 14px; }
  .bb-logo { font-size: 24px; gap: 8px; }
  .bb-logo-img { width: 42px; height: 42px; }
  .bb-search { max-width: 340px; }
  .bb-act { padding: 6px 8px; font-size: 10px; }
  .bb-foot-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
}

@media (max-width: 860px) {
  .bb-utility { display: none; }
  .bb-act span { display: none; }
  .bb-act { padding: 6px 8px; min-width: 36px; height: 38px; }
  .bb-search { max-width: 220px; }
}

@media (max-width: 768px) {
  .bb-wrap { padding: 0 12px; }
  .bb-utility { display: none; }
  .bb-promo { font-size: 11px; padding: 7px 10px; line-height: 1.35; }
  .bb-main { height: 58px; gap: 8px; justify-content: space-between; }
  .bb-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    flex: 0 0 32px;
  }
  .bb-burger .bb-icon { width: 20px; height: 20px; }
  .bb-search { display: none; }

  /* Logo: BOTH image and brand text side-by-side */
  .bb-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    flex: 0 1 auto;
    min-width: 0;
  }
  .bb-logo-img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .bb-logo-text {
    font-size: 16px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  /* Actions on right: compact & never overflowing */
  .bb-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .bb-act {
    padding: 4px;
    min-width: 30px;
    height: 32px;
    flex: 0 0 30px;
    justify-content: center;
  }
  .bb-act span { display: none; }
  .bb-act .bb-icon { width: 19px; height: 19px; }
  .bb-badge {
    top: 0;
    right: 0;
    min-width: 15px;
    height: 15px;
    font-size: 9px;
  }

  .bb-hero-slide img { aspect-ratio: 800 / 1000; }
  .bb-cat-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bb-color-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bb-rail { grid-auto-columns: 47%; gap: 10px; }
  .bb-rail-arrow { display: none; }
  .bb-trust-row { grid-template-columns: 1fr; gap: 14px; }
  /* Mobile: two-column footer — newsletter/social spans the full row */
  .bb-foot-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; padding: 32px 0 24px; }
  .bb-foot-col:last-child { grid-column: 1 / -1; }
  .bb-head h2 { font-size: 16px; }
  .bb-section { padding: 30px 0; }
}

@media (max-width: 480px) {
  .bb-wrap { padding: 0 8px; }
  .bb-main { gap: 6px; height: 56px; }
  .bb-burger { width: 30px; height: 30px; flex: 0 0 30px; }
  .bb-burger .bb-icon { width: 19px; height: 19px; }

  /* Both image and brand name fit harmoniously on compact phones */
  .bb-logo { gap: 5px; }
  .bb-logo-img { width: 30px; height: 30px; flex: 0 0 30px; }
  .bb-logo-text { font-size: 14.5px; letter-spacing: 0.02em; gap: 3px; }

  .bb-actions { gap: 1px; }
  .bb-act { min-width: 28px; height: 30px; flex: 0 0 28px; padding: 3px; }
  .bb-act .bb-icon { width: 18px; height: 18px; }
  .bb-promo { font-size: 10px; padding: 6px 6px; }
}

@media (max-width: 360px) {
  .bb-wrap { padding: 0 6px; }
  .bb-main { gap: 4px; }
  .bb-burger { width: 28px; height: 28px; flex: 0 0 28px; }
  .bb-burger .bb-icon { width: 18px; height: 18px; }
  .bb-logo-img { width: 28px; height: 28px; flex: 0 0 28px; }
  .bb-logo-text { font-size: 13.5px; letter-spacing: 0.01em; }
  .bb-act { min-width: 26px; height: 28px; flex: 0 0 26px; padding: 2px; }
  .bb-act .bb-icon { width: 17px; height: 17px; }
}
