.bco-scene-sun { --scene-accent: #fae18c; }
.bco-scene-night { --scene-accent: #c6b1ff; --scene-background: #0c1024; --scene-text: #fff9ee; --focus: #c6b1ff; }
.bco-scene-green { --scene-accent: #b7dc5e; --scene-background: #d8e898; --scene-text: #1c2514; }
.bco-hero.bco-scene-night, .bco-campaign-buy.bco-scene-night,
.bco-hero.bco-scene-green, .bco-campaign-buy.bco-scene-green { background: var(--scene-background); color: var(--scene-text); }
.bco-hero.bco-scene-night { --focus: #c6b1ff; }
.bco-scene-night .bco-period { color: var(--scene-accent); }
.bco-scene-night .bco-kicker span { background: var(--scene-accent); }
.bco-scene-green .bco-period { color: #3b6223; }
.bco-scene-green .bco-kicker span { background: #3b6223; }
.bco-scene-night .bco-button { background: #c6b1ff; border-color: #c6b1ff; color: #151223; }
.bco-scene-night .bco-button:hover { background: #fff9ee; border-color: #fff9ee; }
.bco-hero.bco-scene-night .bco-hero-title, .bco-hero.bco-scene-green .bco-hero-title { font-size: clamp(3.45rem, 13.3vw, 6.35rem); }
.bco-nav a[aria-current="page"] { text-decoration: underline; }

.bco-finder { --focus: #422b91; background: var(--lavender); color: #191916; padding-block: clamp(42px, 6vw, 82px); }
.bco-finder-inner { display: grid; align-items: center; gap: clamp(24px, 5vw, 72px); }
.bco-finder h2 { max-width: 12ch; font-size: clamp(2.85rem, 5.5vw, 5.4rem); font-weight: 900; letter-spacing: -.075em; line-height: .95; }
.bco-finder-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 23px; }
.bco-finder-choices button { display: flex; justify-content: space-between; align-items: center; min-height: 49px; gap: 7px; padding: 10px 12px; border: 1px solid #a9a1d2; background: transparent; color: #22202d; text-align: left; font-size: .9rem; font-weight: 800; }
.bco-finder-choices button[aria-pressed="true"], .bco-finder-choices button:hover { background: #191916; border-color: #191916; color: #fffcf4; }
.bco-finder-result { background: #fffdf7; border: 1px solid #b1a9d5; }
.bco-finder-image { display: block; aspect-ratio: 1.65; overflow: hidden; }
.bco-finder-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bco-finder-result-copy { padding: 17px clamp(15px, 2.6vw, 32px) 10px; }
.bco-finder-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.bco-finder-title h3 { font-size: clamp(1.75rem, 3vw, 2.7rem); letter-spacing: -.055em; font-weight: 900; }
.bco-finder-result-copy p { margin-top: 7px; max-width: 48ch; }
.bco-finder-result-copy .bco-text-link { margin-top: 4px; font-size: .9rem; }

.bco-campaign-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; margin-top: 23px; }
.bco-hero .bco-campaign-actions .bco-button { margin: 0; }
.bco-campaign-actions .bco-text-link { font-size: .9rem; }
.bco-campaign-buy { padding-block: clamp(29px, 5vw, 63px); }
.bco-campaign-buy-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 30px; }
.bco-campaign-buy h2 { font-size: clamp(2.3rem, 5.5vw, 4.6rem); font-weight: 900; letter-spacing: -.07em; }
.bco-campaign-buy p { margin-top: 7px; font-weight: 750; }
.bco-campaign-brew { padding-bottom: clamp(42px, 6vw, 88px); }
.bco-campaign-brew-grid, .bco-matcha-ritual { display: grid; align-items: start; gap: clamp(20px, 5vw, 64px); }
.bco-campaign-brew-photo img { display: block; width: 100%; }
.bco-matcha-ritual > div > p { margin-top: 12px; color: var(--muted); }
.bco-matcha-ritual .bco-text-link { margin-top: 9px; }
.bco-recipe-list { border-top: 1px solid var(--line); }
.bco-recipe-list details { border-bottom: 1px solid var(--line); }
.bco-recipe-list summary { display: flex; min-height: 54px; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; list-style: none; cursor: pointer; font-size: 1.25rem; font-weight: 850; letter-spacing: -.025em; }
.bco-recipe-list summary::-webkit-details-marker { display: none; }
.bco-recipe-list summary::after { content: "+"; font-size: 1.45rem; }
.bco-recipe-list details[open] summary::after { content: "−"; }
.bco-recipe-list details p { max-width: 45ch; padding-bottom: 16px; color: var(--muted); }

.bco-calculator { --focus: #432c94; align-self: start; min-width: 0; width: min(100%, 41rem); padding: clamp(21px, 3.1vw, 42px); background: #e4e1fc; color: #211a34; }
.bco-calculator h2, .bco-content .bco-calculator h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 900; line-height: .99; letter-spacing: -.065em; }
.bco-calculator > p { margin-top: 8px; }
.bco-calculator-controls { display: grid; gap: 7px; margin-block: 16px 20px; }
.bco-calculator-controls label { font-size: .88rem; font-weight: 800; }
.bco-calculator-controls select, .bco-content .bco-calculator-controls select { width: 100%; min-height: 44px; padding: 7px 10px; border: 1px solid #887cae; background: #fffdf8; color: #211a34; }
.bco-brew-water { display: flex; justify-content: space-between; margin-top: 5px; }
.bco-calculator-controls input[type="range"] { width: 100%; min-height: 34px; margin: 0; accent-color: #4c388f; }
.bco-brew-answer { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; padding-top: 13px; border-top: 1px solid #aaa0cc; font-weight: 750; }
.bco-brew-answer strong { font: 800 clamp(2.65rem, 5.8vw, 4.35rem)/1 var(--font-display); }
.bco-brew-answer small { font-size: .76rem; font-weight: 650; }

.single-product .bco-content { padding-top: clamp(22px, 4vw, 56px); }
.bco-pdp-stage { display: grid; gap: clamp(21px, 4.2vw, 62px); align-items: start; }
.bco-pdp-photo { position: relative; min-width: 0; }
.woocommerce .bco-single-product .bco-pdp-photo div.images, .woocommerce .bco-single-product .bco-pdp-stage .bco-buybox { float: none; width: 100%; margin: 0; }
.bco-pdp-photo :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder) img { aspect-ratio: 1; object-fit: cover; object-position: 52% 50%; }
.bco-pdp-photo .flex-control-thumbs { margin-top: 8px; }
.bco-pdp-photo .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; }
.woocommerce .bco-single-product span.onsale { z-index: 1; padding: .35em .65em; background: #252037; color: #fffdf5; }
.bco-buybox { min-width: 0; align-self: center; border-top: 3px solid var(--ink); padding: clamp(17px, 3vw, 36px); background: var(--field); }
.bco-buybox:focus { outline: none; }
.bco-pdp-tags { margin-bottom: 11px; color: var(--muted); font-size: .75rem; letter-spacing: .115em; font-weight: 850; text-transform: uppercase; }
.bco-buybox .product_title { margin-bottom: 12px; font-size: clamp(2.9rem, 5.9vw, 5.7rem); }
.woocommerce .bco-buybox > p.price { font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.bco-buybox .product_meta { display: flex; flex-wrap: wrap; gap: 5px 13px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }
.bco-pdp-shipping { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.bco-buybox form.cart:not(.variations_form):not(.grouped_form), .bco-buybox .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.woocommerce .bco-buybox form.cart div.quantity { float: none; margin: 0; }
.woocommerce .bco-buybox .quantity .qty, .woocommerce .bco-buybox form.cart table.variations select { min-height: 48px; }
.woocommerce .bco-buybox button.single_add_to_cart_button { flex: 1 1 155px; justify-content: center; min-height: 48px; }
.woocommerce .bco-buybox table.variations { margin-bottom: 10px; }
.woocommerce .bco-buybox table.variations th, .woocommerce .bco-buybox table.variations td { display: block; }
.woocommerce .bco-buybox table.variations th { margin-bottom: 4px; text-align: left; }
.woocommerce .bco-buybox table.variations select { width: 100%; margin: 0; }

.bco-product-guide { display: grid; align-items: start; gap: clamp(22px, 4vw, 60px); margin-block: clamp(32px, 7vw, 94px) clamp(32px, 5vw, 65px); padding-top: clamp(25px, 4vw, 48px); border-top: 1px solid var(--line); }
.bco-content .bco-product-story h2 { margin-bottom: 12px; font-size: clamp(2.7rem, 5.05vw, 4.75rem); font-weight: 900; letter-spacing: -.07em; }
.bco-product-story { min-width: 0; max-width: 65ch; }
.bco-product-description p + p { margin-top: .85em; }
.bco-product-story h3 { margin-block: 20px 8px; font-size: 1.35rem; font-weight: 850; letter-spacing: -.035em; }
.bco-product-facts { margin-block: 20px 0; border-top: 1px solid var(--line); }
.bco-product-facts > div { display: grid; grid-template-columns: minmax(95px, .65fr) minmax(0, 1.35fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.bco-product-facts dt { font-weight: 850; }
.bco-product-facts dd { margin: 0; }
.bco-pdp-recipe { color: var(--muted); }
.bco-product-story .bco-text-link { margin-top: 10px; }
.bco-single-product .related > h2, .bco-single-product .upsells > h2 { font-size: clamp(1.8rem, 3.6vw, 3.3rem); font-weight: 900; }
.bco-mobile-buy { display: none; }

@media (min-width: 700px) {
  .bco-finder-inner, .bco-campaign-brew-grid, .bco-matcha-ritual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bco-pdp-stage, .bco-product-guide { grid-template-columns: minmax(0, 1.075fr) minmax(0, .925fr); }
  .bco-product-story:only-child { grid-column: 1 / -1; }
}

@media (min-width: 820px) {
  .bco-hero.bco-scene-night .bco-hero-title, .bco-hero.bco-scene-green .bco-hero-title { font-size: clamp(3.55rem, 7.15vw, 9rem); }
}

@media (max-width: 699px) {
  .bco-mobile-buy:not([hidden]) { position: fixed; z-index: 4; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px var(--edge) calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .bco-mobile-buy > div { min-width: 0; display: grid; gap: 2px; font-size: .78rem; }
  .bco-mobile-buy strong { font-size: .89rem; line-height: 1.15; }
  .bco-mobile-buy .bco-button { flex: 0 0 auto; gap: 8px; min-height: 44px; padding: 8px 11px; font-size: .8rem; }
  body:has(.bco-mobile-buy:not([hidden])) .bco-footer { padding-bottom: 65px; }
}

