/* ==== Base ==== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
}
body.drawer-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.005em; line-height: 1.15; margin: 0 0 var(--space-3); }
p { margin: 0 0 var(--space-3); }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: var(--space-2) var(--space-3);
	background: var(--color-surface); z-index: 100; top: var(--space-2); left: var(--space-2);
}
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.site-main { padding-block: var(--space-4) var(--space-6); }
body.home .site-main, body.page-template-front .site-main { padding-block: 0 var(--space-6); }

/* ==== Buttons ==== */
.btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
	min-height: 44px; padding: 0.6rem 1.25rem;
	background: var(--color-primary); color: var(--color-on-primary);
	border: 0; border-radius: var(--radius-pill);
	font: 600 var(--text-base)/1.2 var(--font-body);
	text-decoration: none; cursor: pointer; transition: background 0.15s;
}
.btn:hover, .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--color-primary-dark); color: var(--color-on-primary);
}
.btn--primary .icon { width: 1.1rem; height: 1.1rem; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; position: relative;
	background: transparent; border: 0; border-radius: var(--radius-pill); color: var(--color-text); cursor: pointer;
}
.icon-btn:hover { background: var(--color-primary-soft); }
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], input[type="url"],
input[type="number"], select, textarea {
	width: 100%; min-height: 44px; padding: 0.55rem 0.85rem;
	background: var(--color-surface); color: var(--color-text);
	border: 1px solid var(--color-border); border-radius: var(--radius-sm); font: inherit;
}

/* ==== Header ==== */
.announcement { background: var(--color-accent); color: #fff; font-size: var(--text-sm); text-align: center; padding: 0.4rem 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
/* WordPress admin bar: 46px and fixed from 601px, 32px from 783px, but scrolls away on phones (600px and under). */
.admin-bar .site-header { top: 0; }
@media (min-width: 601px) { .admin-bar .site-header { top: 46px; } }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-primary); text-decoration: none; margin-right: auto; }
.site-logo .icon { width: 1.75rem; height: 1.75rem; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { display: block; width: auto; height: 54px; }
@media (min-width: 860px) { .custom-logo { height: 56px; } }
.site-logo__text { font: 800 1.4rem/1 var(--font-heading); color: var(--color-text); }
.nav-toggle { order: -1; }
.primary-nav { flex-basis: 100%; display: none; order: 5; padding-bottom: var(--space-3); }
.primary-nav.is-open { display: block; }
.primary-nav__list { list-style: none; display: grid; gap: 0.25rem; }
.primary-nav__list a { display: block; padding: 0.6rem 0.25rem; color: var(--color-text); font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); }
.primary-nav__list a:hover, .primary-nav__list .current-menu-item > a { color: var(--color-primary-dark); }
/* Sub-menus: stacked and collapsed on phones, a drop-down panel on wide screens */
.primary-nav__list .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.primary-nav__list .menu-item-has-children > a { flex: 1 1 auto; }
.sub-nav-toggle { flex: none; position: relative; width: 2.75rem; height: 2.75rem; border: 0; background: none; color: var(--color-text); cursor: pointer; border-radius: var(--radius-sm); }
.sub-nav-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translate(-50%, -70%) rotate(45deg); transition: transform 0.15s; }
.menu-item-has-children.is-open > .sub-nav-toggle::after { transform: translate(-50%, -30%) rotate(-135deg); }
.sub-nav-toggle:hover { color: var(--color-primary-dark); }
.primary-nav__list .sub-menu { flex-basis: 100%; list-style: none; margin: 0; padding: 0 0 var(--space-2) var(--space-3); display: grid; gap: 0.1rem; }
.primary-nav__list .sub-menu a { font-weight: 500; color: var(--color-muted); }
.primary-nav.is-ready .sub-menu { display: none; }
.primary-nav.is-ready .is-open > .sub-menu { display: grid; }
@media (prefers-reduced-motion: reduce) { .sub-nav-toggle::after { transition: none; } }
.header-search { display: none; flex: 1 1 280px; position: relative; max-width: 420px; }
.header-search input[type="search"] { padding-right: 3rem; border-radius: var(--radius-pill); background: var(--color-bg); }
.header-search .icon-btn { position: absolute; right: 2px; top: 0; }
.header-actions { display: flex; align-items: center; }
@media (max-width: 899px) {
	.site-header__inner { gap: var(--space-2); }
	/* Menu and search on the left, account and cart on the right (two buttons each), so the logo sits dead centre. */
	.site-logo { flex: 1 1 0; min-width: 0; justify-content: center; }
	.header-actions { display: contents; }
	.search-toggle { order: -1; }
	.site-logo .custom-logo { width: auto; max-width: 100%; height: auto; max-height: 54px; }
}
.header-search.is-open { display: block; flex-basis: 100%; order: 4; max-width: none; margin-bottom: var(--space-3); }
.cart-count {
	position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
	background: var(--color-primary); color: #fff; border-radius: var(--radius-pill);
	font: 700 0.72rem/20px var(--font-body); text-align: center;
}
.cart-count[data-count="0"] { display: none; }
@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.site-logo { margin-right: 0; }
	.primary-nav { display: block; flex-basis: auto; order: 0; padding: 0; margin-right: auto; }
	.primary-nav__list { display: flex; gap: var(--space-3); }
	.header-search { display: block; }
	.search-toggle { display: none; }
	.site-header__inner { flex-wrap: nowrap; gap: var(--space-4); }
	.primary-nav__list { align-items: center; }
	.primary-nav__list > li > a { white-space: nowrap; }
	.primary-nav__list .menu-item-has-children { position: relative; flex-wrap: nowrap; }
	.sub-nav-toggle { width: 1.5rem; margin-left: -0.35rem; }
	.primary-nav__list .sub-menu, .primary-nav.is-ready .sub-menu { display: none; position: absolute; top: 100%; left: -0.75rem; z-index: 60; min-width: 15rem; padding: var(--space-2); gap: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); }
	.primary-nav__list .sub-menu a, .primary-nav__list .sub-menu a:hover { padding: 0.55rem 0.75rem; font-weight: 600; color: var(--color-text); }
	.primary-nav__list .sub-menu a:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }
	.primary-nav__list .menu-item-has-children:hover > .sub-menu, .primary-nav:not(.is-ready) .menu-item-has-children:focus-within > .sub-menu, .primary-nav.is-ready .is-open > .sub-menu { display: grid; }
}

