/* ==========================================================================



   BABOI Store: child theme styles

   ========================================================================== */

:root {
  --ivory: #e3dac9; --blue: #1d507b; --orange: #e76940;



  --bg: #e3dac9; --surface: #efe9db; --sand: #d6cab4; --mist: #b9c9d6; --peach: #f2c0aa;



  --fg: #12293d; --muted: #566b7d; --line: rgba(18, 41, 61, .14);



  --accent: #e76940; --on-accent: #0b1f33; --brand: #1d507b; --on-brand: #e3dac9;



  --display: "Unbounded", "Arial Black", Arial, sans-serif;



  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;



  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;



  --r: 28px;



}







/* ---- base: beat the parent theme's body / link / heading styles ---- */



html { scroll-behavior: smooth; scroll-padding-top: 96px; }



body.baboi {



  margin: 0;



  background: var(--bg);



  color: var(--fg);



  font-family: var(--body);



  font-size: 16px;



  line-height: 1.55;



  padding-inline: max(16px, env(safe-area-inset-left, 0px));



  padding-block: 0;



  -webkit-font-smoothing: antialiased;



}



body.baboi *, body.baboi *::before, body.baboi *::after { box-sizing: border-box; }



body.baboi.bb-lock { overflow: hidden; }



body.baboi button { font: inherit; color: inherit; cursor: pointer; }



body.baboi a { color: inherit; }



body.baboi :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }



body.baboi img { max-width: 100%; height: auto; }



body.baboi h1, body.baboi h2, body.baboi h3, body.baboi h4 { color: inherit; }



body.baboi::before {



  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);



}



.bb-wrap { max-width: 1120px; margin-inline: auto; }



.bb-mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }



.bb-eyebrow { color: var(--muted); }







/* ---- floating pill header ---- */



.bb-top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 50; max-width: 1120px; margin: 10px auto 0; }



.bb-bar {



  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 8px; gap: 8px;



  background: rgba(239, 233, 219, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);



  border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 6px 24px rgba(18, 41, 61, .08);



}



.bb-brand { display: block; text-decoration: none; }



body.baboi img.bb-logo { height: 40px; width: auto; max-width: none; display: block; }



.bb-logo-text { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 1.4rem; color: var(--blue); }



.bb-icons { display: flex; justify-content: flex-end; gap: 2px; }



.bb-ib {



  position: relative; width: 44px; height: 44px; display: grid; place-items: center;



  background: none; border: 0; border-radius: 50%; padding: 0; color: var(--fg); text-decoration: none;



}



.bb-ib:hover { background: var(--sand); }



.bb-ib svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }



.bb-badge {



  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;



  background: var(--accent); color: var(--on-accent); font: 600 .7rem/19px var(--body); text-align: center;



}



.bb-badge[hidden] { display: none; }







/* ---- bento hero ---- */



.bb-bento {



  display: grid; grid-template-columns: 1.5fr 1fr 1fr;



  grid-template-areas: "main art art" "main n1 n2"; gap: 14px; margin-top: 14px;



}



.bb-tile { position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; min-width: 0; }



.bb-t-main {



  grid-area: main; background: var(--blue); color: var(--ivory); min-height: 540px;



  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;



}



.bb-t-main::after {



  content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: var(--orange);



}



.bb-t-main > * { position: relative; z-index: 1; }



body.baboi img.bb-mlogo { height: 46px; width: auto; max-width: none; align-self: flex-start; }



.bb-t-main h1 {



  margin: 10px 0 14px; font-family: var(--display); font-weight: 700;



  font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; color: var(--ivory);



}



.bb-t-main h1 em { font-style: normal; color: var(--orange); }



.bb-t-main p { margin: 0 0 22px; max-width: 32ch; font-size: 1.08rem; opacity: .92; }



.bb-btns { display: flex; gap: 10px; flex-wrap: wrap; }



.bb-cta {



  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--on-accent);



  border: 0; padding: 14px 24px; font-weight: 700; text-decoration: none; border-radius: 99px; transition: transform .15s, background .15s;



}



body.baboi a.bb-cta { color: var(--on-accent); }



.bb-cta:hover { transform: translateY(-2px); background: #f07a54; }



.bb-ghost {



  display: inline-flex; align-items: center; padding: 14px 20px; border: 1.5px solid var(--ivory); border-radius: 99px;



  text-decoration: none; font-weight: 600; background: transparent;



}



body.baboi a.bb-ghost { color: var(--ivory); }



.bb-ghost:hover { background: rgba(227, 218, 201, .16); }







.bb-t-art { grid-area: art; background: var(--orange); min-height: 330px; }



.bb-hart { position: absolute; inset: 0; }



.bb-hart > div { position: absolute; transition: transform .35s; }



.bb-hart svg { width: 100%; height: auto; display: block; }



.bb-g1 { left: 50%; top: 50%; width: min(44%, 280px); transform: translate(-50%, -50%) rotate(-7deg); }



.bb-g2 { left: 7%; bottom: 6%; width: 22%; transform: rotate(9deg); }



.bb-g3 { right: 7%; bottom: 8%; width: 20%; transform: rotate(-5deg); }



.bb-t-art:hover .bb-g1 { transform: translate(-50%, -52%) rotate(-3deg); }



.bb-t-art:hover .bb-g2 { transform: rotate(4deg) translateY(-6px); }



.bb-t-art:hover .bb-g3 { transform: rotate(-1deg) translateY(-6px); }



.bb-spin { position: absolute; top: 18px; right: 18px; width: 108px; height: 108px; animation: bb-rot 16s linear infinite; }



@keyframes bb-rot { to { transform: rotate(360deg); } }



.bb-t-n1 { grid-area: n1; background: var(--sand); }



.bb-t-n2 { grid-area: n2; background: var(--mist); }



.bb-t-n1, .bb-t-n2 { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 190px; }



.bb-t-n1 strong, .bb-t-n2 strong { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.03em; }



.bb-t-n1 span, .bb-t-n2 span { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }







/* ---- giant outlined marquee ---- */



.bb-big { overflow: hidden; margin-top: 36px; white-space: nowrap; user-select: none; }



.bb-track { display: inline-flex; animation: bb-tick 45s linear infinite; }



.bb-big span {



  font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 13vw, 9.5rem); line-height: 1.05;



  color: transparent; -webkit-text-stroke: 2px var(--blue); padding-right: .35em;



}



.bb-big .bb-dot { color: var(--orange); -webkit-text-stroke: 0; }



@keyframes bb-tick { to { transform: translateX(-50%); } }







/* ---- collection ---- */



.bb-shop { padding-block: 56px 24px; }



.bb-shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 24px; margin-bottom: 20px; }



.bb-shop-head h2, .bb-about h2, .bb-wcpage .page-title, .bb-wcpage h1.product_title {



  margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.05; letter-spacing: -.03em;



}



.bb-filters {



  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; align-items: center;



  margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line);



}



.bb-tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; }



.bb-tab {



  background: none; border: 0; border-bottom: 3px solid transparent; padding: 6px 0;



  font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--muted);



}



.bb-tab:hover { color: var(--fg); }



.bb-tab[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--accent); }



.bb-sizes-f { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }



.bb-sizes-f .bb-mono { color: var(--muted); margin-right: 4px; }



.bb-sdot { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; font: 500 .78rem var(--mono); padding: 0; }



.bb-sdot:hover { border-color: var(--fg); }



.bb-sdot[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }







/* product grid: forced over WooCommerce's float / % width rules */



body.baboi ul.products,



body.baboi.woocommerce ul.products,



