/* Shared preferences and square visual language. */
:root{color-scheme:dark}
.site-preferences{display:flex;gap:4px;align-items:center;flex:none;order:2}
.site-preferences button{min-width:34px;height:34px;display:grid;place-items:center;border:1px solid #526357;border-radius:4px;background:#111b15;color:#e9e4d7;font-size:12px;font-weight:700;line-height:1;padding:0 5px}
.site-preferences button:hover,.site-preferences button:focus-visible{border-color:#c5a44f;color:#e3bd60;outline:none}
.head nav{order:1;margin-left:auto;flex-wrap:nowrap}.head .menu-toggle{order:3}
.filterbar a,.pill,.chip,.btn,.sku-format,.product-filter,.brand-filter,.format-filter,.spotlight-controls button,.card,.cardlink,.sku-card,.brand-direction,.review-source,.photo-card,.notice,.supply-map,.mapbox,.placeholder,.platform-badge,.request-layout,.request-dialog,.age-gate-panel,.quiz-shell,.quiz-choice{border-radius:4px!important}
@media(max-width:900px){.head nav{order:4;margin-left:0}.site-preferences{margin-left:auto}.head{gap:8px}.site-preferences button{min-width:32px;height:32px}}
@media(max-width:400px){.brand{flex:0 1 145px!important;width:145px!important;min-width:0}.brand-logo{width:145px!important}.site-preferences{gap:3px}}
html[data-theme="light"]{color-scheme:light;background:#f9f8f4;color:#17251b;--ink:#17251b;--muted:#56665b;--rule:#d0d8cf}
html[data-theme="light"] body,html[data-theme="light"] main{background:#f9f8f4;color:#17251b}
html[data-theme="light"] header,html[data-theme="light"] footer{background:#fff;color:#17251b;border-color:#d0d8cf}
html[data-theme="light"] header nav a:not(.btn),html[data-theme="light"] footer a,html[data-theme="light"] .muted,html[data-theme="light"] .lead{color:#46564a}
html[data-theme="light"] section:not(.hero):not(.factory-video),html[data-theme="light"] .supply-section,html[data-theme="light"] .separate-brews,html[data-theme="light"] .brew-detail,html[data-theme="light"] .spotlight{background:#f9f8f4;color:#17251b;border-color:#d0d8cf}
html[data-theme="light"] .card,html[data-theme="light"] .cardlink,html[data-theme="light"] .sku-card,html[data-theme="light"] .brand-direction,html[data-theme="light"] .review-source,html[data-theme="light"] .photo-card,html[data-theme="light"] .proof-step,html[data-theme="light"] .quiz-shell,html[data-theme="light"] .request-layout,html[data-theme="light"] .request-intro,html[data-theme="light"] .request-form,html[data-theme="light"] .blog-grid article,html[data-theme="light"] .brew-feature,html[data-theme="light"] .product-detail-copy,html[data-theme="light"] .product-specs,html[data-theme="light"] .request-dialog{background:#fff;color:#17251b;border-color:#d0d8cf}
html[data-theme="light"] .card p,html[data-theme="light"] .card h3,html[data-theme="light"] .blog-grid p:not(.eyebrow),html[data-theme="light"] .proof-step p,html[data-theme="light"] .brew-feature-copy p,html[data-theme="light"] .brew-narrative-row p:not(.eyebrow),html[data-theme="light"] .sku-copy h3,html[data-theme="light"] .sku-spec,html[data-theme="light"] .product-detail .lead,html[data-theme="light"] .product-fact,html[data-theme="light"] .product-specs dd{color:#34463a!important}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .sku-brand{color:#80631d!important}
html[data-theme="light"] .filterbar a,html[data-theme="light"] .pill,html[data-theme="light"] .btn:not(.primary),html[data-theme="light"] .site-preferences button{background:#fff;color:#17251b;border-color:#aab7aa}
html[data-theme="light"] .filterbar a.active{background:#164b35;color:#fff;border-color:#164b35}
html[data-theme="light"] .quiz-choice{background:#fff;color:#17251b;border-color:#aab7aa}html[data-theme="light"] .quiz-choice:has(input:checked){background:#e8eddf;border-color:#8a702d}
html[data-theme="light"] input,html[data-theme="light"] textarea,html[data-theme="light"] select,html[data-theme="light"] .quiz-pane input[type=text],html[data-theme="light"] .quiz-pane input[type=email],html[data-theme="light"] .quiz-pane input[type=tel]{background:#fff;color:#17251b;border-color:#aab7aa}
html[data-theme="light"] .quiz-consent,html[data-theme="light"] .form-status,html[data-theme="light"] .quiz-status{color:#46564a}html[data-theme="light"] .quiz-consent a,html[data-theme="light"] .request-form a{color:#735514}
html[data-theme="light"] .supply-map,html[data-theme="light"] .map-card,html[data-theme="light"] .map-panel{background-color:#ecf0e8;color:#17251b;border-color:#c5d0c4}
html[data-theme="light"] .supply-map .supply-city,html[data-theme="light"] .supply-map .supply-city span{color:#1d3526}
html[data-theme="light"] .hero{color:#fff;background-color:#0d2118}html[data-theme="light"] .age-gate,html[data-theme="light"] .age-gate-panel{color:#f4efdf}html[data-theme="light"] .age-gate-panel{background:#111a14;border-color:#68735e}
html[data-theme="light"] .back-to-top{background:#fff;color:#183529;border-color:#8c9b8e}
/* Light theme component surfaces and text contrast. */
html[data-theme="light"] .factory-film-block,html[data-theme="light"] .supply-proof,html[data-theme="light"] .partner-benefits,html[data-theme="light"] .newsletter-section{background:#f9f8f4;color:#17251b}
html[data-theme="light"] .factory-film-heading .lead,html[data-theme="light"] .section-head .muted,html[data-theme="light"] .legal-page p,html[data-theme="light"] .legal-page li,html[data-theme="light"] .faq-item p,html[data-theme="light"] .faq-item .answer,html[data-theme="light"] .brew-intro,html[data-theme="light"] .brew-narrative-row figcaption,html[data-theme="light"] .photo-card figcaption{color:#46564a!important}
html[data-theme="light"] .spotlight-stage,html[data-theme="light"] .direction-visual,html[data-theme="light"] .sku-picture,html[data-theme="light"] .product-detail-visual{background:radial-gradient(ellipse at 50% 60%,#fff,#e8eee7 78%);border-color:#c7d2c7}
html[data-theme="light"] .regions-map{background:#ecf0e8;border-color:#b8c8b8}
html[data-theme="light"] .marketing-partnership,html[data-theme="light"] .marketing-action,html[data-theme="light"] .newsletter-block,html[data-theme="light"] .survey-card,html[data-theme="light"] .production-stage,html[data-theme="light"] .product-fact,html[data-theme="light"] .product-more,html[data-theme="light"] .request-chip,html[data-theme="light"] .cooperation-hero,html[data-theme="light"] .platform-badge{background:#fff;color:#17251b;border-color:#c7d2c7}
html[data-theme="light"] .newsletter-block p,html[data-theme="light"] .marketing-partnership p,html[data-theme="light"] .cooperation-hero p,html[data-theme="light"] .production-stage p,html[data-theme="light"] .brand-direction p,html[data-theme="light"] .product-more p{color:#46564a!important}
html[data-theme="light"] .brand-direction .eyebrow,html[data-theme="light"] .brand-direction h3,html[data-theme="light"] .cooperation-hero h1,html[data-theme="light"] .spotlight-copy h2{color:#17251b!important}
html[data-theme="light"] .quiz-meter{background:#dce3da}html[data-theme="light"] .quiz-progress{color:#80631d}
html[data-theme="light"] details.faq-item summary{color:#17251b}html[data-theme="light"] .consent-row{color:#34463a!important}html[data-theme="light"] .request-dialog .dialog-close{background:#fff;color:#17251b}
html[data-theme="light"] .supply-map .city-tooltip{background:#fff;color:#17251b;border-color:#adbcae}
header .brand,html[data-theme="light"] header .brand{background:transparent;border-radius:0;padding:0}
.footer-brand-logo{display:block;width:210px;max-width:100%;height:auto;margin-bottom:8px}
.footer-brand .muted{display:block}
html[data-theme="light"] .catalog-series>h3{color:#765819;border-color:#c9d1c8}
/* Dark gold and body text retain readable contrast on the pale surfaces. */
html[data-theme="light"] .text-link,html[data-theme="light"] .legal-page a,html[data-theme="light"] .award-record a,html[data-theme="light"] .newsletter-note a,html[data-theme="light"] .newsletter-consent a,html[data-theme="light"] .request-form a{color:#765819!important}
html[data-theme="light"] .breadcrumb a,html[data-theme="light"] .footer-contacts,html[data-theme="light"] .footer-contacts span,html[data-theme="light"] .platform-badge small{color:#46564a!important}
html[data-theme="light"] .brand-direction h4,html[data-theme="light"] .direction-slide-name,html[data-theme="light"] .marketing-action strong,html[data-theme="light"] .laboratory-facts dt{color:#765819!important}
html[data-theme="light"] .regions-map figcaption,html[data-theme="light"] .regions-map figcaption strong,html[data-theme="light"] .map-region-list button,html[data-theme="light"] .brew-operation p,html[data-theme="light"] .laboratory-facts dd,html[data-theme="light"] .marketing-action span,html[data-theme="light"] .award-record p,html[data-theme="light"] .sku-facts span,html[data-theme="light"] .request-intro p,html[data-theme="light"] #request-form .lead,html[data-theme="light"] .newsletter-consent,html[data-theme="light"] .newsletter-note{color:#46564a!important}
html[data-theme="light"] .map-region-list .map-number,html[data-theme="light"] .cooperation-row .num{color:#765819!important}
html[data-theme="light"] .map-region-list button:hover,html[data-theme="light"] .map-region-list button.active{color:#164b35!important;background:#e7ede4}
html[data-theme="light"] .cooperation-row h3,html[data-theme="light"] .cooperation-row p{color:#17251b!important}
html[data-theme="light"] .cooperation-row,html[data-theme="light"] .sku-facts span{border-color:#c7d2c7}
html[data-theme="light"] .product-fact small,html[data-theme="light"] .product-specs dt,html[data-theme="light"] .product-detail-note{color:#46564a!important}
html[data-theme="light"] .production-fpv .eyebrow{color:#f3d888!important}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#56665b}
/* Hover states follow the light palette instead of inheriting dark card colors. */
html[data-theme="light"] .card:hover,html[data-theme="light"] .cardlink:hover,html[data-theme="light"] .cardlink:focus-visible{background:#e7efe6!important;color:#17251b!important;border-color:#789a80!important;box-shadow:0 14px 30px #183e2826!important}
html[data-theme="light"] .card:hover h3,html[data-theme="light"] .card:hover p,html[data-theme="light"] .cardlink:hover strong,html[data-theme="light"] .cardlink:focus-visible strong{color:#17251b!important}
html[data-theme="light"] .cardlink:hover .muted,html[data-theme="light"] .cardlink:focus-visible .muted{color:#34463a!important}
html[data-theme="light"] .card:hover .eyebrow,html[data-theme="light"] .cardlink:hover .eyebrow,html[data-theme="light"] .cardlink:focus-visible .eyebrow{color:#765819!important}
html[data-theme="light"] .card:hover .text-link,html[data-theme="light"] .cardlink:hover .text-link,html[data-theme="light"] .cardlink:focus-visible .text-link{color:#765819!important}
html[data-theme="light"] .btn:not(.primary):hover,html[data-theme="light"] .btn:not(.primary):focus-visible{background:#164b35!important;color:#fff!important;border-color:#164b35!important;filter:none;box-shadow:0 8px 20px #164b3530}
html[data-theme="light"] .btn.primary:hover,html[data-theme="light"] .btn.primary:focus-visible{background:#dfb858!important;color:#17251b!important;border-color:#b58b35!important;filter:none;box-shadow:0 8px 20px #9c773329}
html[data-theme="light"] .filterbar a:not(.active):hover,html[data-theme="light"] .filterbar a:not(.active):focus-visible{background:#e7efe6;color:#164b35;border-color:#789a80}
html[data-theme="light"] .platform-badge:hover,html[data-theme="light"] .platform-badge:focus-visible,html[data-theme="light"] .review-source:hover,html[data-theme="light"] .review-source:focus-visible{background:#e7efe6;color:#17251b;border-color:#789a80}
html[data-theme="light"] .platform-badge.is-pending:hover{background:#fff;border-color:#c7d2c7}
/* Keep the distribution map itself dark in both themes. */
html[data-theme="light"] .regions-map{background:#0b1510 radial-gradient(#d8c58e18 1px,transparent 1px)!important;background-size:auto,16px 16px!important;border-color:#2b3b30!important}
html[data-theme="light"] .regions-map figcaption,html[data-theme="light"] .regions-map figcaption strong{color:#d5ddd2!important;border-color:#28392f}
/* A single international partnership invitation follows the map. */
.export-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,72px);align-items:center;padding:clamp(28px,4vw,48px);border:1px solid #415548;background:#111b15}
.export-panel .eyebrow{margin:0 0 12px;color:#d9b967}
.export-panel h2{margin:0;max-width:12ch;font-size:clamp(31px,4vw,52px);line-height:1.08}
.export-panel p:not(.eyebrow){max-width:56ch;margin:0 0 22px;color:#c5cec4;line-height:1.6}
html[data-theme="light"] .export-panel{background:#eaf0e8;border-color:#bacdbb;color:#17251b}
html[data-theme="light"] .export-panel p:not(.eyebrow){color:#34463a}
@media(max-width:700px){.export-panel{grid-template-columns:1fr}.export-panel h2{max-width:none}}
html[data-theme="light"] .certificate-preview{background:transparent;border-color:#cbd3c9}
html[data-theme="light"] .certificate-preview figcaption,html[data-theme="light"] .certificate-preview span{color:#46564a}
html[data-theme="light"] .certificate-preview strong{color:#17251b}
html[data-theme="light"] .certificate-preview figcaption a{color:#765819}
html[data-theme="light"] .brand-showcase-card h3{color:#f3eee0!important}
html[data-theme="light"] .award-diplomas-heading h3{color:#17251b!important}
html[data-theme="light"] .award-diplomas-heading p:last-child{color:#46564a!important}
html[data-theme="light"] .catalog-filter-label{color:#56665b}
/* The beer keg trio artwork has a deep green studio backdrop. Extend that
   backdrop through the image frame on both catalog and product pages. */
.sku-picture:has(img[src*="/kegs/trio/"]),
.product-detail-visual:has(img[src*="/kegs/trio/"]),
.sku-picture:has(img[src*="/kegs/cider-trio/"]),
.product-detail-visual:has(img[src*="/kegs/cider-trio/"]),
html[data-theme="light"] .sku-picture:has(img[src*="/kegs/trio/"]),
html[data-theme="light"] .product-detail-visual:has(img[src*="/kegs/trio/"]),
html[data-theme="light"] .sku-picture:has(img[src*="/kegs/cider-trio/"]),
html[data-theme="light"] .product-detail-visual:has(img[src*="/kegs/cider-trio/"]){
  background:radial-gradient(ellipse at 50% 58%,#08281f 0%,#041e18 66%,#031813 100%);
}

/* Keep the entire square keg-and-glass scene inside catalog cards. */
.sku-picture .keg-visual.is-trio{
  display:block;
  flex:none;
  width:min(100%,260px);
  height:auto;
  aspect-ratio:1;
  max-height:100%;
}
.sku-picture .keg-visual.is-trio img.keg-body{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
@media(max-width:700px){
  .sku-picture:has(.keg-visual.is-trio){height:auto!important;aspect-ratio:1;padding:8px}
  .sku-picture .keg-visual.is-trio{width:100%;max-width:100%;max-height:none}
}
.logo-en{display:none!important}
html[lang=en] .logo-ru{display:none!important}
html[lang=en] .logo-en{display:block!important}
html:not([lang=en]) #app>.hero .hero-en{display:none!important}
html[lang=en] #app>.hero .hero-ru{display:none!important}
html[lang=en] #app>.hero .hero-en{display:block!important}
html[lang=en] .hero-logo-shine{-webkit-mask:url("/assets/brand/bh-hero-en.png") center/contain no-repeat;mask:url("/assets/brand/bh-hero-en.png") center/contain no-repeat}
