/* Б.Босс: black-and-gold brand look over the Blocksy theme */
:root {
	--bb-bg: #110e0b;
	--bb-surface: #1b1713;
	--bb-surface2: #25201a;
	--bb-line: #3a3229;
	--bb-fg: #f7f0e5;
	--bb-muted: #b9ab99;
	--bb-gold: #ff2a12;
	--bb-gold-ink: #ffffff;
	--bb-flame: #ff5b2e;
	--bb-ok: #58c27c;
	--bb-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--bb-body: "Manrope", "Segoe UI", system-ui, sans-serif;

	/* Blocksy palette */
	--theme-palette-color-1: var(--bb-gold) !important;
	--theme-palette-color-2: #ff5a2a !important;
	--theme-palette-color-3: var(--bb-fg) !important;
	--theme-palette-color-4: var(--bb-fg) !important;
	--theme-palette-color-5: var(--bb-line) !important;
	--theme-palette-color-6: var(--bb-surface2) !important;
	--theme-palette-color-7: var(--bb-bg) !important;
	--theme-palette-color-8: var(--bb-surface) !important;
	--theme-text-color: var(--bb-fg) !important;
	--theme-link-initial-color: var(--bb-gold) !important;
	--theme-link-hover-color: #ff5a2a !important;
	--theme-headings-color: var(--bb-fg) !important;
	--theme-border-color: var(--bb-line) !important;
	--theme-form-field-border-initial-color: var(--bb-line) !important;
	--theme-form-field-background-initial-color: var(--bb-surface) !important;
	--theme-form-field-background-focus-color: var(--bb-surface) !important;
	--theme-button-background-initial-color: var(--bb-gold) !important;
	--theme-button-background-hover-color: #ff5a2a !important;
	--theme-button-text-initial-color: var(--bb-gold-ink) !important;
	--theme-button-text-hover-color: var(--bb-gold-ink) !important;
	--theme-font-family: var(--bb-body) !important;
	color-scheme: dark;
}

