/* Shop Theme: layout and component styles. Tokens come from theme.json. */

:root {
	--shop-radius: 12px;
	--shop-radius-sm: 8px;
	--shop-card-shadow: var(--wp--preset--shadow--card);
	--shop-header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}
.screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.shop-icon { flex: none; }

/* ---------- Header ---------- */
.shop-topbar { font-size: var(--wp--preset--font-size--small); padding-block: 6px; }
.shop-topbar p, .shop-topbar a { margin: 0; color: inherit; }
.shop-topbar a { color: #fff; text-decoration: none; }

.shop-header { padding-block: 12px; position: sticky; top: 0; z-index: 50; }
.admin-bar .shop-header { top: 32px; }
.shop-header__row { gap: 16px; }
.shop-header__brand { gap: 10px; flex: none; }
.shop-header .wp-block-site-title, .shop-header .wp-block-site-title a { color: #fff; text-decoration: none; font-weight: 700; margin: 0; }
.shop-header__actions { gap: 4px; flex: none; color: #fff; }
.shop-header__actions a, .shop-header__actions button { color: #fff; }
.shop-header .wc-block-mini-cart__button { color: #fff; padding: 8px; }
.shop-header .wc-block-mini-cart__badge { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); }

.shop-search { flex: 1 1 auto; max-width: 640px; margin: 0; }
.shop-search .wp-block-search__inside-wrapper {
	background: #fff;
	border: 0;
	border-radius: 999px;
	padding: 4px 4px 4px 16px;
}
.shop-search .wp-block-search__input { border: 0; min-height: 40px; font-size: 15px; background: transparent; color: var(--wp--preset--color--ink); }
.shop-search .wp-block-search__button {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
	border-radius: 999px;
	min-width: 44px;
	min-height: 40px;
	margin: 0;
	padding: 0 14px;
}
.shop-search .wp-block-search__button svg { fill: currentColor; }

.shop-catbar { border-bottom: 1px solid var(--wp--preset--color--line); }
.shop-catnav {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: var(--wp--style--global--wide-size);
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scrollbar-width: none;
}
.shop-catnav a {
	display: flex;
	align-items: center;
	min-height: 46px;
	white-space: nowrap;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}
.shop-catnav a:hover { color: var(--wp--preset--color--brand); }

/* ---------- Main ---------- */
.shop-main { padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--70); }
.shop-main > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.shop-section, .shop-offers > * , .shop-trust {
	background: var(--wp--preset--color--surface);
	border-radius: var(--shop-radius);
	padding: 16px;
}
.shop-section > h2 { margin: 0 0 12px; }
.shop-offers { display: grid; gap: var(--wp--preset--spacing--40); }
.shop-offers > * { min-width: 0; margin: 0 !important; }
.shop-offers > .shop-coupons { background: transparent; padding: 0; }
.shop-page { background: transparent; }

/* ---------- Hero ---------- */
.shop-hero {
	border-radius: var(--shop-radius);
	padding: clamp(20px, 4vw, 44px);
	gap: 24px;
	overflow: hidden;
}
.shop-hero__text { flex: 1 1 300px; gap: 8px; }
.shop-hero__text h1 { margin: 0; line-height: 1.15; }
.shop-hero__kicker { margin: 0; font-weight: 700; }
.shop-hero__sub { margin: 0; color: #cfe6db; }
.shop-hero-tiles { flex: 0 1 320px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shop-hero-tiles__tile { display: block; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.08); aspect-ratio: 1; }
.shop-hero-tiles__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Trust strip ---------- */
.shop-trust {
	list-style: none;
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
}
.shop-trust li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; color: var(--wp--preset--color--muted); }
.shop-trust strong { color: var(--wp--preset--color--ink); font-size: 14px; }
.shop-trust__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--wp--preset--color--brand-soft); color: var(--wp--preset--color--brand); display: flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Category grid ---------- */
.shop-catgrid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 14px 8px;
}
.shop-catgrid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--wp--preset--color--ink); text-decoration: none; font-size: 13px; line-height: 1.25; }
.shop-catgrid__icon { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--ink); overflow: hidden; }
.shop-catgrid__icon img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product cards ---------- */
.shop-products .wc-block-product-template,
.shop-products .shop-card-grid {
	gap: 10px !important;
}
.shop-products .wc-block-product { background: var(--wp--preset--color--surface); border-radius: 10px; overflow: hidden; }
.shop-card { gap: 4px !important; height: 100%; padding-bottom: 12px; align-items: stretch !important; }
.shop-card > *:not(.wc-block-components-product-image) { margin-inline: 10px !important; }
.shop-card .wc-block-components-product-image { margin: 0 !important; background: var(--wp--preset--color--background); }
.shop-card .wc-block-components-product-image img { aspect-ratio: 1; object-fit: cover; }
.shop-card .wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--sale);
	color: #fff;
	border: 0;
	border-radius: 0 0 8px 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: none;
	padding: 2px 8px;
	margin: 0 !important;
	top: 0 !important;
	left: 0 !important;
}
.shop-card .wc-block-components-product-sale-badge__text,
.wc-block-components-product-sale-badge__text { text-transform: none; }
.shop-card__title {
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	margin-block: 6px 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}
.shop-card__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.shop-card__price { font-size: 16px; font-weight: 700; color: var(--wp--preset--color--sale); text-align: left !important; }
.shop-card__price del { color: var(--wp--preset--color--muted); font-size: 12px; font-weight: 400; }
.shop-card__price ins { text-decoration: none; }
.shop-card__rating { font-size: 12px; }
.shop-card__button { margin-top: auto !important; text-align: left !important; }
.shop-card__button .wp-block-button__link,
.shop-card__button .wc-block-components-product-button__button {
	width: 100%;
	font-size: 13.5px;
	padding: 8px 12px;
	min-height: 40px;
}

