/* ==========================================================================
   Okami – storefront styles (tokens taken from the live Shopify store)
   ========================================================================== */
:root {
	--blue: #000b91;
	--ink: #030302;
	--text: rgb(3 3 2 / .76);
	--muted: rgb(3 3 2 / .6);
	--bg: #fff;
	--sand: #edebe7;
	--line: #d3cec5;
	--tile: #f2f2f2;
	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: 20px;
	--header-h: 68px;
	--page: 120rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 14px/1.5 var(--font);
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 3vw, 40px); }
h2 { font-size: clamp(22px, 2.4vw, 32px); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }
.page-width { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.button, button.button, a.button, .wp-element-button, input[type=submit],
.woocommerce #respond input#submit, .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 28px;
	border: 1px solid var(--ink); border-radius: 0;
	background: var(--ink); color: #fff;
	font-size: 14px; font-weight: 500; letter-spacing: .01em;
	cursor: pointer; text-decoration: none; transition: background .2s, color .2s;
}
.button:hover, .single_add_to_cart_button:hover, input[type=submit]:hover { background: rgb(3 3 2 / .08); color: var(--ink); text-decoration: none; }
.button--secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button--secondary:hover { border-color: var(--ink); }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }

/* Inputs */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea {
	width: 100%; min-height: 44px; padding: 10px 12px;
	border: 1px solid var(--line); border-radius: 0; background: rgb(211 206 197 / .09);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--bg); color: var(--ink);
	transition: background .25s, color .25s;
}
.site-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: var(--header-h); padding: 0 40px;
}
.header-nav__list { display: flex; gap: 0; list-style: none; margin: 0 0 0 -10px; padding: 0; font-size: 14px; }
.header-nav__list a { display: block; padding: 11px 10px; color: var(--text); }
.site-header.is-transparent .header-nav__list a { color: inherit; }
.header-nav__list a { white-space: nowrap; }
.site-logo svg { height: 36px; width: auto; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header-locale { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; margin-right: 8px; }
.header-locale .flag { width: 16px; height: 16px; border-radius: 50%; overflow: hidden; }
.header-locale .icon { width: 14px; height: 14px; }
.header-icon {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; background: none; padding: 0; cursor: pointer; color: inherit;
}
.header-icon:hover { text-decoration: none; opacity: .7; }
.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px; background: var(--blue); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
}
.menu-toggle { display: none; }

/* Transparent over the hero on the homepage */
.site-header.is-transparent {
	position: fixed; left: 0; right: 0;
	background: transparent; color: #fff;
}
.site-header.is-transparent .site-logo { visibility: hidden; }
.site-header.is-transparent .cart-count { background: #fff; color: var(--blue); }
body.home.admin-bar .site-header.is-transparent { top: 32px; }

.header-search { border-top: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.header-search form { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 0 auto; padding: 12px var(--gutter); }
.header-search input { border: 0; background: none; font-size: 18px; }

.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 0 var(--gutter); overflow-y: auto; }
.mobile-menu__head { height: var(--header-h); display: flex; align-items: center; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; color: var(--ink); }

/* ==========================================================================
   Homepage sections
   ========================================================================== */
.hero {
	position: relative; display: grid; place-items: center;
	height: 100vh; min-height: 560px; max-height: 900px;
	background: var(--blue) center / cover no-repeat;
	color: #fff;
}
.hero__logo svg { width: min(260px, 60vw); height: auto; }
.hero__cta {
	position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
	font-size: 14px; text-decoration: underline; text-underline-offset: 4px;
}

.intro { max-width: 600px; margin: 0 auto; padding: 120px var(--gutter); text-align: center; color: var(--ink); font-size: 15px; }
.intro__tagline { font-weight: 600; font-size: 13px; }

.collection-list {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 4.1);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.collection-list::-webkit-scrollbar { display: none; }
.collection-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; }
.collection-tile:hover { text-decoration: none; }
.collection-tile__media { position: absolute; inset: 0; }
.collection-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.collection-tile:hover img { transform: scale(1.03); }
.collection-tile__title { position: absolute; left: 16px; bottom: 16px; padding: 4px 8px; background: #fff; font-size: 14px; line-height: 1.1; color: var(--text); }

.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 38px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; white-space: nowrap; padding-right: .8em; letter-spacing: -.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

.featured { padding: 40px 0 64px; }
.featured__head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: 16px; }
.featured__head h2 { font-size: 20px; margin: 0; }
.carousel-nav { display: flex; gap: 6px; }
.carousel-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.carousel-btn:hover { border-color: var(--ink); }
ul.product-carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4px) / 5.3);
	gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	list-style: none; margin: 0; padding: 0;
}
ul.product-carousel::-webkit-scrollbar { display: none; }
ul.product-carousel > li { scroll-snap-align: start; }

.media-content { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); color: var(--ink); }
.media-content__text { padding: 64px 48px; align-self: center; max-width: 620px; }
.media-content__text h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.01em; }
.media-content__text p { font-size: 14px; }
.eyebrow { font-size: 12px; letter-spacing: .06em; margin-bottom: 18px; }
.media-content__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Product cards
   ========================================================================== */