/* ==== Footer ==== */
.site-footer { margin-top: var(--space-6); }
.site-footer a { text-decoration: none; }
.footer-cta {
	position: relative; z-index: 1; display: grid; gap: var(--space-3); align-items: center; margin-bottom: calc(var(--space-5) * -1);
	padding: var(--space-4); border-radius: calc(var(--radius) * 1.6); overflow: hidden;
	background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow);
}
.footer-cta::before, .footer-cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.footer-cta::before { width: 14rem; height: 14rem; right: -4rem; top: -6rem; background: rgba(255, 255, 255, 0.12); }
.footer-cta::after { width: 8rem; height: 8rem; right: 9rem; bottom: -4.5rem; background: rgba(255, 255, 255, 0.1); }
.footer-cta__text, .footer-cta__actions { position: relative; z-index: 1; }
.footer-cta__title { font-size: var(--text-xl); margin: 0 0 var(--space-1); color: inherit; text-wrap: balance; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-cta .btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.4rem; border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; border: 2px solid #fff; }
.footer-cta .btn--light { background: #fff; color: var(--color-primary-dark); }
.footer-cta .btn--light:hover { background: var(--color-primary-soft); border-color: var(--color-primary-soft); }
.footer-cta .btn--ghost { background: transparent; color: #fff; }
.footer-cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }
.footer-cta .icon { width: 1.1rem; height: 1.1rem; }
.site-footer__panel { background: var(--color-footer-bg); color: var(--color-footer-text); border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0; padding-top: var(--space-5); }
.site-footer a { color: var(--color-footer-text); }
.site-footer__grid { display: grid; gap: var(--space-4) var(--space-3); padding-block: var(--space-5) var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand { text-align: center; }
.site-footer__brand .site-logo { justify-content: center; margin-right: 0; }
.site-footer__brand p { max-width: 26rem; margin: var(--space-3) auto; }
.site-logo--footer img { display: block; width: auto; height: 64px; }
.site-footer .site-logo { color: var(--color-primary-soft); }
.site-footer .site-logo__text { color: #fff; font-size: 1.5rem; }
/* Phones: one swipeable row, centered while it fits (auto margins on the end chips). */
.footer-social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-3); margin: 0; padding: 0; }
.footer-social a { color: var(--color-footer-heading); font-size: var(--text-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-social a:hover { color: #fff; }
@media (min-width: 700px) { .footer-social { justify-content: flex-start; } }
.footer-perks { list-style: none; display: flex; gap: var(--space-2); margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.footer-perks::-webkit-scrollbar { display: none; }
.footer-perks li:first-child { margin-left: auto; }
.footer-perks li:last-child { margin-right: auto; }
.footer-perks li { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.8rem; border: 1px solid var(--color-footer-line); border-radius: var(--radius-pill); font-size: var(--text-sm); color: #fff; }
.footer-perks .icon { width: 1.05rem; height: 1.05rem; color: var(--color-footer-heading); }
.site-footer__title { font-family: var(--font-body); font-weight: 700; margin-bottom: var(--space-3); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-footer-heading); }
.footer-menu { list-style: none; display: grid; gap: 0.6rem; margin: 0; padding: 0; }
.footer-menu a { display: inline-block; transition: color 0.15s ease, transform 0.15s ease; }
.footer-menu a:hover { color: #fff; transform: translateX(3px); }
.site-footer__bar { border-top: 1px solid var(--color-footer-line); padding-block: var(--space-3); color: var(--color-footer-text); }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: var(--space-2) var(--space-3); }
/* Phones: one swipeable row, centered while it fits (auto margins on the ends, so a long row still scrolls from its first chip). */
.footer-payments { list-style: none; display: flex; gap: 0.4rem; width: 100%; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.footer-payments::-webkit-scrollbar { display: none; }
.footer-payments li:first-child { margin-left: auto; }
.footer-payments li:last-child { margin-right: auto; }
.footer-payments li { flex: none; white-space: nowrap; padding: 0.2rem 0.65rem; border: 1px solid var(--color-footer-line); border-radius: var(--radius-sm); font-size: 0.78rem; color: #fff; }
.site-footer__col--company { grid-column: 1 / -1; }
/* Phones: the brand block's children join the footer grid so the perk chips can sit after the Company links. */
.site-footer__brand { display: contents; }
.site-footer__brand > * { grid-column: 1 / -1; }
.site-footer__brand > p { margin-block: 0; }
.footer-perks { order: 10; }
.site-footer__col--company { text-align: center; }
.site-footer__col--company .footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.25rem; }
@media (min-width: 700px) {
	.site-footer__brand { display: block; text-align: left; }
	.footer-perks { order: 0; }
	.site-footer__brand .site-logo { justify-content: flex-start; }
	.site-footer__brand p { margin: var(--space-3) 0; }
	.footer-perks { flex-wrap: wrap; overflow: visible; }
	.footer-perks li:first-child { margin-left: 0; }
	.footer-perks li:last-child { margin-right: 0; }
	.site-footer__bar-inner { justify-content: space-between; text-align: left; }
	.footer-payments { width: auto; flex-wrap: wrap; overflow: visible; }
	.footer-payments li:first-child { margin-left: 0; }
	.footer-payments li:last-child { margin-right: 0; }
	.footer-cta { grid-template-columns: 1fr auto; padding: var(--space-5); }
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__col--company { grid-column: auto; text-align: left; }
	.site-footer__col--company .footer-menu { display: grid; justify-content: normal; }
}
@media (min-width: 1000px) {
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.footer-perks { flex-direction: column; align-items: flex-start; }
	.site-footer__brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .footer-menu a { transition: none; } .footer-menu a:hover { transform: none; } }

/* ==== Home ==== */
.eyebrow { color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--text-sm); }
.section { padding-block: var(--space-5); }
.section--tint { background: var(--color-tint); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.section__head h2 { font-size: var(--text-xl); margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; }
.link-arrow .icon { width: 1rem; height: 1rem; }

/* ==== Product grid + card ==== */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; }
@media (min-width: 700px) { ul.products { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1000px) { ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--color-tint); }
.product-card__media { overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .product-card__media img { transition: none; } .product-card:hover .product-card__media img { transform: none; } }
.product-card__media .product-card__hover { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; }
@media (hover: hover) { .product-card:hover .product-card__hover { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .product-card__media .product-card__hover { transition: none; } }
.badge--stock { top: auto; bottom: var(--space-2); background: var(--color-ink); color: #fff; }
.product-card__rating { display: flex; align-items: center; gap: 0.35rem; }
.product-card__reviews { font-size: var(--text-sm); color: var(--color-muted); }
.badge { position: absolute; top: var(--space-2); left: var(--space-2); z-index: 1; padding: 0.15rem 0.65rem; border-radius: var(--radius-pill); font: 700 0.75rem/1.6 var(--font-body); }
.badge--sale { background: var(--color-sale); color: #fff; }
.product-card__body { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; padding: var(--space-3); }
.product-card__cat { display: inline-block; align-self: flex-start; padding-block: 0.35rem; font-size: 0.78rem; color: var(--color-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; }
.product-card__title { font-size: var(--text-base); font-weight: 700; margin: 0; }
.product-card__title a { display: inline-block; padding-block: 0.2rem; color: var(--color-text); text-decoration: none; }
.product-card__title a:hover { color: var(--color-primary-dark); }
.product-card__price { font-weight: 700; margin-top: auto; padding-top: var(--space-2); }
.price del, .product-card__price del { color: var(--color-muted); font-weight: 400; margin-right: 0.35rem; }
.price ins, .product-card__price ins { text-decoration: none; color: var(--color-sale); }
.product-card .button { margin-top: var(--space-2); width: 100%; }
.product-card .added_to_cart { display: block; text-align: center; margin-top: var(--space-2); font-size: var(--text-sm); }
.star-rating { color: #e0a100; font-size: var(--text-sm); }

/* ==== Shop archive chrome ==== */
.woocommerce-breadcrumb { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-3); }
.woocommerce-products-header__title, .page-title { font-size: var(--text-xl); }
.woocommerce-result-count { display: inline-block; margin: 0 var(--space-3) var(--space-3) 0; color: var(--color-muted); font-size: var(--text-sm); }
.woocommerce-ordering { float: right; margin: 0 0 var(--space-3); }
.woocommerce-ordering select { width: auto; }
ul.products { clear: both; }
.woocommerce-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; padding: 0; }
.woocommerce-pagination li > .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); text-decoration: none; background: var(--color-surface); color: var(--color-text); }
.woocommerce-pagination li > .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ==== Mini-cart drawer ==== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(43, 42, 51, 0.5); z-index: 90; }
.drawer-overlay[hidden] { display: none; }
.mini-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(420px, 100%);
	display: flex; flex-direction: column; background: var(--color-surface);
	transform: translateX(100%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s;
}
.mini-cart-drawer.is-open { transform: none; visibility: visible; }
.mini-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); }
.mini-cart-drawer__head h2 { margin: 0; font-size: var(--text-lg); }
.mini-cart-drawer .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: var(--space-3); overflow-y: auto; }
.woocommerce-mini-cart { list-style: none; padding: 0; margin: 0; flex: 1; }
.woocommerce-mini-cart-item { position: relative; padding: var(--space-3) 1.75rem var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
.woocommerce-mini-cart-item a:not(.remove) { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-3); align-items: center; font-weight: 600; text-decoration: none; color: var(--color-text); }
.woocommerce-mini-cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.woocommerce-mini-cart-item .quantity { display: block; margin: var(--space-1) 0 0 calc(64px + var(--space-3)); color: var(--color-muted); font-size: var(--text-sm); }
.woocommerce-mini-cart-item .remove { position: absolute; top: var(--space-3); right: 0; text-decoration: none; font-size: 1.4rem; line-height: 1; color: var(--color-muted); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: var(--space-3) 0; font-size: var(--text-lg); }
.woocommerce-mini-cart__buttons { display: grid; gap: var(--space-2); margin: 0; }
.woocommerce-mini-cart__buttons .button.checkout { background: var(--color-accent); }
.woocommerce-mini-cart__empty-message { text-align: center; color: var(--color-muted); padding: var(--space-5) 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Free-shipping progress (top of the drawer) */
.shipping-bar { margin-bottom: var(--space-3); padding: var(--space-2) var(--space-3); background: var(--color-accent-soft); border-radius: var(--radius); }
.shipping-bar__text { margin: 0 0 0.4rem; font-size: var(--text-sm); }
.shipping-bar__meter { display: block; width: 100%; height: 0.5rem; border: 0; border-radius: var(--radius-pill); overflow: hidden; background: rgba(255, 255, 255, 0.85); appearance: none; -webkit-appearance: none; }
.shipping-bar__meter::-webkit-progress-bar { background: rgba(255, 255, 255, 0.85); }
.shipping-bar__meter::-webkit-progress-value { background: var(--color-accent); border-radius: var(--radius-pill); transition: width 0.4s; }
.shipping-bar__meter::-moz-progress-bar { background: var(--color-accent); border-radius: var(--radius-pill); }
.shipping-bar--done { background: var(--color-accent); color: #fff; }
.shipping-bar--done .shipping-bar__meter { display: none; }
@media (prefers-reduced-motion: reduce) { .shipping-bar__meter::-webkit-progress-value { transition: none; } }

/* ==== WooCommerce blocks (cart / checkout) ==== */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--color-primary); color: var(--color-on-primary);
	border-radius: var(--radius-pill); font-weight: 600; border: 0;
}
.wc-block-components-button:not(.is-link):hover { background: var(--color-primary-dark); color: var(--color-on-primary); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { margin-block: var(--space-3) var(--space-5); }

/* ==== Star ratings (no icon font) ==== */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; overflow: hidden; line-height: 1.1; font-size: 1rem; letter-spacing: 0.1em; vertical-align: middle; }
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--color-border); }
.star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding-top: 2em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: #e0a100; }
.product-card .star-rating { font-size: 0.9rem; }

/* ==== Notices ==== */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 var(--space-3); padding: var(--space-3);
	background: var(--color-accent-soft); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm);
	display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; justify-content: space-between;
}
.woocommerce-error { background: #fde7ec; border-color: var(--color-sale); }
.woocommerce-info { background: var(--color-tint); border-color: var(--color-primary); }
.woocommerce-message .button { order: 2; }

/* ==== Single product ==== */
.single-product div.product { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
.single-product div.product > * { grid-column: 1 / -1; }
.product-main { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
	.product-main { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
}

/* Gallery */
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--color-tint); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.woocommerce-product-gallery__image a { display: block; height: 100%; }
.woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); overflow: hidden; }
/* Thumbnails: one row, 4 visible, scrolls sideways (snap) when there are more. */
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: flex; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0 0 0.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--color-border) transparent; }
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 calc((100% - 1.5rem) / 4); scroll-snap-align: start; }
.woocommerce-product-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; opacity: 0.7; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--color-primary); }
.woocommerce-product-gallery__trigger {
	position: absolute; top: var(--space-2); right: var(--space-2); z-index: 2; width: 44px; height: 44px; border-radius: var(--radius-pill);
	background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232b2a33' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center no-repeat;
	font-size: 0; box-shadow: var(--shadow); overflow: hidden; text-indent: -999px;
}
.product-media { position: relative; }
/* The gallery column stays in view while the summary scrolls. It sits in .product-main (not the page grid) so it can never slide over later sections. */
@media (min-width: 860px) { .product-media { position: sticky; top: 6rem; } }
.product-media .onsale, .product-media .badge--sale { position: absolute; z-index: 3; top: var(--space-3); left: var(--space-3); }

