/* Rosto theme — by Ali Yadollahi (علی یدالهی) · smart-business.ir */

:root {
	--ink: #0d0d0d;
	--espresso: #1c1612;
	--roast: #2a211a;
	--gold: #d1b057;
	--gold-d: #a8893a;
	--gold-l: #efe3bf;
	--cream: #f6f1e7;
	--paper: #fff;
	--line: #ebe5d9;
	--muted: #6f665c;
	--ok: #2f7d4f;
	--bad: #b3402e;
	--r: 14px;
	--r-sm: 10px;
	--shadow: 0 1px 2px rgba(28, 22, 18, .05), 0 8px 28px rgba(28, 22, 18, .07);
	--font: "Yekan Bakh FaNum", Tahoma, sans-serif;
	--wrap: 1280px;
	--header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.9; color: var(--ink); background: var(--paper); direction: rtl; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-d); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -40px; right: 12px; background: var(--gold); color: var(--ink); padding: 6px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.only-mobile { display: none !important; }
@media (max-width: 960px) {
	.only-mobile { display: inline-flex !important; }
	.only-desktop { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn, .button, button.button, .woocommerce-Button, .single_add_to_cart_button, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	min-height: 44px; padding: .55em 1.4em; border-radius: var(--r-sm); border: 1.5px solid transparent;
	background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; line-height: 1.4; text-align: center;
	transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:hover, .button:hover { background: #2b2b2b; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #dcc070; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 36px; padding: .35em 1em; font-size: 13.5px; }
.btn-lg { min-height: 54px; padding: .7em 2em; font-size: 17px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: .35em; font-size: 14px; }
.link-btn:hover { color: var(--gold-d); }
.icon-btn { display: inline-flex; align-items: center; gap: .4em; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; border-radius: 10px; position: relative; min-height: 40px; }
.icon-btn:hover { background: rgba(255,255,255,.08); color: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .25em .85em; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 13.5px; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on:hover { color: var(--gold); }
.kicker { color: var(--gold-d); font-weight: 700; letter-spacing: .02em; margin: 0 0 .3em; font-size: 14px; }

/* ---------- Header ---------- */
.topbar { background: var(--gold); color: var(--ink); font-size: 13px; text-align: center; padding: 4px 0; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,13,13,.96); color: #fff; backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(209,176,87,.15); }
.admin-bar .site-header { top: 32px; }
.header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; }
.brand-logo { height: 48px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14.5px; position: relative; }
.main-nav .menu > li > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.main-nav .menu > li > a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--gold); }
.main-nav .sub-menu { position: absolute; top: 100%; right: 0; min-width: 200px; list-style: none; margin: 0; padding: 8px; background: var(--espresso); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav + .header-actions { margin-inline-start: 0; }
.account-link span { font-size: 14px; }
.cart-count, .badge { position: absolute; top: 2px; left: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.cart-count[data-count="0"] { display: none; }
@media (max-width: 960px) {
	:root { --header-h: 58px; }
	.header-in { gap: 6px; }
	.brand { margin-inline: auto; }
	.brand-logo { height: 40px; }
	.header-actions { margin-inline-start: 0; }
	.admin-bar .site-header { top: 0; }
}

/* ---------- Drawers / popups ---------- */
.scrim { position: fixed; inset: 0; background: rgba(13,13,13,.55); z-index: 90; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; box-shadow: var(--shadow); animation: slideIn .25s ease; }
.drawer-start { right: 0; }
.drawer-end { left: 0; animation-name: slideInL; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideInL { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-head .icon-btn:hover { background: var(--cream); color: var(--ink); }
.drawer-nav { padding: 10px 18px; overflow: auto; }
.drawer-nav .menu { list-style: none; margin: 0; padding: 0; }
.drawer-nav .menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-nav .sub-menu { list-style: none; padding-inline-start: 14px; }
.drawer-extra { padding: 18px; margin-top: auto; }
.drawer-cart-wrap { flex: 1; overflow: auto; padding: 14px 18px; display: flex; flex-direction: column; }
.drawer-cart-body { display: flex; flex-direction: column; min-height: 100%; }
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: 700; }
.woocommerce-mini-cart-item img { grid-row: span 3; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.woocommerce-mini-cart-item .remove { position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 18px; }
.woocommerce-mini-cart-item .remove:hover { background: var(--cream); color: var(--bad); }
.woocommerce-mini-cart-item dl.variation { margin: 0; color: var(--muted); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 0 8px; grid-column: 2; }
.woocommerce-mini-cart-item dl.variation dt, .woocommerce-mini-cart-item dl.variation dd { margin: 0; display: inline; }
.woocommerce-mini-cart-item dl.variation dd p { display: inline; margin: 0; }
.mini-qty { grid-column: 2; display: flex; align-items: center; gap: 6px; }
.mini-qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.mini-qty button:hover { border-color: var(--ink); }
.mini-qty .mini-price { margin-inline-start: auto; font-weight: 700; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 14px 0 6px; margin: auto 0 0; font-size: 16px; }
.woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .checkout { background: var(--gold); color: var(--ink); }
.woocommerce-mini-cart__empty-message { text-align: center; color: var(--muted); padding: 40px 0; }
.ship-bar { background: var(--cream); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; font-size: 13.5px; }
.ship-bar p { margin: 0 0 6px; }
.ship-track { height: 6px; background: #e6dcc6; border-radius: 99px; overflow: hidden; }
.ship-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold)); border-radius: inherit; transition: width .4s; }

.search-pop { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: 8vh 16px 16px; background: rgba(13,13,13,.6); backdrop-filter: blur(4px); }
.search-box { width: min(720px, 100%); background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 10px; animation: pop .2s ease; max-height: 84vh; display: flex; flex-direction: column; }
@keyframes pop { from { transform: translateY(-8px); opacity: 0; } }
.search-form { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.search-form input[type=search] { flex: 1; border: 0; outline: 0; font-size: 17px; padding: 10px 4px; background: none; min-width: 0; }
.search-form .icon-btn:hover { background: var(--cream); color: var(--ink); }
.search-results { overflow: auto; }
.search-results a.sr-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.search-results a.sr-item:hover, .search-results a.sr-item.is-active { background: var(--cream); color: inherit; }
.sr-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.sr-item small { display: block; color: var(--muted); font-size: 12.5px; }
.sr-item .sr-price { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.sr-group { padding: 10px 10px 2px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.sr-all { display: block; text-align: center; padding: 10px; font-weight: 700; color: var(--gold-d); }
.sr-empty { padding: 20px; text-align: center; color: var(--muted); }
.search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 10px 6px; font-size: 13px; color: var(--muted); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.toast a { color: var(--gold); font-weight: 700; }

/* ---------- Home ---------- */
.hero { position: relative; color: #fff; background: #0d0d0d var(--hero) center / cover no-repeat; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.7) 40%, rgba(13,13,13,.1) 100%); }
.hero-in { position: relative; padding-block: 80px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); max-width: 12em; line-height: 1.3; margin-bottom: .35em; font-weight: 900; }
.hero .kicker { color: var(--gold); font-size: 15px; letter-spacing: .08em; }
.hero .lead { max-width: 34em; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.hero-brews { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.brew-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.brew-chip img { width: 20px; height: 20px; filter: invert(1) brightness(1.4); opacity: .9; }
.brew-chip:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.brew-chip:hover img { filter: none; }

.benefits { background: var(--cream); padding: 34px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { text-align: center; padding: 6px 10px; }
.benefit img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 10px; }
.benefit h3 { font-size: 17px; margin-bottom: .2em; }
.benefit p { color: var(--muted); font-size: 13.5px; margin: 0; }
@media (max-width: 760px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; } .benefit h3 { font-size: 15px; } }

.section { padding: 56px 0; }
.section + .section { padding-top: 16px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(21px, 2.4vw, 28px); margin: 0; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-lead { max-width: 46em; margin: 10px auto 0; color: var(--muted); }
.more { color: var(--gold-d); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.origins-band { background: var(--espresso); color: #fff; padding: 56px 0 !important; margin: 40px 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .kicker { color: var(--gold); }
.origin-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.origin-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(209,176,87,.45); color: inherit; font-weight: 600; }
.origin-chip small { color: var(--gold); font-weight: 500; }
.origin-chip:hover { background: var(--gold); color: var(--ink); }
.origin-chip:hover small { color: var(--ink); }

.belt { border-radius: 18px; overflow: hidden; }
.belt svg { display: block; width: 100%; height: auto; }
.belt-lbl { fill: rgba(209,176,87,.6); font-size: 11px; text-anchor: start; font-family: var(--font); }
.belt-cont { fill: rgba(255,255,255,.25); font-size: 15px; font-weight: 800; text-anchor: middle; font-family: var(--font); }
.belt-halo { fill: rgba(209,176,87,.18); transition: r .2s; }
.belt-dot { fill: var(--gold); stroke: #1c1612; stroke-width: 2; }
.belt-name { fill: #fff; font-size: 13px; font-weight: 700; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: #1c1612; stroke-width: 4px; }
.belt-pin:hover .belt-halo, .belt-pin.is-active .belt-halo { fill: rgba(209,176,87,.45); }
.belt-pin.is-active .belt-dot { fill: #fff; }
@media (max-width: 700px) { .belt-name { font-size: 20px; } .belt-lbl { display: none; } .belt-cont { font-size: 22px; } }

.story { background: var(--cream); padding: 70px 0 !important; }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.story-img img { border-radius: 22px; width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow); }
.story-text h2 { font-size: clamp(22px, 2.6vw, 32px); }
.story-text > p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px; }
.steps img { width: 40px; height: 40px; flex: none; }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 24px; } .steps { grid-template-columns: 1fr; } }

.brew-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.brew-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 6px; border-radius: 16px; border: 1px solid var(--line); text-align: center; font-weight: 700; font-size: 13.5px; background: #fff; transition: .2s; }
.brew-tile img { width: 52px; height: 52px; object-fit: contain; }
.brew-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
@media (max-width: 1000px) { .brew-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 560px) { .brew-grid { grid-template-columns: repeat(3, 1fr); } }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.why-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-card div { padding: 16px 18px 18px; }
.why-card h3 { font-size: 17px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.finder-cta { padding-bottom: 72px !important; }
.finder-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(120deg, var(--ink), var(--roast)); color: #fff; border-radius: 24px; padding: 40px 44px; }
.finder-cta-in h2 { font-size: clamp(20px, 2.4vw, 28px); }
.finder-cta-in p:last-child { color: rgba(255,255,255,.72); margin: 0; max-width: 40em; }
.finder-cta .kicker { color: var(--gold); }
@media (max-width: 760px) { .finder-cta-in { flex-direction: column; align-items: stretch; padding: 28px 22px; } }

/* ---------- Product cards ---------- */
.grid-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e0d6c2; }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.tag { position: absolute; top: 10px; right: 10px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: #fff; }
.tag-sale { background: var(--bad); color: #fff; }
.tag-out { background: var(--ink); color: #fff; }
.tag-origin { top: auto; bottom: 10px; right: 10px; background: rgba(13,13,13,.78); color: #fff; backdrop-filter: blur(4px); }
.cmp-toggle { position: absolute; top: 10px; left: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.cmp-toggle:hover { color: var(--gold-d); }
.cmp-toggle[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.pp-actions .cmp-toggle { position: static; width: auto; height: auto; border-radius: 10px; padding: 6px 12px; gap: 6px; display: inline-flex; border: 1px solid var(--line); box-shadow: none; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-label { margin: 0; color: var(--gold-d); font-size: 12.5px; font-weight: 700; }
.card-title { font-size: 15.5px; margin: 2px 0 4px; line-height: 1.6; }
.card-notes { color: var(--muted); font-size: 12.5px; margin: 0 0 8px; line-height: 1.6; }
.mini-prof { display: grid; gap: 3px; margin: 2px 0 10px; }
.mp { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.mp i, .bar i { display: block; height: 5px; border-radius: 99px; background: #efe9dd; position: relative; overflow: hidden; }
.mp i::after, .bar i::after { content: ""; position: absolute; inset-block: 0; right: 0; width: var(--v); background: linear-gradient(270deg, var(--gold), var(--gold-d)); border-radius: inherit; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; color: var(--ink); }
.price .from { font-weight: 500; color: var(--muted); font-size: .85em; }
.price del { color: var(--muted); font-weight: 400; font-size: .85em; }
.price ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { font-size: .8em; font-weight: 500; }
.card-foot .price { font-size: 14.5px; }
@media (max-width: 1100px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.card { border-radius: 14px; }
	.card-body { padding: 10px 11px 12px; }
	.card-title { font-size: 13.5px; }
	.card-notes, .mini-prof { display: none; }
	.card-foot { flex-direction: column; align-items: stretch; }
	.card-foot .btn { width: 100%; }
	.cmp-toggle { width: 32px; height: 32px; }
}

/* ---------- Shop ---------- */
.shop-head { background: var(--cream); padding: 22px 0 18px; margin-bottom: 26px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a:hover { color: var(--gold-d); }
.crumbs .sep { margin: 0 6px; opacity: .5; }
.page-title { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 6px; }
.term-desc { color: var(--muted); max-width: 60em; }
.cat-pills { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pills a { flex: none; padding: 6px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.cat-pills a.sub { font-weight: 500; color: var(--muted); }
.cat-pills a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px 16px 16px; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.filters-head strong { display: inline-flex; gap: 6px; align-items: center; }
.facet { border-bottom: 1px solid var(--line); }
.facet summary { list-style: none; cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: ""; margin-inline-start: auto; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); transition: transform .2s; }
.facet[open] summary::after { transform: rotate(135deg); }
.facet-n { background: var(--gold); color: var(--ink); border-radius: 99px; font-size: 11px; padding: 0 7px; }
.facet-opts { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; }
.facet-opts.is-brew { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.opt { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.opt:hover { background: var(--cream); }
.opt input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #cfc6b6; border-radius: 5px; margin: 0; flex: none; display: grid; place-items: center; background: #fff; cursor: pointer; }
.opt input:checked { background: var(--ink); border-color: var(--ink); }
.opt input:checked::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(-1px, -1px); }
.opt-l { flex: 1; }
.opt-c { color: var(--muted); font-size: 12px; background: var(--cream); border-radius: 99px; padding: 0 8px; }
.opt.on .opt-l { font-weight: 700; }
.is-brew .opt { flex-direction: column; border: 1px solid var(--line); text-align: center; gap: 4px; padding: 8px 4px; font-size: 12.5px; position: relative; }
.is-brew .opt input { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; }
.is-brew .opt.on { border-color: var(--ink); background: var(--cream); }
.is-brew .opt img { width: 28px; height: 28px; }
.is-brew .opt-c { position: absolute; top: 4px; left: 4px; font-size: 10px; padding: 0 5px; }
.flag { font-size: 1.1em; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 12px; font-size: 13px; }
.price-range input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-top: 4px; direction: ltr; text-align: center; }
.switch { display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 38px; height: 22px; border-radius: 99px; background: #ddd3c1; position: relative; transition: .2s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { right: 19px; }
.filters-actions { position: sticky; bottom: -16px; background: #fff; padding: 12px 0 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.js .filters-actions .btn { display: none; }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.results-bar .count { margin: 0; color: var(--muted); font-size: 14px; }
.sort { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select, select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fff; color: var(--ink); min-height: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.results { transition: opacity .2s; min-width: 0; }
.results.is-loading { opacity: .45; pointer-events: none; }
.empty-state { text-align: center; padding: 50px 20px; background: var(--cream); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state p { font-size: 17px; margin: 0; }
.pager { margin-top: 28px; display: flex; justify-content: center; }
.pager ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; padding: 0 10px; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Shop Categorized Sections ---------- */
.shop-sections { display: flex; flex-direction: column; gap: 40px; }
.shop-cat-section { margin-bottom: 8px; }
.shop-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.shop-cat-title { font-size: clamp(17px, 2vw, 21px); font-weight: 800; margin: 0; display: inline-flex; align-items: baseline; gap: 8px; }
.shop-cat-count { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.shop-cat-head .more { font-size: 13.5px; font-weight: 700; color: var(--gold-d); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.shop-cat-head .more:hover { gap: 8px; color: var(--ink); }
@media (max-width: 960px) {
	.shop-layout { grid-template-columns: 1fr; }
	.filters { position: fixed; top: 0; bottom: 0; right: 0; z-index: 100; width: min(380px, 92vw); max-height: none; border-radius: 0; transform: translateX(105%); transition: transform .3s; padding-bottom: 0; }
	.filters.is-open { transform: none; }
	.filters-actions { bottom: 0; padding: 12px 0 16px; border-top: 1px solid var(--line); }
	.js .filters-actions .btn { display: inline-flex; }
	.results-bar { position: sticky; top: var(--header-h); background: #fff; z-index: 5; padding: 8px 0; margin-inline: -4px; }
	.shop-head { margin-bottom: 14px; }
}

/* ---------- Origins ---------- */
.origins-head { background: var(--espresso); color: #fff; padding: 36px 0 30px; margin-bottom: 26px; }
.origins-head .lead { max-width: 52em; color: rgba(255,255,255,.75); }
.origins-head .kicker { color: var(--gold); }
.origins-head + .wrap .belt { margin-bottom: 10px; }
.cont-title { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.cont-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.origin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.origin-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .25s; }
.origin-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.origin-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.oc-body { padding: 14px 16px 16px; }
.oc-body h3 { font-size: 19px; margin: 0 0 4px; }
.oc-cont { color: var(--gold-d); font-size: 12.5px; font-weight: 700; margin: 0; }
.oc-notes { color: var(--muted); font-size: 13.5px; margin: 0 0 6px; }
.oc-meta { font-size: 12.5px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .origin-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .origin-cards { grid-template-columns: 1fr; } }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.learn-grid > div { background: var(--cream); border-radius: 18px; padding: 22px; }
.learn-grid p { margin: 0; color: #4b443c; font-size: 14.5px; }
@media (max-width: 860px) { .learn-grid { grid-template-columns: 1fr; } }
.origin-hero { position: relative; background: var(--espresso); color: #fff; overflow: hidden; }
.origin-bg { position: absolute; inset: 0; }
.origin-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.8); }
.origin-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--espresso), transparent 70%); }
.origin-hero-in { position: relative; z-index: 1; padding: 34px 20px 30px; }
.origin-hero .crumbs { color: rgba(255,255,255,.6); }
.origin-hero h1 { font-size: clamp(28px, 4vw, 46px); margin-bottom: .3em; }
.origin-hero .kicker { color: var(--gold); direction: ltr; text-align: right; }
.origin-story { max-width: 52em; color: rgba(255,255,255,.85); font-size: 15.5px; }
.origin-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 20px 0 0; }
.origin-facts > div { background: rgba(255,255,255,.07); border: 1px solid rgba(209,176,87,.25); border-radius: 14px; padding: 12px; }
.origin-facts img { width: 28px; height: 28px; filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg) brightness(.95); margin-bottom: 6px; }
.origin-facts dt { font-size: 12px; color: var(--gold); }
.origin-facts dd { margin: 0; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) { .origin-facts { grid-template-columns: repeat(2, 1fr); } }
.origin-map-row { padding-top: 20px; }
.origin-map-row .origin-chips { color: var(--ink); }
.origin-map-row .origin-chip { border-color: var(--line); }
.origin-map-row .origin-chip small { color: var(--gold-d); }
.origin-beans-title { font-size: 22px; margin: 26px 0 0; }
.is-origin + .shop-layout, .origin-map-row + .shop-layout { padding-top: 16px; }
.other-origins { background: var(--cream); }

/* ---------- Single product ---------- */
.product-page { padding-top: 18px; padding-bottom: 40px; }
.pp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; margin: 10px 0 30px; }
.pp-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; border-radius: 20px; background: var(--cream); }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 72px; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; opacity: .6; border: 2px solid transparent; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--gold); }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; left: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 18px; }
.flex-viewport { border-radius: 20px; }
.pp-origin { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 99px; background: var(--cream); font-weight: 700; font-size: 13.5px; color: var(--gold-d); }
.pp-title { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 2px; }
.pp-sub { color: var(--muted); margin: 0 0 12px; text-align: right; }
.notes-pills { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.notes-pills li { padding: 3px 12px; border-radius: 99px; background: #fbf6e8; border: 1px solid var(--gold-l); font-size: 13px; }
.pp-short { color: #4b443c; }
.pp-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 4px; }
.pp-price { font-size: 26px; margin: 0; }
.pp-perkg { color: var(--muted); font-size: 13px; margin: 0; }
.pp-cart { margin-top: 8px; }
.variations { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.variations tr { display: block; margin-bottom: 14px; }
.variations th, .variations td { display: block; padding: 0; text-align: right; }
.variations th label { font-weight: 800; font-size: 14px; display: block; margin-bottom: 6px; }
.swatches-select { display: none; }
.no-js .swatches-select { display: block; }
.no-js .swatches { display: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; cursor: pointer; font-size: 14px; transition: .15s; }
.swatch img { width: 24px; height: 24px; object-fit: contain; }
.swatch:hover { border-color: var(--ink); }
.swatch[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.swatch[aria-checked="true"] img { filter: invert(1); }
.swatch.is-disabled { opacity: .35; text-decoration: line-through; }
.reset_variations { font-size: 13px; color: var(--muted); display: inline-block; margin-top: 4px; }
.single_variation_wrap .woocommerce-variation-price { margin: 4px 0 10px; }
.single_variation_wrap .woocommerce-variation-price .price { font-size: 22px; }
.woocommerce-variation-availability .stock { font-size: 13px; color: var(--ok); }
.stock.out-of-stock { color: var(--bad); }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.quantity .qty { width: 54px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: none; height: 48px; }
.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.quantity .q-btn { width: 40px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.quantity .q-btn:hover { background: var(--cream); }
.single_add_to_cart_button { flex: 1; min-height: 50px; font-size: 16px; background: var(--ink); }
.single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.single_add_to_cart_button.loading { opacity: .7; }
.pp-actions { display: flex; align-items: center; gap: 18px; margin: 14px 0; flex-wrap: wrap; }
.pp-badges { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-badges li { display: flex; gap: 8px; align-items: center; background: var(--cream); border-radius: 14px; padding: 10px 12px; }
.pp-badges svg { color: var(--gold-d); flex: none; }
.pp-badges strong { display: block; font-size: 13.5px; }
.pp-badges span { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) {
	.pp-top { grid-template-columns: 1fr; gap: 18px; }
	.pp-gallery { position: static; }
	.pp-badges { gap: 6px; }
	.pp-badges li { flex-direction: column; text-align: center; padding: 10px 6px; gap: 4px; }
	.pp-badges span { font-size: 11px; line-height: 1.5; display: block; }
	.pp-badges strong { font-size: 12.5px; }
}
.card-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; margin-bottom: 20px; }
.box-title { font-size: 20px; display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.box-title small { font-size: 13px; color: var(--muted); font-weight: 500; }
.dna { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.dna .card-box { margin: 0; }
.dna-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 10px; }
.dna-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.dna-item img { width: 44px; height: 44px; margin-bottom: 4px; }
.dna-k { font-size: 12.5px; color: var(--muted); }
.dna-v { font-weight: 700; font-size: 14px; line-height: 1.5; }
.dna-line { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.dna-line img { width: 36px; height: 36px; flex: none; }
.dna-side { text-align: center; }
.species { font-size: 44px; font-weight: 900; margin: 0; line-height: 1.2; }
.species-img { width: 80px; height: 80px; margin: 4px auto; }
.radar { display: block; margin: 0 auto; overflow: visible; max-width: 100%; }
.radar-ring { fill: none; stroke: #eee7da; }
.radar-axis { stroke: #eee7da; }
.radar-shape { fill: rgba(209,176,87,.35); stroke: var(--gold-d); stroke-width: 2; stroke-linejoin: round; }
.radar-lbl { font-size: 12px; fill: var(--muted); text-anchor: middle; font-family: var(--font); font-weight: 600; }
.bars { display: grid; gap: 8px; margin-top: 10px; text-align: right; }
.bar { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.bar i { height: 8px; }
@media (max-width: 1000px) { .dna { grid-template-columns: 1fr; } .dna-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .dna-grid { grid-template-columns: repeat(3, 1fr); } .card-box { padding: 18px 14px; border-radius: 18px; } }
.brew { margin-top: 20px; }
.brew-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.brew-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px 4px; border-radius: 14px; border: 1px solid transparent; }
.brew-item.is-best { background: #fbf6e8; border-color: var(--gold-l); }
.brew-item img { width: 48px; height: 48px; }
.brew-name { font-size: 13px; font-weight: 700; }
.dots { display: flex; gap: 3px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #e4dccd; }
.dots i.on { background: var(--gold); }
.best { font-size: 10.5px; background: var(--ink); color: #fff; border-radius: 99px; padding: 0 8px; }
.brew-tip { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
@media (max-width: 1000px) { .brew-row { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 560px) { .brew-row { grid-template-columns: repeat(3, 1fr); } }
.about .entry { font-size: 15px; }
.pp-origin-box { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; background: var(--espresso); color: #fff; border: 0; }
.pp-origin-box p { color: rgba(255,255,255,.78); }
.pp-origin-box .kicker { color: var(--gold); }
.pp-origin-box .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.pp-origin-box .btn-outline:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .pp-origin-box { grid-template-columns: 1fr; } }
.farm { background: var(--ink); color: #fff; border-radius: 22px; padding: 30px 24px; margin: 24px 0; text-align: center; }
.farm h2 { color: var(--gold); font-size: 22px; }
.farm ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.farm b { display: block; font-size: 44px; color: var(--gold); line-height: 1.1; font-weight: 900; }
.farm strong { display: block; margin: 4px 0; }
.farm span { color: rgba(255,255,255,.65); font-size: 13px; }
@media (max-width: 700px) { .farm ol { grid-template-columns: 1fr 1fr; } }
.related > h2, .up-sells > h2 { font-size: 22px; margin: 34px 0 16px; }
.sticky-buy { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; justify-content: space-between; animation: up .25s; }
@keyframes up { from { transform: translateY(100%); } }
.sb-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sb-info img { width: 44px; height: 44px; border-radius: 10px; }
.sb-info strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.sb-price { font-size: 13px; }
@media (min-width: 961px) { .sticky-buy { display: none !important; } }

/* Reviews */
#reviews { margin-top: 24px; }
.commentlist { list-style: none; padding: 0; }
.star-rating { font-size: 14px; color: var(--gold); }

/* ---------- Compare ---------- */
.cmp-bar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 70; width: min(760px, calc(100vw - 24px)); background: var(--ink); color: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 10px 0; animation: up .25s; }
.cmp-bar .wrap { display: flex; align-items: center; gap: 12px; padding-inline: 14px; }
.cmp-items { display: flex; gap: 6px; flex: 1; overflow-x: auto; }
.cmp-items span { flex: none; font-size: 12.5px; background: rgba(255,255,255,.1); border-radius: 99px; padding: 3px 10px; }
.cmp-bar .link-btn { color: rgba(255,255,255,.7); }
.single-product .cmp-bar { bottom: 84px; }
@media (min-width: 961px) { .single-product .cmp-bar { bottom: 16px; } }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: calc(160px + var(--cols) * 220px); }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; font-size: 14px; }
.cmp-table tbody th { text-align: right; color: var(--muted); font-weight: 600; width: 150px; background: #fcfaf6; position: sticky; right: 0; }
.cmp-prod { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cmp-prod img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.cmp-brew span { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12.5px; }
.cmp-brew img { width: 20px; height: 20px; }

/* ---------- Finder ---------- */
.finder { background: radial-gradient(1200px 500px at 80% -10%, #3a2d22, transparent), var(--espresso); color: #fff; min-height: 70vh; padding: 40px 0 70px; }
.finder-in { max-width: 960px; }
.finder-head { text-align: center; margin-bottom: 26px; }
.finder-head .kicker { color: var(--gold); }
.finder-head h1 { font-size: clamp(26px, 4vw, 40px); }
.finder-head > p { color: rgba(255,255,255,.75); }
.finder-progress { height: 6px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; max-width: 420px; margin: 18px auto 0; }
.finder-progress span { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.fq { border: 0; padding: 0; margin: 0; animation: pop .25s; }
.fq legend { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; text-align: center; width: 100%; margin-bottom: 18px; }
.fq-n { display: block; font-size: 13px; color: var(--gold); font-weight: 600; }
.fq-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.fq-opts.is-brew { grid-template-columns: repeat(5, 1fr); }
.fq-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); cursor: pointer; transition: .2s; min-height: 120px; font-weight: 600; }
.fq-opt:hover { border-color: var(--gold); background: rgba(209,176,87,.1); }
.fq-opt input { position: absolute; opacity: 0; }
.fq-opt:has(input:checked) { border-color: var(--gold); background: rgba(209,176,87,.18); }
.fq-opt img { width: 44px; height: 44px; filter: invert(1) brightness(1.5); }
.fq-opt .emo { font-size: 32px; line-height: 1; }
.fq-nav { margin-top: 18px; text-align: center; }
.fq-nav .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.finder-result h2 { text-align: center; font-size: 26px; }
.finder-summary { text-align: center; color: rgba(255,255,255,.75); }
.finder-cards .card { color: var(--ink); }
.match { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--gold); color: var(--ink); font-weight: 800; border-radius: 99px; padding: 2px 10px; font-size: 12.5px; }
.why-match { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.finder-again { text-align: center; margin-top: 24px; display: flex; gap: 10px; justify-content: center; }
.finder-again .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 700px) { .fq-opts.is-brew { grid-template-columns: repeat(2, 1fr); } .fq-opts { grid-template-columns: 1fr 1fr; } .fq-opt { min-height: 100px; padding: 14px 8px; font-size: 13.5px; } }

/* ---------- Pages / content ---------- */
.page-pad { padding-top: 26px; padding-bottom: 60px; }
.page-head { margin-bottom: 20px; }
.is-narrow { max-width: 900px; }
.entry { font-size: 15.5px; }
.entry img { border-radius: 16px; margin: 1em auto; }
.entry h2 { font-size: 22px; margin-top: 1.4em; }
.entry h3 { font-size: 18px; margin-top: 1.2em; }
.entry a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; }
.entry table { width: 100%; border-collapse: collapse; }
.entry td, .entry th { border: 1px solid var(--line); padding: 8px; }
.page-hero img { border-radius: 20px; width: 100%; }
.nf { text-align: center; padding: 80px 20px; }
.nf-code { font-size: 90px; font-weight: 900; color: var(--gold); line-height: 1; margin: 0; }
.nf-actions { display: flex; gap: 10px; justify-content: center; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.post-body { padding: 14px 16px; }
.post-body h2 { font-size: 17px; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- WooCommerce generic (cart/checkout blocks, account, notices, forms) ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { list-style: none; margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--cream); border-inline-start: 4px solid var(--gold); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.woocommerce-error { border-color: var(--bad); background: #fbeeea; }
.woocommerce-message .button, .woocommerce-info .button { margin-inline-start: auto; min-height: 36px; padding: .3em 1em; order: 2; }
.woocommerce form .form-row, .woocommerce-form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woocommerce form .form-row .required { color: var(--bad); text-decoration: none; }
.input-text, .woocommerce form input[type=text], .woocommerce form input[type=email], .woocommerce form input[type=password], .woocommerce form input[type=tel], textarea, .woocommerce form select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; min-height: 46px; }
.input-text:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(209,176,87,.2); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 8px; margin: 0; background: var(--cream); border-radius: 18px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce table.shop_table, table.woocommerce-orders-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shop_table th, .shop_table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; }
@media (max-width: 760px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.wc-block-cart, .wc-block-checkout { font-family: var(--font); }
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link), .wp-block-woocommerce-checkout .wc-block-components-button:not(.is-link) { background: var(--ink); color: #fff; border-radius: 12px; min-height: 50px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-form .wc-block-components-text-input input { border-radius: 12px !important; }
.wc-block-components-totals-wrapper, .wc-block-components-sidebar-layout .wc-block-components-sidebar { font-size: 14.5px; }

/* SMS.ir login: blend into the theme */
.smsir-login-container, [class*="smsir"] form { font-family: var(--font) !important; }
[class*="smsir"] button, [class*="smsir"] .btn-primary { border-radius: 12px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-block: 50px 34px; }
.f-logo img { width: 130px; margin-bottom: 12px; }
.f-about p { font-size: 14px; line-height: 2; }
.site-footer h3 { color: var(--gold); font-size: 17px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: var(--gold); color: var(--ink); }
.f-line { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.f-line svg { color: var(--gold); flex: none; margin-top: 5px; }
.f-phones span { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.enamad img { background: #fff; border-radius: 12px; padding: 4px; width: 96px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; padding: 14px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.credit { color: var(--gold); font-weight: 600; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } .f-about, .f-contact { grid-column: 1 / -1; } }
@media (max-width: 960px) { body.single-product .site-footer { padding-bottom: 70px; } }

/* print */
@media print { .site-header, .site-footer, .sticky-buy, .cmp-bar, .filters { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.single_variation_wrap .woocommerce-variation-price { display: none; }

/* Gallery: show the main image immediately (WooCommerce fades it in only after JS runs). */
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery__image:first-child img { aspect-ratio: 1; object-fit: cover; }

/* Related / up-sells */
.related, .up-sells { margin-top: 10px; }

/* Reviews */
#reviews .woocommerce-Reviews-title, #reply-title { font-size: 20px; display: block; margin-bottom: 8px; }
#reviews .woocommerce-noreviews { color: var(--muted); }
#review_form_wrapper { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
#review_form .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
#review_form .comment-form > p { margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; }
#review_form .comment-notes, #review_form .comment-form-rating, #review_form .comment-form-comment, #review_form .comment-form-cookies-consent, #review_form .form-submit { grid-column: 1 / -1; }
#review_form .comment-form-cookies-consent { flex-direction: row !important; align-items: center; gap: 8px; font-size: 13.5px; }
#review_form label { font-weight: 600; font-size: 14px; }
#review_form input[type=text], #review_form input[type=email], #review_form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
#review_form textarea { min-height: 120px; }
#review_form .form-submit input[type=submit] { background: var(--ink); color: #fff; border: 0; border-radius: var(--r-sm); min-height: 46px; padding: 0 28px; font-weight: 700; cursor: pointer; width: auto; justify-self: start; }
#review_form .form-submit input[type=submit]:hover { background: var(--gold); color: var(--ink); }
p.stars { margin: 4px 0 0; }
p.stars span { display: inline-flex; gap: 4px; direction: ltr; }
p.stars a { position: relative; width: 28px; height: 28px; font-size: 0; display: inline-block; }
p.stars a::before { content: "★"; font-size: 26px; line-height: 28px; color: #e2d9c7; position: absolute; inset: 0; text-align: center; }
p.stars:hover a::before, p.stars.selected a::before { color: var(--gold); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #e2d9c7; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 14px; line-height: 1; }
.star-rating::before { content: "★★★★★"; color: #e2d9c7; position: absolute; letter-spacing: .1em; }
.star-rating span { position: absolute; top: 0; right: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; color: var(--gold); position: absolute; top: 0; right: 0; letter-spacing: .1em; }
.commentlist li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.commentlist img.avatar { float: right; margin-left: 12px; border-radius: 50%; width: 44px; height: 44px; }
@media (max-width: 700px) { #review_form .comment-form { grid-template-columns: 1fr; } }

/* =========================================================
 * Blend Lab — /custom-blend/
 * ======================================================= */
.blab { background: #faf7f1; padding-bottom: 60px; }
.blab-hero { background: var(--espresso); color: #fff; position: relative; overflow: hidden; }
.blab-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 20%, rgba(209,176,87,.18), transparent 70%), radial-gradient(500px 260px at 90% 0%, rgba(122,74,42,.35), transparent 70%); }
.blab-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(209,176,87,.13) 1px, transparent 1.2px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.blab-hero-in { position: relative; z-index: 1; padding: 46px 20px 120px; }
.blab-kicker { color: var(--gold); letter-spacing: .32em; font-size: 12.5px; font-weight: 700; margin: 0 0 10px; direction: ltr; text-align: right; }
.blab-hero h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.3; margin: 0 0 14px; font-weight: 900; }
.blab-hero h1 span { background: linear-gradient(90deg, #f3dc95, var(--gold) 50%, #a8893a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blab-lead { max-width: 40em; color: rgba(255,255,255,.78); font-size: 16px; }
.blab-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blab-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(209,176,87,.3); font-size: 13.5px; }
.blab-facts svg { color: var(--gold); }
.blab-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-top: -84px; position: relative; z-index: 2; }
.blab-step { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin-bottom: 18px; box-shadow: 0 10px 40px rgba(28,22,18,.06); }
.blab-step-h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.blab-step-h h2 { font-size: 20px; margin: 0 0 2px; }
.blab-step-h p { margin: 0; color: var(--muted); font-size: 14px; }
.blab-n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: var(--ink); background: linear-gradient(135deg, #f3dc95, var(--gold)); box-shadow: 0 6px 16px rgba(209,176,87,.35); }
.blab-filter { display: flex; gap: 6px; margin-bottom: 14px; }
.blab-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bean { position: relative; display: flex; flex-direction: column; text-align: right; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; padding: 0; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bean img, .bean-ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--cream); }
.bean:hover { border-color: #d9cdb2; transform: translateY(-2px); box-shadow: var(--shadow); }
.bean.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(209,176,87,.45); }
.bean.out { opacity: .5; cursor: not-allowed; }
.bean em { position: absolute; top: 10px; right: 10px; background: var(--ink); color: #fff; font-style: normal; font-size: 12px; padding: 1px 10px; border-radius: 99px; }
.bean-b { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.bean-b small { color: var(--gold-d); font-weight: 700; font-size: 12px; }
.bean-b strong { font-size: 14.5px; line-height: 1.5; }
.bean-n { color: var(--muted); font-size: 12px; min-height: 1.6em; }
.bean-f { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; gap: 6px; }
.bean-f b { font-size: 13px; }
.bean-f b small { color: var(--muted); font-weight: 500; }
.sp { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 9px; border-radius: 99px; }
.sp.ar { background: #eef4ea; color: #3f6b4f; }
.sp.rb { background: #f6ece3; color: #7a4a2a; }
.bean-check { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; font-weight: 900; box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: .2s; }
.bean.on .bean-check { background: var(--ink); color: var(--gold); }
.blab-empty { color: var(--muted); background: var(--cream); border-radius: 16px; padding: 18px; text-align: center; margin: 0; }
.brow { border: 1px solid var(--line); border-inline-start: 5px solid var(--c); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.brow-h { display: flex; align-items: center; gap: 10px; }
.brow-h .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.brow-h strong { font-size: 14.5px; }
.brow-g { margin-inline-start: auto; color: var(--muted); font-size: 12.5px; }
.brow-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-size: 18px; line-height: 1; }
.brow-x:hover { background: #f3d9d3; color: var(--bad); }
.brow-c { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.brow-c input[type=range] { flex: 1 1 0%; min-width: 0; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(to right, #ece5d8 calc(100% - var(--v)), var(--c) calc(100% - var(--v))); outline: none; direction: rtl; }
.brow-c input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--c); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: grab; }
.brow-c input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--c); cursor: grab; }
.pct { display: flex; align-items: center; flex: none; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.pct input { width: 56px; border: 0; text-align: center; font-weight: 800; font-size: 17px; padding: 8px 4px; background: none; }
.pct span { padding: 0 10px 0 6px; color: var(--muted); }
.blab-sum { margin-top: 6px; }
.blab-sum-bar { height: 10px; border-radius: 99px; background: #ece5d8; overflow: hidden; }
.blab-sum-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold)); border-radius: inherit; transition: width .25s; }
.blab-sum.ok .blab-sum-bar span { background: linear-gradient(90deg, #2f7d4f, #5bb07d); }
.blab-sum.over .blab-sum-bar span { background: var(--bad); }
.blab-sum-t { margin: 8px 0 0; font-weight: 700; font-size: 14px; }
.blab-sum.ok .blab-sum-t { color: var(--ok); }
.blab-sum.over .blab-sum-t { color: var(--bad); }
.blab-sum-act { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.blab-sum-act .link-btn { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; background: var(--cream); color: var(--ink); font-weight: 700; text-decoration: none; }
.blab-roast-mode, .blab-kind, .blab-sample { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bcard { position: relative; cursor: pointer; }
.bcard input { position: absolute; opacity: 0; }
.bcard-in { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px 16px 16px; padding-inline-start: 46px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; transition: .2s; position: relative; }
.bcard-in::before { content: ""; position: absolute; top: 18px; right: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cdbfa4; background: #fff; }
.bcard input:checked + .bcard-in { border-color: var(--ink); background: #fcf8ee; box-shadow: 0 0 0 3px rgba(209,176,87,.35); }
.bcard input:checked + .bcard-in::before { border-color: var(--ink); background: radial-gradient(var(--ink) 45%, #fff 50%); }
.bcard input:focus-visible + .bcard-in { outline: 2px solid var(--gold); }
.bcard small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.blab-roasts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.roast-pill input { position: absolute; opacity: 0; }
.roast-pill span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; font-weight: 700; font-size: 13.5px; text-align: center; }
.roast-pill i { width: 30px; height: 22px; border-radius: 50%; box-shadow: inset -3px -3px 6px rgba(0,0,0,.25); position: relative; }
.roast-pill i::after { content: ""; position: absolute; inset: 3px 13px; background: rgba(0,0,0,.35); border-radius: 50%; transform: rotate(18deg); }
.r1 i { background: #b98a52; } .r2 i { background: #8a5a32; } .r3 i { background: #5e3a20; } .r4 i { background: #2e1c10; }
.roast-pill input:checked + span { border-color: var(--ink); background: #fcf8ee; box-shadow: 0 0 0 3px rgba(209,176,87,.35); }
.blab-label { font-weight: 800; font-size: 14.5px; margin: 18px 0 8px; display: block; }
.blab-label small { color: var(--muted); font-weight: 500; }
.blab-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 13.5px; }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.blab-notes { position: relative; }
.blab-notes textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; resize: vertical; min-height: 92px; }
.blab-count { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: var(--muted); }
.blab-help { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; background: linear-gradient(120deg, #fbf6e8, #f6f1e7); border: 1px dashed #dcc78a; border-radius: 18px; padding: 14px 16px; }
.blab-help strong { display: block; }
.blab-help span { color: var(--muted); font-size: 13.5px; }
.blab-phones { display: flex; flex-wrap: wrap; gap: 6px; }
.blab-phones a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.blab-phones a:hover { border-color: var(--ink); color: var(--ink); }
.blab-bulk { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.kg-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; }
.kg-stepper button { width: 48px; height: 54px; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.kg-stepper button:hover { background: var(--cream); }
.kg-stepper label { display: flex; align-items: baseline; gap: 6px; padding: 0 8px; border-inline: 1px solid var(--line); }
.kg-stepper input { width: 70px; border: 0; text-align: center; font-weight: 900; font-size: 22px; height: 54px; background: none; -moz-appearance: textfield; }
.kg-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.kg-stepper span { color: var(--muted); font-size: 13px; }
.blab-sample { margin-top: 14px; }
.blab-sample small { color: var(--gold-d) !important; font-weight: 700; }
.blab-side { position: sticky; top: calc(var(--header-h) + 14px); }
.blab-card { background: var(--ink); color: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 20px 60px rgba(13,13,13,.28); position: relative; overflow: hidden; }
.blab-card::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; top: -140px; left: -120px; background: radial-gradient(rgba(209,176,87,.22), transparent 70%); }
.blab-card-h { display: flex; justify-content: space-between; align-items: center; position: relative; }
.blab-card-h h2 { margin: 0; font-size: 20px; }
.blab-live { font-size: 11.5px; color: var(--gold); border: 1px solid rgba(209,176,87,.4); border-radius: 99px; padding: 2px 10px; display: inline-flex; align-items: center; gap: 6px; }
.blab-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5bb07d; box-shadow: 0 0 0 0 rgba(91,176,125,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(91,176,125,0); } }
.blab-viz { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; margin: 14px 0 6px; position: relative; }
.blab-donut { width: 120px; height: 120px; }
.d-bg { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 16; }
.d-seg circle { transition: stroke-dasharray .35s, stroke-dashoffset .35s; }
.d-num { fill: #fff; font-size: 22px; font-weight: 900; text-anchor: middle; font-family: var(--font); }
.d-num.ok { fill: var(--gold); }
.d-sub { fill: rgba(255,255,255,.55); font-size: 10px; text-anchor: middle; font-family: var(--font); }
.blab-radar .radar { width: 100%; max-width: 220px; margin: 0 auto; }
.blab-card .radar-ring, .blab-card .radar-axis { stroke: rgba(255,255,255,.12); }
.blab-card .radar-shape { fill: rgba(209,176,87,.38); stroke: var(--gold); }
.blab-card .radar-lbl { fill: rgba(255,255,255,.7); font-size: 11px; }
.blab-legend { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 6px; }
.blab-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.blab-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.blab-legend span { flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.blab-legend small { color: rgba(255,255,255,.55); font-size: 11.5px; }
.blab-legend b { color: var(--gold); }
.blab-split { margin-bottom: 12px; }
.split-bar { height: 8px; border-radius: 99px; background: #7a4a2a; overflow: hidden; }
.split-bar .sa { display: block; height: 100%; background: #5b9e6e; transition: width .3s; }
.split-t { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.7); margin: 4px 0 0; }
.blab-dna { border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.dna-t { font-size: 12.5px; color: var(--gold); margin: 0 0 6px; font-weight: 700; }
.dna-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dna-chips span { background: rgba(255,255,255,.06); border-radius: 12px; padding: 6px 8px; font-size: 12.5px; font-weight: 700; display: flex; flex-direction: column; }
.dna-chips small { color: rgba(255,255,255,.55); font-weight: 500; font-size: 11px; }
.dna-notes { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; }
.dna-notes i { font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 99px; border: 1px solid rgba(209,176,87,.35); }
.dna-brew { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 0; font-size: 12px; }
.dna-brew small { color: rgba(255,255,255,.55); }
.dna-brew span { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.06); padding: 3px 8px; border-radius: 10px; }
.dna-brew img { width: 18px; height: 18px; filter: invert(1); }
.blab-price { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.blab-price dl { margin: 0; display: grid; gap: 6px; }
.blab-price dl div { display: flex; justify-content: space-between; font-size: 13.5px; }
.blab-price dt { color: rgba(255,255,255,.65); }
.blab-price dd { margin: 0; font-weight: 700; }
.blab-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 4px; }
.blab-total span { color: rgba(255,255,255,.7); font-size: 14px; }
.blab-total strong { font-size: 26px; color: var(--gold); font-weight: 900; }
.blab-fine { font-size: 11.5px; color: rgba(255,255,255,.5); margin: 0 0 12px; }
.blab-msg { font-size: 13.5px; background: rgba(179,64,46,.18); border: 1px solid rgba(179,64,46,.45); color: #ffd9d1; border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; }
.blab-msg.is-ok { background: rgba(47,125,79,.2); border-color: rgba(91,176,125,.5); color: #d4f2df; }
.blab-msg a { color: var(--gold); font-weight: 700; text-decoration: underline; }
.blab-card .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.loading { opacity: .7; pointer-events: none; }
.blab-mbar { display: none; }
@media (max-width: 1060px) {
	.blab-grid { grid-template-columns: 1fr; }
	.blab-side { position: static; }
	.blab-mbar { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 30px rgba(0,0,0,.25); }
	.blab-mbar > div { display: flex; flex-direction: column; line-height: 1.5; }
	.mb-sum { font-size: 12px; color: rgba(255,255,255,.65); }
	.mb-total { color: var(--gold); font-size: 17px; }
	.blab + .site-footer, body:has(.blab) .site-footer { padding-bottom: 92px; }
}
@media (max-width: 640px) {
	.blab-step { padding: 18px 14px; border-radius: 20px; }
	.blab-shelf { grid-template-columns: 1fr 1fr; gap: 8px; }
	.bean-n { display: none; }
	.bean-f { flex-direction: column; align-items: flex-start; }
	.blab-roast-mode, .blab-kind, .blab-sample { grid-template-columns: 1fr; }
	.blab-roasts { grid-template-columns: 1fr 1fr; }
	.blab-hero-in { padding-bottom: 100px; }
}

/* Blend CTA on bean pages / home */
.blend-cta { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, var(--ink), var(--roast)); color: #fff; position: relative; overflow: hidden; }
.blend-cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(209,176,87,.18) 1px, transparent 1.2px); background-size: 14px 14px; opacity: .6; pointer-events: none; }
.blend-cta:hover { color: #fff; box-shadow: var(--shadow); }
.blend-cta-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--ink); flex: none; }
.blend-cta strong { display: block; }
.blend-cta small { color: rgba(255,255,255,.7); font-size: 12.5px; }
.blend-cta > svg { margin-inline-start: auto; color: var(--gold); flex: none; }
.home-blend { background: var(--espresso); color: #fff; border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.home-blend::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 0% 100%, rgba(209,176,87,.2), transparent 70%); }
.home-blend > * { position: relative; }
.home-blend h2 { font-size: clamp(22px, 3vw, 34px); }
.home-blend p { color: rgba(255,255,255,.75); }
.home-blend .kicker { color: var(--gold); letter-spacing: .25em; direction: ltr; text-align: right; }
.hb-visual { display: flex; justify-content: center; }
.hb-visual svg { width: min(260px, 100%); }
@media (max-width: 800px) { .home-blend { grid-template-columns: 1fr; padding: 28px 22px; } }

/* =========================================================
 * Delivery (cart/checkout blocks)
 * ======================================================= */
.rship-card { border: 1.5px solid var(--line) !important; border-radius: 16px !important; padding: 14px 16px !important; padding-inline-start: 48px !important; margin-bottom: 10px !important; background: #fff; transition: .2s; box-shadow: none !important; }
.rship-card:has(input:checked) { border-color: var(--ink) !important; background: #fcf8ee; box-shadow: 0 0 0 3px rgba(209,176,87,.3) !important; }
.rship-card .wc-block-components-radio-control__label { font-weight: 800; font-size: 15.5px; }
.rship-card .wc-block-components-radio-control__secondary-label { color: var(--gold-d); font-weight: 700; font-size: 13px; }
.rship-card .wc-block-components-radio-control__description { color: var(--muted); font-size: 13px; }
.rship-sub { margin: -2px 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; animation: pop .2s; }
.rship-sub-t { margin: 0 0 10px; font-weight: 800; font-size: 14.5px; }
.rship-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); margin-bottom: 8px; }
.rship-opt strong { display: block; font-size: 14.5px; }
.rship-opt span { display: block; color: var(--muted); font-size: 13px; }
.rship-opt em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 11.5px; border: 1px solid #d8d2c6; border-radius: 8px; padding: 1px 8px; color: #8a8376; background: #fff; }
.rship-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cdbfa4; margin-top: 3px; background: #fff; }
.rship-opt.is-on { border-color: var(--ink); background: #fcf8ee; }
.rship-opt.is-on .rship-radio { border-color: var(--ink); background: radial-gradient(var(--ink) 45%, #fff 50%); }
.rship-opt.is-disabled { background: #f4f2ee; color: #9a948a; cursor: not-allowed; }
.rship-opt.is-disabled strong { color: #8f897f; }
.rship-opt.is-disabled .rship-radio { border-color: #ddd7cc; background: #ece8e0; }
.rship-pack { margin: 6px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; }
.rship-pack strong { display: block; }
.rship-pack span { color: var(--muted); }
.rship-total-note { margin: 4px 0 0; padding: 0 16px 10px; color: var(--muted); font-size: 12.5px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 900; }
.wc-block-components-totals-fees .wc-block-components-totals-item__label::before { content: "📦 "; }
.blab-side { max-height: calc(100vh - var(--header-h) - 28px); overflow: auto; border-radius: 26px; scrollbar-width: none; }
.blab-side::-webkit-scrollbar { display: none; }
.blab-card [data-add] { position: sticky; bottom: 0; box-shadow: 0 -10px 20px var(--ink); }
.blab-share { color: rgba(255,255,255,.6); margin: 10px auto 0; display: flex; justify-content: center; font-size: 13px; }
.blab-share:hover { color: var(--gold); }
@media (max-width: 1060px) { .blab-side { max-height: none; overflow: visible; } .blab-card [data-add] { position: static; box-shadow: none; } }

/* =========================================================
 * Blend Lab v2 — gamified, origin-first
 * ======================================================= */
.blab-hero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.blab-hero-txt { max-width: 640px; }
.blab-level { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(209,176,87,.3); border-radius: 22px; padding: 12px 16px; backdrop-filter: blur(6px); min-width: 300px; }
.lvl-ring { position: relative; width: 58px; height: 58px; flex: none; }
.lvl-ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.lr-bg { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 6; }
.lr-fg { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .5s; }
.lvl-ico { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; }
.blab-level small { display: block; color: rgba(255,255,255,.55); font-size: 11.5px; }
.blab-level strong { display: block; font-size: 17px; }
.lvl-xp { font-size: 12px; color: var(--gold); }
.lvl-badges { margin-inline-start: auto; text-align: center; padding-inline-start: 14px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.lvl-badges strong { color: var(--gold); font-size: 20px; }

.blab-missions { position: relative; z-index: 3; margin-top: -96px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px 18px; box-shadow: 0 10px 40px rgba(28,22,18,.08); }
.blab-missions + .blab-grid, .wrap:has(.blab-missions) + .blab-grid { margin-top: 0; }
.bm-t { margin: 0 0 10px; font-size: 14px; }
.bm-t span { color: var(--muted); font-size: 13px; }
.bm-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mission input { position: absolute; opacity: 0; }
.mission span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: .2s; height: 100%; }
.mission i { font-style: normal; font-size: 26px; line-height: 1.2; }
.mission b { font-size: 14px; }
.mission small { color: var(--muted); font-size: 11.5px; }
.mission span:hover { border-color: #d8c89d; transform: translateY(-2px); }
.mission input:checked + span { border-color: var(--ink); background: #fcf8ee; box-shadow: 0 0 0 3px rgba(209,176,87,.35); }
.mission input:focus-visible + span { outline: 2px solid var(--gold); }

.trip-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.trip-view { margin-inline-start: auto; }
.trip-map { border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(209,176,87,.2); }
.trip-svg { display: block; width: 100%; height: auto; }
.t-lbl { fill: rgba(209,176,87,.55); font-size: 11px; font-family: var(--font); }
.t-cont { fill: rgba(255,255,255,.18); font-size: 18px; font-weight: 900; text-anchor: middle; font-family: var(--font); }
.t-route { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 7; opacity: .7; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.t-pin { cursor: pointer; transition: opacity .25s; outline: none; }
.t-hit { fill: transparent; }
.t-halo { fill: rgba(209,176,87,.2); transition: r .25s; animation: breathe 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe { 50% { opacity: .45; } }
.t-dot { fill: var(--gold); stroke: #1c1612; stroke-width: 2.5; }
.t-name { fill: #fff; font-size: 14px; font-weight: 800; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: #1c1612; stroke-width: 4px; }
.t-pin:hover .t-halo, .t-pin:focus .t-halo { fill: rgba(209,176,87,.42); }
.t-pin.on .t-halo { fill: rgba(209,176,87,.5); }
.t-pin.on .t-dot { fill: #fff; }
.t-pin.has .t-dot { fill: #5bb07d; }
.t-pin.dim { opacity: .28; }
.t-cnt { fill: #5bb07d; stroke: #1c1612; stroke-width: 2; }
.t-cntt { fill: #fff; font-size: 11px; font-weight: 900; text-anchor: middle; font-family: var(--font); }
@media (max-width: 640px) { .t-name { font-size: 22px; } .t-lbl { display: none; } .t-cont { font-size: 26px; } .t-dot { r: 10; } }
.trip-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
.trip-filters .chip { font-size: 13px; }
.trip-panel { margin-top: 10px; }
.tp-intro { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 16px; padding: 14px 16px; color: var(--muted); }
.tp-intro span { font-size: 24px; }
.tp-intro p { margin: 0; }
.tp-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 6px; }
.tp-h h3 { font-size: 22px; margin: 0; }
.tp-k { margin: 0; color: var(--gold-d); font-weight: 700; font-size: 12.5px; }
.tp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.tp-meta span { background: var(--cream); border-radius: 99px; padding: 3px 12px; font-size: 13px; }
.tp-story { color: #4b443c; font-size: 14px; margin: 0 0 12px; max-width: 60em; }
.tp-beans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; animation: pop .25s; }
.tbean { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px; background: #fff; transition: .2s; }
.tbean img, .tb-ph { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: var(--cream); }
.tbean.on { border-color: #5bb07d; box-shadow: 0 0 0 3px rgba(91,176,125,.25); }
.tbean.out { opacity: .55; }
.tb-k { margin: 0; font-size: 12px; color: var(--gold-d); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.tbean h4 { margin: 2px 0; font-size: 15px; line-height: 1.5; }
.tbean .fam { font-size: 13px; }
.tb-n { margin: 0 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.tb-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.tb-bars .mb small { display: block; font-size: 10.5px; color: var(--muted); }
.tb-bars i { display: block; height: 5px; border-radius: 99px; background: #efe9dd; position: relative; overflow: hidden; }
.tb-bars i::after { content: ""; position: absolute; inset-block: 0; right: 0; width: var(--v); background: var(--gold); border-radius: inherit; }
.tb-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-f b { font-size: 13px; }
.tb-f b small { color: var(--muted); font-weight: 500; }
.tb-f em { font-style: normal; font-size: 12px; color: var(--bad); }
.tbean.on .btn-outline { border-color: #5bb07d; color: #2f7d4f; }
.passport { margin-top: 18px; border: 1px dashed #d8c89d; border-radius: 18px; padding: 12px 14px; background: repeating-linear-gradient(135deg, #fffdf8 0 12px, #fbf6e8 12px 24px); }
.passport > p { margin: 0 0 8px; font-size: 14px; }
.pp-count { color: var(--muted); font-size: 12.5px; }
.stamps { display: flex; flex-wrap: wrap; gap: 10px; }
.stamp { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; border: 2px dashed #d6ccb8; color: #b8ad98; transform: rotate(var(--r)); transition: .35s; font-size: 11px; text-align: center; filter: grayscale(1); opacity: .6; }
.stamp b { font-size: 22px; line-height: 1.2; }
.stamp.got { border: 3px double #a8473a; color: #a8473a; filter: none; opacity: 1; animation: stampin .45s cubic-bezier(.2,1.6,.4,1); background: rgba(168,71,58,.05); }
@keyframes stampin { from { transform: scale(1.8) rotate(-20deg); opacity: 0; } }

.cap-meter { margin-bottom: 14px; }
.cap-bar { height: 12px; border-radius: 99px; background: repeating-linear-gradient(90deg, #ece5d8 0 calc(5% - 2px), #e2d9c7 calc(5% - 2px) 5%); overflow: hidden; }
.cap-bar span { display: block; height: 100%; margin-inline-start: auto; background: linear-gradient(270deg, var(--gold-d), var(--gold)); border-radius: inherit; transition: width .25s; }
.cap-meter.ok .cap-bar span { background: linear-gradient(270deg, #2f7d4f, #5bb07d); }
.cap-t { margin: 6px 0 0; font-weight: 700; font-size: 14px; }
.cap-meter.ok .cap-t { color: var(--ok); }
.cap-meter.shake { animation: shake .45s; }
.cap-meter.shake .cap-t { color: var(--bad); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.brow-c .step { width: 34px; height: 34px; flex: none; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 18px; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.brow-c .step:hover:not(:disabled) { border-color: var(--ink); }
.brow-c .step:disabled { opacity: .35; cursor: not-allowed; }
.brow-c input[type=range] { background: linear-gradient(to right, #e7dfd1 calc(100% - var(--cap)), #ece5d8 calc(100% - var(--cap)), #ece5d8 calc(100% - var(--v)), var(--c) calc(100% - var(--v))); }
.brow-c input[type=range] { background-image: linear-gradient(to right, repeating-linear-gradient(45deg, #ddd3c2 0 4px, #ece5d8 4px 8px) 0 0 / calc(100% - var(--cap)) 100% no-repeat); }
.brow-c input[type=range] { background:
	linear-gradient(to right, transparent calc(100% - var(--v)), var(--c) calc(100% - var(--v))),
	linear-gradient(to right, rgba(0,0,0,.06) calc(100% - var(--cap)), transparent calc(100% - var(--cap))),
	#ece5d8; }
.blab-name .name-row { display: flex; gap: 8px; }
.blab-name input { flex: 1; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; min-width: 0; }

.blab-viz { grid-template-columns: 130px 1fr; }
.jar-wrap { display: grid; place-items: center; }
.jar-svg { width: 130px; height: auto; display: block; }
.jar-svg rect { transition: y .35s, height .35s; }
.jar-wave { animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 50% { transform: translateX(-12px); } }
.jar-pct { fill: #fff; font-size: 26px; font-weight: 900; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: rgba(13,13,13,.55); stroke-width: 4px; }
.jar-pct.full { fill: var(--gold); }
.jar-sub { fill: rgba(255,255,255,.75); font-size: 11px; text-anchor: middle; font-family: var(--font); paint-order: stroke; stroke: rgba(13,13,13,.55); stroke-width: 3px; }
.blab-scores { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.score { position: relative; width: 92px; text-align: center; }
.score svg { width: 64px; height: 64px; transform: rotate(-90deg); display: block; margin: 0 auto; }
.s-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 5; }
.s-fg { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .45s; }
.score.hi .s-fg { stroke: #5bb07d; }
.score b { position: absolute; top: 20px; inset-inline: 0; font-size: 17px; font-weight: 900; }
.score small { display: block; color: rgba(255,255,255,.6); font-size: 11.5px; margin-top: 2px; }
.blab-more { border-top: 1px solid rgba(255,255,255,.1); padding-top: 8px; margin-top: 4px; }
.blab-more summary { cursor: pointer; font-size: 12.5px; color: var(--gold); font-weight: 700; list-style: none; padding: 4px 0; }
.blab-more summary::-webkit-details-marker { display: none; }
.radar-target { fill: none; stroke: #5bb07d; stroke-width: 2; stroke-dasharray: 5 4; }
.radar-key { display: flex; gap: 6px; justify-content: center; align-items: center; font-size: 11.5px; color: rgba(255,255,255,.6); margin: 0; }
.radar-key i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.radar-key .k1 { background: var(--gold); }
.radar-key .k2 { background: #5bb07d; margin-inline-start: 10px; }
.badges { border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; margin-top: 10px; }
.bd-t { font-size: 12.5px; color: var(--gold); margin: 0 0 6px; font-weight: 700; }
.bd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border-radius: 12px; background: rgba(255,255,255,.04); text-align: center; filter: grayscale(1); opacity: .38; transition: .3s; cursor: help; }
.bd i { font-style: normal; font-size: 20px; }
.bd b { font-size: 10.5px; line-height: 1.4; }
.bd small { display: none; }
.bd.on { filter: none; opacity: 1; background: rgba(209,176,87,.14); box-shadow: inset 0 0 0 1px rgba(209,176,87,.45); animation: badge .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes badge { from { transform: scale(.6); } }
.blab-actions { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.blab-actions .link-btn { color: rgba(255,255,255,.65); font-size: 13px; }
.blab-actions .link-btn:hover { color: var(--gold); }
.toast.pop { animation: toastin .3s cubic-bezier(.2,1.4,.4,1); }
@keyframes toastin { from { transform: translate(-50%, 20px); opacity: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 130; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; }
.confetti.go i { animation-name: fall; animation-timing-function: cubic-bezier(.25,.6,.4,1); animation-fill-mode: forwards; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(105vh) rotate(720deg); } }
.label-modal { position: fixed; inset: 0; z-index: 120; background: rgba(13,13,13,.72); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px); }
.lm-box { position: relative; background: #fff; border-radius: 22px; padding: 16px; max-width: 460px; width: 100%; animation: pop .25s; }
.lm-canvas { width: 100%; height: auto; border-radius: 14px; display: block; }
.lm-act { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.lm-x { position: absolute; top: 6px; left: 6px; z-index: 2; background: #fff; }
.blab-mbar .mb-jar { position: relative; width: 38px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 6px 6px 10px 10px; overflow: hidden; flex: none; }
.mb-fill { position: absolute; bottom: 0; inset-inline: 0; background: linear-gradient(0deg, #8a5a32, var(--gold)); transition: height .3s; }
.mb-jar .mb-sum { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000; }
.blab-mbar .mb-info { flex: 1; display: flex; flex-direction: column; line-height: 1.45; }
.mb-lvl { color: rgba(255,255,255,.6); font-size: 11.5px; }
@media (max-width: 1060px) { .bm-list { grid-template-columns: repeat(3, 1fr); } .blab-missions { margin-top: -96px; } }
@media (max-width: 640px) {
	.bm-list { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
	.bm-list .mission { flex: 0 0 132px; }
	.blab-level { min-width: 0; width: 100%; }
	.tbean { grid-template-columns: 76px 1fr; }
	.tbean img, .tb-ph { width: 76px; height: 76px; }
	.tp-beans { grid-template-columns: 1fr; }
	.brow-c { gap: 8px; }
	.brow-c .step { width: 30px; height: 30px; }
	.pct input { width: 56px; padding: 6px 2px; }
	.bm-t b { display: block; margin-bottom: 2px; }
	.bd-grid { grid-template-columns: repeat(4, 1fr); }
	.stamp { width: 62px; height: 62px; font-size: 10px; }
}
.blab-mbar .mb-info { min-width: 0; }
.blab-mbar .mb-info strong, .blab-mbar .mb-info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blab-mbar .btn { flex: none; }
.blab { overflow-x: clip; }
.label-modal { grid-template-columns: minmax(0, 460px); justify-content: center; }
.lm-box { min-width: 0; max-height: calc(100vh - 32px); overflow: auto; }
.lm-canvas { max-height: calc(100vh - 140px); width: auto; max-width: 100%; margin: 0 auto; }

/* =========================================================
 * Blend Lab — experience levels
 * ======================================================= */
.blab-modes { position: relative; z-index: 4; margin-top: -96px; margin-bottom: 18px; }
.bmode-gate { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 20px; box-shadow: 0 16px 50px rgba(28,22,18,.12); }
.bmode-gate .bm-t b { font-size: 18px; }
.bmode-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.bmode input { position: absolute; opacity: 0; }
.bmode > span { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 20px 18px; border-radius: 22px; cursor: pointer; overflow: hidden; color: #fff; transition: transform .25s, box-shadow .25s; border: 2px solid transparent; }
.bmode.b1 > span { background: linear-gradient(150deg, #6b4a2f, #3a281a); }
.bmode.b2 > span { background: linear-gradient(150deg, #3f5d46, #1f2f24); }
.bmode.b3 > span { background: linear-gradient(150deg, #2b2b2b, #0d0d0d); }
.bmode > span::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 14px 14px; pointer-events: none; }
.bmode i { font-style: normal; font-size: 40px; line-height: 1; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.bmode b { font-size: 21px; }
.bmode small { color: rgba(255,255,255,.78); font-size: 13.5px; line-height: 1.8; }
.bmode ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; font-size: 13px; }
.bmode li::before { content: "✓ "; color: var(--gold); font-weight: 900; }
.bmode em { align-self: flex-start; margin-top: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px; background: rgba(209,176,87,.2); color: #f3dc95; border: 1px solid rgba(209,176,87,.4); }
.bmode > span:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.bmode input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(209,176,87,.35), 0 16px 34px rgba(0,0,0,.25); }
.bmode input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.bmode-bar { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 8px 6px 16px; box-shadow: 0 8px 24px rgba(28,22,18,.08); font-size: 14px; }
.bmode-bar .link-btn { background: var(--cream); border-radius: 99px; padding: 4px 12px; color: var(--ink); font-weight: 700; }
.blab-modes:has(.bmode-gate[hidden]) + .blab-suggest, .blab-modes:has(.bmode-gate[hidden]) ~ .blab-missions { margin-top: 0; }
.blab-missions { margin-top: 0; }
.blab-suggest { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; margin-bottom: 18px; box-shadow: 0 10px 40px rgba(28,22,18,.08); animation: pop .3s; }
.sg-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.sg { border: 1.5px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #fffdf8, #fff); }
.sg:hover { border-color: #d8c89d; box-shadow: var(--shadow); }
.sg-k { margin: 0; color: var(--gold-d); font-size: 12px; font-weight: 700; }
.sg h3 { margin: 0; font-size: 19px; }
.sg-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; }
.sg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.sg li { display: flex; align-items: center; gap: 8px; }
.sg li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sg li b { margin-inline-start: auto; }
.sg-plain { margin: 0; color: var(--muted); font-size: 13px; }
.sg-f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sg-f b { font-size: 13.5px; }
.sg-f small { color: var(--muted); font-weight: 500; }
.tip { margin: -6px 0 14px; padding: 10px 14px; border-radius: 14px; background: #fbf6e8; border-inline-start: 3px solid var(--gold); font-size: 13.5px; color: #5a5046; }
.tb-spec { width: 100%; border-collapse: collapse; font-size: 12px; margin: 2px 0 8px; }
.tb-spec th { color: var(--muted); font-weight: 500; text-align: right; padding: 2px 4px; }
.tb-spec td { font-weight: 700; padding: 2px 4px; }
.tb-plain { margin: 0 0 8px; font-size: 12.5px; color: #5a5046; background: var(--cream); border-radius: 10px; padding: 4px 10px; }
.dna-plain { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.8); }
.dna-plain b { color: #f3dc95; }
.dna-nums { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; font-size: 12px; color: rgba(255,255,255,.65); }
.dna-nums span { background: rgba(255,255,255,.06); border-radius: 8px; padding: 2px 8px; }
.dna-nums b { color: var(--gold); }

/* Visibility per level */
.blab[data-xp=""] .blab-missions, .blab[data-xp=""] .blab-grid, .blab[data-xp=""] .blab-mbar, .blab[data-xp=""] .blab-suggest { display: none !important; }
.blab:not([data-xp="beginner"]) .tip, .blab:not([data-xp="beginner"]) .tb-plain { display: none; }
.blab:not([data-xp="pro"]) .tb-spec { display: none; }
.blab[data-xp="beginner"] .trip-filters, .blab[data-xp="beginner"] .trip-view, .blab[data-xp="beginner"] .pct, .blab[data-xp="beginner"] .blab-notes, .blab[data-xp="beginner"] .roast-manual, .blab[data-xp="beginner"] .tb-bars, .blab[data-xp="beginner"] [data-fill] { display: none !important; }
.blab[data-xp="beginner"] .blab-roast-mode { grid-template-columns: 1fr; }
.blab[data-xp="beginner"] .blab-more:not([open]) { }
.blab[data-xp="pro"] .blab-roast-mode .roast-manual { order: -1; }
.blab[data-xp="pro"] .brow-c input[type=range] { height: 6px; }
@media (max-width: 860px) { .bmode-list, .sg-list { grid-template-columns: 1fr; } .bmode > span { padding: 16px; } .bmode i { width: 54px; height: 54px; font-size: 32px; } }
.blab[data-xp="beginner"] .sc-harmony { display: none; }
@media (max-width: 1060px) { .blab-missions { margin-top: 0; } }
.blab-missions { margin-bottom: 18px; }
.blab-suggest { margin-top: -6px; }
.t-n { fill: var(--gold); font-weight: 700; }
.tp-count { margin: 0 0 8px; font-weight: 700; font-size: 13.5px; color: var(--gold-d); }
.tp-all { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); }
.tp-all h3 small { font-size: 13px; color: var(--muted); font-weight: 500; }
.tp-oc { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.tp-oc::-webkit-scrollbar { display: none; }
.tp-oc .chip { flex: none; font-size: 13px; }

/* =========================================================
 * Mobile polish (audit 2026-11-16)
 * ======================================================= */
/* Product page: the gallery slider must never widen the page */
.pp-gallery, .pp-summary { min-width: 0; }
.pp-gallery { overflow: hidden; }
@media (max-width: 900px) { .pp-top { grid-template-columns: minmax(0, 1fr); } }

/* Jar rebalancing feedback */
.is-rebalancing .brow { transition: none; animation: rebal .5s ease; }
@keyframes rebal { 40% { background: #fbf6e8; } }
.d-seg circle, .jar-svg rect { transition: y .45s ease, height .45s ease; }

@media (max-width: 1024px) {
	body { font-size: 15.5px; }
	/* iOS: no zoom on focus */
	input, select, textarea, .input-text, .woocommerce form input, .wc-block-components-text-input input { font-size: 16px !important; }
	/* Comfortable tap targets */
	.chip, .cat-pills a, .origin-chip, .trip-tabs .chip, .trip-filters .chip, .tp-oc .chip { min-height: 40px; padding-inline: 14px; }
	.more, .link-btn { min-height: 40px; padding: 6px 4px; }
	.cmp-toggle { width: 40px; height: 40px; }
	.card-title a { display: block; padding: 4px 0; }
	.reset_variations { display: inline-flex; align-items: center; min-height: 40px; }
	.swatch { min-height: 44px; }
	.quantity .q-btn { width: 44px; }
	p.stars a { width: 40px; height: 40px; }
	p.stars a::before { font-size: 32px; line-height: 40px; }
	.mini-qty button { width: 36px; height: 36px; }
	.woocommerce-mini-cart-item .remove { width: 36px; height: 36px; }
	.brow-x { width: 38px; height: 38px; }
	.brow-c .step { width: 40px; height: 40px; }
	.brow-c input[type=range]::-webkit-slider-thumb { width: 30px; height: 30px; }
	.brow-c input[type=range]::-moz-range-thumb { width: 26px; height: 26px; }
	.brow-c input[type=range] { height: 10px; }
	.cmp-table .link-btn { min-height: 36px; padding: 4px 10px; }
	.icon-btn { min-width: 44px; min-height: 44px; justify-content: center; }
	.pp-origin { min-height: 36px; }
	/* Readable small text (≥12px) */
	.opt-c, .is-brew .opt-c, .facet-n, .tag, .best, .mp, .bd b, .score small, .split-t, .blab-legend small, .bean-b small, .tb-k, .tb-bars .mb small, .sp, .lvl-xp, .blab-level small, .mission small, .dna-chips small, .t-lbl, .card-label, .pp-badges span, .badge, .cart-count { font-size: 12px; }
	.woocommerce-Price-currencySymbol { font-size: 12px; }
	.price .from { font-size: 12px; }
	.bd b { font-size: 11.5px; }
	/* Maps: swipeable at a usable size instead of tiny pins */
	.belt, .trip-map { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.belt::-webkit-scrollbar, .trip-map::-webkit-scrollbar { display: none; }
	.belt svg { min-width: 680px; }
	.trip-svg { min-width: 760px; }
	.belt-name { font-size: 15px; }
	.t-name { font-size: 16px; }
	.belt::after, .trip-map::after { content: "⟷ برای دیدن همه خاستگاه‌ها بکشید"; position: sticky; right: 0; display: block; width: max-content; margin: -30px 10px 8px auto; padding: 3px 10px; border-radius: 99px; background: rgba(13,13,13,.7); color: #fff; font-size: 12px; pointer-events: none; }
	/* Fixed bars: never stack on top of each other */
	body:has(.blab-mbar) .cmp-bar, body.single-product .cmp-bar { bottom: calc(84px + env(safe-area-inset-bottom)); }
	body:has(.blab-mbar) .toast, body.single-product .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
	.toast { max-width: calc(100vw - 32px); text-align: center; }
	.cmp-bar { width: calc(100vw - 16px); bottom: calc(8px + env(safe-area-inset-bottom)); }
	/* Header & drawers */
	.drawer { width: min(420px, 88vw); padding-bottom: env(safe-area-inset-bottom); }
	.drawer-nav .menu a { padding: 14px 4px; font-size: 16px; }
	.search-pop { padding-top: 10px; }
	.search-box { max-height: calc(100dvh - 20px); }
	/* Shop */
	.results-bar { gap: 8px; }
	.results-bar .count { font-size: 13px; }
	.sort select { max-width: 150px; }
	.filters { width: min(400px, 94vw); }
	.facet summary { min-height: 48px; }
	.opt { min-height: 44px; }
	/* Product */
	.pp-title { font-size: 24px; }
	.pp-price { font-size: 24px; }
	.dna-item { padding: 4px 0; }
	.card-box { margin-bottom: 14px; }
	/* Footer */
	.site-footer li a { display: inline-block; padding: 6px 0; }
	.socials a { width: 44px; height: 44px; }
	.f-phones a { padding: 4px 0; }
	/* Blend lab */
	.blab-step-h h2 { font-size: 18px; }
	.blab-card { border-radius: 22px; padding: 18px 16px; }
	.bmode b { font-size: 19px; }
}
@media (max-width: 380px) {
	.grid-cards { gap: 8px; }
	.card-body { padding: 9px 9px 11px; }
	.card-foot .btn { font-size: 12.5px; padding-inline: 6px; }
	.header-in { gap: 0; }
	.brand-logo { height: 36px; }
	.blab-hero h1 { font-size: 28px; }
	.kg-stepper input { width: 56px; }
}
@media (max-width: 760px) and (orientation: landscape) {
	.blab-mbar { padding-block: 6px; }
	.hero { min-height: 420px; }
}

.blab-main, .blab-side { min-width: 0; }
@media (max-width: 1024px) {
	.tb-f b small, .bean-f b small, .sg-f small, .blab-level small, .lvl-xp, .mission small, .dna-chips small, .t-n { font-size: 12px; }
	.blab-help .blab-phones a { min-height: 44px; }
	.bmode-bar .link-btn { min-height: 38px; }
	.price-range input { min-height: 44px; }
}
@media (min-width: 641px) and (max-width: 1024px) { .belt svg, .trip-svg { min-width: 0; } .belt::after, .trip-map::after { display: none; } }
.stamp small { font-size: 11.5px; line-height: 1.3; }
@media (max-width: 640px) { .stamp { width: 70px; height: 70px; } }
.dna-v a { display: inline-block; padding: 6px 8px; margin: -6px -8px; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
 * Cart & checkout (blocks)
 * ======================================================= */
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.co-head .page-title { margin: 0; }
.co-steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 0; counter-reset: s; }
.co-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.co-steps li + li::before { content: ""; width: 42px; height: 2px; background: var(--line); margin: 0 10px; }
.co-steps li.done + li::before, .co-steps li.on::before { background: var(--gold); }
.co-steps a { display: flex; align-items: center; gap: 8px; color: inherit; }
.co-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: 13px; }
.co-steps li.on { color: var(--ink); }
.co-steps li.on b { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.co-steps li.done b { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.co-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.co-trust > div { display: flex; gap: 10px; align-items: center; background: var(--cream); border-radius: 16px; padding: 12px 14px; }
.co-trust i { font-style: normal; font-size: 22px; }
.co-trust p { margin: 0; line-height: 1.6; }
.co-trust b { display: block; font-size: 14px; }
.co-trust span { color: var(--muted); font-size: 12.5px; }
.co-links { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.co-links a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; }

/* Layout: roomier summary column on desktop */
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-checkout__sidebar, .wp-block-woocommerce-cart-totals-block { background: #fff; }
.wc-block-checkout__sidebar.is-sticky { top: calc(var(--header-h) + 16px) !important; }
.wc-block-checkout__sidebar, .wp-block-woocommerce-cart-totals-block { border: 1px solid var(--line); border-radius: 22px; padding: 18px !important; box-shadow: 0 10px 34px rgba(28,22,18,.06); }

/* Section titles & fields */
.wc-block-components-checkout-step__title, .wc-block-components-title { font-weight: 800 !important; font-size: 18px !important; }
.wc-block-components-checkout-step { padding-bottom: 8px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea { border-radius: 14px !important; border: 1.5px solid var(--line) !important; min-height: 54px; }
.wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(209,176,87,.22) !important; }
.wc-block-components-address-form__country, .wc-block-components-country-input { display: none !important; } /* Iran only */
.rco-hint { margin: 4px 4px 0; font-size: 12.5px; color: var(--muted); }
.rco-hint.bad { color: var(--bad); font-weight: 700; }
.wc-block-components-validation-error { font-size: 13px; }

/* Delivery: «ارسال / دریافت حضوری» toggle */
.wc-block-checkout__shipping-method-container { gap: 10px; }
.wc-block-checkout__shipping-method-option { border-radius: 16px !important; min-height: 56px; border: 1.5px solid var(--line) !important; }
.wc-block-checkout__shipping-method-option--selected { border-color: var(--ink) !important; background: #fcf8ee !important; box-shadow: 0 0 0 3px rgba(209,176,87,.3); }
.rco-pick { margin: 8px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--cream); font-size: 13.5px; }
.wc-block-components-local-pickup-rates-control .wc-block-components-radio-control__option { border-radius: 16px; border: 1.5px solid var(--line); padding: 14px 16px 14px 16px; padding-inline-start: 48px; }

/* Payment */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 16px !important; }
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { border: 1.5px solid var(--ink) !important; background: #fcf8ee; }
.wc-block-checkout__payment-method img[src*="zibal"] { max-height: 24px; }
.wc-block-checkout__payment-method img { max-height: 28px; }

/* Place order */
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { background: var(--gold) !important; color: var(--ink) !important; font-weight: 900 !important; font-size: 17px !important; min-height: 56px !important; border-radius: 16px !important; box-shadow: 0 10px 24px rgba(209,176,87,.35); }
.wc-block-components-checkout-place-order-button:hover, .wc-block-cart__submit-button:hover { background: #dcc070 !important; }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text::before { content: "🔒 "; }
.wc-block-components-checkout-return-to-cart-button { color: var(--muted) !important; }
.wc-block-checkout__terms { font-size: 13px; color: var(--muted); }

/* Cart items */
.wc-block-cart-items__row { border-bottom: 1px solid var(--line); }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 14px; }
.wc-block-components-product-name { font-weight: 800 !important; font-size: 15.5px !important; text-decoration: none !important; color: var(--ink) !important; }
.wc-block-components-quantity-selector { border-radius: 12px !important; min-height: 44px; }
.wc-block-components-quantity-selector__button { min-width: 44px !important; min-height: 44px; font-size: 20px !important; }
.wc-block-components-quantity-selector__input { min-height: 44px; font-weight: 800; }
.wc-block-cart-item__remove-link { min-height: 40px; min-width: 40px; display: inline-grid !important; place-items: center; border-radius: 12px; }
.wc-block-cart-item__remove-link:hover { background: #fbeeea; color: var(--bad) !important; }
.wc-block-components-product-metadata, .wc-block-components-product-details { font-size: 13px !important; color: var(--muted); }
.wc-block-components-product-details li { margin: 0 !important; }
.rco-blend .rco-more { display: none; }
.rco-blend.open .rco-more { display: list-item; }
.rco-blend { background: #fbf6e8; border-radius: 12px; padding: 8px 12px !important; list-style: none; margin: 6px 0 0 !important; }
.rco-blend li { display: block !important; padding: 2px 0; }
.rco-blend li::after, .wc-block-components-product-details.rco-blend li::after, .wc-block-components-product-metadata .rco-blend li::after { content: none !important; display: none !important; }
.rco-toggle { background: none; border: 0; color: var(--gold-d); font-weight: 700; font-size: 13px; padding: 6px 2px; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.wc-block-components-totals-item__label { font-size: 14.5px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 22px !important; font-weight: 900 !important; color: var(--ink); }
.wc-block-components-totals-coupon__button { min-height: 48px; border-radius: 12px !important; }

/* Empty cart */
.co-empty { text-align: center; background: linear-gradient(160deg, var(--cream), #fff); border: 1px solid var(--line); border-radius: 26px; padding: 40px 20px; margin-bottom: 30px; }
.co-empty-ico { font-size: 54px; line-height: 1; }
.co-empty h2 { margin: 12px 0 6px; font-size: 24px; }
.co-empty p { color: var(--muted); max-width: 36em; margin: 0 auto 18px; }
.co-empty-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.wp-block-woocommerce-empty-cart-block > .wp-block-heading:first-of-type, .wc-block-cart__empty-cart__title { display: none; }

/* Order received (thank-you) */
.woocommerce-order { max-width: 860px; margin: 0 auto; }
.woocommerce-thankyou-order-received { font-size: 18px; font-weight: 800; background: #eef6f0; border: 1px solid #cfe6d6; color: #24563a; border-radius: 16px; padding: 14px 18px; }
.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 0; margin: 18px 0; }
.woocommerce-order-overview li { background: var(--cream); border-radius: 14px; padding: 10px 14px; font-size: 13px; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; color: var(--ink); font-size: 15px; margin-top: 2px; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 22px; }
.woocommerce-table--order-details td, .woocommerce-table--order-details th { padding: 10px 12px; }
.woocommerce-table--order-details .wc-item-meta { list-style: none; padding: 0; margin: 6px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
	.co-head { flex-direction: column; align-items: stretch; }
	.co-steps { justify-content: space-between; }
	.co-steps li { font-size: 12.5px; flex-direction: column; gap: 4px; text-align: center; flex: 1; position: relative; }
	.co-steps li + li::before { position: absolute; top: 15px; left: calc(50% + 20px); right: auto; width: calc(100% - 40px); margin: 0; }
	.co-steps a { flex-direction: column; gap: 4px; }
	.co-trust { grid-template-columns: 1fr 1fr; }
	/* Keep checkout actions in normal flow on mobile so the order summary never covers form fields */
	.wc-block-checkout__actions { position: static; background: transparent; padding: 10px 0 0; box-shadow: none; }
	.wc-block-cart__submit-container--sticky { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
	.wc-block-checkout__sidebar, .wp-block-woocommerce-cart-totals-block { border-radius: 18px; padding: 14px !important; }
}
@media (max-width: 420px) { .co-trust { grid-template-columns: 1fr; } }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text::before { content: none; }
.wc-block-components-order-summary .wc-block-components-order-summary-item { display: grid !important; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 12px; align-items: start; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__image { width: 52px !important; padding: 0 !important; grid-row: 1 / 3; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__description { min-width: 0; width: 100%; padding: 0 !important; overflow-wrap: break-word; word-break: normal; }
.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price { grid-column: 2; justify-self: start; text-align: start; white-space: nowrap; font-weight: 800; padding: 0 !important; }
.wc-block-components-order-summary-item .wc-block-components-product-details { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.wc-block-components-order-summary-item .wc-block-components-product-details li:not(.rco-more),
.wc-block-components-order-summary-item .wc-block-components-product-details > span:not(.rco-more) { display: block !important; overflow-wrap: break-word; word-break: normal; }
.wc-block-components-order-summary-item .wc-block-components-product-details [aria-hidden="true"],
.wc-block-components-order-summary-item .wc-block-components-product-details li::after,
.wc-block-components-order-summary-item .wc-block-components-product-details li::before { content: none !important; display: none !important; }

/* Checkout: a little more room for the order summary (sizes sum to 100%, Woo adds the gutter as padding) */
@media (min-width: 1000px) {
	.wc-block-checkout.is-large .wc-block-components-main { width: 62% !important; }
	.wc-block-checkout.is-large .wc-block-components-sidebar { width: 38% !important; }
}
/* Mobile checkout: Woo shows a collapsible summary at the top — hide the duplicate full summary */
.wc-block-checkout.is-mobile .wc-block-checkout__sidebar, .wc-block-checkout.is-small .wc-block-checkout__sidebar { display: none !important; }
/* Cart table must never be wider than the screen */
.wc-block-cart-items { width: 100%; max-width: 100%; }
@media (max-width: 700px) {
	.wc-block-cart-items { table-layout: fixed; }
	.wc-block-cart-items td, .wc-block-cart-item__product, .wc-block-cart-item__wrap { min-width: 0; overflow-wrap: anywhere; }
	.wc-block-cart-item__image { width: 72px !important; padding-left: 10px !important; }
	.wc-block-components-quantity-selector { max-width: 132px; }
	.wc-block-components-quantity-selector__button { min-width: 40px !important; }
	.wc-block-components-quantity-selector__input { min-width: 40px; width: 40px; }
	.rco-blend li { overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
	.wc-block-cart-items .wc-block-cart-item__total { width: 92px; white-space: nowrap; font-size: 13px; vertical-align: top; }
	.wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }
	.wc-block-cart-item__product .wc-block-components-product-name { display: block; padding-inline-end: 4px; }
}
@media (max-width: 420px) {
	.co-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
	.co-trust > div { flex-direction: column; text-align: center; padding: 10px 8px; gap: 4px; }
	.co-trust span { font-size: 12px; }
}
@media (max-width: 700px) {
	.wc-block-cart-items .wc-block-cart-item__total, .wc-block-cart-items__header-total { display: none !important; }
}

/* =========================================================
 * Visual system v2 — one line-icon family, restrained palette
 * ======================================================= */
:root { --ok: #5f7a4e; --ok-l: #eef2e8; --gold-soft: rgba(209,176,87,.14); --ring: rgba(209,176,87,.38); }
.ri { flex: none; vertical-align: middle; }
/* Home */
.benefit-ico { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: #fff; box-shadow: inset 0 0 0 1px var(--ring); }
.steps .step-n { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--gold-d); box-shadow: inset 0 0 0 1px var(--ring); background: #fff; }
.brew-chip .ri { color: var(--gold); }
.brew-chip:hover .ri { color: var(--ink); }
.brew-tile .ri { color: var(--gold-d); width: 40px; height: 40px; }
.brew-tile:hover .ri { color: var(--ink); }
.blab-hero h1 span { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--gold); }
/* Product */
.dna-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); box-shadow: inset 0 0 0 1px var(--ring); margin-bottom: 6px; background: #fff; }
.dna-line .dna-ico { width: 40px; height: 40px; flex: none; margin: 0; }
.species-img { display: grid; place-items: center; width: 70px; height: 70px; margin: 4px auto; border-radius: 50%; color: var(--gold-d); background: var(--gold-soft); }
.brew-item .ri { color: var(--ink); opacity: .8; }
.brew-item.is-best .ri { color: var(--gold-d); opacity: 1; }
.brew-item.is-best { background: #fbf8f1; border-color: var(--ring); }
.dots i.on { background: var(--gold-d); }
.best { background: transparent; color: var(--gold-d); border: 1px solid var(--ring); font-weight: 700; }
/* Origins */
.origin-facts .ri { color: var(--gold); margin-bottom: 6px; display: block; }
.cmp-brew .ri { color: var(--gold-d); }
/* Filters & search */
.is-brew .opt .ri { color: var(--gold-d); }
.sr-pin { display: grid; place-items: center; color: var(--gold-d); }
.empty-state .ri { color: var(--gold-d); }
/* Finder */
.fq-opt .emo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(209,176,87,.35); font-size: 0; }
.fq-opt .emo .ri { width: 30px; height: 30px; }
.fq-opt:has(input:checked) .emo { background: var(--gold); color: var(--ink); }
/* Blend lab: unified, calmer */
.bmode.b1 > span, .bmode.b2 > span, .bmode.b3 > span { background: linear-gradient(160deg, #241c16, #120e0b); }
.bmode > span::after { background-image: none; }
.bmode i { background: transparent; box-shadow: inset 0 0 0 1px rgba(209,176,87,.45); color: var(--gold); border-radius: 50%; }
.bmode li::before { content: "— "; color: var(--gold); font-weight: 400; }
.bmode em { background: transparent; color: var(--gold); }
.mission i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-d); box-shadow: inset 0 0 0 1px var(--ring); margin-bottom: 4px; }
.mission input:checked + span i { background: var(--ink); color: var(--gold); box-shadow: none; }
.lvl-ico { color: var(--gold); }
.bmode-cur .ri { color: var(--gold-d); margin-left: 4px; }
.tip { display: flex; gap: 8px; align-items: flex-start; background: #faf7f0; border-inline-start-color: var(--ring); }
.tip .ri { color: var(--gold-d); margin-top: 3px; }
.trip-filters .chip .ri, .blab-actions .ri, [data-suggest] .ri { color: var(--gold-d); }
.blab-actions .ri { color: var(--gold); }
.tbean .fam { display: inline-flex; gap: 3px; color: var(--gold-d); vertical-align: middle; }
.tbean .fam .ri { width: 15px; height: 15px; }
.tbean.on { border-color: var(--gold-d); box-shadow: 0 0 0 3px var(--gold-soft); }
.tbean.on .btn-outline { border-color: var(--gold-d); color: var(--gold-d); }
.tp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tp-meta .ri { width: 16px; height: 16px; color: var(--gold-d); }
.tp-intro span { color: var(--gold-d); }
.sp.ar { background: #f1f0e6; color: #5f6a3e; }
.sp.rb { background: #f4ece4; color: #7a4a2a; }
.t-pin.has .t-dot { fill: #fff; stroke: var(--gold); }
.t-cnt { fill: var(--gold); }
.t-cntt { fill: var(--ink); }
.cap-meter.ok .cap-bar span { background: linear-gradient(270deg, var(--gold-d), var(--gold)); }
.cap-meter.ok .cap-t, .blab-sum.ok .blab-sum-t { color: var(--gold-d); }
.score.hi .s-fg { stroke: var(--gold); }
.blab-live::before { background: var(--gold); box-shadow: none; animation: none; }
.split-bar { background: #6e4a30; }
.split-bar .sa { background: var(--gold); }
.radar-target { stroke: rgba(255,255,255,.55); }
.radar-key .k2 { background: rgba(255,255,255,.55); }
/* Badges → monoline medallions */
.bd { filter: none; opacity: .45; background: transparent; }
.bd i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.bd i .ri { width: 20px; height: 20px; }
.bd.on { opacity: 1; background: transparent; box-shadow: none; animation: none; }
.bd.on i { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 4px rgba(209,176,87,.12); color: var(--gold); }
.bd.on b { color: #f3e6c4; }
/* Jar: a quiet glow instead of confetti */
.jar-wrap.glow .jar-svg { animation: jarglow 1.4s ease; }
@keyframes jarglow { 0% { filter: drop-shadow(0 0 0 rgba(209,176,87,0)); } 40% { filter: drop-shadow(0 0 14px rgba(209,176,87,.55)); } 100% { filter: drop-shadow(0 0 0 rgba(209,176,87,0)); } }
.confetti { display: none !important; }
.stamp.got { border: 1.5px solid var(--gold-d); color: var(--gold-d); background: #fffdf7; animation: stampin .4s ease; }
.stamp { border-style: dashed; }
/* Checkout */
.co-trust i { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--gold-d); background: #fff; box-shadow: inset 0 0 0 1px var(--ring); }
.co-trust > div { background: #fbf8f1; }
.co-empty-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; color: var(--gold-d); box-shadow: inset 0 0 0 1px var(--ring); background: #fff; }
.woocommerce-thankyou-order-received { background: #fbf8f1; border-color: var(--ring); color: var(--ink); }
.co-steps li.done b { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.blab.no-game .blab-missions, .blab.no-game .badges, .blab.no-game .blab-level, .blab.no-game .sc-mission { display: none !important; }

/* Payamak-Yar login form in Rosto colours */
body .pmy-login{--pmy-accent:var(--ink);--pmy-border:var(--line);--pmy-muted:var(--muted);background:#fff;color:var(--ink);border-radius:var(--r);box-shadow:0 10px 30px rgba(42,33,26,.06)}
body .pmy-login .pmy-badge{background:var(--gold-soft);color:var(--gold-d)}
body .pmy-login .pmy-input{background:#fff;border-color:var(--line)}
body .pmy-login .pmy-input:focus{border-color:var(--gold);box-shadow:0 0 0 3px var(--ring)}
body .pmy-login .pmy-btn{background:var(--ink);color:#fff}
body .pmy-login .pmy-btn:hover{background:var(--roast);filter:none}
body .pmy-login a{color:var(--gold-d)}
@media (prefers-color-scheme:dark){body .pmy-login{background:#fff;color:var(--ink)}body .pmy-login .pmy-input{background:#fff}}

/* Logged-in marker on the account icon */
.account-link.is-in{position:relative}
.account-link.is-in::after{content:"";position:absolute;top:6px;inset-inline-start:6px;width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 2px var(--ink)}
@media (min-width:961px){.account-link.is-in::after{display:none}}

/* My account v2 */
.woocommerce-account .woocommerce a{text-decoration:none}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;gap:10px;color:var(--ink);transition:background .15s}
.woocommerce-MyAccount-navigation a svg{flex:none;opacity:.75}
.woocommerce-MyAccount-navigation a:hover{background:rgba(0,0,0,.04)}
.woocommerce-MyAccount-navigation .is-active a,.woocommerce-MyAccount-navigation .is-active a:hover{background:var(--ink);color:#fff}
.woocommerce-MyAccount-navigation .is-active a svg{opacity:1;color:var(--gold)}
.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--muted)}
.acc-hello h2{margin:0 0 4px;font-size:22px}
.acc-hello p{margin:0 0 18px;color:var(--muted)}
.acc-last{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);margin:0 0 16px;color:var(--ink);background:#fff}
.acc-last:hover{border-color:var(--gold)}
.acc-last-ico,.acc-card i{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--gold-soft);color:var(--gold-d);flex:none}
.acc-last-txt{display:flex;flex-direction:column;min-width:0;flex:1}
.acc-last-txt small{color:var(--muted)}
.acc-status{font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:99px;background:var(--cream);white-space:nowrap}
.acc-status.st-completed{background:#e8f2e6;color:#2f6b2a}.acc-status.st-processing{background:#fbf3dc;color:#8a6a12}.acc-status.st-cancelled,.acc-status.st-failed{background:#fbeeea;color:#9b3a26}
.acc-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.acc-card{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:var(--r);color:var(--ink);background:#fff;transition:border-color .15s,transform .15s}
.acc-card:hover{border-color:var(--gold);transform:translateY(-2px)}
.acc-card small{color:var(--muted);font-size:13px;line-height:1.7}
.acc-out{margin:18px 0 0;font-size:13.5px;color:var(--muted)}
.acc-out a{color:var(--gold-d);font-weight:700}
@media (max-width:760px){
	.woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:6px;padding:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
	.woocommerce-MyAccount-navigation li{flex:none}
	.woocommerce-MyAccount-navigation a{padding:8px 12px;font-size:14px;white-space:nowrap}
	.acc-cards{grid-template-columns:1fr 1fr;gap:10px}
	.acc-card{padding:14px}
}
.woocommerce-account .woocommerce>*{min-width:0}
.acc-card b{color:var(--ink)}

/* v1.1 — panel-driven bits */
.card-badges{position:absolute;top:10px;inset-inline-end:10px;display:flex;flex-direction:column;align-items:flex-end;gap:4px;pointer-events:none}
.cb{padding:2px 9px;border-radius:99px;font-size:11.5px;font-weight:700;line-height:1.8;background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.cb-new{background:var(--ink);color:var(--gold)}
.cb-best{background:var(--gold);color:var(--ink)}
.cb-low{background:#fff4e5;color:#8a4b0f}
.topbar a{color:inherit;text-decoration:none}
.topbar a:hover{text-decoration:underline}
.home-faq .faq-list{max-width:820px;margin:0 auto;display:grid;gap:10px}
.faq{border:1px solid var(--line);border-radius:var(--r);background:#fff;padding:0 18px}
.faq summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:700;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold-d);font-size:20px;line-height:1}
.faq[open] summary::after{content:"−"}
.faq div{color:var(--muted);padding:0 0 14px;line-height:2}
.faq div p{margin:0}
.rosto-credit-fallback{text-align:center;padding:10px;font-size:12px;background:var(--ink)}

/* ===== دان سبز (green-bean wholesale) ===== */
.hero-green{display:inline-flex;align-items:center;gap:12px;margin:18px 0 4px;padding:10px 14px 10px 12px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff;text-decoration:none;backdrop-filter:blur(6px);max-width:100%;transition:background .15s}
.hero-green:hover{background:rgba(255,255,255,.14);color:#fff}
.hero-green .hg-ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#4d6b44;color:#e9f0e3;flex:none}
.hero-green .hg-t{display:flex;flex-direction:column;line-height:1.6}
.hero-green .hg-t small{color:rgba(255,255,255,.7);font-size:12.5px}
.hero-green>svg{opacity:.7}
.main-nav .menu-green>a,.drawer-nav .menu-green>a{color:#a9c79c}
.qty-box{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:12px;overflow:hidden}
.qty-box button{width:40px;height:42px;border:0;background:var(--cream);font-size:18px;cursor:pointer;color:var(--ink)}
.qty-box input{width:56px;height:42px;border:0;text-align:center;font:inherit;font-weight:700;-moz-appearance:textfield}
.qty-box input::-webkit-inner-spin-button{-webkit-appearance:none}
.rco-green{background:#eef2ea;color:#344a2e;border-radius:12px;padding:10px 12px;font-size:13.5px;line-height:1.9;margin:10px 0}

/* Mobile polish: remove footer top gap after dark/cream full-bleed pages & keep anchored steps clear of fixed header */
.finder + .site-footer, body:has(.finder) .site-footer, .blab + .site-footer, body:has(.blab) .site-footer { margin-top: 0; }
.blab-step, .blab-modes, .blab-missions { scroll-margin-top: calc(var(--header-h) + 16px); }
