/* ColaBox Stage 2 global shell, adapted from the approved static source. */
:root { --cb-header-height: 4.625rem; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cb-header-height) + 1rem); }
body { padding-top: var(--cb-header-height); }
body.cb-overlay-open, body.cb-menu-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container, .header-inner, .footer-inner, .footer-bottom { width: min(calc(100% - 3rem), var(--cb-container)); margin-inline: auto; }
.content-shell { min-height: 55vh; }
.content-stack { display: grid; gap: 1.5rem; }
.content-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--cb-border); border-radius: var(--cb-radius-md); background: var(--cb-surface); }
.entry-title { margin-top: 0; font-family: var(--cb-font-display); text-transform: uppercase; }
.eyebrow { display: inline-block; color: var(--cb-accent); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.button { box-sizing: border-box; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.2rem; border: 1px solid transparent; border-radius: var(--cb-control-radius); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--cb-accent); color: #08090c; }
.button-primary:hover { background: var(--cb-accent-hover); }
.button-secondary { border-color: var(--cb-border-strong); background: transparent; color: var(--cb-text); }
.button-secondary:hover { border-color: var(--cb-accent); color: var(--cb-accent); }
.text-link { color: var(--cb-accent); font-weight: 800; text-decoration: none; }

/* Header and primary navigation. */
.site-header { position: fixed; z-index: 900; inset: 0 0 auto; height: var(--cb-header-height); border-bottom: 1px solid transparent; background: rgb(8 9 12 / 88%); backdrop-filter: blur(1rem); transition: background .2s, border-color .2s, box-shadow .2s; }
.site-header.is-scrolled, .site-header.is-menu-open { border-color: var(--cb-border); background: rgb(8 9 12 / 97%); box-shadow: 0 .75rem 2.5rem rgb(0 0 0 / 24%); }
body.admin-bar .site-header { top: 32px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2.125rem; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-height: 2.25rem; }
.wordmark { color: var(--cb-text); font-family: var(--cb-font-body); font-size: 1.45rem; font-weight: 950; letter-spacing: -.07em; line-height: 1; text-decoration: none; }
.wordmark span { color: var(--cb-accent); }
.desktop-navigation { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.125rem); margin-left: 1.125rem; }
.nav-products { position: relative; display: flex; }
.nav-link { position: relative; min-height: 2.75rem; display: inline-flex; align-items: center; gap: .25rem; padding: .5rem 0; border: 0; background: transparent; color: #d6d9df; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { color: var(--cb-text); }
.nav-products-toggle svg { width: .9rem; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.nav-products-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.products-menu { position: absolute; top: calc(100% - .35rem); left: -.75rem; width: 20rem; padding: 1rem; border: 1px solid var(--cb-border-strong); border-radius: var(--cb-radius-md); background: #101217; box-shadow: var(--cb-shadow-raised); }
.products-menu-label { margin: 0 0 .5rem; padding: 0 .65rem; color: var(--cb-text-muted); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.products-menu ul, .mobile-products, .footer-nav-list, .social-links, .cart-drawer-items, .breadcrumbs ol { margin: 0; padding: 0; list-style: none; }
.products-menu a { min-height: 2.9rem; display: flex; align-items: center; justify-content: space-between; padding: .6rem .7rem; border-radius: .5rem; font-weight: 750; text-decoration: none; }
.products-menu a:hover, .products-menu a[aria-current="page"] { background: var(--cb-surface-alt); color: var(--cb-accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.icon-button, .mobile-menu-toggle, .dialog-close { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cb-text); text-decoration: none; cursor: pointer; }
.icon-button:hover, .dialog-close:hover { background: var(--cb-surface-alt); color: var(--cb-accent); }
.icon-button svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.cart-button { position: relative; }
.cart-count { position: absolute; top: .15rem; right: .05rem; min-width: 1.15rem; height: 1.15rem; display: grid; place-items: center; padding: 0 .2rem; border-radius: 1rem; background: var(--cb-accent); color: #08090c; font-size: .62rem; font-weight: 900; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: .27rem; }
.mobile-menu-toggle span { width: 1.2rem; height: .1rem; background: currentColor; transition: transform .2s, opacity .2s; }
.header-cta { min-height: 2.5rem; padding: .56rem 1rem; font-size: .78rem; }
.site-header a.header-cta.button-primary { border-color: var(--cb-accent); background: var(--cb-accent); color: #08090c; }
.site-header a.header-cta.button-primary:hover { border-color: var(--cb-accent-hover); background: var(--cb-accent-hover); color: #08090c; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.37rem) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.37rem) rotate(-45deg); }
.mobile-navigation { position: fixed; z-index: 890; inset: var(--cb-header-height) 0 auto; max-height: calc(100vh - var(--cb-header-height)); overflow-y: auto; border-top: 1px solid var(--cb-border); border-bottom: 1px solid var(--cb-border); background: #0d0f13; }
body.admin-bar .mobile-navigation { top: calc(var(--cb-header-height) + 32px); }
.mobile-navigation-inner { width: min(calc(100% - 2rem), 44rem); margin-inline: auto; padding: 1rem 0 1.5rem; }
.mobile-nav-link { min-height: 3.25rem; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; border: 0; border-bottom: 1px solid var(--cb-border); background: transparent; color: var(--cb-text); font-weight: 800; text-decoration: none; cursor: pointer; }
.mobile-products { padding: .45rem 0 .75rem 1rem; border-bottom: 1px solid var(--cb-border); }
.mobile-products a { min-height: 2.75rem; display: flex; align-items: center; color: var(--cb-text-muted); text-decoration: none; }
.mobile-shop-link { width: 100%; margin-top: 1rem; }
.mobile-navigation a.mobile-shop-link.button-primary { border-color: var(--cb-accent); background: var(--cb-accent); color: #08090c; }
.mobile-navigation a.mobile-shop-link.button-primary:hover { border-color: var(--cb-accent-hover); background: var(--cb-accent-hover); color: #08090c; }

/* Breadcrumbs and global content states. */
.breadcrumbs { margin-bottom: clamp(2rem, 5vw, 4rem); color: var(--cb-text-muted); font-size: .82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumbs li { display: flex; gap: .45rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--cb-accent); }
.search-page, .error-page { min-height: calc(100vh - var(--cb-header-height)); padding-top: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.search-hero { max-width: 58rem; margin-bottom: 3rem; }
.search-hero h1, .error-copy h1 { margin: .65rem 0 1.5rem; font-family: var(--cb-font-display); font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.025em; text-transform: uppercase; }
.search-form-large { display: flex; gap: .65rem; }
.search-form-large input { min-width: 0; flex: 1; min-height: 3.3rem; padding: .8rem 1rem; border: 1px solid var(--cb-border-strong); border-radius: var(--cb-control-radius); outline: 0; background: var(--cb-surface); color: var(--cb-text); }
.search-form-large input:focus { border-color: var(--cb-accent); box-shadow: 0 0 0 .2rem rgb(244 165 28 / 15%); }
.results-count { margin-bottom: 1.25rem; color: var(--cb-text-muted); }
.search-results-list { display: grid; gap: 1rem; }
.search-result-card { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1.25rem; border: 1px solid var(--cb-border); border-radius: var(--cb-radius-md); background: var(--cb-surface); }
.search-result-image { border-radius: .8rem; overflow: hidden; background: var(--cb-bg-secondary); }
.search-result-image img { width: 100%; height: 100%; object-fit: cover; }
.result-type { color: var(--cb-accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.search-result-content h2 { margin: .3rem 0 .45rem; font-size: 1.35rem; }
.search-result-content h2 a { text-decoration: none; }
.search-result-content p { margin: 0 0 .7rem; color: var(--cb-text-muted); }
.result-price { margin-bottom: .7rem; font-weight: 800; }
.empty-state { padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--cb-border); border-radius: var(--cb-radius-lg); background: var(--cb-surface); text-align: center; }
.empty-state > span { color: var(--cb-accent); font-size: 3rem; }
.empty-state p { color: var(--cb-text-muted); }
.empty-state > div { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.error-layout { min-height: 32rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, .9fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.error-copy p { max-width: 38rem; color: var(--cb-text-muted); font-size: 1.08rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.error-art { position: relative; display: grid; place-items: center; min-height: 27rem; }
.error-code { position: absolute; color: rgb(255 255 255 / 4%); font-family: var(--cb-font-display); font-size: clamp(11rem, 22vw, 22rem); font-weight: 900; line-height: 1; }
.error-art img { position: relative; z-index: 1; max-height: 24rem; object-fit: contain; filter: drop-shadow(0 2rem 3rem rgb(0 0 0 / 50%)); }

/* Dialogs and drawer. */
.site-overlay { position: fixed; z-index: 950; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgb(0 0 0 / 70%); cursor: pointer; }
.search-dialog { position: fixed; z-index: 1000; inset: 0; display: grid; align-items: start; padding: max(6rem, 12vh) 1.5rem 2rem; background: rgb(8 9 12 / 94%); backdrop-filter: blur(1rem); }
.search-dialog[hidden] { display: none; }
.search-dialog-panel { width: min(100%, 56rem); margin-inline: auto; }
.search-dialog-panel > header { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.search-dialog-panel h2 { margin: .4rem 0 0; font-family: var(--cb-font-display); font-size: clamp(2rem, 5vw, 4rem); line-height: 1; text-transform: uppercase; }
.dialog-close { flex: 0 0 auto; border: 1px solid var(--cb-border-strong); font-size: 1.8rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.25rem; color: var(--cb-text-muted); font-size: .85rem; }
.quick-links a { color: var(--cb-text); text-decoration: none; }
.quick-links a:hover { color: var(--cb-accent); }
.cart-drawer { position: fixed; z-index: 1000; top: 0; right: 0; width: min(27.5rem, 100%); height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); visibility: hidden; transform: translateX(100%); background: var(--cb-bg-secondary); box-shadow: -1rem 0 4rem rgb(0 0 0 / 45%); transition: transform .28s, visibility .28s; }
.cart-drawer[aria-hidden="false"] { visibility: visible; transform: translateX(0); }
.cart-drawer > header { min-height: var(--cb-header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; border-bottom: 1px solid var(--cb-border); }
.cart-drawer h2 { margin: 0; font-family: var(--cb-font-display); text-transform: uppercase; }
.cart-drawer [data-cart-drawer-content] { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.cart-drawer-body { overflow-y: auto; padding: 1.5rem; }
.cart-drawer-items { display: grid; gap: 1rem; }
.cart-drawer-item { display: grid; grid-template-columns: 4.8rem 1fr auto; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--cb-border); }
.cart-item-image { border-radius: .65rem; overflow: hidden; background: var(--cb-surface); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item > div { display: grid; align-content: start; gap: .25rem; }
.cart-item-name { font-weight: 800; text-decoration: none; }
.cart-drawer-item span { color: var(--cb-text-muted); font-size: .8rem; }
.cart-item-remove { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--cb-text-muted); font-size: 1.4rem; text-decoration: none; }
.cart-empty { height: 100%; display: grid; place-content: center; justify-items: center; padding: 2rem; text-align: center; }
.cart-empty > span { color: var(--cb-accent); font-size: 4rem; }
.cart-empty h3 { margin-bottom: .2rem; }
.cart-empty p { color: var(--cb-text-muted); }
.cart-drawer-footer { display: grid; gap: .75rem; padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--cb-border); background: var(--cb-surface); }
.cart-drawer-footer p { display: flex; justify-content: space-between; margin: 0; }
.cart-drawer-footer small { color: var(--cb-text-muted); }
.cart-drawer-footer > div { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cart-drawer-footer .button { min-height: 2.75rem; padding-inline: .75rem; }
.cart-drawer-footer .button-secondary { border-color: var(--cb-border-strong); background: transparent; color: var(--cb-text); }
.cart-drawer-footer .button-secondary:hover { border-color: var(--cb-accent); background: transparent; color: var(--cb-accent); }
.cart-drawer-footer .button-primary { border-color: var(--cb-accent); background: var(--cb-accent); color: #08090c; }
.cart-drawer-footer .button-primary:hover { border-color: var(--cb-accent-hover); background: var(--cb-accent-hover); color: #08090c; }
body .cart-drawer .cart-drawer-footer a.button.button-secondary { border-color: var(--cb-border-strong); background: transparent; color: var(--cb-text); }
body .cart-drawer .cart-drawer-footer a.button.button-secondary:hover { border-color: var(--cb-accent); background: transparent; color: var(--cb-accent); }
body .cart-drawer .cart-drawer-footer a.button.button-primary { border-color: var(--cb-accent); background: var(--cb-accent); color: #08090c; }
body .cart-drawer .cart-drawer-footer a.button.button-primary:hover { border-color: var(--cb-accent-hover); background: var(--cb-accent-hover); color: #08090c; }
body .cart-drawer .cart-drawer-footer a.button:focus-visible { outline: .1875rem solid var(--cb-focus-ring); outline-offset: .1875rem; }

/* Footer. */
.site-footer { border-top: 1px solid var(--cb-border); background: #07080a; }
.footer-inner { display: grid; grid-template-columns: 1.6fr repeat(4, .8fr) 1.5fr; gap: 2.125rem; padding-block: 4.375rem 3.375rem; }
.footer-brand p, .footer-newsletter p { color: var(--cb-text-muted); font-size: .72rem; }
.footer-brand p { max-width: 14.375rem; margin: .875rem 0 1.25rem; }
.social-links { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-links a { width: 2.125rem; height: 2.125rem; display: grid; place-items: center; border: 1px solid var(--cb-border); border-radius: 50%; color: var(--cb-text-muted); font-size: .72rem; font-weight: 800; text-decoration: none; }
.social-links a:hover { border-color: var(--cb-accent); color: var(--cb-accent); }
.footer-column h2, .footer-newsletter h2 { margin: 0 0 .5625rem; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-nav-list { display: grid; gap: .5625rem; }
.footer-nav-list a { color: #959ca8; font-size: .72rem; text-decoration: none; }
.footer-nav-list a:hover { color: var(--cb-text); }
.footer-newsletter > p { margin: 0 0 .9375rem; }
.newsletter-shell label { position: absolute; width: .0625rem; height: .0625rem; margin: -.0625rem; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.newsletter-shell > div { display: flex; }
.newsletter-shell input { min-width: 0; width: 100%; height: 2.75rem; padding: 0 .8125rem; border: 1px solid var(--cb-border-strong); border-right: 0; border-radius: .4375rem 0 0 .4375rem; background: transparent; color: var(--cb-text); font-size: .76rem; }
.newsletter-shell button { width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 0 .4375rem .4375rem 0; background: var(--cb-accent); color: #08090c; font-weight: 900; }
.newsletter-shell :disabled { cursor: not-allowed; opacity: .64; }
.newsletter-shell .form-status { margin: .45rem 0 0; font-size: .72rem; }
.footer-bottom { min-height: 4.875rem; display: flex; align-items: center; gap: 1.875rem; border-top: 1px solid var(--cb-border); color: var(--cb-text-muted); font-size: .66rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.5rem; margin-left: auto; color: #747b87; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cb-text); }
.back-to-top { width: 2.125rem; height: 2.125rem; display: grid; place-items: center; margin-left: 1.375rem; border: 1px solid var(--cb-border); border-radius: 50%; }

@media (max-width: 73.75rem) {
	.footer-inner { grid-template-columns: 1.4fr repeat(4, .7fr); }
	.footer-newsletter { grid-column: 1 / -1; max-width: 28rem; }
}
@media (max-width: 64rem) {
	:root { --cb-header-height: 4.25rem; }
	body.admin-bar .site-header { top: 32px; }
	.desktop-navigation, body .site-header a.header-cta.button, .header-desktop-action { display: none; }
	.mobile-menu-toggle { display: inline-flex; }
	.header-inner { gap: 1rem; }
	.footer-inner { grid-template-columns: 1.4fr repeat(2, 1fr); }
	.footer-brand { grid-column: auto; }
	.footer-newsletter { grid-column: 3; grid-row: 2; }
	.footer-column:nth-of-type(3) { grid-column: 2; }
}
@media (max-width: 48.875rem) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .mobile-navigation { top: calc(var(--cb-header-height) + 46px); }
}
@media (max-width: 48rem) {
	.container, .header-inner, .footer-inner, .footer-bottom { width: min(calc(100% - 2rem), var(--cb-container)); }
	.footer-inner { grid-template-columns: repeat(2, 1fr); }
	.footer-brand, .footer-newsletter { grid-column: 1 / -1; }
	.footer-newsletter { grid-row: auto; }
	.footer-column:nth-of-type(3) { grid-column: auto; }
	.footer-bottom { align-items: flex-start; flex-wrap: wrap; padding-block: 1.5rem; }
	.footer-bottom nav { order: 3; width: 100%; margin-left: 0; }
	.back-to-top { margin-left: auto; }
	.error-layout { grid-template-columns: 1fr; }
	.error-art { grid-row: 1; min-height: 17rem; }
	.error-art img { max-height: 17rem; }
	.search-result-card { grid-template-columns: 7rem 1fr; }
}
@media (max-width: 32.5rem) {
	.account-link { display: none; }
	.header-actions { gap: .1rem; }
	.search-form-large { flex-direction: column; }
	.search-form-large .button { width: 100%; }
	.search-dialog { padding-inline: 1rem; }
	.search-result-card { grid-template-columns: 1fr; }
	.search-result-image { max-height: 12rem; }
	.footer-bottom nav { width: 100%; flex-wrap: wrap; }
}
