/*
Theme Name: lakri
Theme URI:
Author: Lakri
Description: An airy, lightweight classic WooCommerce theme for handcrafted wooden kitchen essentials.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: lakri
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready
*/
/* Optional self-hosted font slot (no external font requests):
@font-face {
  font-family: 'Lakri Serif';
  src: url('assets/fonts/lakri-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
Then prepend 'Lakri Serif' to --serif below. */
:root {
  --cream: #faf6ef;
  --walnut: #3b2a1f;
  --sheesham: #7a3b24;
  --honey: #c8964f;
  --forest: #2f4a3a;
  --forest-dark: #21382b;
  --white: #fff;
  --muted: #716459;
  --border: #ded5c8;
  --surface: #f0e8dc;
  --hero-dark: #473023;
  --hero-mid: #75513a;
  --hero-light: #a4754b;
  --on-dark: #fffaf3;
  --error: #962c22;
  --success-bg: #edf3eb;
  --error-bg: #fff0eb;
  --overlay: rgb(35 23 15 / 64%);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --xs: .75rem;
  --sm: .875rem;
  --base: 1rem;
  --lg: 1.125rem;
  --xl: 1.5rem;
  --h-xl: clamp(2.6rem, 6.5vw, 5.8rem);
  --h-lg: clamp(2rem, 4vw, 3.6rem);
  --h-md: clamp(1.6rem, 3vw, 2.5rem);
  --line-body: 1.65;
  --line-heading: 1.08;
  --tracking: .13em;
  /* Spacing scale: s1–s9; type sizes: xs–xl. */
  --s1: .25rem;
  --s2: .5rem;
  --s3: .75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 1280px;
  --reading: 760px;
  --radius: 3px;
  --shadow: 0 8px 28px rgb(59 42 31 / 6%);
  --transition: 160ms ease;
  --grain: repeating-linear-gradient(177deg, transparent 0 5px, rgb(122 59 36 / 10%) 6px, transparent 7px 11px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s6); }