body.baboi.woocommerce-page ul.products {



  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 30px 18px;



  list-style: none; margin: 0 0 24px !important; padding: 0 !important; float: none; width: 100%;



}



body.baboi ul.products::before, body.baboi ul.products::after { display: none !important; content: none !important; }



body.baboi ul.products li.bb-card,



body.baboi.woocommerce ul.products li.product,



body.baboi.woocommerce-page ul.products li.product {



  display: flex; flex-direction: column; gap: 12px; min-width: 0; width: auto !important; float: none !important;



  margin: 0 !important; padding: 0; background: none; border: 0; text-align: left;



}



.bb-card[hidden] { display: none !important; }



.bb-artwrap { position: relative; }



.bb-art {



  aspect-ratio: 4 / 5; border-radius: var(--r); display: grid; place-items: center; position: relative;



  max-width: 100%; overflow: hidden; width: 100%; background: var(--sand); text-decoration: none;



}



.bb-card:nth-child(6n+1) .bb-art { background: var(--peach); }



.bb-card:nth-child(6n+2) .bb-art { background: var(--sand); }



.bb-card:nth-child(6n+3) .bb-art { background: var(--blue); }



.bb-card:nth-child(6n+4) .bb-art { background: var(--blue); }



.bb-card:nth-child(6n+5) .bb-art { background: var(--orange); }



.bb-card:nth-child(6n)   .bb-art { background: var(--mist); }



.bb-art svg { width: 72%; height: auto; transition: transform .35s; }



.bb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .35s; }



.bb-card:hover .bb-art svg { transform: scale(1.07) rotate(-3deg); }



.bb-card:hover .bb-art img { transform: scale(1.04); }



.bb-tag {



  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--bg); color: var(--fg); padding: 4px 11px; border-radius: 99px;



  font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase;



}



body.baboi a.bb-plus, body.baboi a.bb-plus.button {



  position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 44px; height: 44px; min-width: 0; padding: 0; margin: 0;



  border-radius: 50%; background: var(--bg); color: var(--fg); display: grid; place-items: center;



  font: 500 1.5rem/1 var(--body); text-decoration: none; border: 0; transition: background .2s, transform .2s;



}



.bb-card:hover a.bb-plus { background: var(--accent); color: var(--on-accent); transform: rotate(90deg); }



a.bb-plus.loading { opacity: .6; pointer-events: none; }



a.bb-plus.added { background: var(--accent); color: var(--on-accent); }



.bb-card .added_to_cart { display: none !important; }



.bb-info { display: grid; gap: 2px; }



.bb-info h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: .98rem; line-height: 1.25; letter-spacing: -.01em; }



.bb-info h3 a { text-decoration: none; }



.bb-info h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }



.bb-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }



.bb-price { font-family: var(--mono); font-weight: 500; white-space: nowrap; font-size: .95rem; }



.bb-price ins { background: none; text-decoration: none; }



.bb-price del { opacity: .5; margin-right: 4px; }



.bb-cat { color: var(--muted); font-size: .9rem; }



.bb-empty { grid-column: 1 / -1; padding: 48px 16px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); margin: 0 0 24px; }



.bb-empty[hidden] { display: none; }



.bb-more { text-align: center; margin: 12px 0 0; }







/* ---- about ---- */



.bb-about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; padding-block: 72px; align-items: center; }



.bb-poster { border-radius: 32px; aspect-ratio: 3 / 4; max-width: 100%; display: block; width: 100%; }



.bb-about-copy { display: grid; gap: 18px; max-width: 60ch; }



.bb-about-copy h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.15; }



.bb-about-copy p { margin: 0; font-size: 1.05rem; }



.bb-fit { border-collapse: collapse; width: 100%; max-width: 440px; font-family: var(--mono); font-size: .85rem; background: var(--surface); }



.bb-fit caption { text-align: left; padding-bottom: 8px; }



.bb-fit th, .bb-fit td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }



.bb-fit th { font-weight: 500; color: var(--muted); }



.bb-fit tr:last-child td { border-bottom: 0; }



.bb-tablewrap { overflow-x: auto; }



.bb-fit thead th:first-child { border-top-left-radius: 16px; } .bb-fit tbody tr:last-child td:last-child { border-bottom-right-radius: 16px; }







/* ---- footer ---- */



.bb-footer {



  background: var(--blue); color: var(--ivory); margin-top: 0;



  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));



  padding: 52px max(16px, env(safe-area-inset-left, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));



  border-radius: 36px 36px 0 0;



}



.bb-foot { max-width: 1120px; margin-inline: auto; display: grid; gap: 36px; }



.bb-fcols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }



.bb-tagline { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; max-width: 18ch; }



.bb-fcols h4 { margin: 0 0 12px; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; color: var(--ivory); }



.bb-fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }



body.baboi .bb-fcols a { text-decoration: none; color: var(--ivory); }



body.baboi .bb-fcols a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }



body.baboi img.bb-biglogo { width: 100%; height: auto; display: block; opacity: .96; }



.bb-copy { border-top: 1px solid rgba(227, 218, 201, .25); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; opacity: .8;



  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }



.bb-note { color: var(--muted); font-size: .9rem; margin: 0; }







/* ---- drawers & overlays ---- */



.bb-scrim { position: fixed; inset: 0; background: rgba(8, 20, 32, .5); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .2s; }



.bb-scrim.bb-open { opacity: 1; visibility: visible; }



.bb-drawer {



  position: fixed; top: 0; bottom: 0; z-index: 80; width: min(390px, 92vw); background: var(--bg);



  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));



  display: flex; flex-direction: column; gap: 22px; overflow-y: auto;



  transition: transform .25s, visibility .25s; visibility: hidden; box-shadow: 0 0 40px rgba(8, 20, 32, .25);



}



.bb-drawer.bb-left { left: 0; transform: translateX(-105%); border-radius: 0 24px 24px 0; }



.bb-drawer.bb-right { right: 0; transform: translateX(105%); border-radius: 24px 0 0 24px; }



.bb-drawer.bb-open { transform: none; visibility: visible; }



.bb-dhead { display: flex; justify-content: space-between; align-items: center; }



.bb-dhead h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }



.bb-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }



body.baboi .bb-cats a {



  width: 100%; text-align: left; padding: 13px 14px; font-family: var(--display); font-weight: 700; font-size: 1.35rem;



  display: flex; justify-content: space-between; border-radius: 12px; text-decoration: none;



}



.bb-cats a:hover { background: var(--sand); }



.bb-n { font: 400 .8rem var(--mono); align-self: center; opacity: .8; }







.bb-search {



  position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .2s;



  padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));



}



.bb-search.bb-open { opacity: 1; visibility: visible; }



.bb-search-in { max-width: 760px; width: 100%; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; min-height: 0; flex: 1; }



.bb-sbox { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--fg); padding-bottom: 8px; }



.bb-sbox input[type="search"] {



  flex: 1; min-width: 0; background: none; border: 0; box-shadow: none; color: inherit; padding: 0;



  font: 700 clamp(1.4rem, 5vw, 2.1rem) var(--display); outline: none; letter-spacing: -.01em;



}



.bb-sbox input::placeholder { color: var(--muted); opacity: .7; }







/* ---- WooCommerce mini-cart inside the drawer ---- */



.bb-drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }



.bb-drawer .woocommerce-mini-cart-item {



  position: relative; display: block; min-height: 76px; padding: 8px 8px 8px 88px; background: var(--surface); border-radius: 14px;



  font-family: var(--display); font-weight: 700; line-height: 1.15;



}



.bb-drawer .woocommerce-mini-cart-item a:not(.remove) { text-decoration: none; display: block; }