html, body, .ct-container-full, #main-container, .site-main { background: var(--bb-bg) !important; color: var(--bb-fg); }
body { font-family: var(--bb-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .page-title, .product_title, .entry-title { font-family: var(--bb-display) !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--bb-fg) !important; }
a { color: var(--bb-gold); }
input, select, textarea { color: var(--bb-fg) !important; background: var(--bb-surface) !important; border-color: var(--bb-line) !important; border-radius: 10px !important; }
.bb-hidden { display: none !important; }

/* top bar */
.bb-topbar { background: #000; color: var(--bb-muted); font-size: 13px; border-bottom: 1px solid #2a231b; }
.bb-wrap { max-width: 1240px; margin: 0 auto; padding: 6px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bb-topbar b { color: var(--bb-fg); }
.bb-open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bb-ok); margin-right: 6px; box-shadow: 0 0 0 4px #58c27c33; }
.bb-phones { display: flex; gap: 14px; }
.bb-phones a { color: var(--bb-fg); font-weight: 800; text-decoration: none; }

/* header: black band, big centered logo */
#header, #header [data-row], .ct-header, [data-header] [data-row] { background: #000 !important; border-color: #2a231b !important; }
#header [data-row="middle"] { --height: 120px !important; }
#header .site-logo-container img, #header .custom-logo { max-height: 86px !important; width: auto !important; height: auto !important; }
#header .ct-menu-link, #header .ct-header-text, #header a { color: var(--bb-fg) !important; }
#header .ct-cart-item, #header [data-id="cart"] { color: var(--bb-gold) !important; }
@media (max-width: 760px) {
	#header [data-row="middle"] { --height: 84px !important; }
	#header .site-logo-container img, #header .custom-logo { max-height: 56px !important; }
}

/* home */
.bb-home { max-width: 1240px; margin: 0 auto; padding: 18px 0 40px; }
.home .entry-header, .home .page-title, .home .hero-section { display: none !important; }

.bb-slider { margin-bottom: 14px; }
.bb-slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.bb-slides::-webkit-scrollbar { display: none; }
.bb-slide { scroll-snap-align: start; position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 20px; overflow: hidden; background: var(--bb-surface); text-decoration: none; }
.bb-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-slide.raw img { object-fit: contain; background: #151210; }
.bb-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #000d 0%, #000a 38%, #0000 70%); }
.bb-slide.raw .bb-shade, .bb-slide.raw .bb-copy { display: none; }
.bb-copy { position: absolute; left: clamp(18px, 4vw, 48px); top: 50%; transform: translateY(-50%); max-width: min(520px, 62%); display: grid; gap: 10px; }
.bb-kicker { font: 800 11px/1 var(--bb-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bb-gold); }
.bb-h { font: 800 clamp(20px, 3.6vw, 46px)/1.04 var(--bb-display); color: #fff; }
.bb-h em { font-style: normal; color: var(--bb-gold); }
.bb-p { color: #e9dfd0; font-size: clamp(12px, 1.4vw, 16px); }
.bb-go { position: absolute; right: 18px; bottom: 16px; background: var(--bb-gold); color: var(--bb-gold-ink); font-weight: 800; border-radius: 999px; padding: 9px 16px; font-size: 14px; }
.bb-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.bb-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: var(--bb-line); padding: 0; transition: width .25s, background .25s; cursor: pointer; }
.bb-dots button[aria-current="true"] { width: 26px; background: var(--bb-gold); }

.bb-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 14px 0 6px; }
.bb-tile { background: var(--bb-surface); border-radius: 14px; overflow: hidden; display: grid; gap: 8px; padding-bottom: 10px; text-align: center; font-weight: 800; font-size: 13px; color: var(--bb-fg); text-decoration: none; transition: transform .15s; }
.bb-tile:hover { transform: translateY(-2px); }
.bb-tile img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; }
.bb-tile-txt { align-content: center; background: radial-gradient(90% 90% at 50% 40%, #3a2a0c, #1b1713); aspect-ratio: auto; color: var(--bb-muted); font-weight: 700; }
.bb-tile-big { font: 800 clamp(14px, 1.6vw, 20px) var(--bb-display); color: var(--bb-gold); }

.bb-rail { position: sticky; top: 0; z-index: 30; background: #110e0bee; backdrop-filter: blur(10px); border-bottom: 1px solid var(--bb-line); margin: 0 -16px; }
.admin-bar .bb-rail { top: 32px; }
.bb-rail-in { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 10px 16px; scrollbar-width: none; }
.bb-rail-in::-webkit-scrollbar { display: none; }
.bb-chip { flex: none; border: 1px solid var(--bb-line); background: var(--bb-surface); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--bb-fg); text-decoration: none; }
.bb-chip[aria-current="true"] { background: var(--bb-fg); color: var(--bb-bg); border-color: var(--bb-fg); }

.bb-sec { padding-top: 28px; scroll-margin-top: 70px; }
.bb-sec-h { font-size: clamp(22px, 3vw, 32px) !important; margin: 0 0 14px !important; }
.bb-sec:empty, .bb-sec .woocommerce:empty { display: none; }

/* product grid (shop, categories, home) */
.woocommerce ul.products, ul.products { gap: 16px !important; }
ul.products li.product { background: var(--bb-surface) !important; border: 1px solid #2a241d; border-radius: 18px; overflow: hidden; padding: 0 0 14px !important; display: flex !important; flex-direction: column; transition: border-color .2s, transform .2s; }
ul.products li.product:hover { border-color: #5a4a2c; transform: translateY(-2px); }
ul.products li.product > * { padding-left: 14px; padding-right: 14px; }
ul.products li.product figure, ul.products li.product .ct-media-container, ul.products li.product .ct-image-container { padding: 0 !important; margin: 0 0 12px !important; aspect-ratio: 3 / 2; background: radial-gradient(120% 90% at 50% 40%, #2b241c, #141110); border-radius: 0 !important; }
ul.products li.product img { width: 100% !important; height: 100% !important; aspect-ratio: 3 / 2 !important; object-fit: cover !important; border-radius: 0 !important; }
ul.products li.product .woocommerce-loop-product__title { font: 800 16px/1.25 var(--bb-body) !important; color: var(--bb-fg) !important; margin: 0 0 6px !important; }
ul.products li.product .woocommerce-loop-product__title a { color: var(--bb-fg) !important; text-decoration: none; }
ul.products li.product .entry-meta { display: none !important; }
.bb-desc { color: var(--bb-muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
ul.products li.product .price { font: 800 19px/1 var(--bb-display) !important; color: var(--bb-fg) !important; margin-top: auto !important; }
ul.products li.product .price del { font: 600 13px var(--bb-body); color: var(--bb-muted) !important; opacity: 1; }
ul.products li.product .price ins { text-decoration: none; background: none; }
ul.products li.product .ct-woo-card-actions, ul.products li.product .button { margin-top: 10px; }
.button, button.button, .add_to_cart_button, .single_add_to_cart_button, .checkout-button, #place_order, .wc-block-components-button { background: var(--bb-gold) !important; color: var(--bb-gold-ink) !important; border-radius: 12px !important; font-weight: 800 !important; border: 0 !important; }
.button:hover, .add_to_cart_button:hover, .single_add_to_cart_button:hover, #place_order:hover { background: #ff5a2a !important; }
.onsale, .ct-woo-badge-onsale { background: var(--bb-flame) !important; color: #fff !important; border-radius: 999px !important; font-weight: 800 !important; }
.added_to_cart { color: var(--bb-gold) !important; font-weight: 700; }

/* single product */
.single-product .product .woocommerce-product-gallery img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.single-product .summary .price { font: 800 28px var(--bb-display) !important; color: var(--bb-fg) !important; }
.single-product .woocommerce-product-details__short-description { color: var(--bb-muted); }
.bb-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; background: var(--bb-surface2); border-radius: 12px; padding: 4px; margin: 6px 0 14px; }
.bb-sizes button { border: 0; background: transparent; color: var(--bb-muted); border-radius: 9px; padding: 10px; font-weight: 800; cursor: pointer; }
.bb-sizes button[aria-pressed="true"] { background: var(--bb-fg); color: var(--bb-bg); }
.variations_form .variations select.bb-replaced { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.variations_form .reset_variations { display: none !important; }

/* cart & checkout */
.bb-minbar { background: var(--bb-surface); border-radius: 12px; padding: 12px; display: grid; gap: 8px; font-size: 14px; margin-bottom: 14px; }
.bb-track { height: 6px; background: var(--bb-surface2); border-radius: 9px; overflow: hidden; }
.bb-fill { height: 100%; background: var(--bb-gold); }
.woocommerce table.shop_table, .woocommerce-checkout-review-order, .cart_totals, #order_review { background: var(--bb-surface) !important; border-color: var(--bb-line) !important; border-radius: 14px !important; color: var(--bb-fg); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--bb-line) !important; }
.woocommerce-checkout h3 { font: 800 18px var(--bb-display) !important; }
.woocommerce form .form-row label { color: var(--bb-muted); font-weight: 700; font-size: 13px; }
@media (min-width: 700px) {
	.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; }
	.woocommerce-billing-fields__field-wrapper > .form-row { grid-column: 1 / -1; width: auto !important; float: none !important; }
	.woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1 / 3; }
	.woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 3 / 5; }
	.woocommerce-billing-fields__field-wrapper > .bb-quarter { grid-column: span 1; }
}
.bb-seg .woocommerce-input-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.bb-seg input[type="radio"] { position: absolute; opacity: 0; }
.bb-seg label.radio { border: 1px solid var(--bb-line); background: var(--bb-surface); border-radius: 12px; padding: 11px; text-align: center; font-weight: 800; color: var(--bb-fg) !important; cursor: pointer; margin: 0 !important; display: block; }
.bb-seg input[type="radio"]:checked + label.radio { border-color: var(--bb-gold); background: #2b2316; }
.bb-seg input[type="radio"]:focus-visible + label.radio { outline: 2px solid var(--bb-gold); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-notice { background: var(--bb-surface) !important; color: var(--bb-fg) !important; border-color: var(--bb-gold) !important; }

/* messengers block */
.bb-channels { margin-top: 36px; background: linear-gradient(135deg, #1f1a14, #16120e); border: 1px solid var(--bb-line); border-radius: 22px; padding: clamp(18px, 3vw, 34px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.bb-channels h2 { font-size: clamp(20px, 2.6vw, 30px) !important; margin: 0 !important; }
.bb-channels p { color: var(--bb-muted); margin: 10px 0 0; }
.bb-ch-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-ch { border-radius: 14px; padding: 14px; font-weight: 800; color: #fff !important; text-decoration: none; text-align: center; }
.bb-ch.wa { background: #1f9d55; } .bb-ch.tg { background: #2a8bd8; } .bb-ch.max { background: #6c4cf0; } .bb-ch.call { background: #5b5047; }

/* footer */
#footer, #footer [data-row] { background: #000 !important; color: var(--bb-muted) !important; border-color: #2a231b !important; }

/* sticky mobile cart */
.bb-fab { display: none; }
.bb-toast { position: fixed; z-index: 999; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--bb-fg); color: var(--bb-bg); font-weight: 800; padding: 12px 18px; border-radius: 999px; opacity: 0; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.bb-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1024px) { .bb-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) {
	.bb-home { padding-top: 12px; }
	.bb-copy { max-width: 72%; gap: 6px; } .bb-p { display: none; } .bb-go { padding: 7px 12px; font-size: 12px; right: 10px; bottom: 10px; }
	.bb-tiles { grid-template-columns: repeat(4, 1fr); gap: 6px; } .bb-tile { font-size: 11px; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
	ul.products li.product > * { padding-left: 10px; padding-right: 10px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.bb-desc { display: none; }
	ul.products li.product .price { font-size: 16px !important; }
	.bb-channels { grid-template-columns: 1fr; }
	.bb-fab[data-has="1"], .bb-fab:has(.bb-fab-in:not([data-count="0"])) { display: flex; position: fixed; z-index: 990; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--bb-gold); color: var(--bb-gold-ink) !important; border-radius: 16px; padding: 14px 18px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px #000a; }
	.bb-fab-in { display: flex; width: 100%; justify-content: space-between; }
	.bb-topbar .bb-open { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* v1.0.2 fixes */
.bb-seg label.radio .required, .bb-seg label.radio abbr { display: none !important; }
.bb-quarter .optional, #bb_time_field .optional { display: none; }
.woocommerce-billing-fields__field-wrapper { display: flex; flex-direction: column; }
@media (min-width: 700px) { .woocommerce-billing-fields__field-wrapper { display: grid; } }
#billing_first_name_field { order: 1; } #billing_phone_field { order: 2; } #billing_address_1_field { order: 3; }
#bb_podezd_field, #bb_etazh_field, #bb_kvartira_field, #bb_domofon_field { order: 4; }
#bb_time_field { order: 5; } #bb_payhow_field { order: 6; } #bb_confirm_field { order: 7; } #billing_email_field { order: 8; }
#billing_city_field, #billing_country_field { order: 9; }
.variations_form table.variations, .variations_form table.variations tbody, .variations_form table.variations tr, .variations_form table.variations th, .variations_form table.variations td { display: block; width: 100% !important; }
.bb-sizes { display: flex; flex-wrap: wrap; max-width: 420px; }
.bb-sizes button { flex: 1 1 110px; }
.single-product .product_meta { display: none !important; }
.single-product .woocommerce-product-gallery img { object-fit: contain !important; background: radial-gradient(120% 90% at 50% 40%, #2b241c, #141110); }
.woocommerce-checkout .payment_box { background: var(--bb-surface2) !important; color: var(--bb-muted) !important; }

/* v1.0.3: logo centered, menu below (desktop); centered logo with burger on the right (mobile) */
#header [data-device="desktop"] [data-row="middle"] { --height: auto !important; }
#header [data-device="desktop"] [data-row="middle"] .ct-container { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-block: 14px 8px; height: auto !important; min-height: 0 !important; }
#header [data-device="desktop"] [data-row="middle"] [data-column] { justify-content: center !important; width: 100%; display: flex; }
#header [data-device="desktop"] .site-logo-container img, #header [data-device="desktop"] .custom-logo { max-height: 78px !important; }
#header [data-device="mobile"] [data-row="middle"] .ct-container { position: relative; display: flex !important; justify-content: center !important; }
#header [data-device="mobile"] [data-row="middle"] [data-column="start"] { justify-content: center !important; flex: 1; display: flex; }
#header [data-device="mobile"] [data-row="middle"] [data-column="end"] { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
#header [data-device="mobile"] .site-logo-container img, #header [data-device="mobile"] .custom-logo { max-height: 46px !important; }
.site-title, .site-description { display: none !important; }
#header [data-device="desktop"] [data-row="middle"] [data-items] { justify-content: center !important; }
#header [data-device="mobile"] [data-row="middle"] [data-column="start"] [data-items] { justify-content: center !important; }
#header [data-device="desktop"] .site-logo-container { --logo-max-height: 72px !important; height: auto !important; }
#header [data-device="desktop"] .site-branding, #header [data-device="desktop"] [data-column="start"], #header [data-device="desktop"] [data-column="start"] [data-items] { height: auto !important; }
#header [data-device="desktop"] .site-logo-container img, #header [data-device="desktop"] .custom-logo { max-height: 72px !important; height: 72px !important; width: auto !important; }
#header [data-device="mobile"] .site-logo-container { --logo-max-height: 44px !important; height: auto !important; }
#header [data-device="mobile"] .site-logo-container img, #header [data-device="mobile"] .custom-logo { max-height: 44px !important; height: 44px !important; width: auto !important; }

/* v1.0.6: cart polish, own footer, cookie notice */
.woocommerce-cart-form .shop_table { overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px !important; }
.woocommerce table.shop_table td.product-remove { width: 44px; text-align: center; }
.woocommerce table.shop_table .product-name a, .woocommerce-checkout-review-order-table .product-name { color: var(--bb-fg) !important; text-decoration: none; font-weight: 700; }
.woocommerce table.shop_table img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; width: 84px !important; height: auto !important; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { display: none !important; }
button[name="update_cart"] { display: none !important; }
.cart_totals { padding: 20px !important; }
#footer { display: none !important; }
.bb-footer { background: #000; border-top: 1px solid #2a231b; color: var(--bb-muted); margin-top: 40px; }
.bb-footer-in { max-width: 1240px; margin: 0 auto; padding: 32px 16px 20px; display: grid; grid-template-columns: auto 1fr 1fr 1.3fr; gap: 28px; align-items: start; }
.bb-footer h4 { margin: 0 0 6px; font: 800 12px var(--bb-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bb-gold); }
.bb-footer p { margin: 0 0 6px; font-size: 14px; }
.bb-footer b, .bb-footer a { color: var(--bb-fg); text-decoration: none; }
.bb-f-logo img { width: 160px; height: auto; }
.bb-f-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px !important; }
.bb-f-links a { color: var(--bb-gold); }
.bb-f-copy { max-width: 1240px; margin: 0 auto; padding: 12px 16px 24px; font-size: 12px; border-top: 1px solid #1d1813; }
.bb-cookie { position: fixed; z-index: 995; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 420px; background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-fg); border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px #000a; font-size: 13px; }
.bb-cookie p { margin: 0; color: var(--bb-muted); }
.bb-cookie a { color: var(--bb-gold); }
.bb-cookie button { flex: none; border: 0; background: var(--bb-gold); color: var(--bb-gold-ink); font-weight: 800; border-radius: 10px; padding: 10px 16px; cursor: pointer; }
@media (max-width: 760px) {
	.bb-footer-in { grid-template-columns: 1fr; gap: 18px; }
	.bb-cookie { right: 16px; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	.woocommerce table.shop_table img { width: 64px !important; }
}

/* v1.0.7: products without photo (sauces), upsell, info blocks */
ul.products li.product:has(img.woocommerce-placeholder) figure { display: none !important; }
ul.products li.product:has(img.woocommerce-placeholder) { padding-top: 14px !important; justify-content: space-between; }
ul.products li.product:has(img.woocommerce-placeholder) .woocommerce-loop-product__title { font-size: 15px !important; }
.bb-upsell { margin-top: 36px; }
.bb-upsell-h { font: 800 16px var(--bb-body) !important; color: var(--bb-muted) !important; margin: 18px 0 10px !important; }
.bb-upsell ul.products li.product .bb-desc { display: none; }
.bb-info { margin-top: 40px; }
.bb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bb-steps.bb-adv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-steps > div { background: var(--bb-surface); border: 1px solid #2a241d; border-radius: 16px; padding: 18px; display: grid; gap: 6px; }
.bb-steps b { font: 800 16px var(--bb-display); color: var(--bb-gold); }
.bb-steps span { color: var(--bb-muted); font-size: 14px; }
.bb-seo p { color: var(--bb-muted); max-width: 75ch; }
@media (max-width: 760px) { .bb-steps, .bb-steps.bb-adv { grid-template-columns: 1fr 1fr; } }

/* v1.0.8: no-photo items (sauces) as compact cards, drinks shown whole */
ul.products li.product:has(img[src*="woocommerce-placeholder"]) figure { display: none !important; }
ul.products li.product_cat-drinks img { object-fit: contain !important; background: #0d0b09; }

/* v1.0.10: reviews block */
.bb-reviews { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, #2b2316, #16120e); border: 1px solid #5a4a2c; border-radius: 22px; padding: clamp(18px, 3vw, 32px); }
.bb-reviews > div { max-width: 60ch; }
.bb-reviews .bb-sec-h { margin: 6px 0 8px !important; }
.bb-reviews p { color: var(--bb-muted); margin: 0; }
.bb-stars { font: 800 28px var(--bb-display); color: var(--bb-gold); }
.bb-btn { display: inline-block; background: var(--bb-gold); color: var(--bb-gold-ink) !important; font-weight: 800; border-radius: 14px; padding: 14px 22px; text-decoration: none; white-space: nowrap; }
.bb-btn:hover { background: #ff5a2a; }

/* v1.0.19 */
.bb-confirm-note { background: var(--bb-surface2); border-left: 3px solid var(--bb-gold); border-radius: 10px; padding: 12px 14px; color: var(--bb-fg); font-size: 14px; margin: 0 0 14px; }

/* v1.0.20 */
.bb-testbar { background: var(--bb-flame); color: #fff; text-align: center; font-weight: 800; font-size: 13px; padding: 8px 16px; }

/* ---------- v1.0.23: hero, glowing buttons, add-to-cart state ---------- */
.bb-hero { text-align: center; padding: 26px 16px 22px; margin-bottom: 18px; border-radius: 22px; background: radial-gradient(120% 140% at 50% 0%, rgba(255,42,18,.18), rgba(255,91,46,.06) 45%, transparent 75%); }
.bb-hero-k { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bb-gold); border: 1px solid rgba(255,42,18,.45); border-radius: 999px; padding: 6px 12px; }
.bb-hero-h { font: 800 clamp(26px, 5.2vw, 52px)/1.06 var(--bb-display); color: #fff; margin: 14px auto 10px; max-width: 900px; }
.bb-hero-h em { font-style: normal; color: var(--bb-gold); text-shadow: 0 0 28px rgba(255,42,18,.45); }
.bb-hero-p { color: var(--bb-muted); font-size: 16px; line-height: 1.5; max-width: 620px; margin: 0 auto 18px; }
.bb-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bb-btn-ghost { background: transparent !important; color: var(--bb-gold) !important; box-shadow: inset 0 0 0 2px var(--bb-gold), 0 0 18px rgba(255,42,18,.25) !important; }
.bb-hero-b { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 18px 0 0; }
.bb-hero-b li { background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--bb-fg); }
@media (max-width: 600px) { .bb-hero { padding: 20px 4px 18px; } .bb-hero-cta .bb-btn { flex: 1 1 100%; text-align: center; } .bb-hero-p { font-size: 15px; } }

.button, button.button, .add_to_cart_button, .single_add_to_cart_button, .checkout-button, #place_order, .bb-btn, .bb-cookie button { box-shadow: 0 0 0 1px rgba(255,42,18,.5), 0 6px 22px rgba(255,42,18,.38) !important; transition: box-shadow .2s, transform .2s, background .2s !important; }
.button:hover, .add_to_cart_button:hover, .single_add_to_cart_button:hover, #place_order:hover, .bb-btn:hover { box-shadow: 0 0 0 1px rgba(255,90,42,.8), 0 8px 32px rgba(255,42,18,.6) !important; transform: translateY(-1px); }
.bb-glow { animation: bb-glow 2.4s ease-in-out infinite; }
@keyframes bb-glow { 50% { box-shadow: 0 0 0 1px rgba(255,90,42,.9), 0 0 36px rgba(255,42,18,.7); } }
@media (prefers-reduced-motion: reduce) { .bb-glow { animation: none; } }

/* after "add to cart": keep the button readable, hide WooCommerce's extra "view cart" link (the cart bar does that) */
ul.products li.product .add_to_cart_button.added { display: inline-flex !important; color: var(--bb-gold-ink) !important; }
ul.products li.product .add_to_cart_button.loading { opacity: .7; }
ul.products li.product a.added_to_cart { display: none !important; }

/* ---------- v1.0.24: tighter hero, bigger logo, birthday badge ---------- */
#header [data-device="mobile"] .site-logo-container { --logo-max-height: 58px !important; }
#header [data-device="mobile"] .site-logo-container img, #header [data-device="mobile"] .custom-logo { max-height: 58px !important; height: 58px !important; }
.home .site-main, .home main#main, .home .ct-container-full, .home article > .entry-content { padding-top: 0 !important; margin-top: 0 !important; }
.home .bb-home { padding-top: 10px !important; }
.bb-hero { padding: 18px 16px 18px; margin-bottom: 14px; }
.bb-hero-h { margin: 12px auto 16px; }
.bb-bday { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 18px 10px 12px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,91,46,.18), rgba(255,42,18,.14)); border: 1px solid rgba(255,42,18,.45); box-shadow: 0 0 24px rgba(255,91,46,.25); text-align: left; }
.bb-bday span { display: flex; flex-direction: column; font-size: 13px; color: var(--bb-muted); line-height: 1.3; }
.bb-bday b { font: 800 16px/1.2 var(--bb-display); color: #fff; }
.bb-cake { width: 46px; height: 46px; flex: none; animation: bb-cake-bob 2.6s ease-in-out infinite; }
.bb-cake-fl { transform-origin: 24px 13px; animation: bb-flame .9s ease-in-out infinite alternate; filter: drop-shadow(0 0 4px #ff5a2a); }
@keyframes bb-flame { from { transform: scale(1, 1) rotate(-4deg); } to { transform: scale(.85, 1.15) rotate(4deg); } }
@keyframes bb-cake-bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .bb-cake, .bb-cake-fl { animation: none; } }
@media (max-width: 600px) { .bb-hero { padding: 14px 4px 16px; } .bb-hero-h { margin: 10px auto 14px; } }

/* ---------- v1.0.25: quick order in the footer ---------- */
.bb-quick p { margin: 0 0 10px; }
.bb-q-row { display: flex; gap: 8px; }
.bb-q-row input { flex: 1 1 auto; min-width: 0; background: var(--bb-bg); color: var(--bb-fg); border: 1px solid var(--bb-line); border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.bb-q-row input:focus { outline: 2px solid var(--bb-gold); border-color: transparent; }
.bb-q-row .bb-btn { padding: 12px 16px; border: 0; cursor: pointer; font-size: 15px; }
.bb-quick small { display: block; margin-top: 8px; font-size: 11px; color: var(--bb-muted); line-height: 1.4; }
.bb-quick small a { color: var(--bb-muted); text-decoration: underline; }
.bb-q-msg { margin-top: 10px !important; font-weight: 700; }
.bb-q-msg.ok { color: #6fdc8c; } .bb-q-msg.err { color: var(--bb-flame); }
.bb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 420px) { .bb-q-row { flex-direction: column; } }
@media (min-width: 1025px) { .bb-footer-in { grid-template-columns: auto 1fr .8fr 1.4fr 1.2fr; } }
@media (max-width: 1024px) and (min-width: 769px) { .bb-footer-in { grid-template-columns: 1fr 1fr; } }
.bb-footer .bb-quick .bb-btn { color: var(--bb-gold-ink) !important; }

/* ---------- v1.0.27: mobile cart row — narrow photo column, price on one line ---------- */
.woocommerce-cart-form .amount, .woocommerce-cart-form bdi { white-space: nowrap; }
@media (max-width: 768px) {
	.woocommerce-cart-form td.product-thumbnail { width: 72px !important; min-width: 72px !important; max-width: 72px !important; padding: 12px 6px 12px 12px !important; }
	.woocommerce-cart-form td.product-thumbnail img { width: 60px !important; min-width: 60px !important; max-width: none !important; height: 60px !important; aspect-ratio: 1 / 1 !important; object-fit: cover; border-radius: 10px; }
	.woocommerce-cart-form td.product-name { padding-left: 8px !important; padding-right: 12px !important; }
	.woocommerce-cart-form .product-mobile-actions { display: flex !important; align-items: center; gap: 8px; flex-wrap: nowrap; }
	.woocommerce-cart-form .product-mobile-actions .quantity { flex: none; }
	.woocommerce-cart-form .product-mobile-actions .amount { font-weight: 800; font-size: 16px; }
	.woocommerce-cart-form .product-mobile-actions .remove { margin-left: auto; }
}

/* ---------- v1.0.32: animated hero preview (/?hero=2) ---------- */
.bb-h2 { --mx: 0; --my: 0; --sy: 0; position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: clamp(26px, 5vw, 56px) 18px 22px; margin-bottom: 18px; text-align: center;
	background: radial-gradient(60% 55% at 50% 36%, #ff8a1f 0%, #d9480f 26%, #5a1d06 58%, #140d08 100%); }
.bb-h2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 60% at 50% 110%, rgba(0,0,0,.75), transparent 60%); }
.bb-h2-stage { position: relative; width: min(540px, 78vw); aspect-ratio: 1000 / 822; margin: clamp(40px, 8vw, 70px) auto 0; }
.bb-h2-pizza { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 40px rgba(0,0,0,.6)); animation: bb-h2-in .9s cubic-bezier(.2,.9,.3,1.2) both, bb-h2-bob 6s ease-in-out 1s infinite;
	translate: calc(var(--mx) * -6px) calc(var(--my) * -4px); transition: translate .25s ease-out; }
.bb-h2-pep { position: absolute; height: auto; filter: drop-shadow(0 12px 14px rgba(0,0,0,.5)); will-change: transform;
	animation: bb-h2-drop .9s cubic-bezier(.2,.9,.3,1.3) both, bb-h2-float 4.5s ease-in-out infinite;
	translate: calc(var(--mx) * var(--d) * 18px) calc(var(--my) * var(--d) * 14px - var(--sy) * var(--d) * 90px); transition: translate .2s ease-out; }
@keyframes bb-h2-in { from { opacity: 0; transform: scale(.85) translateY(30px); } }
@keyframes bb-h2-bob { 50% { transform: translateY(-8px); } }
@keyframes bb-h2-drop { from { opacity: 0; transform: translateY(-160px) rotate(calc(var(--r) - 120deg)) scale(.6); } to { transform: rotate(var(--r)); } }
@keyframes bb-h2-float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) + 12deg)) translateY(-12px); } }
.bb-h2-sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bb-h2-sparks span { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 10px 2px rgba(255,150,40,.8); animation: bb-spark linear infinite; opacity: 0; }
@keyframes bb-spark { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(30px, -520px); opacity: 0; } }
.bb-h2-copy { position: relative; margin-top: clamp(-70px, -7vw, -30px); }
.bb-h2-h { font: 800 clamp(30px, 6.4vw, 66px)/1.02 var(--bb-display); color: #fff; margin: 12px 0 10px; text-shadow: 0 6px 30px rgba(0,0,0,.65); }
.bb-h2-h em { font-style: normal; color: var(--bb-gold); text-shadow: 0 0 30px rgba(255,42,18,.55), 0 6px 30px rgba(0,0,0,.6); }
.bb-h2-p { color: #f3e6d4; font-size: 16px; margin: 0 auto 18px; max-width: 520px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.bb-h2-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 720px; margin: 24px auto 0; }
.bb-h2-stats div { background: rgba(10,7,5,.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,42,18,.3); border-radius: 16px; padding: 12px 8px; }
.bb-h2-stats b { display: block; font: 800 clamp(16px, 3vw, 24px)/1.1 var(--bb-display); color: var(--bb-gold); }
.bb-h2-stats span { font-size: 12px; color: #e9dccb; }
@media (max-width: 600px) { .bb-h2 { border-radius: 20px; } .bb-h2-stage { width: 82vw; } .bb-h2 .bb-hero-cta .bb-btn { flex: 1 1 100%; } .bb-h2-p { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .bb-h2-pizza, .bb-h2-pep, .bb-h2-sparks span { animation: none !important; } .bb-h2-pep { transform: rotate(var(--r)); } }
@media (min-width: 900px) {
	.bb-h2 { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; column-gap: 24px; text-align: left; padding: 40px 48px 28px;
		background: radial-gradient(50% 70% at 72% 45%, #ff8a1f 0%, #d9480f 26%, #5a1d06 58%, #140d08 100%); }
	.bb-h2-copy { order: 1; margin-top: 0; }
	.bb-h2-stage { order: 2; width: 100%; max-width: 500px; margin: 80px auto 10px; }
	.bb-h2 .bb-hero-cta { justify-content: flex-start; }
	.bb-h2-p { margin-left: 0; }
	.bb-h2-stats { order: 3; grid-column: 1 / -1; max-width: none; width: 100%; }
}
.bb-h2-stats b { white-space: nowrap; }
@media (max-width: 600px) {
	.bb-h2 .bb-hero-k { font-size: 10px; white-space: nowrap; padding: 5px 10px; letter-spacing: .05em; }
	.bb-h2-copy { margin-top: 6px; }
	.bb-h2-stats { gap: 6px; }
	.bb-h2-stats div { padding: 10px 4px; }
	.bb-h2-stats b { font-size: 15px; }
	.bb-h2-stats span { font-size: 11px; }
}

/* ---------- v1.0.35: shashlik hero (/?hero=3) ---------- */
.bb-h3 { background: radial-gradient(60% 55% at 50% 40%, #ff7a1a 0%, #c2410c 24%, #4a1806 58%, #120c08 100%); }
.bb-h3-stage { position: relative; width: min(560px, 84vw); aspect-ratio: 900 / 674; margin: clamp(70px, 12vw, 110px) auto 0; }
.bb-h3-board { width: 100%; height: auto; display: block; border-radius: 14px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); animation: bb-h2-in .8s cubic-bezier(.2,.9,.3,1.2) both; }
.bb-h3-skewer { position: absolute; left: -4%; width: 108%; top: -20%; height: 18%; animation: bb-sk-in .8s .3s cubic-bezier(.2,.9,.3,1.1) both; }
.bb-h3-skewer svg { position: absolute; left: 0; top: 50%; width: 100%; height: 14%; min-height: 6px; transform: translateY(-50%); filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); }
.bb-h3-skewer.gone { transition: transform .6s ease-in, opacity .6s; transform: translateX(60%); opacity: 0; }
.bb-h3-pc { position: absolute; top: -11%; width: 15%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 8px 10px rgba(0,0,0,.55)); animation: bb-pc-in .8s .3s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes bb-pc-in { from { translate: -60vw 0; opacity: 0; } }
@keyframes bb-sk-in { from { transform: translateX(-70%); opacity: 0; } }
@media (min-width: 900px) { .bb-h3 .bb-h3-stage { order: 2; width: 100%; max-width: 520px; margin: 90px auto 20px; } }
@media (prefers-reduced-motion: reduce) { .bb-h3-skewer, .bb-h3-board, .bb-h3-pc { animation: none !important; } }

/* ---------- v1.0.37: shashlik headline — words land with the meat, fire red with a black outline ---------- */
.bb-h3-h .w { display: inline-block; transition: opacity .3s ease-out, transform .55s cubic-bezier(.2,.9,.3,1.6); }
.bb-h3-h.pending .w { opacity: 0; transform: translateY(-46px) scale(.55) rotate(-6deg); }
.bb-h3-h .w.on { opacity: 1; transform: none; }
.bb-h3-h em { color: inherit; text-shadow: none; }
.bb-h3-h .w { color: #ff2a12; background: linear-gradient(0deg, #7a0000 0%, #d10f0f 30%, #ff2a12 55%, #ff6a00 80%, #ffc21a 100%); background-size: 100% 220%; background-position: 0 100%;
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	filter: drop-shadow(2px 0 0 #000) drop-shadow(-2px 0 0 #000) drop-shadow(0 2px 0 #000) drop-shadow(0 -2px 0 #000) drop-shadow(0 4px 0 #000); padding: 0 .06em; }
.bb-h3-h.lit .w { animation: bb-fire 1.6s ease-in-out infinite alternate; }
@keyframes bb-fire { 0% { background-position: 0 100%; filter: drop-shadow(2px 0 0 #000) drop-shadow(-2px 0 0 #000) drop-shadow(0 2px 0 #000) drop-shadow(0 -2px 0 #000) drop-shadow(0 4px 0 #000) drop-shadow(0 0 10px rgba(255,60,0,.55)); }
	100% { background-position: 0 40%; filter: drop-shadow(2px 0 0 #000) drop-shadow(-2px 0 0 #000) drop-shadow(0 2px 0 #000) drop-shadow(0 -2px 0 #000) drop-shadow(0 4px 0 #000) drop-shadow(0 0 26px rgba(255,90,0,.9)); } }
.bb-h3-h .w.boom { animation: bb-boom .6s ease-out; }
@keyframes bb-boom { 0% { transform: scale(1.35); } 60% { transform: scale(.94); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bb-h3-h.lit .w { animation: none; } }
.bb-h3-h { text-shadow: none !important; }
.bb-h3-h.lit .w.boom { animation: bb-boom .6s ease-out, bb-fire 1.6s ease-in-out infinite alternate; }

/* ---------- v1.0.40: all buttons in the fire style of the headline — red gradient, black outline ---------- */
:root { --bb-fire: linear-gradient(180deg, #ff4a1f 0%, #e3170a 45%, #a80a00 100%); --bb-fire-hover: linear-gradient(180deg, #ff6a2a 0%, #f2220f 45%, #c00d00 100%); }
body { --theme-button-background-initial-color: #e3170a !important; --theme-button-background-hover-color: #f2220f !important; --theme-button-text-initial-color: #fff !important; --theme-button-text-hover-color: #fff !important; }
.button, button.button, .add_to_cart_button, .single_add_to_cart_button, .checkout-button, #place_order, .wc-block-components-button,
.bb-btn, .bb-cookie button, .bb-go, .bb-fab[data-has="1"], .bb-fab:has(.bb-fab-in:not([data-count="0"])) {
	background: var(--bb-fire) !important; color: #fff !important; border: 2px solid #000 !important;
	text-shadow: 0 1px 0 #000, 0 0 1px #000 !important;
	box-shadow: 0 0 0 1px rgba(255,60,20,.55), 0 4px 0 #000, 0 8px 24px rgba(255,40,0,.38) !important; }
.button:hover, .add_to_cart_button:hover, .single_add_to_cart_button:hover, #place_order:hover, .bb-btn:hover, .bb-cookie button:hover {
	background: var(--bb-fire-hover) !important; box-shadow: 0 0 0 1px rgba(255,90,30,.8), 0 4px 0 #000, 0 10px 34px rgba(255,60,0,.6) !important; }
.button:active, .add_to_cart_button:active, .bb-btn:active, #place_order:active { transform: translateY(2px) !important; box-shadow: 0 0 0 1px rgba(255,60,20,.55), 0 2px 0 #000 !important; }
.bb-btn-ghost { background: #120c08 !important; color: #ff3b1f !important; border: 2px solid #ff2a12 !important; text-shadow: none !important; box-shadow: 0 0 0 2px #000, 0 4px 0 #000, 0 0 20px rgba(255,40,0,.3) !important; }
.bb-btn-ghost:hover { background: #1d0f08 !important; color: #ff5a2a !important; }
@keyframes bb-glow { 50% { box-shadow: 0 0 0 1px rgba(255,90,30,.9), 0 4px 0 #000, 0 0 38px rgba(255,50,0,.75); } }
ul.products li.product .add_to_cart_button.added { color: #fff !important; }
.bb-footer .bb-quick .bb-btn { color: #fff !important; }
.bb-dots button[aria-current="true"], .bb-fill { background: #e3170a; }

/* ---------- v1.0.41: footer without yellow — headings and links white (the "Жду звонка" button stays red) ---------- */
.bb-footer h4, .bb-footer a, .bb-footer b, .bb-footer .bb-f-links a { color: #fff !important; }
.bb-footer a:not(.bb-btn):hover { text-decoration: underline; }
.bb-footer p, .bb-footer small, .bb-footer .bb-f-copy { color: #d9d4ce !important; }
.bb-footer small a { color: #d9d4ce !important; }
.bb-q-row input:focus { outline-color: #ff2a12 !important; }

/* ---------- v1.0.42: no yellow anywhere — accent is fire red, plain links white ---------- */
:root { --theme-link-initial-color: #ffffff !important; --theme-link-hover-color: #ff5a2a !important; }
.bb-hero-k { color: #fff !important; border-color: rgba(255,42,18,.7) !important; background: rgba(0,0,0,.25); }
.bb-h2-stats b { color: #ff3b1f !important; filter: drop-shadow(1px 0 0 #000) drop-shadow(-1px 0 0 #000) drop-shadow(0 1px 0 #000) drop-shadow(0 2px 0 #000); }
.bb-h2-stats div { border-color: rgba(255,42,18,.45) !important; }
.bb-h3 .bb-bday { margin-top: 18px; }

/* ---------- v1.0.43: info blocks, facts and rating — white text ---------- */
.bb-steps b, .bb-adv b, .bb-stars, .bb-reviews .bb-stars { color: #fff !important; }
.bb-h2-stats b { color: #fff !important; filter: none !important; }

/* ---------- v1.0.46: badges «Новинка» / «Хит» ---------- */
ul.products li.product { position: relative; }
.bb-badges { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; gap: 6px; pointer-events: none; }
.bb-badge { font: 800 12px/1 var(--bb-body); text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; border: 2px solid #000; box-shadow: 0 3px 0 #000; }
.bb-new { background: #fff; color: #000; }
.bb-hit { background: var(--bb-fire); color: #fff; }
.single-product .product { position: relative; }

/* ---------- quick view ---------- */
.bb-qv[hidden] { display: none; }
.bb-qv { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bb-qv-bg { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); animation: bb-fade .2s; }
.bb-qv-box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 22px; box-shadow: 0 30px 80px #000; animation: bb-pop .25s cubic-bezier(.2,.9,.3,1.2); }
.bb-qv-in { display: grid; grid-template-columns: 1.1fr 1fr; }
.bb-qv-img { position: relative; }
.bb-qv-img img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 22px 0 0 22px; }
.bb-qv-body { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.bb-qv-title { font: 800 24px/1.15 var(--bb-display); color: #fff; margin: 0 30px 0 0; }
.bb-qv-price { font: 800 22px var(--bb-display); color: #fff; }
.bb-qv-price del { font-size: 14px; color: var(--bb-muted); }
.bb-qv-desc { color: var(--bb-muted); font-size: 14px; line-height: 1.5; }
.bb-qv-desc p { margin: 0; }
.bb-qv-body form.cart { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bb-qv-body .variations_form { display: block; }
.bb-qv-body .single_add_to_cart_button { padding: 14px 26px !important; font-size: 16px !important; }
.bb-qv-more { font-size: 13px; color: var(--bb-muted) !important; text-decoration: underline; margin-top: auto; }
.bb-qv-x { position: absolute; top: 10px; right: 12px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #000; background: #fff; color: #000; font: 700 26px/1 sans-serif; cursor: pointer; }
.bb-qv-load { padding: 60px; text-align: center; color: var(--bb-muted); grid-column: 1 / -1; }
@keyframes bb-fade { from { opacity: 0; } }
@keyframes bb-pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@media (max-width: 700px) {
	.bb-qv { align-items: flex-end; padding: 0; }
	.bb-qv-box { border-radius: 22px 22px 0 0; max-height: 92vh; }
	.bb-qv-in { grid-template-columns: 1fr; }
	.bb-qv-img img { border-radius: 22px 22px 0 0; }
	.bb-qv-body { padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
	.bb-qv-title { font-size: 20px; }
}
body.bb-qv-open { overflow: hidden; }