/* Summary */
.summary .product_title { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); font-size: var(--text-sm); }
.summary .woocommerce-review-link { color: var(--color-muted); }
.summary .price { font-size: var(--text-xl); font-weight: 800; margin: 0 0 var(--space-3); }
.summary .price del { font-size: var(--text-base); }
.woocommerce-product-details__short-description { color: var(--color-muted); }
.summary .stock { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 var(--space-3); font-weight: 600; color: var(--color-accent); font-size: var(--text-sm); }
.summary .stock::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentcolor; }
.summary .stock.low-stock { color: var(--color-sale); }
.summary .stock.out-of-stock { color: var(--color-muted); }
form.cart { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0 0 var(--space-3); }
form.cart .quantity { flex: none; }
form.cart .qty { width: 5rem; text-align: center; padding-inline: 0.5rem; }
form.cart .single_add_to_cart_button { flex: 1 1 12rem; min-height: 48px; }
form.cart .single_add_to_cart_button.loading { opacity: 0.6; cursor: progress; }

/* Variable products */
form.variations_form { display: block; }
.variations { display: block; width: 100%; margin: 0 0 var(--space-2); border: 0; }
.variations tbody { display: grid; gap: var(--space-3); }
.variations tr { position: relative; display: block; }
.variations th, .variations td { display: block; padding: 0; text-align: left; }
.variations label { display: block; margin-bottom: var(--space-1); font-weight: 700; }
.variations select { display: block; width: 100%; }
.variations .reset_variations { position: absolute; top: 0; right: 0; font-size: var(--text-sm); }
@media (min-width: 520px) {
	.variations tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.variations tr:only-child { grid-column: 1 / -1; }
}
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.woocommerce-variation-add-to-cart .quantity { flex: none; }
.woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 1 12rem; min-height: 48px; }
.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button, .single_add_to_cart_button.disabled { background: var(--color-muted); border-color: var(--color-muted); color: var(--color-on-primary); cursor: not-allowed; }
.single_variation_wrap .woocommerce-variation { display: block !important; min-height: 1.3rem; margin: 0 0 var(--space-2); }
.woocommerce-variation-price { display: none; }
.woocommerce-variation-description p { margin: 0 0 var(--space-2); color: var(--color-muted); }
.woocommerce-variation-availability .stock { margin-bottom: 0; }
.product-trust { list-style: none; display: grid; gap: var(--space-2); margin: 0 0 var(--space-3); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); font-size: var(--text-sm); }
.product-trust li { display: flex; align-items: center; gap: 0.6rem; }
.product-trust .icon { color: var(--color-accent); }
.product_meta { display: grid; gap: 0.2rem; font-size: var(--text-sm); color: var(--color-muted); }
.product_meta > span { display: block; }