ul.products { list-style: none; margin: 0; padding: 0; }
ul.products::before, ul.products::after { content: none !important; display: none !important; }
ul.products li.product { width: auto; float: none; margin: 0; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.product-card__img--hover { opacity: 0; }
.product-card:hover .product-card__img--hover { opacity: 1; }
.product-card:hover .product-card__img--hover ~ .badge { z-index: 1; }
.product-card__info { padding: 16px 16px 24px; }
.product-card__title { font-size: 14px; font-weight: 400; line-height: 1.3; margin: 0 0 6px; color: var(--text); }
.product-card__price { font-size: 14px; color: var(--text); }
.product-card__price del { opacity: .6; margin-right: 4px; }
.product-card__price ins { text-decoration: none; }
.product-card__mediawrap { position: relative; }
.product-card__quick {
	position: absolute; right: 13px; bottom: 12px; width: 36px; height: 36px;
	display: grid; place-items: center; border-radius: 50%;
	background: #fff; border: 2px solid rgb(0 0 0 / .15); color: var(--ink);
	opacity: 0; transition: opacity .2s;
}
.product-card__quick .icon { width: 18px; height: 18px; }
.product-card:hover .product-card__quick, .product-card__quick:focus-visible { opacity: 1; }
.product-card__quick:hover { text-decoration: none; border-color: var(--ink); }
.product-card__quick.loading { opacity: .5; pointer-events: none; }
.product-card__quick.added { opacity: 1; border-color: var(--blue); color: var(--blue); }
.product-card__mediawrap + .added_to_cart, .product-card .added_to_cart { display: none; }
.badge {
	position: absolute; top: 10px; left: 10px; padding: 3px 8px;
	background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
}
.badge--sale { background: var(--blue); }

/* ==========================================================================
   Collection page
   ========================================================================== */
.collection-banner { background: var(--blue); color: #fff; padding: 64px var(--gutter) 40px; }
.collection-banner h1 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.collection-banner__desc { max-width: 640px; margin-top: 10px; opacity: .8; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--gutter); font-size: 12px; }
.collection-filters { display: flex; gap: 22px; }
.filter { position: relative; }
.filter summary { list-style: none; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary .icon { width: 14px; }
.filter[open] summary .icon { transform: rotate(180deg); }
.filter__panel { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; }
.filter__panel label { display: flex; align-items: center; gap: 8px; }
.filter__price .button { min-height: 38px; }
.collection-sort { display: flex; align-items: center; gap: 16px; }
.collection-count { color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 32px; padding: 4px 26px 4px 8px; border: 0; background: transparent; font-size: 12px; cursor: pointer; }
.collection-page ul.products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; }
.collection-page .woocommerce-info { margin: 40px var(--gutter); }
.woocommerce-pagination { padding: 40px var(--gutter); text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--line); }
.woocommerce-pagination .current { border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   Single product
   ========================================================================== */
.wc-page { padding: 0; }
/* Header floats over the product media, turns solid once the page scrolls */
body.single-product .site-header { position: fixed; left: 0; right: 0; background: transparent; }
body.single-product .site-header.is-scrolled { background: var(--bg); }
body.single-product.admin-bar .site-header { top: 32px; }
body.single-product .woocommerce-notices-wrapper:not(:empty) { padding-top: var(--header-h); }

.single-product div.product {
	display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start;
	padding-right: 40px;
}
.single-product .woocommerce-product-gallery { position: relative; opacity: 1 !important; margin: 0; padding-right: 20px; }
.single-product .woocommerce-product-gallery__wrapper { display: grid; gap: 0; margin: 0; }
.single-product .woocommerce-product-gallery__image { background: var(--tile); }
.single-product .woocommerce-product-gallery__image a { display: block; }
.single-product .woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.single-product .woocommerce-product-gallery__trigger { display: none; }
.single-product .summary {
	position: sticky; top: 82px; padding: 40px 0 40px 20px; color: var(--ink);
}
.single-product .summary > * { width: 100%; }
.single-product .product_title { font-size: 32px; line-height: 1.1; font-weight: 400; margin: 0 0 11px; }
.single-product .summary .price { font-size: 14px; line-height: 1.1; min-height: 18px; margin: 0 0 15px; color: var(--text); }
.single-product .summary .price del { opacity: .6; }
.single-product .summary .price ins { text-decoration: none; }
.tax-note { font-size: 12px; line-height: 1.4; color: var(--text); margin-bottom: 40px; }
.stock { font-size: 12px; }
.stock.out-of-stock { color: var(--ink); font-weight: 500; }

.variations { width: 100%; border: 0; margin-bottom: 14px; }
.variations th, .variations td { display: block; padding: 0; text-align: left; }
.variations th label { font-size: 12px; font-weight: 400; color: var(--muted); display: block; margin-bottom: 8px; }
.variant-picker select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.variant-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-pill {
	min-height: 38px; padding: 0 22px; font-size: 12px;
	border: 1px solid rgb(3 3 2 / .11); background: transparent; color: var(--ink); cursor: pointer;
}
.variant-pill:hover { background: #f5f5f5; }
.variant-pill.is-selected { border-color: var(--ink); }
.variant-pill.is-disabled { opacity: .45; text-decoration: line-through; }
.single_variation_wrap .woocommerce-variation-price { margin-bottom: 10px; }

form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 27px; }
form.variations_form { display: block; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.quantity { display: inline-flex; min-width: 126px; justify-content: space-between; border: 1px solid var(--line); border-radius: 2px; background: rgb(211 206 197 / .09); }
.quantity input.qty { width: 52px; min-height: 50px; border: 0; background: none; text-align: center; -moz-appearance: textfield; }
.quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-btn { width: 36px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.single_add_to_cart_button { flex: 1; min-height: 52px; border-radius: 2px; font-size: 14px; font-weight: 400; }
.single_add_to_cart_button .icon { width: 20px; height: 20px; }

.accordions { margin: 0; }
.accordion { border-top: 1px solid var(--line); }
.accordion summary {
	list-style: none; display: flex; justify-content: space-between; align-items: center;
	min-height: 44px; padding: 11.2px 0; font-size: 12px; line-height: 1.1; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 16px; transition: transform .2s; }
.accordion[open] summary .icon { transform: rotate(45deg); }
.accordion__body { padding: 0 0 18px; font-size: 13px; color: var(--text); }
.product-attrs { width: 100%; border-collapse: collapse; }
.product-attrs th, .product-attrs td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.product-attrs th { color: var(--muted); width: 45%; }
.secure-checkout { display: block; width: 100%; height: auto; margin-top: 57px; }

.rte h1, .rte h2, .rte h3, .rte h4 { font-size: 16px; font-weight: 600; margin: 1.2em 0 .5em; }
.rte ul, .rte ol { padding-left: 1.2em; }
.rte img { margin: 1em 0; }

.related.products { min-width: 0; overflow: hidden; padding: 56px 0 40px; }
.related.products > h2 { font-size: 24px; font-weight: 700; color: var(--text); padding: 0 40px; margin-bottom: 25px; }
.related.products ul.products {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100vw - 40px) / 4.19); gap: 0;
	padding: 0 0 0 40px; scroll-padding-left: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.related.products ul.products::-webkit-scrollbar { display: none; }
.related.products ul.products > li { scroll-snap-align: start; }

/* ==========================================================================
   Notices, cart, checkout, account, generic pages
   ========================================================================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 16px var(--gutter); padding: 14px 18px;
	border-left: 3px solid var(--blue); background: var(--sand); color: var(--ink);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-error { border-color: #b3261e; }
.woocommerce-message .button { min-height: 36px; padding: 0 16px; }

.page-content { padding: 56px var(--gutter) 80px; max-width: 1200px; }
.page-title { margin-bottom: 28px; }
.woocommerce-cart .page-content, .woocommerce-checkout .page-content, .woocommerce-account .page-content { max-width: var(--page); }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	border-radius: 0 !important; background: var(--ink) !important; color: #fff !important; min-height: 52px;
}
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control input, .wc-block-components-select select { border-radius: 0 !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--ink); text-decoration: underline; }
table.shop_table { width: 100%; border-collapse: collapse; }
table.shop_table th, table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; font-size: 12px; margin-bottom: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--blue); color: rgb(255 255 255 / .69); font-size: 12px; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px var(--gutter) 48px; }
.footer-title { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.footer-col p { margin-bottom: 8px; }
.footer-col strong { color: #fff; }
.footer-about p { max-width: 330px; }
.footer-logo svg { width: 150px; margin-top: 28px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-badge img { width: 150px; border-radius: 4px; }
.site-footer__bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px var(--gutter); border-top: 1px solid rgb(255 255 255 / .12); font-size: 11px;
}
.site-footer__bottom p { margin: 0; }
.legal-menu { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }

/* ==========================================================================
   Responsive — Fabric breakpoints: <750 mobile, 750–989 tablet, ≥990 desktop
   (all values below measured on the live store at 390 / 768 / 1024 / 1280 / 1920)
   ========================================================================== */

/* Home: hero = full viewport height at every size */
.hero { height: 100vh; height: 100svh; min-height: 0; max-height: none; }

/* Intro: centered block, 585px measure; 50vh desktop, 40vh tablet, content-sized on mobile */
.intro {
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	max-width: none; min-height: 50vh; padding: 0 40px; margin: 0;
}
.intro p { max-width: 585px; margin: 0; }
.intro p.intro__tagline { margin-top: 26px; }

/* Collection tiles & featured cards: 4:5, (100% - 48px) / 4 from tablet up */
.collection-list { grid-auto-columns: calc((100% - 48px) / 4); gap: 0; }
ul.product-carousel { grid-auto-columns: calc((100% - 48px) / 4); gap: 0; }
.collection-tile, .product-card__media { aspect-ratio: 4 / 5; }

/* Marquee band: 131px desktop, 102px below 990 */
.marquee { padding: calc((131px - 35.2px) / 2) 0; }

/* Featured products */
.featured { padding: 38px 0 24px; }
.featured__head { padding: 0 40px; margin-bottom: 38px; }
.product-card__info { padding: 12px 24px 15px; }
.product-card__title { margin: 0 0 2px; }

/* Buy-back block: 5/12 text, 7/12 image, at least 60vh, content centered */
.media-content { grid-template-columns: 5fr 7fr; min-height: 60vh; }
.media-content__text { max-width: none; padding: 40px; align-self: center; }
.media-content__text .eyebrow { margin-bottom: 21px; }
.media-content__media { position: relative; min-height: 100%; }
.media-content__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Footer: equal columns */
.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-left: 40px; padding-right: 40px; }
.site-footer__grid > .footer-col { padding-right: 0; }
.site-footer__grid > .footer-col > p, .footer-menu { padding-right: 24px; }

@media (max-width: 989px) {
	.collection-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.related.products ul.products { grid-auto-columns: calc((100vw - 40px) / 2.6); }
	.intro { min-height: 40vh; }
	.marquee { padding: calc((102px - 35.2px) / 2) 0; }
	.featured { padding: 26px 0 20px; }
	.featured__head { padding: 0 28px; margin-bottom: 26px; }
	.product-card__info { padding: 12px 20px 15px; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 749px) {
	:root { --gutter: 16px; --header-h: 60px; }
	.header-nav, .header-locale { display: none; }
	.menu-toggle { display: inline-grid; }
	.site-header__inner { grid-template-columns: auto 1fr auto; padding: 0 var(--gutter); }
	.site-logo { justify-self: center; }
	.site-logo svg { height: 28px; }

	.intro { min-height: 0; padding: 38px 16px; }
	.collection-list { grid-auto-columns: calc((100% - 48px) / 2); }
	ul.product-carousel { grid-auto-columns: 60%; }

	.media-content { grid-template-columns: 1fr; min-height: 0; }
	.media-content__media { order: -1; height: 50vh; min-height: 0; }
	.media-content__text { padding: 32px 16px; }

	.single-product div.product { grid-template-columns: 1fr; padding-right: 0; }
	body.single-product .site-header { position: sticky; background: var(--bg); }
	.single-product .woocommerce-product-gallery { padding-right: 0; }
	.single-product .summary { position: static; padding: 24px var(--gutter); }
	.single-product .woocommerce-product-gallery__wrapper { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
	.single-product .woocommerce-product-gallery__image { scroll-snap-align: start; }
	.product-card__quick { opacity: 1; }

	.collection-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.related.products ul.products { grid-auto-columns: calc((100vw - 16px) / 1.6); padding-left: 16px; scroll-padding-left: 16px; }
	.related.products > h2 { padding: 0 16px; }
	.collection-toolbar { flex-wrap: wrap; }

	.site-footer__grid { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	body.home.admin-bar .site-header.is-transparent { top: 46px; }
}

/* ==========================================================================
   Cart drawer
   ========================================================================== */
html.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 100; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .3s; }
.cart-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(406px, 100vw);
	background: var(--bg); color: var(--ink); outline: none;
	transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__inner { display: flex; flex-direction: column; height: 100%; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 12px 20px; }
.cart-drawer__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 400; color: var(--text); }
.cart-drawer__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: rgb(3 3 2 / .08); font-size: 10px; }
.cart-drawer__close {
	width: 52px; height: 52px; margin-right: -2px; display: grid; place-items: center;
	border: 1px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer; color: var(--ink);
}
.cart-drawer__close .icon { width: 16px; height: 16px; }
.cart-drawer__notice { margin: 0 20px 8px; padding: 8px 12px; background: #fdecea; color: #b3261e; font-size: 12px; }
.cart-drawer__items { list-style: none; margin: 0; padding: 0 20px; flex: 1; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; padding: 0 0 20px; transition: opacity .2s; }
.cart-item.is-loading { opacity: .5; pointer-events: none; }
.cart-item__media { display: block; width: 54px; height: 54px; background: var(--tile); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { display: block; font-size: 16px; line-height: 1.4; color: var(--text); }
.cart-item__variant { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.cart-item__unit { margin: 2px 0 12px; font-size: 14px; color: var(--text); }
.cart-item__actions { display: flex; align-items: center; gap: 12px; }
.cart-qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line); border-radius: 6px; }
.cart-qty__btn { width: 36px; height: 100%; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink); }
.cart-qty__btn .icon { width: 14px; height: 14px; }
.cart-qty__btn:disabled { opacity: .3; cursor: default; }
.cart-qty__value { min-width: 24px; text-align: center; font-size: 14px; }
.cart-item__remove { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink); }
.cart-item__remove .icon { width: 16px; height: 16px; }
.cart-item__total { font-size: 14px; color: var(--text); white-space: nowrap; }
.cart-drawer__foot { padding: 0 20px 20px; }
.cart-discount { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-discount summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 14px; color: var(--text); cursor: pointer; }
.cart-discount summary::-webkit-details-marker { display: none; }
.cart-discount summary .icon { width: 14px; height: 14px; transition: transform .2s; }
.cart-discount[open] summary .icon { transform: rotate(45deg); }
.cart-discount__form { display: flex; gap: 8px; padding-bottom: 14px; }
.cart-discount__form input { min-height: 40px; }
.cart-discount__form .button { min-height: 40px; padding: 0 16px; }
.cart-discount__applied { display: flex; justify-content: space-between; font-size: 13px; margin: 0 0 12px; }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 0 12px; font-size: 16px; color: var(--text); }
.cart-drawer__total strong { font-weight: 400; }
.cart-drawer__note { font-size: 12px; color: var(--text); margin: 0 0 24px; }
.cart-drawer__checkout { width: 100%; min-height: 52px; border-radius: 2px; }
.cart-drawer__empty { flex: 1; display: grid; place-content: center; gap: 16px; text-align: center; padding: 20px; }
.single_add_to_cart_button.loading { opacity: .6; }