.bb-drawer .woocommerce-mini-cart-item img { position: absolute; left: 8px; top: 8px; width: 68px; height: 76px; object-fit: cover; border-radius: 10px; margin: 0; }



.bb-drawer .woocommerce-mini-cart-item a.remove {



  position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;



  color: var(--muted) !important; text-decoration: none; font-family: var(--body); font-size: 1.2rem; line-height: 1; background: none;



}



.bb-drawer .woocommerce-mini-cart-item a.remove:hover { background: var(--sand); color: var(--fg) !important; }



.bb-drawer .quantity { display: block; margin-top: 6px; font: 500 .9rem var(--mono); }



.bb-drawer .woocommerce-mini-cart__total {



  display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: 1.35rem;



  border-top: 1px solid var(--line); padding-top: 14px; margin: 18px 0 14px;



}



.bb-drawer .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }



body.baboi .bb-drawer .woocommerce-mini-cart__buttons a {



  display: flex; justify-content: center; padding: 14px 22px; border-radius: 99px; font-weight: 700; text-decoration: none;



  background: var(--fg); color: var(--bg); border: 0;



}



body.baboi .bb-drawer .woocommerce-mini-cart__buttons a.checkout { background: var(--accent); color: var(--on-accent); }



.bb-drawer .woocommerce-mini-cart__empty-message { color: var(--muted); }







/* ---- shop / single product pages (inside the BABOI shell) ---- */



.bb-wcpage { padding-block: 28px 56px; }



.bb-wcpage .woocommerce-breadcrumb { color: var(--muted); font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }



.bb-wcpage .woocommerce-breadcrumb a { color: var(--fg); text-decoration: none; }



.bb-wcpage .woocommerce-result-count { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }



.bb-wcpage .woocommerce-ordering select {



  background: var(--surface); border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 16px; font: inherit; color: var(--fg);



}



.bb-wcpage div.product div.images { border-radius: 32px; overflow: hidden; background: var(--sand); }



.bb-wcpage div.product .summary .price { font: 500 1.6rem var(--mono); color: var(--fg); }



body.baboi.woocommerce .single_add_to_cart_button, body.baboi.woocommerce #respond input#submit,



body.baboi .wc-block-components-button:not(.is-link) {



  background: var(--fg); color: var(--bg); border: 0; border-radius: 99px; padding: 14px 22px; font-weight: 700;



}



body.baboi.woocommerce .single_add_to_cart_button:hover { background: var(--accent); color: var(--on-accent); }



.bb-wcpage .quantity input.qty { border: 1.5px solid var(--line); border-radius: 99px; background: transparent; padding: 12px; }



.bb-wcpage .woocommerce-message, .bb-wcpage .woocommerce-info {



  background: var(--surface); border: 0; border-left: 4px solid var(--accent); border-radius: 12px; color: var(--fg);



}







/* ---- responsive ---- */



@media (max-width: 860px) {



  .bb-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "art art" "n1 n2"; }



  .bb-t-main { min-height: 460px; }



  .bb-t-art { min-height: 300px; }



}



@media (max-width: 760px) {



  .bb-about { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }



  .bb-poster { max-width: 280px; }



  .bb-fcols { grid-template-columns: 1fr 1fr; }



  .bb-fcols > div:first-child { grid-column: 1 / -1; }



}



@media (max-width: 560px) {



  body.baboi ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px; }



  .bb-info h3 { font-size: .86rem; }



  .bb-row { flex-direction: column; gap: 2px; }



  body.baboi img.bb-logo { height: 32px; }



  .bb-tile { padding: 22px; }



  .bb-shop { padding-block: 40px 16px; }



  .bb-tab { font-size: .9rem; }



  .bb-spin { width: 88px; height: 88px; }



  body.baboi .bb-cats a { font-size: 1.15rem; }



}



@media (prefers-reduced-motion: reduce) {



  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }



}


/* ==========================================================================
   BABOI responsive width, spacing and horizontal overflow correction
   ========================================================================== */

/* The page itself must occupy the full viewport. Gutters belong to content,
   not to the body, otherwise mobile browsers can create a right-side strip. */
html {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    overflow-x: hidden;
}

body.baboi {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    overflow-x: hidden;
    background: var(--bg);
}

/* Do not add a separate safe-area strip above the site. */
body.baboi::before {
    content: none !important;
    display: none !important;
}

/* Full-width site shell; do not clip fixed drawers inside this wrapper. */
body.baboi #baboi-site {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Desktop content width and balanced page gutters. */
body.baboi .bb-wrap,
body.baboi .bb-wcpage {
    width: min(1120px, calc(100% - 40px));
    max-width: 1120px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Floating header retains its sticky behaviour and original pill styling. */
body.baboi .bb-top {
    position: sticky;
    top: 10px;
    z-index: 50;
    width: min(1120px, calc(100% - 40px));
    max-width: 1120px;
    margin: 12px auto 0;
}

/* Keep a deliberate gap between the pill and the hero. */
body.baboi .bb-bento {
    width: 100%;
    min-width: 0;
    margin-top: 16px;
}

/* Ensure grid and flex children are allowed to shrink within the viewport. */
body.baboi .bb-tile,
body.baboi .bb-shop,
body.baboi .bb-about,
body.baboi .bb-about-copy,
body.baboi .bb-filters,
body.baboi .bb-bar {
    min-width: 0;
}

/* Footer spans the viewport without negative margins causing sideways scroll. */
body.baboi .bb-footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Tablet and mobile gutters. */
@media (max-width: 760px) {
    body.baboi .bb-wrap,
    body.baboi .bb-wcpage,
    body.baboi .bb-top {
        width: calc(100% - 28px);
    }

    body.baboi .bb-top {
        top: 8px;
        margin-top: 10px;
    }

    body.baboi .bb-bento {
        margin-top: 12px;
    }
}

/* Narrow phones. */
@media (max-width: 420px) {
    body.baboi .bb-wrap,
    body.baboi .bb-wcpage,
    body.baboi .bb-top {
        width: calc(100% - 24px);
    }

    body.baboi .bb-bar {
        grid-template-columns: 1fr auto 1fr;
        gap: 4px;
        padding-left: 6px;
        padding-right: 6px;
    }

    body.baboi .bb-icons {
        gap: 0;
    }

    body.baboi .bb-ib {
        width: 40px;
        height: 40px;
    }
}


/* ==========================================================================
   FINAL MOBILE TOP-GAP / BACKGROUND CORRECTION
   ========================================================================== */

/* Paint the document canvas beige so no white page area shows above the site. */
html,
body,
body.baboi {
    background: var(--bg, #e3dac9) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Establish a new formatting context to prevent the header margin collapsing
   outside the site wrapper. */
body.baboi #baboi-site {
    display: flow-root;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Keep the floating pill visually inset without an outer top margin. */
body.baboi .bb-top {
    position: sticky;
    top: 10px;
    width: min(1120px, calc(100% - 40px));
    max-width: 1120px;
    margin: 0 auto !important;
    padding-top: 10px;
    z-index: 50;
}

/* The visual gap belongs inside the header wrapper, not above the page. */
body.baboi .bb-bar {
    margin-top: 0 !important;
}

@media (max-width: 760px) {
    body.baboi .bb-top {
        width: calc(100% - 28px);
        padding-top: 8px;
        top: 8px;
    }
}

@media (max-width: 420px) {
    body.baboi .bb-top {
        width: calc(100% - 24px);
    }
}


/* =========================================
   BABOI LEFT-SIDE PRODUCT SEARCH DRAWER
========================================= */

body.baboi .bb-search {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(420px, 92vw);
    height: 100%;
    max-width: 100%;
    z-index: 90;

    display: flex;
    flex-direction: column;
    gap: 22px;

    padding: calc(24px + env(safe-area-inset-top, 0px)) 22px
             calc(24px + env(safe-area-inset-bottom, 0px));

    background: var(--bg);
    opacity: 1;
    visibility: hidden;
    transform: translateX(-105%);

    transition: transform .25s ease, visibility .25s ease;

    overflow-y: auto;
    overflow-x: hidden;

    border-radius: 0 24px 24px 0;
    box-shadow: 0 0 40px rgba(8, 20, 32, .25);
}

body.baboi .bb-search.bb-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

body.baboi .bb-search .bb-search-in {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    flex: 1;
}

body.baboi .bb-search .bb-sbox {
    width: 100%;
    flex-shrink: 0;
    margin: 0;
}

body.baboi .bb-search .bb-sbox input[type="search"] {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    padding: 8px 0;
    color: var(--fg);
    font: 600 1rem var(--body);
}

body.baboi .bb-search-results {
    width: 100%;
    min-width: 0;
    min-height: 100px;
    overflow-y: auto;
    margin-top: 18px;
}

body.baboi .bb-search-list {
    display: grid;
    gap: 12px;
}

body.baboi .bb-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 14px;
    background: var(--surface);
    text-decoration: none;
    color: var(--fg);
}

body.baboi .bb-search-thumb {
    display: block;
    width: 68px;
    height: 78px;
    flex: 0 0 68px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--sand);
}

body.baboi .bb-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.baboi .bb-search-details {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body.baboi .bb-search-details strong {
    font-family: var(--display);
    font-size: .85rem;
    line-height: 1.3;
}

body.baboi .bb-search-details > span {
    font-family: var(--mono);
    font-size: .85rem;
}

body.baboi .bb-search-item:hover {
    background: var(--sand);
}

@media (max-width: 480px) {
    body.baboi .bb-search {
        width: min(360px, 90vw);
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* =========================================
   BABOI — EDITORIAL SHOP PAGE
========================================= */

body.baboi #baboi-shop {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 90px;
    color: var(--fg);
}

/* Shop introduction */

body.baboi .bb-shop-hero {
    padding: 38px 0 30px;
}

body.baboi .bb-shop-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
}

body.baboi .bb-shop-hero h1 {
    margin: 0;
    max-width: 950px;
    font-family: var(--display);
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.075em;
}

body.baboi .bb-shop-hero h1 span {
    color: var(--orange);
}

body.baboi .bb-shop-intro-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-top: 30px;
}

body.baboi .bb-shop-intro-bottom p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

body.baboi .bb-shop-index {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .12em;
    color: var(--muted);
}

body.baboi .bb-shop-line {
    height: 1px;
    background: var(--line);
    margin-top: 34px;
}

/* Category navigation */

body.baboi .bb-shop-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 0 18px;
    border-bottom: 1px solid var(--line);
}