/* Tabs */
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel { max-width: 46rem; }

/* Reviews */
#reviews { display: grid; gap: var(--space-4); }
#reviews .woocommerce-Reviews-title { font-size: var(--text-lg); }
#reviews ol.commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
#reviews .comment_container { padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
#reviews .avatar { display: none; }
#reviews .comment-text .meta { margin: var(--space-1) 0 0; color: var(--color-muted); font-size: var(--text-sm); }
#reviews .comment-text .description p { margin: var(--space-1) 0 0; }
#reviews .comment-reply-title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); display: block; margin-bottom: var(--space-2); }
#reviews .comment-form { display: grid; gap: var(--space-3); }
#reviews .comment-form p { margin: 0; }
#reviews .comment-form label { display: block; font-weight: 600; margin-bottom: var(--space-1); }
#reviews .comment-form-cookies-consent label { display: inline; font-weight: 400; }
#reviews .comment-form-cookies-consent { display: flex; gap: var(--space-2); align-items: center; }
#reviews textarea { min-height: 7rem; }
p.stars { margin: 0; }
p.stars span { display: inline-flex; }
p.stars a { position: relative; display: inline-block; width: 1.9rem; height: 1.9rem; font-size: 0; text-decoration: none; }
p.stars a::before { content: "★"; font-size: 1.8rem; line-height: 1.9rem; color: var(--color-border); }
p.stars:hover a::before { color: #e0a100; }
p.stars a:hover ~ a::before { color: var(--color-border); }
p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { color: #e0a100; }
p.stars.selected a.active ~ a::before { color: var(--color-border); }

/* Related / upsells */
.related.products > h2, .upsells.products > h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.related.products, .upsells.products { margin-top: var(--space-4); }
.recently-viewed { margin-top: var(--space-5); }
.recently-viewed > h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }

/* Sticky add-to-cart bar */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--color-surface); border-top: 1px solid var(--color-border); box-shadow: 0 -6px 20px rgba(43, 42, 51, 0.1); transform: translateY(110%); transition: transform 0.25s ease; padding-bottom: env(safe-area-inset-bottom); }
.sticky-atc[hidden] { display: none; }
.sticky-atc.is-visible { transform: none; }
.sticky-atc__inner { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-2); }
.sticky-atc__info { flex: 1; min-width: 0; display: grid; }
.sticky-atc__title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc__price { font-size: var(--text-sm); }
.sticky-atc__price ins { text-decoration: none; color: var(--color-sale); font-weight: 700; }
.sticky-atc__price del { color: var(--color-muted); margin-right: 0.3rem; }
.sticky-atc .button { flex: none; }
@media (min-width: 860px) { .sticky-atc { display: none !important; } }
body.single-product { padding-bottom: 0; }

/* Reserve the thumbnail row before FlexSlider injects it (prevents layout shift). */
.woocommerce-product-gallery.has-thumbs { padding-bottom: calc((100% - 1.5rem) / 4 + 0.5rem); }
.woocommerce-product-gallery.has-thumbs .flex-control-thumbs { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }

/* Carousel arrows over the (square) main image. */
.woocommerce-product-gallery .flex-direction-nav { list-style: none; position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 0; aspect-ratio: 1; pointer-events: none; z-index: 2; }
.woocommerce-product-gallery .flex-direction-nav li { position: absolute; top: 50%; transform: translateY(-50%); }
.woocommerce-product-gallery .flex-nav-prev { left: var(--space-2); }
.woocommerce-product-gallery .flex-nav-next { right: var(--space-2); }
.woocommerce-product-gallery .flex-direction-nav a { position: relative; display: block; width: 44px; height: 44px; overflow: hidden; font-size: 0; border-radius: 50%; background: var(--color-surface); box-shadow: var(--shadow); pointer-events: auto; transition: background 0.15s, opacity 0.15s; }
.woocommerce-product-gallery .flex-direction-nav a:hover { background: var(--color-primary-soft); }
.woocommerce-product-gallery .flex-direction-nav a::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0.65rem; height: 0.65rem; border: solid var(--color-text); border-width: 0 0 2.5px 2.5px; }
.woocommerce-product-gallery .flex-prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.woocommerce-product-gallery .flex-next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.woocommerce-product-gallery .flex-direction-nav .flex-disabled { opacity: 0.35; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .woocommerce-product-gallery .flex-viewport .slides { transition-duration: 0s !important; } .woocommerce-product-gallery .flex-direction-nav a { transition: none; } }

/* Before FlexSlider initialises, all gallery images are stacked; clamp to one square so the page doesn't jump. */
.woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
/* ...and keep the slider viewport square while FlexSlider lays out its slides. */
.woocommerce-product-gallery .flex-viewport { aspect-ratio: 1; overflow: hidden; }

/* ==== Shop: layout, filters, toolbar ==== */
.btn--outline { background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn--outline:hover { background: var(--color-primary-soft); color: var(--color-text); }
.shop-layout { display: flex; flex-direction: column; gap: var(--space-3); }
/* Mobile order: toolbar, filter panel, then results (display: contents lets the results' children join the flex column). */
.shop-results { display: contents; }
.shop-results > * { order: 3; }
.shop-results > .shop-toolbar { order: 1; }
.shop-filters { order: 2; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-3); }
.shop-toolbar .woocommerce-result-count { margin: 0 auto 0 0; order: 3; flex-basis: 100%; }
.shop-toolbar .woocommerce-ordering { float: none; margin: 0; flex: 1; }
.shop-toolbar .woocommerce-ordering select { width: 100%; }
.filter-toggle { min-height: 44px; }
.filter-toggle__count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 0.3rem; border-radius: var(--radius-pill); background: var(--color-primary); color: #fff; font-size: 0.75rem; }

.shop-filters { display: none; padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.shop-filters.is-open { display: block; }
.filter-group { padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }
.filter-group:first-child { padding-top: 0; }
.filter-group__title { font-size: var(--text-base); margin-bottom: var(--space-2); }
.filter-pills, .filter-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-2); padding: 0; }
.pill, .filter-list__link {
	display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; padding: 0.25rem 0.85rem;
	border: 1.5px solid var(--color-border); border-radius: var(--radius-pill);
	color: var(--color-text); font-size: var(--text-sm); font-weight: 600; text-decoration: none; background: var(--color-bg);
}
.pill:hover, .filter-list__link:hover { border-color: var(--color-primary); color: var(--color-text); }
.pill.is-active, .filter-list__link.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pill__count { font-weight: 400; opacity: 0.75; }
.pill.is-trail { background: var(--color-primary-soft); border-color: var(--color-primary); color: var(--color-primary-dark); }
.filter-pills--sub { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px dashed var(--color-border); }
.filter-group__sub-title { margin: var(--space-3) 0 var(--space-2); font-size: var(--text-sm); color: var(--color-muted); font-weight: 700; }
.price-inputs { display: flex; align-items: center; gap: var(--space-2); }
.price-inputs label { flex: 1; }
.price-inputs input { min-height: 40px; }
.check { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; cursor: pointer; min-height: 44px; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--color-primary); }
.shop-filters__actions { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-3); }
.filter-clear { font-size: var(--text-sm); }

.active-filters { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0.2rem 0.4rem 0.2rem 0.85rem; border-radius: var(--radius-pill); background: var(--color-primary-soft); color: var(--color-text); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.chip .icon { width: 1rem; height: 1rem; padding: 2px; border-radius: 50%; }
.chip:hover { background: var(--color-primary); color: #fff; }
.active-filters__clear { font-size: var(--text-sm); }

@media (min-width: 1000px) {
	.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--space-5); align-items: start; }
	.shop-results { display: block; }
	.shop-results > * { order: 0; }
	.shop-filters { order: 0; }
	.shop-toolbar .woocommerce-result-count { order: 0; flex-basis: auto; }
	.shop-toolbar .woocommerce-ordering { flex: none; }
	.shop-toolbar .woocommerce-ordering select { width: auto; }
	.shop-filters { display: block; }
	.filter-toggle { display: none; }
	.shop-results ul.products.products { grid-template-columns: repeat(3, 1fr); }
}