/* Two columns on phones, more on larger screens. */
@media (max-width: 599px) {
	.wp-block-woocommerce-product-collection .wc-block-product-template.is-flex-container,
	.wp-block-woocommerce-product-collection .wc-block-product-template {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.wp-block-woocommerce-product-collection .wc-block-product-template > li { width: auto !important; margin: 0 !important; }
}

.shop-archive-bar { align-items: center; font-size: 14px; }
.shop-archive-bar .woocommerce-result-count { margin: 0; color: var(--wp--preset--color--muted); }
.shop-archive-bar select { min-height: 40px; border-radius: 8px; border: 1px solid var(--wp--preset--color--line); padding: 0 10px; background: #fff; }

/* ---------- Single product ---------- */
.shop-single__top { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 16px; gap: 24px; }
.shop-single__summary h1 { margin: 0; font-weight: 600; }
.shop-single__summary .wc-block-components-product-price { font-size: 26px; }
.shop-single__summary .wc-block-components-product-price del { font-size: 15px; color: var(--wp--preset--color--muted); font-weight: 400; }
.shop-single__summary .wc-block-components-product-price ins { text-decoration: none; }
.shop-single .single_add_to_cart_button {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--ink) !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	min-height: 48px;
	padding-inline: 28px !important;
}
.shop-single .quantity .qty { min-height: 48px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); text-align: center; width: 84px; }
.shop-single table.variations select { min-height: 44px; border-radius: 8px; padding: 0 10px; border: 1px solid var(--wp--preset--color--line); }
.shop-single__details { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 16px; }
.shop-single .woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---------- Cart / checkout / account ---------- */
.shop-page-cart .wp-block-woocommerce-cart,
.shop-page-checkout .wp-block-woocommerce-checkout { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 16px; }
.wc-block-components-button:not(.is-link) { border-radius: 999px; }
/* My Account: sidebar menu on wide screens; on phones the profile overview is the menu. */
.woocommerce-account .woocommerce { background: transparent; padding: 0; }
.woocommerce-account .is-layout-constrained > .woocommerce { max-width: var(--wp--style--global--wide-size, 1200px); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-MyAccount-content { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 16px; min-width: 0; }
.shop-account-cards .woocommerce-MyAccount-content { background: transparent; padding: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin: 0; padding: 0; border: 0; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--wp--preset--color--ink); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation a:hover { background: var(--wp--preset--color--background); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--wp--preset--color--brand-soft); color: var(--wp--preset--color--brand-dark); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wp--preset--color--sale); }
@media (min-width: 782px) {
	.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
	.woocommerce-account.logged-in .woocommerce > * { grid-column: 1 / -1; }
	.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; }
	.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2; }
	.woocommerce-MyAccount-navigation { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 8px; position: sticky; top: 16px; }
}
@media (max-width: 781px) {
	.woocommerce-account.shop-profile-on .woocommerce-MyAccount-navigation { display: none; }
	/* Without the Shop Core profile, keep the menu as a compact scrollable row. */
	.woocommerce-account.logged-in:not(.shop-profile-on) .woocommerce-MyAccount-navigation { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 6px; margin-bottom: 12px; overflow-x: auto; }
	.woocommerce-account.logged-in:not(.shop-profile-on) .woocommerce-MyAccount-navigation ul { display: flex; gap: 4px; }
	.woocommerce-account.logged-in:not(.shop-profile-on) .woocommerce-MyAccount-navigation a { white-space: nowrap; min-height: 40px; }
}
.woocommerce-account:not(.logged-in):not(.shop-auth-page) .woocommerce-form-login { max-width: 460px; margin: 0 auto; background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 18px; border: 1px solid var(--wp--preset--color--line); }
.woocommerce-account:not(.logged-in):not(.shop-auth-page) .woocommerce > h2 { text-align: center; }