body.baboi .bb-shop-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
}

body.baboi .bb-shop-categories a {
    position: relative;
    padding: 8px 0;
    color: var(--muted);
    font-family: var(--display);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}

body.baboi .bb-shop-categories a:hover,
body.baboi .bb-shop-categories a.active {
    color: var(--fg);
}

body.baboi .bb-shop-categories a.active::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--orange);
}

body.baboi .bb-shop-filter-label {
    flex-shrink: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .15em;
}

/* Product section heading */

body.baboi .bb-shop-products {
    padding-top: 54px;
}

body.baboi .bb-shop-products-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 26px;
}

body.baboi .bb-shop-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.baboi .bb-shop-products-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.05;
}

body.baboi .bb-shop-small-label {
    color: var(--muted);
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .12em;
}

/* Result count and sorting */

body.baboi #baboi-shop .woocommerce-before-shop-loop,
body.baboi #baboi-shop .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

body.baboi #baboi-shop .woocommerce-result-count {
    color: var(--muted);
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0;
}

body.baboi #baboi-shop .woocommerce-ordering {
    margin: 0 0 24px;
}

body.baboi #baboi-shop .woocommerce-ordering select {
    min-width: 210px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--surface);
    color: var(--fg);
    font-family: var(--body);
    font-size: .9rem;
}

/* Product grid */

body.baboi #baboi-shop ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px 20px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body.baboi #baboi-shop ul.products li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
    border: 0;
    float: none !important;
}

/* Product images */

body.baboi #baboi-shop ul.products li.product a img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin: 0 0 14px;
    border-radius: 24px;
    background: var(--sand);
    transition: transform .4s ease;
}

body.baboi #baboi-shop ul.products li.product:hover a img {
    transform: scale(1.025);
}

/* Product title */

body.baboi #baboi-shop ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    margin: 0 0 7px;
    color: var(--fg);
    font-family: var(--display);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Product price */

body.baboi #baboi-shop ul.products li.product .price {
    color: var(--fg);
    font-family: var(--mono);
    font-size: .9rem;
    font-weight: 500;
}

body.baboi #baboi-shop ul.products li.product .price del {
    color: var(--muted);
    opacity: .65;
}

body.baboi #baboi-shop ul.products li.product .price ins {
    background: none;
    text-decoration: none;
}

/* Sale badge */

body.baboi #baboi-shop ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    min-height: 0;
    min-width: 0;
    margin: 0;
    padding: 7px 12px;
    border: 0;
    border-radius: 99px;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--mono);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Add to cart button */

body.baboi #baboi-shop ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 10px;
    padding: 10px 18px;
    border: 0;
    border-radius: 99px;
    background: var(--orange);
    color: var(--on-accent);
    font-family: var(--body);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

body.baboi #baboi-shop ul.products li.product .button:hover {
    transform: translateY(-2px);
    background: #f07a54;
}

/* Pagination */

body.baboi #baboi-shop .woocommerce-pagination {
    margin-top: 55px;
}

body.baboi #baboi-shop .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    border: 0;
}

body.baboi #baboi-shop .woocommerce-pagination ul li {
    border: 0;
}

body.baboi #baboi-shop .woocommerce-pagination ul li a,
body.baboi #baboi-shop .woocommerce-pagination ul li span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--fg);
}

body.baboi #baboi-shop .woocommerce-pagination ul li span.current {
    background: var(--fg);
    color: var(--bg);
}

/* Responsive */

@media (max-width: 900px) {
    body.baboi #baboi-shop ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.baboi #baboi-shop {
        width: calc(100% - 28px);
        padding-top: 24px;
    }

    body.baboi .bb-shop-hero {
        padding-top: 28px;
    }

    body.baboi .bb-shop-hero-top {
        font-size: .58rem;
        margin-bottom: 26px;
    }

    body.baboi .bb-shop-hero h1 {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    body.baboi .bb-shop-intro-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    body.baboi .bb-shop-navigation {
        align-items: flex-start;
        flex-direction: column;
    }

    body.baboi .bb-shop-categories {
        gap: 8px 20px;
    }

    body.baboi .bb-shop-categories a.active::after {
        bottom: -7px;
    }

    body.baboi .bb-shop-small-label {
        display: none;
    }

    body.baboi .bb-shop-products {
        padding-top: 38px;
    }

    body.baboi #baboi-shop ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 12px;
    }

    body.baboi #baboi-shop ul.products li.product .woocommerce-loop-product__title {
        font-size: .78rem;
    }

    body.baboi #baboi-shop ul.products li.product .price {
        font-size: .78rem;
    }

    body.baboi #baboi-shop ul.products li.product .button {
        font-size: .72rem;
        padding: 9px 13px;
    }
}

/* =========================================
   BABOI — GLOBAL WOOCOMMERCE PAGE SPACING
========================================= */