/* ==== Content pages: layout + typography ==== */
.container--narrow { max-width: 760px; }
.container--medium { max-width: 960px; }
.page-header { padding-block: var(--space-5) var(--space-3); }
.page-header .entry-title, .error-404 h1 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.page-header__lead { font-size: var(--text-lg); color: var(--color-muted); max-width: 40rem; }
.entry-meta { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
.entry-hero { margin: 0 0 var(--space-4); border-radius: var(--radius); overflow: hidden; background: var(--color-tint); }
.entry-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-content { padding-bottom: var(--space-5); font-size: var(--text-lg); }
.entry-content > * + * { margin-top: var(--space-3); }
.entry-content h2 { font-size: var(--text-xl); margin-top: var(--space-5); }
.entry-content h3 { font-size: var(--text-lg); margin-top: var(--space-4); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li + li { margin-top: 0.35rem; }
.entry-content blockquote { margin-inline: 0; padding: var(--space-3) var(--space-4); background: var(--color-tint); border-left: 4px solid var(--color-primary); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-heading); font-size: var(--text-xl); }
.entry-content blockquote p { margin: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 0.6rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.entry-content > .woocommerce, .entry-content > .wp-block-woocommerce-cart, .entry-content > .wp-block-woocommerce-checkout { font-size: var(--text-base); }
.entry--page.page-template .site-main { padding-top: 0; }
.entry-footer { padding-bottom: var(--space-5); }
.entry-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.entry-tags a { padding: 0.15rem 0.75rem; border-radius: var(--radius-pill); background: var(--color-primary-soft); color: var(--color-text); text-decoration: none; font-size: var(--text-sm); font-weight: 600; }
.post-nav { display: grid; gap: var(--space-3); grid-template-columns: 1fr; margin-top: var(--space-4); }
@media (min-width: 600px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav__item--next { text-align: right; grid-column: 2; } }
.post-nav__item { padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.post-nav__item span { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.post-nav__item a { font-weight: 700; text-decoration: none; color: var(--color-text); }
.site-main:has(> .page-header) { padding-top: 0; }

/* ==== Blog cards ==== */
.post-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-bottom: var(--space-5); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--color-primary-soft); color: var(--color-primary); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media .icon { width: 3rem; height: 3rem; }
.post-card__body { display: flex; flex-direction: column; gap: 0.35rem; padding: var(--space-3); flex: 1; }
.post-card__label { margin: 0; font-size: 0.78rem; color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.post-card__title { font-size: var(--text-lg); margin: 0; }
.post-card__title a { color: var(--color-text); text-decoration: none; }
.post-card__title a:hover { color: var(--color-primary-dark); }
.post-card__excerpt { margin: 0; color: var(--color-muted); }
.post-card .entry-meta { margin-top: auto; padding-top: var(--space-2); }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); text-decoration: none; background: var(--color-surface); color: var(--color-text); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.nav-links .dots { border: 0; background: none; }
.pagination { margin-bottom: var(--space-4); }
.pagination .screen-reader-text { position: absolute; }

/* ==== Search form, no results, 404 ==== */
.search-form { display: flex; gap: var(--space-2); max-width: 32rem; }
.search-form input[type="search"] { flex: 1; border-radius: var(--radius-pill); }
.no-results { padding-block: var(--space-4) var(--space-5); }
.no-results .search-form { margin-bottom: var(--space-3); }
.error-404 { padding-block: var(--space-6); }
.error-404 .search-form { margin-block: var(--space-3); }
.error-404__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-3); }
.error-404__cats { margin-top: var(--space-3); }

/* ==== Comments (blog) ==== */
.comments { padding-block: var(--space-4) var(--space-5); border-top: 1px solid var(--color-border); }
.comments__title { font-size: var(--text-lg); }
.comment-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-3); }
.comment-list .children { list-style: none; padding-left: var(--space-4); margin-top: var(--space-3); display: grid; gap: var(--space-3); }
.comment-body { padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.comment-meta { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-2); }
.comment-author { font-weight: 700; color: var(--color-text); }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--color-muted); }
.comment-reply-link { font-size: var(--text-sm); font-weight: 600; }
.comment-form { display: grid; gap: var(--space-3); }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.comment-form-cookies-consent { display: flex; gap: var(--space-2); align-items: center; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }
.comment-form textarea { min-height: 8rem; }
.comment-reply-title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); }
.comment-reply-title small { margin-left: var(--space-2); font-size: var(--text-sm); }
.form-submit .submit { min-height: 44px; padding: 0.6rem 1.5rem; background: var(--color-primary); color: #fff; border: 0; border-radius: var(--radius-pill); font: 600 var(--text-base)/1.2 var(--font-body); cursor: pointer; }
.form-submit .submit:hover { background: var(--color-primary-dark); }

/* ==== WooCommerce forms ==== */
.woocommerce form .form-row, .woocommerce-page form .form-row { margin: 0 0 var(--space-3); }
.woocommerce form .form-row label { display: block; margin-bottom: var(--space-1); font-weight: 600; }
.woocommerce form .form-row .required { color: var(--color-sale); text-decoration: none; }
.woocommerce form .form-row .optional { font-weight: 400; color: var(--color-muted); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 640px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - var(--space-2)); float: left; }
	.woocommerce form .form-row-last { float: right; }
	.woocommerce form .form-row-wide, .woocommerce form .clear { clear: both; }
}
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .password-input input { padding-right: 3rem; }
.woocommerce form .show-password-input { position: absolute; top: 0; right: 0; width: 44px; height: 44px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f5c6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center no-repeat; border: 0; cursor: pointer; }
.woocommerce form .show-password-input.display-password { opacity: 0.5; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password, .woocommerce-EditAccountForm fieldset { padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); margin: 0 0 var(--space-4); }
.woocommerce form.login .button, .woocommerce form.register .button { min-width: 10rem; }
.woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: var(--space-2); font-weight: 400 !important; margin-right: var(--space-3); }
.woocommerce form .lost_password { margin: var(--space-3) 0 0; font-size: var(--text-sm); }
.woocommerce fieldset legend { font-family: var(--font-heading); font-weight: 700; padding: 0 var(--space-2); }
.woocommerce-privacy-policy-text { font-size: var(--text-sm); color: var(--color-muted); }
.u-columns.col2-set, .col2-set { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 800px) { .u-columns.col2-set, .col2-set { grid-template-columns: 1fr 1fr; } }
.u-columns h2, .col2-set h2 { font-size: var(--text-xl); }
.woocommerce-EditAccountForm::after, .woocommerce form::after { content: ""; display: table; clear: both; }