/* Log in page: the Shop Core card has its own heading, so the page title is only kept for screen readers. */
.shop-auth-page .wp-block-post-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Footer ---------- */
.shop-footer { padding-block: 36px 24px; font-size: 14px; }
.shop-footer a { color: var(--wp--preset--color--line); text-decoration: none; }
.shop-footer a:hover { color: #fff; }
.shop-footer .wp-block-site-title { color: #fff; }
.shop-footer__title { font-size: 15px !important; color: #fff; margin: 0 0 8px; }
.shop-footer p { line-height: 1.9; margin: 0; }
.shop-footer__legal { border-top: 1px solid #33404a; padding-top: 14px; font-size: 13px; }
.shop-pay-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.shop-pay-chips li { background: #fff; color: var(--wp--preset--color--ink); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; }

/* ---------- Mobile bottom navigation ---------- */
.shop-mobile-nav { display: none; }
@media (max-width: 781px) {
	.shop-topbar, .shop-catbar { display: none; }
	.shop-header__row { flex-wrap: wrap !important; }
	.shop-header__brand { order: 1; }
	.shop-header__actions { order: 2; }
	.shop-search { order: 3; flex-basis: 100%; max-width: none; }
	body { padding-bottom: 68px; }
	.shop-mobile-nav {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		background: #fff;
		border-top: 1px solid var(--wp--preset--color--line);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.shop-mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.shop-mobile-nav a {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 60px;
		font-size: 11.5px;
		color: var(--wp--preset--color--muted);
		text-decoration: none;
	}
	.shop-mobile-nav a[aria-current="page"] { color: var(--wp--preset--color--brand); font-weight: 700; }
	.shop-cart-count {
		position: absolute;
		top: 6px;
		left: calc(50% + 4px);
		min-width: 18px;
		height: 18px;
		border-radius: 9px;
		background: var(--wp--preset--color--sale);
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0 4px;
		box-sizing: border-box;
	}
	.shop-cart-count[hidden] { display: none; }
	.shop-single__top { padding: 0 0 16px; background: transparent; }
	.shop-single__summary { background: var(--wp--preset--color--surface); border-radius: var(--shop-radius); padding: 14px; }
}
.shop-main { overflow-x: clip; }

/* Sale badges everywhere (classic gallery badge and block badges). */
.woocommerce span.onsale.shop-core-badge,
span.onsale.shop-core-badge {
	min-height: 0;
	min-width: 0;
	line-height: 1.6;
	border-radius: 0 0 8px 0;
	padding: 2px 8px;
	margin: 0;
	top: 0;
	left: 0;
	background: var(--wp--preset--color--sale);
	color: #fff;
	font-size: 13px;
}
.wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--sale);
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-weight: 700;
}
.wp-block-woocommerce-product-collection .wc-block-product { background: var(--wp--preset--color--surface); border-radius: 10px; padding-bottom: 12px; }
.wp-block-woocommerce-related-products, .wc-block-related-products { margin-top: var(--wp--preset--spacing--50); }
.shop-cart-link { position: relative; display: inline-flex; padding: 8px; color: #fff; }
.shop-cart-link__count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.shop-cart-link__count[hidden] { display: none; }

/* ---------- Category sheet (bottom nav "Categories") ---------- */
.shop-cats[hidden], .shop-cats [hidden] { display: none !important; }
.shop-cats { position: fixed; inset: 0; z-index: 100000; }
.shop-cats__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 32, .45); }
.shop-cats__panel { position: absolute; left: 0; right: 0; bottom: 0; height: 88vh; height: 88dvh; display: flex; flex-direction: column; background: var(--wp--preset--color--surface); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.15); animation: shop-cats-up .2s ease-out; overflow: hidden; }
@keyframes shop-cats-up { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.shop-cats__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 4px; }
.shop-cats__head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--wp--preset--color--line); }
.shop-cats__head h2 { margin: 0; font-size: 18px; }
.shop-cats__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wp--preset--color--background); font-size: 26px; line-height: 1; cursor: pointer; color: var(--wp--preset--color--ink); }
.shop-cats__search { padding: 6px 14px 10px; border-bottom: 1px solid var(--wp--preset--color--line); }
.shop-cats__search input { width: 100%; min-height: 44px; padding: 8px 14px 8px 40px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; font: inherit; font-size: 15px; background: var(--wp--preset--color--background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b6670' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center; }
.shop-cats__search input:focus { outline: 2px solid var(--wp--preset--color--brand); background-color: #fff; }
.shop-cats__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.shop-cats__rail { list-style: none; margin: 0; padding: 0; overflow-y: auto; background: var(--wp--preset--color--background); overscroll-behavior: contain; }
.shop-cats__rail li { margin: 0; }
.shop-cats__tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 12px 6px; border: 0; background: none; font: inherit; font-size: 12px; line-height: 1.25; color: var(--wp--preset--color--muted, #5b6670); text-align: center; cursor: pointer; }
.shop-cats__tab[aria-selected="true"] { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--brand-dark, #00573a); font-weight: 700; }
.shop-cats__tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--wp--preset--color--brand); }
.shop-cats__tab-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; color: var(--wp--preset--color--ink); }
.shop-cats__tab-icon img, .shop-cats__tile-icon img { width: 100%; height: 100%; object-fit: cover; }
.shop-cats__tab-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.shop-cats__main { overflow-y: auto; padding: 12px 12px 16px; overscroll-behavior: contain; }
.shop-cats__banner { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px; border-radius: 14px; color: var(--wp--preset--color--ink); text-decoration: none; }
.shop-cats__banner strong { display: block; font-size: 16px; }
.shop-cats__banner small { color: var(--wp--preset--color--muted, #5b6670); }
.shop-cats__go { flex: none; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--wp--preset--color--brand-dark, #00573a); }
.shop-cats__subhead { margin: 16px 0 8px; font-size: 14px; color: var(--wp--preset--color--muted, #5b6670); font-weight: 600; }
.shop-cats__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
.shop-cats__tiles li { margin: 0; }
.shop-cats__tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--wp--preset--color--ink); font-size: 12.5px; text-align: center; line-height: 1.25; }
.shop-cats__tile-icon { width: 100%; aspect-ratio: 1; max-width: 72px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.shop-cats__products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shop-cats__products li { margin: 0; }
.shop-cats__product { display: block; text-decoration: none; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; background: #fff; }
.shop-cats__product-img { display: block; aspect-ratio: 1; background: var(--wp--preset--color--background); }
.shop-cats__product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-cats__product-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 6px 8px 0; font-size: 12.5px; line-height: 1.3; min-height: 2.6em; }
.shop-cats__product-price { display: block; padding: 2px 8px 8px; font-weight: 700; font-size: 13px; color: var(--wp--preset--color--brand-dark, #00573a); }
.shop-cats__product-price del { color: var(--wp--preset--color--muted, #5b6670); font-weight: 400; font-size: 11.5px; margin-left: 4px; }
.shop-cats__loading, .shop-cats__empty { grid-column: 1 / -1; color: var(--wp--preset--color--muted, #5b6670); font-size: 13px; padding: 8px 0; }
.shop-cats__results { list-style: none; margin: 0; padding: 4px 14px; flex: 1; overflow-y: auto; }
.shop-cats__results li { margin: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.shop-cats__results a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; color: var(--wp--preset--color--ink); text-decoration: none; }
.shop-cats__results small { color: var(--wp--preset--color--muted, #5b6670); display: block; font-size: 12px; }
.shop-cats__results mark { background: #fff3d6; color: inherit; padding: 0; }
.shop-cats__results .shop-cats__count { flex: none; font-size: 12px; color: var(--wp--preset--color--muted, #5b6670); background: var(--wp--preset--color--background); border-radius: 999px; padding: 2px 8px; }
.shop-cats__all { flex: none; display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 8px 14px calc(10px + env(safe-area-inset-bottom)); border-radius: 999px; background: var(--wp--preset--color--brand); color: #fff; font-weight: 700; text-decoration: none; }
body.shop-cats-open { overflow: hidden; }

/* ---------- Track order, contact, trust grid ---------- */
.shop-track-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.shop-track-link:hover { background: rgba(255,255,255,.12); color: #fff; }
.shop-track-link svg { flex: none; }
@media (max-width: 781px) { .shop-track-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .shop-track-link { padding: 6px; } }
.shop-topbar__contact a { color: #fff; }
.shop-contact { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.shop-contact li { margin: 0; }
.shop-contact a, .shop-contact__plain { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; word-break: break-all; }
.shop-contact svg { flex: none; opacity: .85; }
.shop-footer__address { margin: 6px 0 0; }
@media (max-width: 781px) {
	.shop-trust { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px 10px !important; }
	.shop-trust li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }
	.shop-trust strong { font-size: 13px; }
	.shop-trust__icon { width: 36px; height: 36px; }
}
.shop-pay-chips li.has-logo { background: #fff; padding: 4px 8px; display: flex; align-items: center; }
.shop-pay-chips .shop-pay-logo { display: block; height: 24px; width: auto; max-width: 90px; object-fit: contain; }