/* Consistent page width for WooCommerce pages */
body.baboi .bb-wcpage {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;
    min-width: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 36px 0 80px !important;
}

/* Shop template: prevent double horizontal padding */
body.baboi #baboi-shop {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 34px 0 80px !important;
}



/* ==================================================
   BABOI: PRODUCT DETAIL PAGA================================================ */

html body.baboi.single-product {
    --bb-bg: #e3dac9;
    --bb-card: #f1ebdf;
    --bb-sand: #d6cab4;
    --bb-fg: #12293d;
    --bb-muted: #566b7d;
    --bb-line: rgba(18, 41, 61, .14);
    --bb-accent: #e76940;
    --bb-on-accent: #0b1f33;
    --bb-display: var(--display, "Unbounded", "Arial Black", Arial, sans-serif);
    --bb-body: var(--body, "Figtree", system-ui, sans-serif);
    --bb-mono: var(--mono, "DM Mono", ui-monospace, Menlo, monospace);
    --bb-radius: 32px;
    --bb-photo-ratio: 600 / 1030;   /* width / height of your product photos */
}

/* ---------- PAGE SPACING ---------- */
html body.baboi.single-product .bb-wcpage {
    padding-block: 20px 48px;
}

/* ---------- LAYOUT ---------- */
html body.baboi.single-product .bb-product-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas:
        "crumbs crumbs"
        "gallery info"
        "lower lower";
    align-items: start;
    gap: 20px 56px;
    width: 100%;
    margin: 0;
    padding: 0 !important;
}

html body.baboi.single-product .bb-product-layout > section,
html body.baboi.single-product .bb-product-layout > nav {
    margin: 0 !important;
}

/* ---------- BREADCRUMB ---------- */
html body.baboi.single-product .bb-crumbs {
    grid-area: crumbs;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
    color: var(--bb-muted);
    font-family: var(--bb-mono);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

html body.baboi.single-product .bb-crumbs a {
    color: var(--bb-fg);
    text-decoration: none;
}

html body.baboi.single-product .bb-crumbs a:hover {
    text-decoration: underline;
    text-decoration-color: var(--bb-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* ---------- GALLERY (custom swipe slider, rounded card) ---------- */

/* The column fills its whole grid row; only the inner card sticks,
   so it stops at the bottom of the row and never slides over Reviews. */
html body.baboi.single-product .bb-product-gallery {
    grid-area: gallery;
    position: relative;
    top: auto;
    align-self: stretch;
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
}

html body.baboi.single-product .bb-gallery {
    position: sticky;
    top: 96px;
    width: 100%;
}

html body.baboi.single-product .bb-g-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--bb-radius);
    background: var(--bb-sand);
    box-shadow:
        0 0 0 6px var(--bb-card),
        0 26px 44px -24px rgba(18, 41, 61, .55);
    isolation: isolate;
}

html body.baboi.single-product .bb-g-track {
    display: flex;
    align-items: stretch !important;
    height: auto !important;          /* beats any inline height a script sets */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    outline-offset: -4px;
    transition: none !important;
}

html body.baboi.single-product .bb-g-track::-webkit-scrollbar {
    display: none;
}

/* Every slide has the same shape, so the card never has gaps
   and never collapses while an image is still loading. */
html body.baboi.single-product .bb-g-slide {
    display: block !important;
    flex: 0 0 100%;
    align-self: stretch !important;
    aspect-ratio: var(--bb-photo-ratio);
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: var(--bb-sand) !important;
}

html body.baboi.single-product .bb-g-slide img,
html body.baboi.single-product img.bb-g-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;     /* crops about 2% at most, no gaps */
    object-position: 50% 30% !important;
    border-radius: 0;
}

/* Sale badge */
html body.baboi.single-product .bb-g-frame .onsale {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 7px 14px;
    border: 0;
    border-radius: 99px;
    background: var(--bb-accent);
    color: #fff;
    font-family: var(--bb-mono);
    font-size: .7rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px -6px rgba(231, 105, 64, .8);
}

/* Photo counter */
html body.baboi.single-product .bb-g-count {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(227, 218, 201, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--bb-fg);
    font-family: var(--bb-mono);
    font-size: .72rem;
    letter-spacing: .06em;
}

html body.baboi.single-product .bb-g-count b {
    font-weight: 500;
}

/* Arrows */
html body.baboi.single-product .bb-g-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: -22px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(241, 235, 223, .88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--bb-fg);
    box-shadow: 0 8px 18px -8px rgba(18, 41, 61, .6);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, opacity .15s ease;
}

html body.baboi.single-product .bb-g-prev { left: 14px; }
html body.baboi.single-product .bb-g-next { right: 14px; }

html body.baboi.single-product .bb-g-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html body.baboi.single-product .bb-g-arrow:hover:not(:disabled) {
    background: var(--bb-accent);
    color: var(--bb-on-accent);
}

html body.baboi.single-product .bb-g-arrow:disabled {
    opacity: .35;
    cursor: default;
}

/* Thumbnails: small glass pill on the bottom edge of the photo */
html body.baboi.single-product .bb-g-thumbs {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 5;
    display: flex;
    gap: 6px;
    max-width: calc(100% - 28px);
    padding: 6px;
    overflow-x: auto;
    border-radius: 99px;
    background: rgba(227, 218, 201, .78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
    scrollbar-width: none;
}

html body.baboi.single-product .bb-g-thumbs::-webkit-scrollbar {
    display: none;
}

html body.baboi.single-product .bb-g-thumb {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 50%;
    background: var(--bb-sand);
    cursor: pointer;
    opacity: .7;
    transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}

html body.baboi.single-product .bb-g-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 50%;
}

html body.baboi.single-product .bb-g-thumb:hover { opacity: 1; }

html body.baboi.single-product .bb-g-thumb.is-active {
    opacity: 1;
    border-color: var(--bb-accent);
    transform: scale(1.06);
}

/* If a plugin or the parent theme still prints WooCommerce's own slider, hide it */
html body.baboi.single-product .bb-product-gallery .woocommerce-product-gallery,
html body.baboi.single-product .bb-product-gallery > .onsale {
    display: none !important;
}

/* ---------- INFO COLUMN ---------- */
html body.baboi.single-product .bb-product-info {
    grid-area: info;
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 0 !important;
}

/* flex (not grid): rows can never stretch and open up blank gaps */
html body.baboi.single-product .bb-product-info .summary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 16px;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.baboi.single-product .bb-product-info .summary > * {
    margin: 0 !important;
}

/* WooCommerce / plugins leave empty boxes that still take up a gap */
html body.baboi.single-product .bb-product-info .summary > *:empty,
html body.baboi.single-product .bb-product-info p:empty,
html body.baboi.single-product .bb-product-info .woocommerce-variation:empty,
html body.baboi.single-product .bb-product-info .woocommerce-variation-description:empty,
html body.baboi.single-product .bb-product-info .woocommerce-variation-price:empty,
html body.baboi.single-product .bb-product-info .woocommerce-variation-availability:empty,
html body.baboi.single-product .bb-product-info .reset_variations[style*="hidden"] {
    display: none !important;
}

html body.baboi.single-product .bb-product-info br {
    display: none;
}