/* ==========================================================================
   Checkout (same look as the cart page and the rest of the store)
   ========================================================================== */
.wc-block-checkout.wc-block-components-sidebar-layout {
	display: grid !important; grid-template-columns: minmax(0, calc((100% + 40px) * 2 / 3 - 60px)) minmax(0, 1fr); gap: 40px; margin: 0 !important;
}
.wc-block-checkout .wc-block-components-main, .wc-block-checkout .wc-block-components-sidebar { width: auto !important; padding: 0 !important; margin: 0 !important; }
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
	position: sticky; top: calc(var(--header-h) + 24px); background: var(--sand); padding: 28px; border: 0 !important; border-radius: 0;
}
.wc-block-checkout .wc-block-components-checkout-order-summary__title { margin: 0 0 12px; padding: 0; }
.wc-block-checkout .wc-block-components-checkout-order-summary__title-text {
	font-size: 12px !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}

/* Steps */
.wc-block-checkout .wc-block-components-checkout-step { margin: 0 0 36px !important; padding: 0 !important; }
.wc-block-checkout .wc-block-components-checkout-step::after { display: none !important; }
.wc-block-checkout .wc-block-components-checkout-step__heading { margin: 0 0 14px !important; }
.wc-block-checkout .wc-block-components-checkout-step__title {
	font-size: 12px !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.wc-block-checkout .wc-block-components-checkout-step__container,
.wc-block-checkout .wc-block-components-checkout-step__content { padding: 0 !important; }
.wc-block-checkout .wc-block-components-checkout-step__description { font-size: 13px; color: var(--muted); }

/* Inputs: same as the store's fields (square, sand tint, ink focus) */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-combobox .components-combobox-control input,
.wc-block-checkout .wc-blocks-components-select__select,
.wc-block-checkout .wc-block-components-textarea,
.wc-block-cart .wc-block-components-text-input input {
	min-height: 52px; border: 1px solid var(--line) !important; border-radius: 2px !important;
	background: rgb(211 206 197 / .09) !important; font-size: 14px !important; box-shadow: none !important; color: var(--ink);
}
.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-blocks-components-select__select:focus,
.wc-block-checkout .wc-block-components-textarea:focus,
.wc-block-cart .wc-block-components-text-input input:focus {
	border-color: var(--ink) !important; box-shadow: none !important; outline: none;
}
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-blocks-components-select__label { color: var(--muted) !important; }
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input { border-radius: 2px; border-color: var(--line); }
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--ink); border-color: var(--ink); }
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-checkout .wc-block-components-address-form__address_2-toggle,
.wc-block-checkout .wc-block-components-checkbox label { font-size: 13px; color: var(--text); }

