/* ==========================================================================
   Smokehouse — Mike's Seasonings
   Tokens map to Shopify theme settings (settings_schema.json "colors"/"type").
   ========================================================================== */
:root {
	--ember: #E25822;
	--ember-dark: #C4461A;
	--cream: #F4ECE3;
	--muted: #C9B8A6;
	--dim: #8A7B6E;
	--bg: #16110E;
	--bg-deep: #120E0C;
	--header: #0E0C0A;
	--footer: #0A0908;
	--card: #221C18;
	--line: #3A302A;
	--line-soft: #2A211C;
	--radius: 12px;
	--radius-sm: 4px;
	--container: 1280px;
	--gutter: 24px;
	--pad-x: 80px;
	--font-head: 'Oswald', 'Arial Narrow', sans-serif;
	--font-body: 'Cabin', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--muted); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--ember); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--cream); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ember); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.container { width: 100%; max-width: calc(var(--container) + var(--pad-x) * 2); margin: 0 auto; padding: 0 var(--pad-x); }
.container.narrow { max-width: calc(860px + var(--pad-x) * 2); }
.m-only { display: none; }
.kicker { font: 500 14px/1 var(--font-head); color: var(--ember); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.section-title { font-size: 40px; margin: 0; }
.section-title.is-sm { font-size: 28px; }

/* Buttons */
.btn, .button, button.button, input.button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 16px/1 var(--font-head); letter-spacing: .01em; padding: 15px 26px; min-width: 150px;
	border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-ember, .button, button.button, input.button, .woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--ember); color: #fff; }
.btn-ember:hover, .button:hover, button.button:hover { background: var(--ember-dark); color: #fff; }
.btn-outline { background: rgba(20,16,14,.7); color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--header); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); }
.btn-sm { font-size: 13px; padding: 9px 18px; min-width: 88px; }
.button.disabled, .button:disabled { opacity: .5; cursor: not-allowed; }
a.added_to_cart { font: 600 13px/1 var(--font-head); color: var(--ember); margin-left: 4px; align-self: center; }

/* Header */
.site-header { background: var(--header); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; height: 88px; gap: 32px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.wordmark-top { font: 700 26px/1 var(--font-head); color: var(--cream); text-transform: uppercase; }
.wordmark-sub { font: 500 13px/1 var(--font-head); color: var(--ember); text-transform: uppercase; margin-top: 2px; letter-spacing: .02em; }
.nav-list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-list a, .header-actions a { font: 500 15px/1 var(--font-head); color: var(--cream); }
.nav-list .current-menu-item > a, .nav-list a:hover, .nav-list .current_page_item > a, .header-actions a:hover { color: var(--ember); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.cart-count { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ember); color: #fff; font: 600 12px/20px var(--font-head); justify-content: center; margin-left: 4px; vertical-align: 1px; }
.cart-count.is-empty { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 0; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--cream); position: relative; margin: 0 auto; content: ''; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -7px; } .nav-toggle .bars::after { position: absolute; top: 7px; }

/* Hero */
.section-hero { position: relative; min-height: 800px; background: #0c0a08 var(--hero-img) 55% 55% / cover no-repeat; overflow: hidden; }
.section-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,8,.80) 0%, rgba(12,10,8,.55) 32%, rgba(12,10,8,0) 58%), linear-gradient(180deg, rgba(12,10,8,0) 72%, rgba(12,10,8,.47) 100%); }
.hero-inner { position: relative; min-height: 800px; }
.hero-copy { position: relative; z-index: 2; padding-top: 150px; max-width: 640px; }
.hero-title { font-size: 78px; line-height: 1.02; text-transform: uppercase; margin: 16px 0 14px; letter-spacing: .005em; }
.hero-title span { display: block; }
.hero-text { font-size: 20px; line-height: 1.4; color: var(--muted); margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn-ember { min-width: 180px; }
.hero-bottles { position: absolute; left: calc(var(--pad-x) + 470px); bottom: 28px; height: 380px; width: 420px; z-index: 1; }
.hero-bottles .b { position: absolute; bottom: 0; width: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.55)); }
.hero-bottles .b1 { height: 340px; left: 0; }
.hero-bottles .b2 { height: 360px; left: 110px; }
.hero-bottles .b3 { height: 380px; left: 230px; }