/* ==== My Account ==== */
.woocommerce-account .woocommerce { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-5); } }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation ul { display: grid; gap: 0.25rem; padding: var(--space-2); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); } }
.woocommerce-MyAccount-navigation a { display: block; padding: 0.55rem 1rem; border-radius: var(--radius-pill); color: var(--color-text); font-weight: 600; text-decoration: none; border: 1.5px solid var(--color-border); background: var(--color-surface); }
@media (min-width: 900px) { .woocommerce-MyAccount-navigation a { border: 0; border-radius: var(--radius-sm); background: transparent; } }
.woocommerce-MyAccount-navigation a:hover { background: var(--color-primary-soft); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-Addresses { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.woocommerce-Address address { font-style: normal; }

/* ==== Tables (orders, order details, cart fallback) ==== */
table.shop_table { width: 100%; border-collapse: collapse; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
table.shop_table thead th { background: var(--color-tint); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.04em; }
table.shop_table tfoot th { font-weight: 600; }
table.shop_table tbody tr:last-child td { border-bottom: 0; }
table.shop_table .button { min-height: 36px; padding: 0.3rem 1rem; font-size: var(--text-sm); }
table.shop_table .button + .button { margin-left: var(--space-1); }
@media (max-width: 700px) {
	table.shop_table_responsive thead, table.woocommerce-orders-table thead { display: none; }
	table.shop_table_responsive tr, table.woocommerce-orders-table tr { display: block; padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
	table.shop_table_responsive tr:last-child, table.woocommerce-orders-table tr:last-child { border-bottom: 0; }
	table.shop_table_responsive th, table.shop_table_responsive td,
	table.woocommerce-orders-table th, table.woocommerce-orders-table td { display: block; border: 0; padding: 0.35rem 1rem; text-align: right; }
	table.shop_table_responsive td::before, table.woocommerce-orders-table td::before,
	table.woocommerce-orders-table th::before { content: attr(data-title); float: left; font-weight: 700; }
	table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions { text-align: left; padding-top: var(--space-2); }
	table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before { content: none; }
}
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details h2 { font-size: var(--text-lg); margin-top: var(--space-4); }
.woocommerce-customer-details address { font-style: normal; padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.woocommerce-pagination--without-numbers { display: flex; gap: var(--space-2); margin-top: var(--space-3); }

/* ==== Order confirmation ==== */
.woocommerce-notice--success.woocommerce-thankyou-order-received { padding: var(--space-3) var(--space-4); background: var(--color-accent-soft); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); font-weight: 700; font-size: var(--text-lg); }
ul.woocommerce-order-overview { list-style: none; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: var(--space-3) 0; padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
ul.woocommerce-order-overview li { font-size: var(--text-sm); color: var(--color-muted); }
ul.woocommerce-order-overview li strong { display: block; color: var(--color-text); font-size: var(--text-base); }
.woocommerce-table--order-details .product-name a { font-weight: 600; }
.woocommerce-table--order-details td.product-name { display: block; }

/* ==== Polish ==== */
mark { background: var(--color-primary-soft); color: inherit; padding: 0 0.25em; border-radius: 0.25em; }
.woocommerce-order-details .order-again, p.order-again { margin: var(--space-3) 0 0; }
.entry-content h3 { font-size: var(--text-xl); }
.error-404 { text-align: center; }
.error-404 .page-header__lead { margin-inline: auto; }
.error-404 .search-form, .error-404__actions, .error-404__cats { margin-inline: auto; justify-content: center; }
.woocommerce-MyAccount-content .woocommerce-info, .woocommerce-MyAccount-content .woocommerce-message { margin-top: 0; }

/* ==== Support-page components (used inside page content) ==== */
.info-cards { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); font-size: var(--text-base); }
.info-card { padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); min-width: 0; overflow-wrap: anywhere; }
.info-card__title { font: 700 var(--text-base)/1.3 var(--font-heading); margin: 0 0 var(--space-1) !important; color: var(--color-accent); }
.info-card p { margin: 0; color: var(--color-muted); }
.steps { list-style: none; counter-reset: step; padding: 0 !important; display: grid; gap: var(--space-3); }
.steps li { counter-increment: step; position: relative; min-height: 2.25rem; padding-left: 3.25rem; margin: 0 !important; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-primary); color: #fff; font: 700 1rem/1 var(--font-heading); }
.callout { padding: var(--space-3) var(--space-4); background: var(--color-accent-soft); border-left: 4px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--text-base); }
.callout p { margin: 0; }
.entry-content table { font-size: var(--text-base); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.entry-content thead th { background: var(--color-tint); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 600px) { .entry-content table { display: block; overflow-x: auto; } }

/* FAQ accordion (native <details>) */
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); font-size: var(--text-base); }
.entry-content > .faq-item + .faq-item { margin-top: var(--space-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 52px; padding: 0.75rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary-dark); font-size: 1.25rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; background: var(--color-primary); color: #fff; }
.faq-item summary:hover { color: var(--color-primary-dark); }
.faq-item__body { padding: 0 1.25rem 1rem; color: var(--color-muted); }
.faq-item__body p { margin: 0; }

/* Order tracking form */
.woocommerce form.track_order { padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.woocommerce form.track_order > p:first-child { margin-top: 0; }
.woocommerce form.track_order .form-row { float: none; width: 100%; }
.woocommerce-order-tracking-result, .woocommerce .order-info { padding: var(--space-3); background: var(--color-accent-soft); border-radius: var(--radius-sm); }
.order-info mark { font-weight: 700; }
.product-trust a { color: inherit; text-decoration-color: var(--color-border); } .product-trust a:hover { color: var(--color-primary-dark); }

/* ==== Contact page ==== */
.contact { margin-top: var(--space-5); }
.contact__form { display: grid; gap: var(--space-3); }
.contact__field { margin: 0; }
.contact__field label { display: block; margin-bottom: var(--space-1); font-weight: 700; }
.contact__field input, .contact__field select, .contact__field textarea { width: 100%; }
.contact__field input, .contact__field select { min-height: 3.1rem; }
.contact__field textarea { min-height: 9rem; resize: vertical; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__notice { margin: 0 0 var(--space-3); padding: var(--space-3); border-radius: var(--radius); border: 1px solid; font-weight: 600; }
.contact__notice--success { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent-dark); }
.contact__notice--error { background: #fdecef; border-color: var(--color-sale); color: #8f1636; }
@media (min-width: 640px) {
	.contact__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__field--full { grid-column: 1 / -1; }
}

/* ==== Review cards (home + Reviews page) ==== */
.reviews-grid { list-style: none; display: grid; gap: var(--space-3); }
.review-card { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.review-card::before { content: "\201C"; position: absolute; top: 0.4rem; right: 1.25rem; font: 600 5rem/1 var(--font-heading); color: var(--color-primary-soft); }
.review-stars { display: flex; gap: 0.1rem; margin: 0; color: var(--color-border); }
.review-stars .icon { width: 1.1rem; height: 1.1rem; }
.review-stars .is-on { color: var(--color-gold); }
.review-stars .is-on .icon { fill: currentColor; }
.review-card__text { position: relative; flex: 1; margin: 0; font-size: var(--text-lg); line-height: 1.5; }
.review-card__who { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: 0; }
.review-card__verified { display: inline-flex; align-items: center; gap: 0.25rem; font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; }
.review-card__verified .icon { width: 0.95rem; height: 0.95rem; }
.review-card__product { font-size: var(--text-sm); color: var(--color-muted); }
@media (min-width: 800px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.review-card__date { font-size: var(--text-sm); color: var(--color-muted); }
.review-card__product { align-self: flex-start; padding-block: 0.25rem; }
.section__more { margin: var(--space-4) 0 0; text-align: center; }

/* Product carousels (related and recently viewed): scroll-snap track, swipe on touch, arrow buttons added by main.js. */
:is(.related.products, .upsells.products, .recently-viewed) { position: relative; }
:is(.related.products, .upsells.products, .recently-viewed) > h2 { padding-right: 6rem; }
:is(.related.products, .upsells.products, .recently-viewed) ul.products { position: relative; display: flex; gap: var(--space-3); margin: 0 -0.25rem; padding: 0.25rem 0.25rem 0.5rem; scroll-snap-type: x mandatory; scroll-padding-inline: 0.25rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
:is(.related.products, .upsells.products, .recently-viewed) ul.products::-webkit-scrollbar { display: none; }
:is(.related.products, .upsells.products, .recently-viewed) ul.products > li { flex: 0 0 62%; min-width: 0; scroll-snap-align: start; }
@media (min-width: 560px) { :is(.related.products, .upsells.products, .recently-viewed) ul.products > li { flex-basis: calc((100% - var(--space-3)) / 2); } }
@media (min-width: 760px) { :is(.related.products, .upsells.products, .recently-viewed) ul.products > li { flex-basis: calc((100% - 2 * var(--space-3)) / 3); } }
@media (min-width: 1000px) { :is(.related.products, .upsells.products, .recently-viewed) ul.products { gap: var(--space-4); } :is(.related.products, .upsells.products, .recently-viewed) ul.products > li { flex-basis: calc((100% - 3 * var(--space-4)) / 4); } }
.carousel-nav { position: absolute; top: 0; right: 0; display: none; gap: var(--space-2); }
.carousel-nav.is-active { display: flex; }
.carousel-nav__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.carousel-nav__btn:hover:not(:disabled) { background: var(--color-primary-soft); border-color: var(--color-primary); }
.carousel-nav__btn:disabled { color: var(--color-muted); opacity: 0.45; cursor: not-allowed; }
.carousel-nav__btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentcolor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Dialogs (size guide, photo lightbox) */
.dialog { width: min(42rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(43, 42, 51, 0.6); }
.dialog__panel { display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }
.dialog__title { margin: 0; font-size: var(--text-lg); }
.dialog__body { padding: var(--space-4); overflow: auto; }
.dialog__body table { width: 100%; }
.lightbox { width: min(60rem, calc(100% - 1rem)); background: transparent; box-shadow: none; overflow: visible; }
.lightbox__figure { margin: 0; display: grid; place-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 6rem); border-radius: var(--radius); background: var(--color-surface); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--color-surface); color: var(--color-text); cursor: pointer; box-shadow: var(--shadow); }
.lightbox__btn:hover { background: var(--color-primary-soft); }
.lightbox__btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentcolor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: -0.5rem; right: 0; }
.lightbox__prev { top: 50%; left: 0; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 0; transform: translateY(-50%); }

/* Review photos */
.review-photos { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; }
.review-photos a { display: block; width: 4.5rem; height: 4.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.review-photos img { width: 100%; height: 100%; object-fit: cover; }
.review-photos a:hover { border-color: var(--color-primary); }
.review-photo-strip { margin-bottom: var(--space-4); }
.review-photo-strip__title { margin: 0; font-size: var(--text-base); }
.review-photo-strip .review-photos a { width: 5.5rem; height: 5.5rem; }
.woocommerce .review-photo-strip button.review-photo-strip__all { min-height: 40px; margin-top: var(--space-3); padding: 0.4rem 1rem; background: transparent; border: 1px solid var(--color-border); color: var(--color-text); font-size: var(--text-sm); font-weight: 600; }
.woocommerce .review-photo-strip button.review-photo-strip__all:hover { background: var(--color-primary-soft); border-color: var(--color-primary); color: var(--color-text); }
.photo-gallery { width: min(56rem, calc(100% - 2rem)); }
.review-photos--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); margin: 0; }
.review-photo-strip .review-photos--grid a { width: auto; height: auto; aspect-ratio: 1; }
.comment-form-photos input[type="file"] { display: block; max-width: 100%; }
.comment-form-photos__hint { display: block; margin-top: var(--space-1); color: var(--color-muted); font-size: var(--text-sm); }

/* Live search suggestions */
.live-search {
	position: absolute; top: calc(100% + 0.4rem); left: 0; right: 0; z-index: 60; min-width: min(26rem, 90vw);
	max-height: 70vh; overflow-y: auto; padding: var(--space-2);
	background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.live-search[hidden] { display: none; }
.live-search__item { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: var(--space-3); padding: var(--space-2); border-radius: var(--radius-sm, 8px); color: var(--color-text); text-decoration: none; }
.live-search__item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--color-bg); }
.live-search__item:not(:has(img)) { grid-template-columns: 1fr auto; }
.live-search__item:hover, .live-search__item.is-active { background: var(--color-bg); }
.live-search__title { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.live-search__price { font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.live-search__price del { color: var(--color-muted); font-weight: 400; margin-right: 0.25rem; }
.live-search__price ins { text-decoration: none; }
.live-search__all { display: block; margin-top: var(--space-1); padding: var(--space-2); text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--color-accent); border-top: 1px solid var(--color-border); text-decoration: none; }
.live-search__all:hover { text-decoration: underline; }
.live-search__empty { margin: 0; padding: var(--space-3); color: var(--color-muted); font-size: 0.92rem; }

/* Order tracking (Track Order page and My Account) */
.order-track { margin: var(--space-6) 0; }
.track-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: var(--space-4) 0; padding: 0; list-style: none; counter-reset: none; }
.entry-content .track-steps__item { margin: 0; }
.track-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }
.track-steps__item::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: var(--color-border); }
.track-steps__item:first-child::before { visibility: hidden; }
.track-steps__item.is-done::before, .track-steps__item.is-current::before { background: var(--color-accent); }
.track-steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid var(--color-border); border-radius: 50%; background: var(--color-surface); }
.track-steps__dot .icon { width: 16px; height: 16px; stroke: var(--color-on-primary); }
.is-done .track-steps__dot, .is-current .track-steps__dot { border-color: var(--color-accent); background: var(--color-accent); }
.is-current .track-steps__label { color: var(--color-text); font-weight: 800; }
.track-card { display: grid; gap: var(--space-3); padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.track-card__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: 0; }
.track-card__label { min-width: 9rem; color: var(--color-muted); }
.track-card__value { overflow-wrap: anywhere; }
.track-parcel { display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.track-parcel:first-child { padding-top: 0; border-top: 0; }
.order-track .track-parcel__title { margin: 0; font-size: var(--text-lg); }
.track-card__note { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.btn--sm .icon { width: 14px; height: 14px; }
.btn--sm { padding: 0.4rem 0.9rem; font-size: var(--text-sm); }
@media (max-width: 480px) { .track-steps__item { font-size: 0.75rem; } .track-card__label { min-width: 100%; } }

.checkout-note { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