/* Shipping / payment choices: like the variant buttons */
.wc-block-checkout .wc-block-components-radio-control--highlight-checked,
.wc-block-checkout .wc-block-components-radio-control-accordion-option { border-radius: 2px; }
.wc-block-checkout .wc-block-components-radio-control--highlight-checked::after { border-color: var(--line) !important; border-radius: 2px; }
.wc-block-checkout .wc-block-components-radio-control__option { padding-top: 16px; padding-bottom: 16px; font-size: 14px; color: var(--ink); }
.wc-block-checkout .wc-block-components-radio-control__option-checked { background: transparent; }
.wc-block-checkout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option-checked::after,
.wc-block-checkout .wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option--checked-option-highlighted::after {
	border-color: var(--ink) !important; border-width: 1px !important; border-radius: 2px;
}
.wc-block-checkout .wc-block-components-radio-control__input { border-color: var(--line); }
.wc-block-checkout .wc-block-components-radio-control__input:checked { border-color: var(--ink); }
.wc-block-checkout .wc-block-components-radio-control__input:checked::before { background: var(--ink); }
.wc-block-checkout .wc-block-components-radio-control__secondary-label,
.wc-block-checkout .wc-block-components-radio-control__description,
.wc-block-checkout .wc-block-components-radio-control-accordion-content { font-size: 13px; color: var(--text); }

/* Place order: the store's primary button */
.wc-block-checkout .wc-block-checkout__actions { padding-top: 8px; }
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button { color: var(--text); font-size: 13px; }
.wc-block-components-checkout-place-order-button {
	width: 100%; min-height: 52px !important; border-radius: 2px !important;
	background: var(--ink) !important; color: #fff !important; font-size: 14px !important; font-weight: 400 !important;
}
.wc-block-components-checkout-place-order-button:hover { background: rgb(3 3 2 / .85) !important; }
.wc-block-checkout__terms { font-size: 12px; color: var(--muted); }