/* Sections */
.section-grid { background: var(--bg) var(--wood, none); padding: 48px 0 70px; position: relative; }
.section-grid::before, .section-info::before { content: ''; position: absolute; inset: 0; background: url('../img/wood-texture.jpg') center / cover; opacity: .08; pointer-events: none; }
.section-grid > .container, .section-info > .container { position: relative; }
.section-head { margin-bottom: 32px; }

/* Product cards (shared by home grids, shop, related, recipe cross-sell) */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gutter); }
ul.products::before, ul.products::after { display: none !important; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 16px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: border-color .15s, transform .15s; }
.card:hover { border-color: #5a4637; transform: translateY(-2px); }
.card-media { min-width: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; height: 274px; padding: 12px 8px 4px; position: relative; }
.card-media img { max-height: 250px; width: auto; max-width: calc(100% - 30px); object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0,0,0,.45)); }
.is-kits .card-media, .card.product_cat-kits .card-media { height: 222px; align-items: center; padding: 12px 24px; }
.is-kits .card-media img, .card.product_cat-kits .card-media img { max-height: 176px; border-radius: 4px; filter: none; }
.card-body { padding: 16px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.card-name { font: 600 18px/1.2 var(--font-head); margin: 0 0 6px; }
.card-name a { color: var(--cream); }
.card-meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.card-price { font: 700 18px/1.2 var(--font-head); color: var(--ember); margin: 0 0 18px; }
.card-price del, .price del { color: var(--dim); font: 400 13px var(--font-body); margin-left: 8px; order: 2; }
.card-price ins, .price ins { text-decoration: none; }
.card-price .amount, .price .amount { color: inherit; }
.card-price .price, .card-price { display: flex; align-items: baseline; flex-wrap: wrap; }
.card-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.onsale { position: absolute; top: 12px; left: 12px; background: var(--ember); color: #fff; font: 600 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px; border-radius: 3px; z-index: 2; }

/* Story */
.section-story { background: var(--bg); padding: 50px 0; }
.story-inner { display: grid; grid-template-columns: 1fr 620px; gap: 56px; align-items: center; }
.story-copy .section-title { font-size: 36px; margin-bottom: 22px; }
.story-copy p { font-size: 17px; line-height: 1.5; }
.story-copy .btn { margin-top: 8px; }
.story-media { margin: 0; }
.story-media img { width: 620px; height: 460px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 22px rgba(0,0,0,.35); }

/* Info strip */
.section-info { background: #1A1512; position: relative; padding: 58px 0 50px; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.info-item { padding: 0 16px 0 26px; border-left: 1px solid var(--line); min-height: 130px; }
.info-item:first-child { border-left: 0; padding-left: 16px; }
.info-item h3 { font: 700 16px/1.2 var(--font-head); color: var(--ember); text-transform: uppercase; margin-bottom: 14px; }
.info-item h3 a { color: inherit; }
.info-item p { font-size: 14px; line-height: 1.35; margin: 0; }

/* Recipes strip */
.section-recipes { background: var(--bg-deep); padding: 36px 0 40px; }
.section-recipes .section-head { margin-bottom: 24px; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 17px; padding: 8px 14px; font: 600 13px/1.25 var(--font-body); color: var(--cream); }
.pill:hover, .pill.is-active { border-color: var(--ember); color: var(--ember); }
.pill-more { color: var(--ember); }

/* Footer */
.site-footer { background: var(--footer); padding-top: 40px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 50px; }
.footer-head { font: 600 14px/1.2 var(--font-head); color: var(--ember); margin-bottom: 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li, .site-footer p { line-height: 26px; margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ember); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--dim); }
.footer-bottom p { line-height: 1.4; }
.footer-policies { display: flex; gap: 20px; }
.footer-policies a { color: var(--dim); }

/* Inner pages */
.site-main:not(.home-main) { padding: 48px 0 80px; min-height: 50vh; }
.page-head { margin-bottom: 32px; }
.page-title { font-size: 44px; margin: 0; }
.page-intro { max-width: 760px; margin-top: 14px; }
.filter-pills { margin-top: 22px; }
.entry-content { font-size: 17px; line-height: 1.65; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content a { color: var(--ember); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content strong { color: var(--cream); }
.ms-placeholder { border: 1px dashed var(--ember); background: rgba(226,88,34,.08); border-radius: 8px; padding: 14px 18px; color: var(--cream); font-size: 15px; }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; color: var(--muted); }
.post-card a:hover { border-color: var(--ember); }
.post-date { font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.post-title { font-size: 22px; margin-bottom: 10px; }
.post-excerpt { font-size: 14px; flex: 1; }
.post-more { font: 600 14px var(--font-head); color: var(--ember); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-head); }
.recipe-products { margin-top: 48px; } .recipe-products .section-title { margin-bottom: 20px; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; font-family: var(--font-head); }
.page-numbers.current { background: var(--ember); border-color: var(--ember); color: #fff; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 40px 0 0; }

/* Shop archive */
.breadcrumb { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); } .breadcrumb .sep { margin: 0 8px; color: var(--line); }
.woocommerce-products-header__title { font-size: 44px; margin: 0 0 8px; }
.term-description { max-width: 760px; }
.shop-toolbar, .woocommerce-result-count, .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce-result-count { float: left; font-size: 14px; color: var(--dim); line-height: 40px; }
.woocommerce-ordering { float: right; }
.woocommerce-ordering + ul.products, .woocommerce-result-count + .woocommerce-ordering + ul.products { clear: both; }
.shop-cats { clear: both; margin: 0 0 28px; }
select, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], textarea, .select2-container .select2-selection--single {
	background: #1b1613; color: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font: 400 15px var(--font-body); min-height: 44px; width: 100%;
}
select { width: auto; }
input:focus, select:focus, textarea:focus { border-color: var(--ember); outline: none; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--cream); line-height: 24px; padding-left: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 9px; }
.select2-dropdown { background: #1b1613; border-color: var(--line); color: var(--cream); }
.select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--ember) !important; }
.select2-search--dropdown .select2-search__field { background: #120e0c; color: var(--cream); border-color: var(--line); }
label { color: var(--cream); font-size: 14px; }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; position: relative; }
.single-product div.product > .onsale { left: 16px; top: 16px; }
.woocommerce-product-gallery { background: radial-gradient(ellipse at 50% 60%, #2b221c 0%, var(--card) 70%); border: 1px solid var(--line); border-radius: 18px; padding: 32px; position: relative; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { max-height: 560px; width: auto !important; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0,0,0,.45)); }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: flex; gap: 10px; padding: 0; margin: 20px 0 0; justify-content: center; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 72px; height: 72px; background: #f4f1ec; border-radius: 8px; overflow: hidden; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img { width: 100%; height: 100%; object-fit: contain; opacity: .65; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.4); text-indent: -999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::after { content: '+'; position: absolute; inset: 0; text-indent: 0; color: var(--cream); font: 600 20px/36px var(--font-head); text-align: center; }
.summary .product_title { font-size: 40px; margin-bottom: 6px; }
.product-size { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.summary .price { display: flex; align-items: baseline; gap: 4px; font: 700 30px/1.1 var(--font-head); color: var(--ember); margin: 0 0 22px; }
.summary .price del { font-size: 18px; }
.woocommerce-product-details__short-description { margin-bottom: 20px; }
form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0 0 24px; }
form.cart .quantity input { width: 84px; text-align: center; height: 50px; }
form.cart .single_add_to_cart_button { flex: 1; max-width: 320px; height: 50px; font-size: 17px; }
form.variations_form { display: block; }
table.variations { border-collapse: collapse; margin-bottom: 16px; width: 100%; }
table.variations th, table.variations td { display: block; text-align: left; padding: 0 0 8px; }
table.variations select { width: 100%; max-width: 420px; }
.reset_variations { font-size: 13px; color: var(--dim); margin-left: 8px; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.woocommerce-variation-price { margin-bottom: 14px; }
.product_meta { font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 16px; }
.product_meta > span { display: block; margin-bottom: 4px; } .product_meta a { color: var(--muted); }
.ms-buy-note { font-size: 13px; color: var(--dim); margin-top: -10px; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 8px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font: 600 15px var(--font-head); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--cream); border-color: var(--ember); }
.woocommerce-Tabs-panel { padding: 24px 0; max-width: 860px; font-size: 16px; line-height: 1.65; }
.woocommerce-Tabs-panel strong, .woocommerce-Tabs-panel b { color: var(--cream); }
.woocommerce-Tabs-panel table { border-collapse: collapse; } .woocommerce-Tabs-panel th, .woocommerce-Tabs-panel td { border-bottom: 1px solid var(--line); padding: 8px 14px 8px 0; text-align: left; }
.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 24px; }
.related.products > h2 { font-size: 28px; margin-bottom: 20px; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .ms-notice, .wc-block-components-notice-banner {
	list-style: none; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ember); border-radius: 8px; padding: 14px 18px; margin: 0 0 24px; color: var(--cream); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.woocommerce-error { border-left-color: #d64545; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: 10px 16px; min-width: 0; font-size: 14px; }
.woocommerce-error li { margin: 0; }

/* Cart & checkout (classic shortcodes) */
.wc-page .page-head { margin-bottom: 28px; }
table.shop_table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
table.shop_table th { font: 600 13px var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 16px; border-bottom: 1px solid var(--line-soft); color: var(--cream); vertical-align: middle; }
table.shop_table tr:last-child td { border-bottom: 0; }
table.shop_table .product-thumbnail img { width: 64px; height: 64px; object-fit: contain; background: #2b221c; border-radius: 8px; padding: 4px; }
table.shop_table .product-name a { font: 600 16px var(--font-head); }
table.shop_table .product-remove a { color: var(--dim); font-size: 22px; }
table.shop_table .product-remove a:hover { color: var(--ember); }
table.shop_table .quantity input { width: 72px; text-align: center; }
table.shop_table td.actions { text-align: right; background: #1d1815; }
td.actions .coupon { float: left; display: flex; gap: 10px; }
td.actions .coupon input { width: 200px; }
td.actions .coupon label { display: none; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 32px; }
.cart_totals { width: 100%; max-width: 440px; }
.cart_totals h2 { font-size: 26px; }
.cart_totals table th { width: 40%; }
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 18px; padding: 18px; }
.order-total .amount { color: var(--ember); font: 700 20px var(--font-head); }
#shipping_method { list-style: none; padding: 0; margin: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--muted); }
.shipping-calculator-button { color: var(--ember); }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
form.checkout .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#customer_details h3, #order_review_heading { font-size: 24px; margin: 0 0 18px; }
#order_review_heading { grid-column: 2; grid-row: 1; margin-bottom: 0; align-self: end; }
#order_review { grid-column: 2; grid-row: 2; align-self: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 110px; }
#order_review table.shop_table { border: 0; background: transparent; }
#order_review table.shop_table th, #order_review table.shop_table td { padding: 10px 0; }
#customer_details { grid-column: 1; grid-row: 1 / span 2; }
form.checkout { grid-template-rows: auto 1fr; row-gap: 18px; }
.form-row { margin: 0 0 16px; padding: 0; }
.form-row label { display: block; margin-bottom: 6px; }
.form-row .required { color: var(--ember); text-decoration: none; }
.form-row-first, .form-row-last { width: calc(50% - 8px); float: left; } .form-row-last { float: right; } .form-row-wide { clear: both; }
.woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after, .woocommerce-address-fields__field-wrapper::after { content: ''; display: table; clear: both; }
#ship-to-different-address label { font: 600 16px var(--font-head); display: flex; gap: 8px; align-items: center; }
#payment { margin-top: 18px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
#payment li.wc_payment_method { background: #1b1613; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
#payment li.wc_payment_method > label { font: 600 16px var(--font-head); color: var(--cream); }
#payment .payment_box { font-size: 14px; color: var(--muted); padding-top: 8px; }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; font-size: 18px; padding: 18px; margin-top: 12px; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--dim); }
.woocommerce-privacy-policy-text a { color: var(--muted); text-decoration: underline; }
.woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; }
.woocommerce-form-coupon-toggle a { color: var(--ember); }
.checkout_coupon { display: flex; gap: 12px; margin-bottom: 24px; } .checkout_coupon p { margin: 0; }
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 28px; }
.woocommerce-order-overview li { border-right: 1px solid var(--line); padding-right: 24px; font-size: 13px; text-transform: uppercase; color: var(--dim); }
.woocommerce-order-overview li strong { display: block; font: 600 16px var(--font-head); color: var(--cream); text-transform: none; }
.cart-empty.woocommerce-info { font-size: 18px; }
.return-to-shop .button { margin-top: 4px; }

/* Account */
.woocommerce-account .entry-content > .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); font: 500 15px var(--font-head); }
.woocommerce-MyAccount-navigation .is-active a { color: var(--ember); }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
#customer_login .u-column1, #customer_login .u-column2 { width: auto; float: none; }
.woocommerce-form-login, .woocommerce-form-register { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.woocommerce-account:not(.logged-in) .entry-content > .woocommerce { display: block; }
.woocommerce-form__label-for-checkbox { display: inline-flex; gap: 8px; align-items: center; }
.lost_password a { color: var(--ember); font-size: 14px; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1180px) {
	:root { --pad-x: 40px; }
	.hero-bottles { left: auto; right: var(--pad-x); }
	.story-inner { grid-template-columns: 1fr 1fr; }
	.story-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: 64px 0 auto 0; background: var(--header); border-bottom: 1px solid var(--line-soft); transform: translateY(-120%); transition: transform .2s; z-index: 40; }
	.nav-open .primary-nav { transform: none; }
	.nav-list { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
	.nav-list a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-soft); }
	.header-inner { height: 64px; }
	ul.products, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.single-product div.product, form.checkout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	#order_review_heading, #order_review, #customer_details { grid-column: 1; grid-row: auto; margin-bottom: 0; }
	#order_review { position: static; }
	.info-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.info-item:nth-child(3) { border-left: 0; padding-left: 16px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.woocommerce-account .entry-content > .woocommerce, #customer_login { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Phone (mockup: 390 wide)
   ========================================================================== */
@media (max-width: 600px) {
	:root { --pad-x: 20px; --gutter: 12px; }
	body { font-size: 15px; }
	.d-only, .d-only-inline { display: none !important; }
	.m-only { display: inline; }
	.wordmark-top { font-size: 18px; } .wordmark-sub { font-size: 10px; margin-top: 1px; }
	.header-actions { gap: 16px; } .header-account { display: none; }
	.nav-list a, .header-actions a { font-size: 14px; }
	.section-hero { min-height: 716px; background-position: 30% 50%; }
	.section-hero::before { background: linear-gradient(180deg, rgba(12,10,8,.55) 0%, rgba(12,10,8,.25) 38%, rgba(12,10,8,0) 60%, rgba(12,10,8,.35) 100%); }
	.hero-inner { min-height: 716px; }
	.hero-copy { padding-top: 40px; }
	.kicker { font-size: 14px; }
	.hero-title { font-size: 40px; margin: 12px 0 6px; line-height: 1.04; }
	.hero-text { font-size: 15px; margin-bottom: 22px; }
	.hero-ctas .btn-ember { min-width: 150px; padding: 12px 28px; font-size: 14px; }
	.hero-bottles { left: 30px; right: auto; bottom: 10px; width: 170px; height: 210px; }
	.hero-bottles .b1 { height: 196px; left: 0; } .hero-bottles .b2 { height: 210px; left: 74px; } .hero-bottles .b3 { display: none; }
	.section-title { font-size: 28px; }
	.section-grid { padding: 36px 0 44px; }
	.section-head { margin-bottom: 20px; }
	ul.products { gap: 14px var(--gutter); }
	.card-media { height: 190px; padding: 10px 6px 2px; }
	.card-media img { max-height: 172px; max-width: calc(100% - 16px); }
	.is-kits .card-media, .card.product_cat-kits .card-media { height: 160px; padding: 10px 14px; }
	.is-kits .card-media img, .card.product_cat-kits .card-media img { max-height: 136px; }
	.card-body { padding: 12px 12px 16px; }
	.card-name { font-size: 16px; } .card-price { font-size: 16px; margin-bottom: 12px; } .card-meta { font-size: 12px; }
	.card-actions .btn-ghost { display: none; }
	.story-inner { grid-template-columns: 1fr; gap: 28px; }
	.story-media { order: -1; }
	.story-copy .section-title { font-size: 28px; }
	.story-copy p { font-size: 16px; }
	.info-grid { grid-template-columns: 1fr; row-gap: 0; }
	.info-item, .info-item:first-child, .info-item:nth-child(3) { border-left: 0; padding: 18px 0; min-height: 0; border-top: 1px solid var(--line); }
	.info-item:first-child { border-top: 0; }
	.section-info { padding: 20px 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
	.page-title, .woocommerce-products-header__title { font-size: 32px; }
	.post-grid { grid-template-columns: 1fr; }
	.summary .product_title { font-size: 30px; }
	.woocommerce-product-gallery { padding: 18px; }
	.woocommerce-product-gallery__image img { max-height: 380px; }
	.woocommerce-result-count { float: none; line-height: 1.4; margin-bottom: 10px; } .woocommerce-ordering { float: none; }
	/* Cart table to stacked rows */
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
	table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 8px 14px; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font: 600 12px var(--font-head); text-transform: uppercase; color: var(--muted); }
	table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table_responsive td.product-thumbnail { justify-content: center; }
	td.actions { flex-direction: column; gap: 10px; } td.actions .coupon { float: none; width: 100%; } td.actions .coupon input { width: 100%; } td.actions .button { width: 100%; }
	.cart_totals table th { display: none; }
	.form-row-first, .form-row-last { width: 100%; float: none; }
	.woocommerce-tabs ul.tabs { overflow-x: auto; }
}

/* Neutralise woocommerce-general float grid so our CSS grid rules */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, ul.products li.card { width: auto !important; float: none !important; margin: 0 !important; padding: 0; min-width: 0; }
.woocommerce ul.products li.product a img, ul.products li.card .card-media img { width: auto; margin: 0; box-shadow: none; }
.woocommerce ul.products li.product .onsale { top: 12px; left: 12px; right: auto; margin: 0; min-height: 0; min-width: 0; line-height: 1; border-radius: 3px; }

/* --- Woo base pieces normally provided by woocommerce.css --- */
.woocommerce-store-notice, p.demo_store { display: none; }
.woocommerce .quantity .qty { width: 84px; text-align: center; }
.woocommerce-product-gallery { overflow: hidden; }
.woocommerce-product-gallery .flex-viewport { margin-bottom: 0; }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { cursor: zoom-in; }
.single-product .summary .stock { color: var(--muted); font-size: 14px; }
.woocommerce-Tabs-panel { display: block; }
.woocommerce-shipping-fields, .woocommerce-additional-fields { clear: both; margin-top: 20px; }
.woocommerce-additional-fields h3 { font-size: 20px; }
#ship-to-different-address { font-size: 16px; margin: 0 0 14px; }
.woocommerce-billing-fields h3 { margin-bottom: 18px; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce-invalid input { border-color: #d64545 !important; }
.woocommerce-checkout-review-order-table td.product-total, .woocommerce-checkout-review-order-table th.product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
#payment .payment_box { background: transparent; }
#payment .payment_box::before { display: none; }
.blockUI.blockOverlay { background: rgba(18,14,12,.6) !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.wc-item-meta { list-style: none; padding: 0; margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.wc-item-meta p { display: inline; margin: 0; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-customer-details address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.woocommerce-thankyou-order-received { font: 600 22px var(--font-head); color: var(--cream); }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; }
.single_variation_wrap .woocommerce-variation-price .price { font-size: 26px; }
.woocommerce-variation-description p { margin: 0 0 10px; }
.woocommerce-product-gallery__wrapper .zoomImg { background: var(--card); }
.pswp__bg { background: #0c0a08 !important; }
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 44px; display: flex; align-items: center; }
.woocommerce-cart-form__cart-item .variation { font-size: 13px; color: var(--muted); }
dl.variation { margin: 4px 0 0; } dl.variation dt, dl.variation dd { display: inline; margin: 0; font-size: 13px; color: var(--muted); } dl.variation dd p { display: inline; margin: 0; }
.entry-content a.button, .entry-content .btn, .entry-content button.button { color: #fff; text-decoration: none; }
.entry-content a.btn-ghost, .entry-content a.btn-outline { color: var(--cream); }
.woocommerce-cart .woocommerce-message .wc-forward { display: none; }
table.shop_table .product-name a { color: var(--cream); text-decoration: none; }