html body.baboi.single-product .bb-product-eyebrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: var(--bb-muted);
    font-family: var(--bb-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

html body.baboi.single-product .bb-product-status {
    padding: 4px 10px;
    border: 1.5px solid var(--bb-accent);
    border-radius: 99px;
    color: var(--bb-accent);
    white-space: nowrap;
}

html body.baboi.single-product .bb-product-info .product_title {
    margin: 0;
    color: var(--bb-fg);
    font-family: var(--bb-display);
    font-size: clamp(1.7rem, 5.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

html body.baboi.single-product .bb-product-info .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Price */
html body.baboi.single-product .bb-product-info .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    color: var(--bb-fg);
    font-family: var(--bb-mono);
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.2;
}

html body.baboi.single-product .bb-product-info .price del {
    order: 2;
    color: var(--bb-muted);
    font-size: 1.05rem;
    opacity: .8;
}

html body.baboi.single-product .bb-product-info .price ins {
    order: 1;
    text-decoration: none;
}

html body.baboi.single-product .bb-product-info .woocommerce-product-details__short-description {
    color: var(--bb-fg);
    font-family: var(--bb-body);
    font-size: 1.02rem;
    line-height: 1.6;
}

html body.baboi.single-product .bb-product-info .woocommerce-product-details__short-description p {
    margin: 0 0 8px;
}

html body.baboi.single-product .bb-product-info .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* variation form: one block, no stray padding */
html body.baboi.single-product .bb-product-info form.cart.variations_form,
html body.baboi.single-product .bb-product-info .single_variation_wrap {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

html body.baboi.single-product .bb-product-info table.variations,
html body.baboi.single-product .bb-product-info table.variations tbody {
    display: block;
}

html body.baboi.single-product .bb-product-info table.variations th.label {
    padding-bottom: 0 !important;
}

/* Tabs are replaced by the accordions */
html body.baboi.single-product .woocommerce-tabs,
html body.baboi.single-product .wc-tabs-wrapper {
    display: none !important;
}

/* ---------- SIZE SELECTOR ---------- */
html body.baboi.single-product .bb-product-info table.variations {
    width: 100%;
    margin: 0 !important;
    border: 0;
}

html body.baboi.single-product .bb-product-info table.variations tr,
html body.baboi.single-product .bb-product-info table.variations th,
html body.baboi.single-product .bb-product-info table.variations td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

html body.baboi.single-product .bb-product-info table.variations label {
    display: block;
    margin: 0 0 10px;
    color: var(--bb-muted);
    font-family: var(--bb-mono);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html body.baboi.single-product .bb-product-info table.variations td.value {
    position: relative;
}

html body.baboi.single-product .bb-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

html body.baboi.single-product .bb-product-info .bb-size-button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 52px;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1.5px solid var(--bb-line) !important;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: var(--bb-fg) !important;
    font-family: var(--bb-mono);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}

html body.baboi.single-product .bb-product-info .bb-size-button:hover:not(:disabled) {
    border-color: var(--bb-fg) !important;
    transform: translateY(-1px);
}

html body.baboi.single-product .bb-product-info .bb-size-button.is-selected {
    border-color: var(--bb-fg) !important;
    background: var(--bb-fg) !important;
    color: var(--bb-bg) !important;
}

html body.baboi.single-product .bb-product-info .bb-size-button:disabled {
    opacity: .3;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Hide the native dropdown (the buttons drive it) */
html body.baboi.single-product .bb-product-info table.variations td.value:has(.bb-variation-swatches) select,
html body.baboi.single-product .bb-product-info table.variations select.bb-native-variation-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html body.baboi.single-product .bb-product-info .reset_variations {
    display: inline-block;
    margin-top: 10px;
    color: var(--bb-muted);
    font-size: .8rem;
}

html body.baboi.single-product .bb-product-info .woocommerce-variation {
    margin-top: 10px;
}

/* ---------- ADD TO CART ---------- */
html body.baboi.single-product .bb-product-info form.cart,
html body.baboi.single-product .bb-product-info .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
}

html body.baboi.single-product .bb-product-info .quantity {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    margin: 0 !important;
    border: 1.5px solid var(--bb-line);
    border-radius: 99px;
    background: transparent;
}

html body.baboi.single-product .bb-product-info .quantity input.qty {
    width: 42px !important;
    height: 52px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--bb-fg);
    font-family: var(--bb-mono);
    font-size: 1rem;
    text-align: center;
}

html body.baboi.single-product .bb-product-info .quantity .minus,
html body.baboi.single-product .bb-product-info .quantity .plus,
html body.baboi.single-product .bb-product-info .quantity button {
    width: 44px;
    height: 52px;
    border: 0 !important;
    border-radius: 99px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--bb-fg) !important;
    font-size: 1.2rem;
}

html body.baboi.single-product .bb-product-info .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 160px;
    min-width: 0;
    min-height: 54px;
    margin: 0 !important;
    padding: 14px 22px !important;
    border: 0 !important;
    border-radius: 99px !important;
    background: var(--bb-fg) !important;
    box-shadow: none !important;
    color: var(--bb-bg) !important;
    font-family: var(--bb-display);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    transition: background .15s ease;
}

html body.baboi.single-product .bb-product-info .single_add_to_cart_button::after {
    content: "\2192";
    margin-left: 10px;
    transition: transform .2s ease;
}

html body.baboi.single-product .bb-product-info .single_add_to_cart_button:hover {
    background: var(--bb-accent) !important;
    color: var(--bb-on-accent) !important;
}

html body.baboi.single-product .bb-product-info .single_add_to_cart_button:hover::after {
    transform: translateX(4px);
}

html body.baboi.single-product .bb-product-info .single_add_to_cart_button.disabled,
html body.baboi.single-product .bb-product-info .single_add_to_cart_button:disabled,
html body.baboi.single-product .bb-product-info .single_add_to_cart_button.wc-variation-selection-needed {
    opacity: .4 !important;
    cursor: not-allowed;
}

/* ---------- SERVICE TILES ---------- */
html body.baboi.single-product .bb-service-notes {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

html body.baboi.single-product .bb-service-note {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 20px;
    background: var(--bb-card);
    color: var(--bb-fg);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.3;
}

html body.baboi.single-product .bb-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bb-bg);
    color: var(--bb-accent);
    font-size: .95rem;
}

/* Category/SKU already live in the accordion */
html body.baboi.single-product .bb-product-info .product_meta {
    display: none !important;
}

/* ---------- ACCORDIONS (one soft card) ---------- */
html body.baboi.single-product .bb-product-accordions {
    width: 100%;
    padding: 4px 20px;
    border: 0;
    border-radius: 24px;
    background: var(--bb-card);
}

html body.baboi.single-product .bb-product-accordion {
    border-bottom: 1px solid var(--bb-line) !important;
}

html body.baboi.single-product .bb-product-accordion:last-child {
    border-bottom: 0 !important;
}

html body.baboi.single-product .bb-product-accordion summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 !important;
    color: var(--bb-fg);
    font-family: var(--bb-body);
    font-size: 1rem;
    font-weight: 700;
    list-style: none !important;
    cursor: pointer;
}

html body.baboi.single-product .bb-product-accordion summary::-webkit-details-marker {
    display: none;
}

html body.baboi.single-product .bb-accordion-icon {
    display: none !important;
}

html body.baboi.single-product .bb-product-accordion summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bb-bg);
    font-family: var(--bb-mono);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1;
}

html body.baboi.single-product .bb-product-accordion[open] summary::after {
    content: "\2212";
    background: var(--bb-fg);
    color: var(--bb-bg);
}

html body.baboi.single-product .bb-accordion-content {
    padding: 0 0 18px !important;
    color: var(--bb-fg);
    font-size: .95rem;
    line-height: 1.65;
}

html body.baboi.single-product .bb-accordion-content p {
    margin: 0 0 8px;
}

html body.baboi.single-product .bb-accordion-content strong {
    color: var(--bb-muted);
    font-weight: 500;
}

html body.baboi.single-product .bb-accordion-content table.woocommerce-product-attributes {
    width: 100%;
    margin: 12px 0 0;
    border: 0;
    border-collapse: collapse;
    font-size: .92rem;
}