/* Order summary box */
.wc-block-components-order-summary .wc-block-components-order-summary-item { padding: 0 0 16px !important; border: 0 !important; }
.wc-block-components-order-summary-item__image { width: 64px !important; }
.wc-block-components-order-summary-item__image > img {
	width: 64px !important; height: 80px; object-fit: cover; background: var(--tile); border: 0; border-radius: 0;
}
.wc-block-components-order-summary-item__quantity {
	background: var(--ink) !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
	min-width: 20px; height: 20px; font-size: 11px !important;
}
.wc-block-components-order-summary-item__description { padding-left: 16px !important; }
.wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 14px; font-weight: 400; color: var(--ink); }
.wc-block-components-order-summary-item__description .wc-block-components-product-price,
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata { display: none; }
.wc-block-components-order-summary-item__total-price { font-size: 14px; color: var(--ink); }
.wc-block-checkout .wc-block-components-totals-wrapper { border-top: 1px solid rgb(3 3 2 / .1) !important; padding: 14px 0 !important; }
.wc-block-checkout .wc-block-components-totals-item { font-size: 14px; }
.wc-block-checkout .wc-block-components-totals-item__description { font-size: 12px; color: var(--muted); }
.wc-block-checkout .wc-block-components-panel__button { font-size: 14px; color: var(--ink); }
.wc-block-checkout .wc-block-components-totals-coupon__form .wc-block-components-button {
	min-height: 52px; border-radius: 2px !important; background: var(--ink) !important; color: #fff !important; border: 0;
}

/* ==========================================================================
   Cart page
   ========================================================================== */
/* Same gutters as the header (40px) and the product page's right column (2/3 line) */
body.is-cart-page .page-content { max-width: none; margin: 0; padding: 56px 40px 96px; }
body.is-cart-page .page-title { font-size: 32px; margin-bottom: 32px; }
.wc-block-cart.wc-block-components-sidebar-layout {
	display: grid !important; grid-template-columns: minmax(0, calc((100% + 40px) * 2 / 3 - 60px)) minmax(0, 1fr); gap: 40px; margin: 0 !important;
}
.wc-block-cart .wc-block-components-main, .wc-block-cart .wc-block-components-sidebar { width: auto !important; padding: 0 !important; margin: 0 !important; }
.wc-block-cart table.wc-block-cart-items { border-collapse: collapse; }
.wc-block-cart .wc-block-cart-items__header { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wc-block-cart .wc-block-cart-items__header th { padding: 0 0 12px !important; border-bottom: 1px solid var(--line); font-weight: 500; }
.wc-block-cart .wc-block-cart-items__row { border-bottom: 1px solid var(--line); }
.wc-block-cart .wc-block-cart-items__row td { padding: 24px 0 !important; border: 0 !important; vertical-align: top; }
.wc-block-cart .wc-block-cart-item__image { width: 112px; padding-right: 24px !important; }
.wc-block-cart .wc-block-cart-item__image img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tile); }
.wc-block-cart .wc-block-components-product-name { font-size: 16px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.wc-block-cart .wc-block-cart-item__prices { font-size: 14px; color: var(--text); margin: 4px 0 14px; }
.wc-block-cart .wc-block-components-product-metadata { font-size: 12px; color: var(--muted); }
.wc-block-cart .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 16px; }
.wc-block-components-quantity-selector {
	width: 126px !important; height: 44px; border: 1px solid var(--line) !important; border-radius: 6px !important; background: #fff;
}
.wc-block-components-quantity-selector::after { display: none !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { font-size: 14px; font-weight: 400; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--ink); opacity: 1; font-size: 18px; }
.wc-block-cart .wc-block-cart-item__remove-link { font-size: 12px !important; color: var(--muted) !important; text-decoration: underline !important; text-underline-offset: 2px; }
.wc-block-cart .wc-block-cart-item__total { font-size: 14px; color: var(--ink); }
.wc-block-cart .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }

.wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block {
	position: sticky; top: calc(var(--header-h) + 24px); background: var(--sand); padding: 28px; border: 0;
}
.wc-block-cart .wc-block-cart__totals-title {
	display: block !important; margin: 0 0 12px !important; padding: 0 !important;
	font-size: 12px !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-align: left !important;
}
.wc-block-cart .wc-block-components-totals-wrapper { border-top: 1px solid rgb(3 3 2 / .1) !important; padding: 14px 0 !important; }
.wc-block-cart .wc-block-components-totals-item { font-size: 14px; }
.wc-block-cart .wc-block-components-panel__button { font-size: 14px; }
.wc-block-cart .wc-block-cart__submit-container { padding: 0 !important; }
.wc-block-cart .wc-block-cart__submit-button {
	width: 100%; min-height: 52px; border-radius: 2px !important; background: var(--ink) !important; color: #fff !important;
	font-size: 14px !important; font-weight: 400 !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover { background: rgb(3 3 2 / .85) !important; }
.wc-block-cart .wc-block-components-totals-coupon__form .wc-block-components-button {
	min-height: 50px; border-radius: 5px !important; background: var(--ink) !important; color: #fff !important;
}
.wp-block-woocommerce-empty-cart-block { text-align: center; padding: 40px 0; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-size: 24px; font-weight: 400; color: var(--ink); }
.wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 18px !important; font-weight: 400 !important; color: var(--ink); }
.wc-block-components-totals-footer-item-tax { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
	.wc-block-checkout.wc-block-components-sidebar-layout, .wc-block-cart.wc-block-components-sidebar-layout { display: block !important; }
	.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block { position: static; margin-bottom: 32px; }
	body.is-cart-page .page-content { padding: 32px 16px 64px; }
}

/* ==========================================================================
   Cart / checkout refinements: Okami-blue actions, single dividers, clean thumbnails
   ========================================================================== */