body { margin: 0; background: var(--cream); color: var(--walnut); font: var(--base)/var(--line-body) var(--sans); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; vertical-align: middle; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--sheesham); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sheesham); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: var(--line-heading); margin: 0 0 var(--s5); }
h1 { font-size: var(--h-lg); }
h2 { font-size: var(--h-md); }
h3 { font-size: var(--xl); }
p { margin: 0 0 var(--s5); }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.reading-width { max-width: var(--reading); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: var(--s4); background: var(--forest); color: var(--white); padding: var(--s4); z-index: 10000; }
.skip-link:focus { top: var(--s4); color: var(--white); }
.icon { width: 24px; height: 24px; }
.eyebrow { font-size: var(--xs); text-transform: uppercase; letter-spacing: var(--tracking); font-weight: 600; margin-bottom: var(--s4); }
.button, button, input[type='submit'], .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s4); min-height: 46px; padding: var(--s3) var(--s5);
  border: 1px solid var(--forest); border-radius: var(--radius); background: var(--forest); color: var(--white);
  font-family: var(--sans); font-size: var(--sm); font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background var(--transition);
}
.button:hover, button:hover, input[type='submit']:hover, .wp-block-button__link:hover { background: var(--forest-dark); color: var(--white); }
button:disabled, input:disabled, .button.disabled { opacity: .55; cursor: not-allowed; }
.text-link { font-size: var(--sm); font-weight: 600; display: inline-flex; align-items: center; gap: var(--s4); min-height: 44px; }
input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='hidden']), select, textarea { width: 100%; min-height: 46px; padding: var(--s3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--walnut); }
input[type='checkbox'], input[type='radio'] { accent-color: var(--forest); width: 18px; height: 18px; vertical-align: middle; }
textarea { min-height: 140px; resize: vertical; }
label { display: block; margin-bottom: var(--s2); font-size: var(--sm); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s4); }
.wordmark { font: 600 2.7rem/1 var(--serif); letter-spacing: -.07em; text-decoration: none; }
.wordmark-dot { color: var(--sheesham); }
.custom-logo { width: auto; max-width: 160px; max-height: 58px; }
.header-tools { display: flex; align-items: center; gap: var(--s3); font-size: var(--xs); }
.header-tools a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; text-decoration: none; }
.header-tools .search-link { min-width: 38px; justify-content: center; }
.lakri-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; padding-inline: var(--s1); background: var(--surface); border-radius: 50%; font-size: var(--xs); }
.menu-toggle { min-height: 44px; border: 0; padding: var(--s2); color: var(--walnut); background: transparent; font-size: var(--sm); }
.primary-navigation { order: 4; width: 100%; }
.menu { list-style: none; margin: 0; padding: 0; }
.primary-navigation .menu { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.primary-navigation a { display: block; padding-block: var(--s3); font-size: var(--sm); text-decoration: none; }
.primary-navigation .sub-menu { list-style: none; padding-left: var(--s4); }
.has-menu-js .primary-navigation { display: none; }
.has-menu-js .menu-toggle[aria-expanded='true'] + .primary-navigation { display: block; }
.hero { position: relative; isolation: isolate; background: linear-gradient(110deg, var(--hero-dark), var(--hero-mid) 58%, var(--hero-light)); color: var(--on-dark); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(174deg, transparent 0 30px, rgb(255 255 255 / 3%) 31px, transparent 33px 62px); pointer-events: none; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-with-image::before { content: ''; position: absolute; inset: 0; background: var(--overlay); z-index: -1; }
.hero-inner { min-height: 540px; padding-block: var(--s9); display: flex; align-items: center; justify-content: space-between; gap: var(--s7); }
.hero-copy { max-width: 650px; }
.hero h1 { font-size: var(--h-xl); letter-spacing: -.035em; margin-bottom: var(--s6); }
.hero-description { max-width: 490px; margin-bottom: var(--s6); font-size: var(--lg); }
.hero .button { background: var(--cream); border-color: var(--cream); color: var(--walnut); }
.brand-strip { border-bottom: 1px solid var(--border); }
.brand-strip .container { display: flex; align-items: center; justify-content: center; gap: var(--s3); padding-block: var(--s5); }
.brand-strip p { margin: 0; font-size: var(--sm); letter-spacing: .03em; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s7); }
.centered { justify-content: center; text-align: center; }
.grain-divider { position: relative; }
.grain-divider::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 9px; background: var(--grain); }
.promo { padding-block: var(--s8); background: var(--surface); }
.promo-inner { display: grid; gap: var(--s5); }
.promo h2 { margin-bottom: 0; }
.promo p { max-width: 540px; }
.category-grid, .benefit-grid, .post-grid { display: grid; gap: var(--s5); }
.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card { text-decoration: none; }
.category-image { aspect-ratio: 1; background: linear-gradient(145deg, var(--surface), var(--border)); overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-image > .icon { width: 70px; height: 70px; color: var(--sheesham); opacity: .5; stroke-width: .6; }
.why-wood { background: var(--surface); }
.benefit { text-align: center; padding: var(--s4); }
.benefit .icon { color: var(--forest); width: 36px; height: 36px; margin-bottom: var(--s5); }
.benefit p { color: var(--muted); font-size: var(--sm); margin-bottom: 0; }
.post-card-image { display: block; margin-bottom: var(--s5); background: var(--surface); }
.post-card-image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.post-card-title { font-size: var(--xl); line-height: 1.3; margin-bottom: var(--s3); }
.empty-state { padding: var(--s6); background: var(--surface); border-radius: var(--radius); grid-column: 1/-1; }
.site-footer { background: var(--surface); padding-top: var(--s8); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: var(--s7); }
.footer-grid h2 { font: 600 var(--sm)/1.4 var(--sans); margin-bottom: var(--s4); }
.footer-grid p { font-size: var(--sm); color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: var(--s7); padding-block: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); }
.search-form { display: flex; max-width: 480px; }
.search-form .search-field { min-width: 0; border-radius: var(--radius) 0 0 var(--radius); }
.search-submit { min-width: 46px; padding: var(--s2); border: 1px solid var(--forest); background: var(--forest); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.page-heading { margin-bottom: var(--s7); }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: var(--s5); }
.wp-block-column { flex: 1 1 240px; min-width: 0; }
.comments-area { border-top: 1px solid var(--border); margin-top: var(--s7); padding-top: var(--s7); }
.not-found { min-height: 60vh; text-align: center; }
.navigation, .woocommerce-pagination { margin-top: var(--s7); }
.nav-links, .woocommerce-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; }
.page-numbers:not(ul), .page-links a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); padding: var(--s2); text-decoration: none; }
.page-numbers.current { background: var(--forest); color: var(--white); border-color: var(--forest); }
/* WooCommerce: all classic frontend styles live here. */
.woocommerce-breadcrumb { color: var(--muted); font-size: var(--xs); margin-bottom: var(--s6); }
.woocommerce-result-count { font-size: var(--sm); color: var(--muted); }
.woocommerce-ordering { margin-bottom: var(--s6); max-width: 300px; }
ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s4); list-style: none; padding: 0; margin: 0; clear: both; }
ul.products li.product { position: relative; min-width: 0; margin: 0; width: auto; float: none; display: flex; flex-direction: column; }
ul.products li.product > a.woocommerce-LoopProduct-link { display: block; text-decoration: none; }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); border-radius: var(--radius); margin-bottom: var(--s4); }
.woocommerce-loop-product__title, .woocommerce-loop-category__title { font-size: var(--lg); line-height: 1.35; margin: 0 0 var(--s2); }
ul.products .price { display: block; font-size: var(--sm); margin-bottom: var(--s3); }
.price ins { text-decoration: none; }
.price del { color: var(--muted); font-size: .9em; margin-right: var(--s2); }
ul.products li.product > .button { align-self: flex-start; margin-top: auto; padding: var(--s2) var(--s3); background: transparent; color: var(--forest); border-color: var(--border); }
ul.products li.product > .button:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.button.loading { opacity: .65; cursor: progress; }
.button.added::after { content: '✓'; }
.onsale { position: absolute; top: var(--s3); left: var(--s3); padding: var(--s1) var(--s3); background: var(--sheesham); color: var(--white); font-size: var(--xs); border-radius: var(--radius); z-index: 2; }
.star-rating { position: relative; width: 5.5em; height: 1.5em; overflow: hidden; font-size: var(--sm); line-height: 1.5; letter-spacing: .1em; margin-bottom: var(--s2); }
.star-rating::before { content: '☆☆☆☆☆'; position: absolute; inset: 0; color: var(--sheesham); }
.star-rating > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 1.5em; }
.star-rating > span::before { content: '★★★★★'; position: absolute; top: 0; left: 0; color: var(--sheesham); }
.single-product div.product { position: relative; }
.woocommerce-product-gallery { opacity: 1 !important; margin: 0 0 var(--s6); }
.woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: 0; }
.woocommerce-product-gallery__image:first-child, .woocommerce-product-gallery__image--placeholder { grid-column: 1/-1; }
.woocommerce-product-gallery img { width: 100%; height: auto; border-radius: var(--radius); background: var(--surface); }
.summary .product_title { font-size: var(--h-lg); margin-bottom: var(--s5); }
.summary .cart { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: flex-end; margin-block: var(--s5); }
.quantity { display: inline-block; }
.quantity .qty { max-width: 88px; text-align: center; }
.product_meta { border-top: 1px solid var(--border); padding-top: var(--s5); margin-top: var(--s6); font-size: var(--sm); color: var(--muted); }
.product_meta > span { display: block; margin-bottom: var(--s2); }
.stock { color: var(--forest); font-size: var(--sm); }
.out-of-stock { color: var(--error); }
.form-hint { font-size: var(--sm); color: var(--muted); margin-top: var(--s3); }
.lakri-options { margin-top: var(--s5); }
.variation-result { border: 1px solid var(--border); padding: var(--s5); margin-block: var(--s5); }
.woocommerce-tabs { clear: both; padding-top: var(--s7); }
.wc-tabs { display: flex; flex-wrap: wrap; list-style: none; gap: var(--s5); border-bottom: 1px solid var(--border); margin: 0 0 var(--s6); padding: 0; }
.wc-tabs a { display: inline-block; padding-block: var(--s3); font-size: var(--sm); }
.woocommerce-Tabs-panel { display: block !important; margin-bottom: var(--s7); scroll-margin-top: var(--s6); }
.related, .upsells { clear: both; border-top: 1px solid var(--border); padding-top: var(--s7); margin-top: var(--s7); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: var(--s5); margin: 0 0 var(--s6); background: var(--success-bg); border-left: 3px solid var(--forest); }
.woocommerce-info { background: var(--surface); border-color: var(--honey); }
.woocommerce-error { background: var(--error-bg); border-color: var(--error); }
.cart-feedback { position: fixed; bottom: var(--s5); inset-inline: var(--gutter); max-width: 500px; margin-inline: auto; z-index: 100; padding: var(--s5); background: var(--forest); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--sm); margin-bottom: var(--s5); }
th, td { padding: var(--s3); border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-weight: 600; }
thead { background: var(--surface); }
.product-thumbnail { width: 90px; }
.product-thumbnail img { max-width: 70px; border-radius: var(--radius); }
a.remove { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; text-decoration: none !important; font-size: var(--xl); color: var(--error); }
.coupon { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.coupon label { width: 100%; }
.coupon input.input-text { max-width: 220px; }
.cart-collaterals { margin-top: var(--s7); }
.cart_totals { border: 1px solid var(--border); padding: var(--s5); border-radius: var(--radius); }
.cart_totals h2 { font-size: var(--xl); }
.wc-proceed-to-checkout .button { width: 100%; }
.woocommerce-shipping-methods, .wc_payment_methods { list-style: none; padding: 0; margin: 0; }
.woocommerce-shipping-methods label, .wc_payment_method > label { display: inline; }
.form-row { margin-bottom: var(--s5); }
.woocommerce-invalid input { border-color: var(--error) !important; }
#order_review { border: 1px solid var(--border); padding: var(--s5); border-radius: var(--radius); }
#payment { background: var(--surface); padding: var(--s5); border-radius: var(--radius); }
.payment_box { padding: var(--s4); background: var(--cream); margin-top: var(--s3); font-size: var(--sm); }
.place-order { margin-top: var(--s5); margin-bottom: 0; }
#place_order { width: 100%; }
.woocommerce-terms-and-conditions { max-height: 240px; overflow: auto; padding: var(--s4); background: var(--white); }
address { font-style: normal; padding: var(--s5); border: 1px solid var(--border); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 var(--s6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.woocommerce-MyAccount-navigation a { display: block; padding: var(--s3) var(--s4); border: 1px solid var(--border); text-decoration: none !important; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--forest); border-color: var(--forest); color: var(--white); }
.woocommerce-MyAccount-content { min-width: 0; overflow-x: auto; }
fieldset { border: 1px solid var(--border); padding: var(--s5); margin: 0 0 var(--s5); }
/* SelectWoo's functional checkout UI; WooCommerce supplies its script here only. */
.select2-container { display: inline-block; position: relative; vertical-align: middle; width: 100% !important; }
.select2-selection { display: block; min-height: 46px; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius); cursor: pointer; padding: var(--s3) var(--s6) var(--s3) var(--s3); }
.select2-selection__rendered { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select2-selection__arrow { position: absolute; right: var(--s3); top: var(--s3); }
.select2-selection__arrow b::after { content: '⌄'; }
.select2-dropdown { display: block; border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow); position: absolute; left: -100000px; width: 100%; z-index: 1051; }
.select2-container--open .select2-dropdown { left: 0; }
.select2-search--dropdown { display: block; padding: var(--s2); }
.select2-results__options { list-style: none; padding: 0; margin: 0; max-height: 240px; overflow-y: auto; }
.select2-results__option { padding: var(--s2) var(--s3); cursor: pointer; }
.select2-results__option--highlighted, .select2-results__option[aria-selected='true'] { background: var(--forest); color: var(--white); }
.select2-hidden-accessible { border: 0 !important; clip: rect(0, 0, 0, 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; }
.select2-search--hide { display: none; }
.blockUI.blockOverlay { background: var(--cream) !important; opacity: .65 !important; }
@media (min-width: 600px) {
  .header-tools { font-size: var(--sm); gap: var(--s5); }
  .benefit-grid, .post-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
  .promo-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s8); }
  .form-row-first { float: left; width: 48%; }
  .form-row-last { float: right; width: 48%; }
  .form-row-wide, .clear { clear: both; }
  .woocommerce-result-count { float: left; padding-top: var(--s3); }
  .woocommerce-ordering { margin-left: auto; }
  .cart_totals { max-width: 540px; margin-left: auto; }
}
@media (min-width: 900px) {
  .header-inner { min-height: 96px; flex-wrap: nowrap; gap: var(--s6); }
  .menu-toggle { display: none; }
  .primary-navigation, .has-menu-js .primary-navigation { display: block; order: initial; width: auto; margin-inline: auto; }
  .primary-navigation .menu { gap: var(--s6); }
  .primary-navigation .menu > li { position: relative; }
  .primary-navigation .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: var(--s3) var(--s4); background: var(--cream); border: 1px solid var(--border); box-shadow: var(--shadow); }
  .primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
  .hero-inner { min-height: 620px; }
  .category-grid, .benefit-grid, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr .75fr .9fr 1.2fr; }
  .single-product div.product > .woocommerce-product-gallery { float: left; width: 52%; }
  .single-product div.product > .summary { float: right; width: 42%; }
  .woocommerce-tabs { padding-top: var(--s8); }
  form.checkout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 var(--s7); align-items: start; }
  form.checkout > .woocommerce-NoticeGroup { grid-column: 1/-1; }
  form.checkout > #customer_details { grid-column: 1; grid-row: 1/4; }
  form.checkout:has(> .woocommerce-NoticeGroup) > #customer_details { grid-row: 2/5; }
  form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 2; }
  .woocommerce-account .woocommerce { display: flow-root; }
  .woocommerce-MyAccount-navigation { float: left; width: 25%; }
  .woocommerce-MyAccount-navigation ul { display: block; }
  .woocommerce-MyAccount-navigation li { margin-bottom: var(--s2); }
  .woocommerce-MyAccount-content { float: right; width: 70%; }
}
@media (max-width: 599px) {
  .header-inner { gap: var(--s2); }
  .wordmark { font-size: 2.3rem; }
  .header-tools { margin-left: auto; }
  .menu-toggle { order: 3; }
  .has-menu-js .menu-toggle[aria-expanded='true'] + .primary-navigation { order: 4; }
  .hero-inner { min-height: 510px; padding-block: var(--s8); }
  .shop_table_responsive thead { display: none; }
  .shop_table_responsive, .shop_table_responsive tbody, .shop_table_responsive tr, .shop_table_responsive td { display: block; width: 100%; }
  .shop_table_responsive tr { border-bottom: 1px solid var(--border); padding-block: var(--s4); }
  .shop_table_responsive td { text-align: right; border: 0; padding: var(--s2) 0; min-height: 40px; }
  .shop_table_responsive td[data-title]::before { content: attr(data-title) ': '; float: left; font-weight: 600; }
  .shop_table_responsive td.product-name { text-align: left; }
  .shop_table_responsive td.product-name::before { display: none; }
  .shop_table_responsive td.product-thumbnail { display: none; }
  .shop_table_responsive td.actions { text-align: left; }
  .coupon { align-items: stretch; }
  .coupon input.input-text { flex: 1; min-width: 100px; }
  .shop_table_responsive .actions > button { width: 100%; }
  #order_review, #payment { padding: var(--s4); }
  .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding-inline: var(--s2); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.category-card h3, .woocommerce-Tabs-panel h2 { font-size: var(--xl); margin-top: var(--s4); }
.footer-grid .menu a { display: inline-block; padding-block: var(--s2); font-size: var(--sm); }
.footer-bottom p, .woocommerce-privacy-policy-text { font-size: var(--sm); }
.menu-toggle:hover { background: var(--surface); color: var(--walnut); }

/* Photo hero and section imagery (bundled WebP, lazy except the hero) */
.hero-photo { background: var(--cream); color: var(--walnut); }
.hero-photo::after { display: none; }
.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(250 246 239 / 88%), rgb(250 246 239 / 0%) 72%); }
.hero-photo .hero-image { object-position: 78% center; }
.hero-photo .button { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
@media (min-width: 900px) { .hero-photo::before { background: none; } .hero-photo .hero-image { object-position: center; } }
.promo-media { display: block; width: 100%; height: auto; margin-top: var(--s7); border-radius: var(--radius); }
.why-media { display: block; width: 100%; max-width: 1000px; height: auto; max-height: 420px; object-fit: cover; margin: 0 auto var(--s7); border-radius: var(--radius); }

/* Logo sizing */
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo { height: 38px; width: auto; max-width: 160px; }
.footer-logo { height: 44px; width: auto; }

.promo-media { max-height: 440px; object-fit: cover; object-position: right center; }

/* Mobile: text on cream first, photo underneath so nothing overlaps the image */
@media (max-width: 899px) {
  .hero-photo { display: flex; flex-direction: column-reverse; }
  .hero-photo::before { display: none; }
  .hero-photo .hero-image { position: static; z-index: auto; height: 300px; object-position: 82% center; }
  .hero-photo .hero-inner { min-height: 0; padding-block: var(--s7) var(--s6); }
}