html body.baboi.single-product .bb-accordion-content table.woocommerce-product-attributes th,
html body.baboi.single-product .bb-accordion-content table.woocommerce-product-attributes td {
    padding: 6px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-style: normal;
}

html body.baboi.single-product .bb-accordion-content table.woocommerce-product-attributes th {
    width: 38%;
    color: var(--bb-muted);
    font-weight: 500;
}

html body.baboi.single-product .bb-accordion-content table.woocommerce-product-attributes td p {
    margin: 0;
}

/* ---------- LOWER AREA ---------- */
html body.baboi.single-product .bb-product-lower {
    grid-area: lower;
    position: relative;
    z-index: 3;                 /* always above the sticky photo */
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    margin-top: 16px !important;
    padding: 0 !important;
    border: 0;
}

html body.baboi.single-product .bb-product-lower > #reviews { order: 2; }
html body.baboi.single-product .bb-product-lower > .upsells { order: 3; }
html body.baboi.single-product .bb-product-lower > .related { order: 4; }

html body.baboi.single-product .bb-product-lower .woocommerce-tabs {
    display: none !important;
}

/* ---------- REVIEWS (soft card) ---------- */
html body.baboi.single-product #reviews {
    margin: 0 0 32px;
    padding: 26px;
    border-radius: 28px;
    background: var(--bb-card);
}

html body.baboi.single-product #reviews #comments,
html body.baboi.single-product #reviews #review_form_wrapper,
html body.baboi.single-product #reviews #review_form,
html body.baboi.single-product #reviews .comment-respond {
    margin: 0 !important;
    padding: 0 !important;
}

html body.baboi.single-product #reviews .woocommerce-Reviews-title,
html body.baboi.single-product #reviews h2 {
    margin: 0 0 12px;
    color: var(--bb-fg);
    font-family: var(--bb-display);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

html body.baboi.single-product #reviews .woocommerce-noreviews {
    margin: 0 0 6px;
    color: var(--bb-muted);
    font-size: .95rem;
}

html body.baboi.single-product #reviews .comment-reply-title {
    display: block;
    margin: 16px 0 10px;
    color: var(--bb-fg);
    font-family: var(--bb-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

html body.baboi.single-product #reviews form p {
    margin: 0 0 14px;
}

html body.baboi.single-product #reviews label {
    display: block;
    margin-bottom: 6px;
    color: var(--bb-muted);
    font-size: .88rem;
    font-weight: 500;
}

html body.baboi.single-product #reviews .comment-form-author,
html body.baboi.single-product #reviews .comment-form-email,
html body.baboi.single-product #reviews .comment-form-comment,
html body.baboi.single-product #reviews .comment-form-rating {
    float: none !important;
    width: 100% !important;
}

html body.baboi.single-product #reviews textarea,
html body.baboi.single-product #reviews input[type="text"],
html body.baboi.single-product #reviews input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1.5px solid var(--bb-line);
    border-radius: 14px;
    background: var(--bb-bg);
    box-shadow: none;
    color: var(--bb-fg);
    font: inherit;
}

html body.baboi.single-product #reviews textarea {
    min-height: 120px;
    resize: vertical;
}

html body.baboi.single-product #reviews textarea:focus,
html body.baboi.single-product #reviews input:focus {
    border-color: var(--bb-fg);
    outline: none;
}

html body.baboi.single-product #reviews p.stars a,
html body.baboi.single-product #reviews p.stars a::before,
html body.baboi.single-product #reviews .star-rating,
html body.baboi.single-product #reviews .star-rating span::before {
    color: var(--bb-accent) !important;
}

html body.baboi.single-product #reviews .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

html body.baboi.single-product #reviews .comment-form-cookies-consent input {
    margin-top: 4px;
}

html body.baboi.single-product #reviews .comment-form-cookies-consent label {
    margin: 0;
    font-size: .85rem;
}

html body.baboi.single-product #reviews input#submit,
html body.baboi.single-product #reviews .form-submit input[type="submit"] {
    min-height: 50px;
    padding: 0 32px;
    border: 0;
    border-radius: 99px;
    background: var(--bb-fg);
    color: var(--bb-bg);
    font-family: var(--bb-display);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

html body.baboi.single-product #reviews input#submit:hover {
    background: var(--bb-accent);
    color: var(--bb-on-accent);
}

/* strip boxes / borders the theme draws around the form */
html body.baboi.single-product #reviews #review_form_wrapper,
html body.baboi.single-product #reviews #review_form,
html body.baboi.single-product #reviews #respond,
html body.baboi.single-product #reviews .comment-respond {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.baboi.single-product #reviews .clear,
html body.baboi.single-product #reviews > br {
    display: none !important;
}

html body.baboi.single-product #reviews #comments {
    min-width: 0;
}

html body.baboi.single-product #reviews form.comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 0;
}

html body.baboi.single-product #reviews form.comment-form > * {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 !important;
}

html body.baboi.single-product #reviews form.comment-form > .comment-form-author,
html body.baboi.single-product #reviews form.comment-form > .comment-form-email {
    grid-column: auto;
}

html body.baboi.single-product #reviews .comment-notes,
html body.baboi.single-product #reviews .woocommerce-verification-required {
    color: var(--bb-muted);
    font-size: .88rem;
    line-height: 1.5;
}

html body.baboi.single-product #reviews .comment-form-rating label {
    margin-bottom: 8px;
}

html body.baboi.single-product #reviews p.stars {
    display: block;
    margin: 0 !important;
    font-size: 1.5rem;
    line-height: 1;
}

html body.baboi.single-product #reviews p.stars a {
    margin-right: 6px;
}

html body.baboi.single-product #reviews .comment-form-comment textarea {
    display: block;
    width: 100% !important;
    min-height: 150px;
    max-width: 100%;
}

html body.baboi.single-product #reviews .form-submit {
    margin-top: 4px !important;
}

html body.baboi.single-product #reviews .form-submit input#submit,
html body.baboi.single-product #reviews .form-submit input[type="submit"] {
    width: auto !important;
    min-width: 180px;
    float: none;
}

/* existing reviews list */
html body.baboi.single-product #reviews ol.commentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.baboi.single-product #reviews ol.commentlist li {
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--bb-line);
}

html body.baboi.single-product #reviews ol.commentlist li .comment_container {
    display: flex;
    gap: 14px;
}

html body.baboi.single-product #reviews ol.commentlist li img.avatar {
    position: static;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

html body.baboi.single-product #reviews ol.commentlist li .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* ---------- RELATED ---------- */
html body.baboi.single-product .bb-product-lower .related,
html body.baboi.single-product .bb-product-lower .upsells {
    margin: 0 0 24px;
}

html body.baboi.single-product .bb-product-lower .related:empty,
html body.baboi.single-product .bb-product-lower .upsells:empty {
    display: none;
}

html body.baboi.single-product .bb-product-lower .related > h2,
html body.baboi.single-product .bb-product-lower .upsells > h2 {
    margin: 0 0 20px;
    color: var(--bb-fg);
    font-family: var(--bb-display);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

html body.baboi.single-product .bb-product-lower ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
    margin: 0 !important;
    padding: 0 !important;
}

html body.baboi.single-product .bb-product-lower ul.products::before,
html body.baboi.single-product .bb-product-lower ul.products::after {
    display: none !important;
}

html body.baboi.single-product .bb-product-lower ul.products li.product {
    position: relative;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    text-align: left;
}

html body.baboi.single-product .bb-product-lower ul.products li.product img {
    display: block;
    width: 100%;
    margin: 0 0 12px !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 22%;
    border-radius: 26px;
    background: var(--bb-sand);
    transition: transform .3s ease;
}