:root { --blue-hover: #000870; }

/* Primary actions in Okami blue */
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__form .wc-block-components-button,
.cart-drawer__checkout {
	background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-totals-coupon__form .wc-block-components-button:hover,
.cart-drawer__checkout:hover { background: var(--blue-hover) !important; color: #fff !important; }

/* Summary boxes: no stray borders; one divider above coupons, one above the total */
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block > *,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper,
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block > *,
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.wc-block-checkout .wc-block-components-order-summary,
.wc-block-checkout .wc-block-components-checkout-order-summary__content > * {
	border: 0 !important; padding: 0 !important; margin: 0;
}
.wc-block-components-totals-wrapper:empty,
.wc-block-components-totals-wrapper:not(:has(.wc-block-components-totals-item, .wc-block-components-panel, .wc-block-components-totals-coupon, .wc-block-components-totals-shipping, .wc-block-components-order-summary)) { display: none !important; }
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-checkout .wc-block-components-checkout-order-summary__title { padding: 0 0 16px !important; margin: 0 !important; border-bottom: 1px solid rgb(3 3 2 / .1); }
/* Coupon: framed box like the store's fields (selectors beat the "no borders in summary" reset above) */
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block > .wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
	border: 1px solid var(--line) !important; border-radius: 2px; background: #fff;
	padding: 0 16px !important; margin: 16px 0 12px !important;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__button,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button {
	padding: 14px 0 !important; font-size: 14px; color: var(--ink);
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__button > *,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button > * { margin-left: 0 !important; }
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__button-icon,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button-icon { right: 0 !important; }
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel__content,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__content { padding: 0 0 16px !important; }
.wc-block-components-panel__button { padding: 14px 0 !important; margin: 0 !important; }
.wc-block-components-totals-item { padding: 8px 0 !important; margin: 0 !important; }
.wc-block-components-totals-footer-item { border-top: 1px solid rgb(3 3 2 / .1) !important; margin-top: 8px !important; padding-top: 16px !important; }
.wc-block-cart .wc-block-cart__submit-container { margin-top: 16px !important; }

/* Checkout order summary items: square thumb, badge on its corner, text aligned to top */
.wc-block-checkout .wc-block-components-order-summary-item {
	display: flex !important; align-items: flex-start; gap: 16px; padding: 16px 0 !important;
}
.wc-block-checkout .wc-block-components-order-summary-item__image {
	position: relative; flex: 0 0 64px; width: 64px !important; margin: 0 !important; padding: 0 !important;
}
.wc-block-checkout .wc-block-components-order-summary-item__image > img {
	display: block; width: 64px !important; height: 64px !important; max-width: none; object-fit: cover; background: none; margin: 0 !important; vertical-align: top;
}
.wc-block-checkout .wc-block-components-order-summary-item__quantity {
	position: absolute; top: -8px !important; right: -8px !important; left: auto !important; transform: none !important; margin: 0 !important;
}
.wc-block-checkout .wc-block-components-order-summary-item__description { flex: 1; padding: 0 !important; }
.wc-block-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name { line-height: 1.35; }
.wc-block-checkout .wc-block-components-order-summary-item__total-price { margin-left: auto; padding-left: 12px; }

/* Cart rows: square image filling its tile, space before the text */
.wc-block-cart td.wc-block-cart-item__image { width: 136px; padding-right: 24px !important; }
.wc-block-cart td.wc-block-cart-item__image img { width: 112px !important; height: 112px !important; max-width: none; aspect-ratio: auto; object-fit: cover; background: none; display: block; }
.wc-block-cart .wc-block-cart-item__wrap { display: flex; flex-direction: column; align-items: flex-start; }
.wc-block-cart .wc-block-components-product-name { margin-bottom: 6px; }
.wc-block-cart .wc-block-cart-item__prices { margin: 0 0 16px; }
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel__button {
	width: 100% !important; margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
}
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-wrapper,
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-panel { padding: 0 !important; margin: 0 !important; }

/* ==========================================================================
   Typography parity with the live Shopify (Fabric) store — measured at 1512px
   ========================================================================== */
body { line-height: 1.4; }
h1, h2, h3, h4 { color: var(--text); }
.button, a.button, button.button, .single_add_to_cart_button { font-weight: 400; letter-spacing: normal; }

/* Header */
.header-nav__list a { line-height: 23.4px; }

/* Home */
.intro { font-size: 18px; line-height: 1.4; color: var(--text); }
.intro__tagline { font-size: 14px; font-weight: 700; }
.marquee__track span { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: normal; }
.featured__head h2 { font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--text); }
.media-content, .media-content__text h2, .media-content__text p, .media-content .eyebrow { color: #000; }
.media-content__text h2 { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: normal; }
.media-content__text p { font-size: 14px; line-height: 1.4; }
.eyebrow { font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; }

/* Product cards */
.product-card__title { font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--ink); }
.product-card__title a { color: inherit; }
.product-card__price { font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.badge { font-size: 13px; line-height: 1.4; letter-spacing: normal; }

/* Collection */
.collection-banner h1 { font-size: 32px; font-weight: 400; line-height: 40px; color: #fff; }
.collection-toolbar { font-size: 14px; color: var(--text); }
.collection-count { color: rgb(3 3 2 / .6); }
.collection-sort label { color: var(--text); }
.woocommerce-ordering select { font-size: 14px; color: var(--text); }
.filter summary, .filter__panel { font-size: 14px; }

/* Product page */
.single-product .product_title { color: var(--text); }
.single-product .summary .price { line-height: 1.1; }
.variations th label { font-size: 14px; font-weight: 400; color: var(--text); }
.variant-pill { font-size: 14px; color: rgb(0 0 0 / .6); }
.variant-pill.is-selected { color: var(--ink); }
.accordion summary { font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: normal; color: var(--text); }
.accordion__body { font-size: 14px; line-height: 1.4; }
.accordion__body strong, .accordion__body b { font-weight: 700; }

/* Footer: heavy column titles, 14px body, white bottom bar like Fabric */
.site-footer { font-size: 14px; line-height: 1.4; }
.site-footer a { color: #fff; }
.footer-title { font-size: 14px; font-weight: 900; line-height: 1.4; color: #fff; }
.footer-about .footer-title { font-size: 16px; }
.footer-col:last-child .footer-title { font-weight: 700; }
.footer-col strong { font-weight: 700; }
.site-footer__bottom { background: #fff; color: rgb(3 3 2 / .6); border-top: 0; font-size: 12px; }
.site-footer__bottom a { color: rgb(3 3 2 / .6); }
.filter__note { margin: 0; color: var(--text); }
.filter__range { display: flex; align-items: center; gap: 8px; }
.filter__range input { width: 90px; }
.collection-sort__label { color: var(--text); }
.media-content__text .eyebrow { font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; }
.single-product .summary .stock.out-of-stock { display: none; }
.cart--soldout { margin: 0 0 27px; }
.cart--soldout .single_add_to_cart_button,
.cart--soldout .single_add_to_cart_button:hover {
	width: 100%; min-height: 52px; border-radius: 2px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 400;
	opacity: .5; cursor: not-allowed;
}

/* ==========================================================================
   Order received ("Hvala")
   ========================================================================== */
body.is-order-received .page-title { display: none; }
body.is-order-received .page-content { max-width: none; margin: 0; padding: 56px 40px 96px; }
.ty__head { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.ty__check { flex: 0 0 56px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.ty__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.ty__title { margin: 0; font-size: 32px; font-weight: 400; line-height: 1.1; color: var(--text); }
.ty__grid { display: grid; grid-template-columns: minmax(0, calc((100% + 40px) * 2 / 3 - 60px)) minmax(0, 1fr); gap: 40px; align-items: start; }
.ty__main { display: grid; gap: 24px; }
.ty__card { border: 1px solid var(--line); padding: 28px; }
.ty__card h2 { margin: 0 0 12px; font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.ty__card p { margin: 0 0 10px; font-size: 14px; }
.ty__card p:last-child { margin-bottom: 0; }
.ty__status { border-left: 3px solid var(--blue); }
.ty__status h2 { font-size: 18px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.ty__mail { color: var(--muted); }
.ty__card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ty__card-head h2 { margin: 0; }
.ty__print { min-height: 40px; padding: 0 16px; font-size: 13px; }
.ty__info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.ty__info-grid h3 { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.ty__info-grid p, .ty__info-grid address { margin: 0; font-size: 14px; font-style: normal; line-height: 1.5; color: var(--ink); }
.ty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 8px 0 0; }
.ty__continue { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.ty__continue:hover { background: var(--blue-hover) !important; }
.ty__help { font-size: 13px; color: var(--muted); }
.ty__help a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.ty__summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--sand); padding: 28px; }
.ty__summary-title { margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgb(3 3 2 / .1); font-size: 12px; font-weight: 500; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.ty__items { list-style: none; margin: 0; padding: 8px 0; }
.ty__item { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; }
.ty__thumb { position: relative; flex: 0 0 64px; }
.ty__thumb img { display: block; width: 64px; height: 64px; object-fit: cover; }
.ty__qty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.ty__name { flex: 1; font-size: 14px; line-height: 1.35; color: var(--ink); }
.ty__name small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.ty__price { font-size: 14px; color: var(--ink); white-space: nowrap; }
.ty__totals { margin: 0; padding-top: 8px; border-top: 1px solid rgb(3 3 2 / .1); }
.ty__totals > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text); }
.ty__totals dt, .ty__totals dd { margin: 0; }
.ty__totals .ty__total { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgb(3 3 2 / .1); font-size: 18px; color: var(--ink); }
.ty__tax { margin: 0; font-size: 12px; color: var(--muted); }

/* UPN slip */
.upn { border: 1px solid #c9b98a; background: #fffdf3; font-size: 13px; color: #1d1d1b; }
.upn__preview { margin: 0; padding: 8px 16px; background: #fff3cd; border-bottom: 1px solid #e8d48a; color: #7a5b00; font-size: 12px; font-weight: 500; }
.upn__head { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #f3e6b5; border-bottom: 1px solid #c9b98a; }
.upn__brand { padding: 2px 8px; background: #1d1d1b; color: #fff3cd; font-weight: 700; letter-spacing: .08em; font-size: 12px; }
.upn__title { font-weight: 500; font-size: 13px; }
.upn__qrlabel { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.upn__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 16px; }
.upn__qr { text-align: center; }
.upn__qr svg { display: block; width: 200px; height: 200px; background: #fff; border: 1px solid #e6dcb8; }
.upn__qr p { margin: 8px 0 0; font-size: 11px; color: #6b6450; }
.upn__qr-missing { display: grid; place-items: center; width: 200px; height: 200px; padding: 16px; border: 1px dashed #c9b98a; font-size: 12px; color: #6b6450; }
.upn__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.upn__row { min-width: 0; }
.upn__row--wide { grid-column: 1 / -1; }
.upn__row dt { margin: 0 0 3px; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6b6450; }
.upn__row dd { margin: 0; padding: 6px 8px; background: #fff; border: 1px solid #e6dcb8; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.upn__amount { font-weight: 700; }
.upn__mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .02em; }
.upn--preview .upn__qr svg { opacity: .35; }

@media (max-width: 900px) {
	body.is-order-received .page-content { padding: 32px 16px 64px; }
	.ty__grid { grid-template-columns: 1fr; }
	.ty__summary { position: static; order: -1; }
	.ty__info-grid { grid-template-columns: 1fr; }
	.upn__body { grid-template-columns: 1fr; justify-items: center; }
	.upn__fields { width: 100%; }
}

@media print {
	body.is-order-received * { visibility: hidden; }
	body.is-order-received #upn-slip, body.is-order-received #upn-slip * { visibility: visible; }
	body.is-order-received #upn-slip { position: absolute; top: 0; left: 0; right: 0; }
	.site-header, .cart-drawer { display: none !important; }
}

/* Home fine-tuning (measured) */
.featured__head h2 { line-height: 26.4px; padding: 2.3px 0; margin: 0; }
.product-card__price { min-height: 16px; display: flex; align-items: center; }
.media-content__text .eyebrow { max-width: min(100%, 390px); margin: 0 0 21px; }
.media-content__text h2 { padding: 3px 0; margin: 0 0 29px; }
.media-content__text p:not(.eyebrow) { max-width: min(100%, 318.5px); margin: 0; }
.media-content__text p:not(.eyebrow) + p { margin-top: 14px; }
.media-content__text .button { margin-top: 24px; }
.button, a.button, button.button { min-height: 52px; padding: 15px 23px; line-height: 19.6px; border-radius: 2px; }
@media (max-width: 749px) {
	.collection-list { grid-auto-columns: calc((100% - 46px) / 2); }
}
ul.product-carousel { align-items: start; }
ul.product-carousel > li { height: var(--slide-h, auto); overflow: hidden; }

/* Header & footer parity (measured at 390 / 768 / 1024 / 1512) */
.site-header__inner { grid-template-columns: 1fr auto 1fr; column-gap: 10px; }
.header-start { display: flex; align-items: center; min-width: max-content; }
.header-search-start, .menu-toggle { display: none; }
.site-logo { min-width: 122px; }
.site-logo svg { height: 36px; width: 122px; }
.header-actions { gap: 0; margin-right: -8px; }
.header-account { width: 42px; }
.header-locale { height: 46px; padding: 0 3px 0 4px; margin: 0; gap: 6px; }
.footer-logo svg { width: 162px; height: 48px; }
.footer-badge img { width: 55%; height: auto; max-width: none; }
@media (max-width: 989px) {
	/* Live Fabric overflows the viewport here (cart icon off-screen); compact header instead */
	.header-nav, .header-locale, .header-search-end { display: none; }
	.menu-toggle, .header-search-start { display: inline-grid; }
	.header-start { margin-left: -8px; }
	.site-footer__grid { row-gap: 20px; }
}
@media (max-width: 749px) {
	.site-header__inner { grid-template-columns: 1fr auto 1fr; padding: 0 2px 0 0; }
	.header-start { margin-left: 0; }
	.header-actions { margin-right: 0; }
	.header-account { display: none; }
	.site-logo { min-width: 95px; }
	.site-logo svg { height: 28px; width: 95px; }
	.footer-badge img { width: 154px; }
}

/* ==========================================================================
   Collection page parity (measured at 390 / 768 / 1024 / 1920)
   ========================================================================== */
.collection-banner { padding: 80px 40px; }
.collection-banner h1 { margin: 0; line-height: 40px; }
.collection-toolbar { height: 84px; padding: 20px 80px; box-sizing: border-box; }
.collection-filters { gap: 35px; }
.collection-sort { gap: 20px; }
.filter summary { height: 44px; }
.filter__panel--right { left: auto; right: 0; }
.sort-options { list-style: none; margin: 0; padding: 8px 0; min-width: 260px; }
.sort-options a { display: block; padding: 8px 16px; white-space: nowrap; color: var(--text); }
.sort-options a[aria-current] { font-weight: 500; color: var(--ink); }
.grid-toggle { display: flex; gap: 4px; }
.grid-toggle__btn { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: none; color: rgb(3 3 2 / .3); cursor: pointer; padding: 0; }
.grid-toggle__btn .icon, .grid-toggle__btn svg { width: 16px; height: 16px; }
.grid-toggle__btn.is-active { color: var(--ink); }

.collection-page ul.products { grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 0; }
.collection-page ul.products.is-large { grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); }
.collection-page .product-card__mediawrap { padding: 0 10px; }
.collection-page .product-card__info { padding: 8px 26px 16px 16px; }
.collection-page .product-card__title { margin: 0 0 4px; }

@media (max-width: 989px) {
	.collection-banner { padding: 56px 40px; }
	.collection-toolbar { padding: 20px 68px; }
}
@media (max-width: 749px) {
	.collection-banner { padding: 56px 16px; }
	.collection-toolbar { height: 44px; padding: 0 16px; }
	.collection-filters, .collection-count, .grid-toggle { display: none; }
	.collection-sort { margin-left: auto; }
	.collection-page ul.products, .collection-page ul.products.is-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.collection-page .product-card__mediawrap { padding: 0 2px; }
	.collection-page .product-card__info { padding: 8px 26px 12px 16px; }
}

/* ==========================================================================
   Product page parity across widths (measured at 390 / 768 / 1024 / 1512 / 1920)
   ========================================================================== */
.single-product div.product { grid-template-columns: minmax(0, 1fr) max(400px, calc(100% / 3)); }
.single-product .woocommerce-product-gallery__image img { aspect-ratio: auto; height: auto; max-height: none; object-fit: initial; }
.single-product .single_variation_wrap .woocommerce-variation { display: none !important; }
.single-product table.variations { margin: 16px 0 56px; border-collapse: collapse; }
.single-product .variations th label { margin-bottom: 7px; line-height: 20px; }
.single-product .variant-pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: 11px 12px; }
.single-product .variant-pill { min-height: 46px; padding: 0 12px; }
.single-product form.cart, .single-product .woocommerce-variation-add-to-cart { gap: 11px; }
.single-product form.variations_form { margin-bottom: 41px; }
.single-product .quantity { height: 52px; min-width: 126px; box-sizing: border-box; }
.single-product .quantity input.qty { min-height: 0; height: 50px; }
.single-product .single_add_to_cart_button { min-height: 52px; height: 52px; padding-top: 0; padding-bottom: 0; }
.cart--soldout { display: flex; gap: 11px; }
.cart--soldout .single_add_to_cart_button { flex: 1; width: auto; }
.cart--soldout .quantity input { width: 100%; text-align: center; border: 0; background: none; }

@media (max-width: 989px) {
	.single-product div.product { grid-template-columns: minmax(0, 1fr) 384px; }
	.single-product .summary { padding-top: 28px; }
	.single-product table.variations { margin-bottom: 44px; }
}
@media (max-width: 749px) {
	.single-product div.product { grid-template-columns: 1fr; }
	body.single-product .site-header { position: fixed; background: transparent; }
	body.single-product .site-header.is-scrolled { background: var(--bg); }
	.single-product .summary { padding: 28px 16px 0; }
	.single-product .woocommerce-product-gallery__image img { width: 100vw; }
}
/* Product page vertical rhythm (live values; variable products differ from simple ones on Fabric) */
.single-product .summary { margin-top: 82px; top: 82px; }
.single-product table.variations { margin-top: 0; }
.single-product .product-type-variable form.variations_form { padding-top: 16px; margin-bottom: 41px; }
.single-product .product-type-variable .secure-checkout { margin-top: 41px; }
.related.products { padding-top: 22px; }
@media (max-width: 989px) {
	.single-product .product-type-variable form.variations_form { padding-top: 4px; margin-bottom: 29px; }
	.single-product .product-type-variable .secure-checkout { margin-top: 29px; }
	.related.products { padding-top: 18px; }
}
@media (max-width: 749px) {
	.single-product .summary { margin-top: 0; }
	.related.products { padding-top: 17px; }
}
/* 1px border compensation (each accordion row carries a 1px top border) */
.single-product .summary { padding-bottom: 0; }
.single-product .product-type-simple form.cart, .single-product .cart--soldout { margin-bottom: 26px; }
.single-product .product-type-simple .secure-checkout { margin-top: 55px; }
.single-product .product-type-variable form.variations_form { margin-bottom: 40px; }
@media (max-width: 989px) {
	.single-product table.variations { margin-bottom: 43px; }
	.single-product .product-type-variable form.variations_form { margin-bottom: 28px; }
}

/* Language switcher (header) */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; cursor: pointer; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary .icon { transform: rotate(180deg); }
.lang-switch__panel {
	position: absolute; top: 100%; right: 0; z-index: 70; min-width: 180px; padding: 12px 0;
	background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 24px rgb(0 0 0 / .08);
}
.lang-switch__title { margin: 0 16px 6px; font-size: 12px; color: var(--muted); }
.lang-switch__panel a { display: block; padding: 8px 16px; font-size: 14px; color: var(--text); }
.lang-switch__panel a[aria-current] { color: var(--ink); font-weight: 500; }
.lang-switch__panel a:hover { background: #f5f5f5; text-decoration: none; }
.mobile-menu__lang { display: flex; gap: 20px; margin: 24px 0; font-size: 14px; }
.mobile-menu__lang a[aria-current] { font-weight: 600; text-decoration: underline; }

.lang-switch .flag { width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(3 3 2 / .12); }
.lang-switch__panel a { display: flex; align-items: center; gap: 10px; }