html body.baboi.single-product .bb-product-lower ul.products li.product:hover img {
    transform: translateY(-3px);
}

html body.baboi.single-product .bb-product-lower ul.products .woocommerce-loop-product__title {
    padding: 0 !important;
    color: var(--bb-fg);
    font-family: var(--bb-display);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
}

html body.baboi.single-product .bb-product-lower ul.products .price {
    display: block;
    color: var(--bb-fg);
    font-family: var(--bb-mono);
    font-size: .92rem;
    font-weight: 500;
}

html body.baboi.single-product .bb-product-lower ul.products .price del {
    margin-right: 6px;
    color: var(--bb-muted);
}

html body.baboi.single-product .bb-product-lower ul.products .price ins {
    text-decoration: none;
}

html body.baboi.single-product .bb-product-lower ul.products .button,
html body.baboi.single-product .bb-product-lower ul.products .added_to_cart {
    display: none !important;
}

html body.baboi.single-product .bb-product-lower ul.products .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 2;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 4px 10px;
    border-radius: 99px;
    background: var(--bb-accent);
    color: #fff;
    font-family: var(--bb-mono);
    font-size: .64rem;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- LOCK: card surfaces can't be wiped by older patches ---------- */
html body.baboi.single-product .bb-service-note {
    background: var(--bb-card) !important;
    border-radius: 20px !important;
    padding: 14px 12px !important;
}
html body.baboi.single-product .bb-service-icon {
    background: var(--bb-bg) !important;
    border-radius: 50% !important;
}
html body.baboi.single-product .bb-product-accordions {
    background: var(--bb-card) !important;
    border-radius: 24px !important;
    padding: 4px 20px !important;
}
html body.baboi.single-product .bb-product-accordion summary::after {
    background: var(--bb-bg) !important;
    border-radius: 50% !important;
}
html body.baboi.single-product .bb-product-accordion[open] summary::after {
    background: var(--bb-fg) !important;
    color: var(--bb-bg) !important;
}
html body.baboi.single-product #reviews {
    background: var(--bb-card) !important;
    border-radius: 28px !important;
}
html body.baboi.single-product #reviews textarea,
html body.baboi.single-product #reviews input[type="text"],
html body.baboi.single-product #reviews input[type="email"] {
    background: var(--bb-bg) !important;
    border: 1.5px solid var(--bb-line) !important;
    border-radius: 14px !important;
}
html body.baboi.single-product #reviews input#submit,
html body.baboi.single-product #reviews .form-submit input[type="submit"] {
    background: var(--bb-fg) !important;
    color: var(--bb-bg) !important;
    border: 0 !important;
    border-radius: 99px !important;
}
html body.baboi.single-product .bb-g-frame {
    border-radius: var(--bb-radius) !important;
    background: var(--bb-sand) !important;
}

/* ---------- LARGE SCREENS: whole card stays inside the window height ---------- */
@media (min-width: 761px) {
    html body.baboi.single-product .bb-gallery {
        /* card height = width / ratio, so cap width to keep height <= viewport */
        max-width: calc((100vh - 120px) * 600 / 1030);
        margin-inline: auto;
    }
}

/* ---------- REVIEWS ON DESKTOP ---------- */
@media (min-width: 900px) {
    html body.baboi.single-product #reviews {
        display: grid !important;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
        gap: 0 64px;
        align-items: start;
        padding: 40px 44px !important;
    }

    html body.baboi.single-product #reviews #comments {
        grid-column: 1;
    }

    html body.baboi.single-product #reviews #review_form_wrapper {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (min-width: 1200px) {
    html body.baboi.single-product #reviews {
        padding: 48px 56px !important;
        gap: 0 88px;
    }
}

/* ---------- TABLET ---------- */
@media (max-width: 1000px) {
    html body.baboi.single-product .bb-product-layout {
        gap: 20px 32px;
    }

    html body.baboi.single-product .bb-product-lower ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
    html body.baboi.single-product .bb-wcpage {
        padding-block: 14px 24px;
    }

    html body.baboi.single-product .bb-product-layout {
        display: flex !important;
        flex-direction: column;
        gap: 18px;
        padding-bottom: 0 !important;
    }

    html body.baboi.single-product .bb-product-gallery,
    html body.baboi.single-product .bb-product-info,
    html body.baboi.single-product .bb-product-lower {
        position: relative;
        top: auto;
        width: 100%;
    }

    html body.baboi.single-product .bb-gallery {
        position: relative;
        top: auto;
        max-width: none;
    }

    /* tiny breathing room so the soft ring is not clipped by the page edge */
    html body.baboi.single-product .bb-product-gallery {
        padding: 0 6px !important;
    }

    html body.baboi.single-product .bb-g-frame {
        --bb-radius: 28px;
        border-radius: 28px;
    }

    html body.baboi.single-product .bb-g-arrow {
        width: 38px;
        height: 38px;
        margin-top: -19px;
    }

    html body.baboi.single-product .bb-g-thumb {
        width: 40px;
        height: 40px;
    }

    /* Sticky add-to-cart bar.
       position: sticky (not fixed) keeps the bar inside the info column,
       so it stays at the bottom of the screen while you view the product
       and scrolls away with the column before Reviews / Related begin.
       The wrappers use display: contents so the bar's container is the
       whole info column, not just the small form. */
    html body.baboi.single-product .bb-product-info form.cart.variations_form,
    html body.baboi.single-product .bb-product-info .single_variation_wrap {
        display: contents !important;
    }

    html body.baboi.single-product .bb-product-info form.cart .woocommerce-variation-add-to-cart,
    html body.baboi.single-product .bb-product-info form.cart:not(.variations_form) {
        position: sticky;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 40;
        padding: 10px;
        border: 1px solid var(--bb-line);
        border-radius: 99px;
        background: rgba(241, 235, 223, .94);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: 0 14px 30px -14px rgba(18, 41, 61, .5);
    }

    html body.baboi.single-product .bb-product-info .quantity input.qty {
        height: 48px !important;
    }

    html body.baboi.single-product .bb-product-info .quantity .minus,
    html body.baboi.single-product .bb-product-info .quantity .plus,
    html body.baboi.single-product .bb-product-info .quantity button {
        height: 48px;
    }

    html body.baboi.single-product .bb-product-info .single_add_to_cart_button {
        min-height: 50px;
    }

    html body.baboi.single-product #reviews {
        padding: 20px 18px;
        border-radius: 24px;
    }

    /* Related products: swipeable row */
    html body.baboi.single-product .bb-product-lower ul.products {
        display: flex !important;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    html body.baboi.single-product .bb-product-lower ul.products::-webkit-scrollbar {
        display: none;
    }

    html body.baboi.single-product .bb-product-lower ul.products li.product {
        flex: 0 0 62% !important;
        scroll-snap-align: start;
    }
}

@media (max-width: 599px) {
    html body.baboi.single-product #reviews form.comment-form {
        grid-template-columns: minmax(0, 1fr);
    }

    html body.baboi.single-product #reviews form.comment-form > .comment-form-author,
    html body.baboi.single-product #reviews form.comment-form > .comment-form-email {
        grid-column: 1 / -1;
    }

    html body.baboi.single-product #reviews .form-submit input#submit,
    html body.baboi.single-product #reviews .form-submit input[type="submit"] {
        width: 100% !important;
    }
}

@media (max-width: 380px) {
    html body.baboi.single-product .bb-service-note {
        padding: 12px 10px;
        font-size: .72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.baboi.single-product .bb-g-track { scroll-behavior: auto; }
}