/* Proping theme. Palette and type follow the approved design:
   white ground, light grey surfaces, logo red only for actions and sale. */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url(../fonts/archivo-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url(../fonts/archivo-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ink: #16181b;
	--text: #33373d;
	--muted: #5b616a;
	--faint: #8a9098;
	--line: #e4e6e9;
	--field: #d5d8dc;
	--surface: #f5f6f7;
	--white: #ffffff;
	--red: #b3192e;
	--red-dark: #921326;
	--green: #1f7a4d;
	--radius: 10px;
	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1440px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 6px; }
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px;
	background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.2;
	cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #000; color: var(--white); }
.button--primary, .woocommerce .button.alt, .single_add_to_cart_button, .checkout-button, #place_order { background: var(--red) !important; color: var(--white) !important; }
.button--primary:hover, .woocommerce .button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover { background: var(--red-dark) !important; }
.button--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--white); }
.button--dark { background: var(--ink); color: var(--white); }
.button:disabled, .button.disabled { opacity: .45; cursor: not-allowed; }
/* Before a variation is chosen the button stays clickable and explains what is missing. */
.single_add_to_cart_button.wc-variation-selection-needed { opacity: 1; cursor: pointer; }
.variation-hint { margin: 0; font-size: 15px; font-weight: 600; color: var(--red); }
table.variations tr.needs-choice .pills .pill { border-color: var(--red); }

.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.2; }
.badge--sale { background: var(--red); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea, .input-text {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 8px; background: var(--white); font-size: 16px;
}
textarea { min-height: 110px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--red); }

/* ---------- Header ---------- */

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar__contact { display: flex; gap: 20px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header__main { display: flex; align-items: center; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { height: 84px; width: auto; max-width: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; align-items: center; justify-content: center; cursor: pointer; }

.site-search { flex: 1 1 320px; display: flex; min-width: 0; }
.site-search input[type="search"] { border-radius: 8px 0 0 8px; min-height: 46px; }
.site-search button { padding: 0 20px; border: 0; border-radius: 0 8px 8px 0; background: var(--ink); color: var(--white); font-weight: 600; cursor: pointer; }

.header-links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.header-account, .header-cart { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.header-cart { font-weight: 600; position: relative; }
.header-cart__label { display: none; }
.header-cart__count { position: absolute; top: -6px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 11px; line-height: 18px; text-align: center; }

.site-nav__list { list-style: none; margin: 0; padding: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.site-nav__list a { display: inline-block; padding: 4px 0; }
.site-nav__list a[aria-current="page"], .site-nav__list .current-menu-item > a { color: var(--red); text-decoration: underline; text-underline-offset: 6px; }
.site-nav__sale { color: var(--red); }

/* ---------- Home ---------- */

.home-page { display: flex; flex-direction: column; gap: 72px; padding-top: 48px; padding-bottom: 72px; }
.hero { display: flex; gap: 48px; align-items: center; }
.hero__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.hero p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 30em; }
.hero__facts { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--text); }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts svg { flex: none; color: var(--red); }
.hero__facts a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.hero__image { flex: 1 1 560px; min-width: 0; width: 100%; max-width: 720px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

.home-section { display: flex; flex-direction: column; gap: 20px; }
.home-section h2, .related > h2, .upsells > h2, .product-description h2 { font-size: 24px; font-weight: 800; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-head a { color: var(--red); font-weight: 500; font-size: 15px; }

.category-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.category-tiles a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 12px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; font-weight: 600; transition: border-color .15s; }
.category-tiles a:hover { border-color: var(--ink); color: var(--ink); }
.category-tiles__image { display: block; background: var(--surface); border-radius: 6px; overflow: hidden; }
.category-tiles__image img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.category-tiles__name { text-align: center; }

/* On the home page the product lists show four products on a computer; phones swipe through all eight. */
ul.products--rail > li:nth-child(n+5) { display: none; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.services li { display: flex; gap: 14px; align-items: flex-start; }
.services svg { flex: none; margin-top: 1px; color: var(--red); }
.services h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.services p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.shop-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px; background: var(--surface); border-radius: 12px; }
.shop-visit__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.shop-visit__text { display: flex; flex-direction: column; gap: 16px; }
.shop-visit h2 { font-size: 28px; font-weight: 800; line-height: 1.15; }
.shop-visit__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin: 0; font-size: 16px; }
.shop-visit__facts dt { color: var(--muted); }
.shop-visit__facts dd { margin: 0; }
.shop-visit__facts a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
/* Phones only: on a computer the hero already shows the shop photo, address and hours. */
@media (min-width: 901px) { .shop-visit { display: none; } }

.brands { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 20px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brands a { color: var(--muted); }
.brands a:hover { color: var(--ink); }

/* ---------- Product grid and card ---------- */

ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.product-card__link { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.product-card__link:hover { color: var(--ink); }
.product-card__link:hover .product-card__name { text-decoration: underline; text-underline-offset: 3px; }
.product-card__image { position: relative; display: block; margin-bottom: 6px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.product-card__image img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.product-card__image .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-card__hover { display: none; }
/* The Dominant Color plugin tints image backgrounds; product photos sit on our light grey. */
.product-card__image img, .woocommerce-product-gallery img { background-color: transparent !important; }
.product-card__image img.product-card__hover { background-color: var(--surface) !important; }
@media (hover: hover) {
	/* Instant swap, no cross-fade: the first photo is hidden while the second one shows. */
	.product-card__hover { display: block; position: absolute; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: contain; background: var(--surface); mix-blend-mode: normal !important; visibility: hidden; }
	.product-card__link:hover .product-card__hover { visibility: visible; }
	.product-card__link:hover .has-hover-photo img:not(.product-card__hover) { visibility: hidden; }
}
.product-card__name { font-size: 16px; font-weight: 500; line-height: 1.3; }
.product-card__specs { font-size: 13px; color: var(--muted); }
.product-card__price { font-size: 16px; font-weight: 600; margin-top: 2px; }
.product-card__stock { font-size: 13px; color: var(--muted); }
.product-card__stock.stock-order { color: #8a5a00; font-weight: 400; font-size: 13px; }

/* WooCommerce prints the old price first; show the sale price first, the old one struck after it. */
.product-card__price, .product-pricebox .price, .woocommerce-variation-price .price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.product-card__price del, .price del { order: 2; color: var(--muted); font-weight: 400; font-size: .85em; }
.product-card__price ins, .price ins { order: 1; text-decoration: none; color: var(--red); }

/* ---------- Listing ---------- */

.page-shop { padding-top: 32px; padding-bottom: 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }

.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.shop-head h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { width: auto; min-width: 220px; }

.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.subcats a { padding: 8px 14px; border: 1px solid var(--field); border-radius: 999px; font-size: 14px; font-weight: 500; }
.subcats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.shop-description { max-width: 70ch; color: var(--muted); margin-bottom: 24px; }

.shop-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.shop-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.empty-state { padding: 48px 24px; text-align: center; background: var(--surface); border-radius: 12px; display: flex; flex-direction: column; gap: 16px; align-items: center; }

.filters { flex: 1 1 220px; max-width: 260px; font-size: 15px; }
.filters__toggle { display: none; }
.filters__box > summary { list-style: none; }
.filters__box > summary::-webkit-details-marker { display: none; }
.filters__form { display: flex; flex-direction: column; gap: 26px; }
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend { font-weight: 600; padding: 0 0 10px; }
.filter-group__options { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.filter-group label, .filter-stock { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.filter-group--chips .filter-group__options { flex-direction: row; flex-wrap: wrap; }
.filter-group--chips label { gap: 0; }
.filter-group--chips input { position: absolute; opacity: 0; pointer-events: none; }
.filter-group--chips span { padding: 7px 11px; border: 1px solid var(--field); border-radius: 6px; font-size: 14px; }
.filter-group--chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-group--chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { min-width: 0; font-size: 14px; }
.price-range span { font-size: 14px; color: var(--muted); }
.filters__actions { display: flex; align-items: center; gap: 16px; }
.filters__actions a { color: var(--muted); font-size: 14px; text-decoration: underline; }
.js .filters__actions .button { display: none; }

.woocommerce-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.woocommerce-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; padding: 0 10px; align-items: center; justify-content: center; border: 1px solid var(--field); border-radius: 8px; font-size: 15px; }
.woocommerce-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 600; }

/* ---------- Product page ---------- */

.single-product div.product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.single-product div.product > .badge { position: absolute; top: 16px; left: 16px; z-index: 3; font-size: 13px; padding: 5px 10px; }
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; position: relative; }
.single-product div.product > .summary { grid-column: 2; display: flex; flex-direction: column; gap: 24px; }
.single-product div.product > .product-description,
.single-product div.product > .upsells,
.single-product div.product > .related { grid-column: 1 / -1; margin-top: 32px; }

.woocommerce-product-gallery { background: var(--surface); border-radius: 12px; overflow: hidden; }
.woocommerce-product-gallery img { width: 100%; mix-blend-mode: multiply; }
.woocommerce-product-gallery__image a { cursor: zoom-in; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; }
.flex-control-thumbs { list-style: none; margin: 0; padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--white); }
.flex-control-thumbs li { width: 72px; cursor: pointer; border-radius: 6px; overflow: hidden; background: var(--surface); }
.flex-control-thumbs img { opacity: .6; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }

.product-heading { display: flex; flex-direction: column; gap: 8px; }
.product-title { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.product-pricebox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; }
.product-pricebox .price { font-size: 32px; font-weight: 800; }
.product-pricebox .price del { font-size: 18px; }
.stock-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--green); }
.stock-out { font-size: 15px; font-weight: 600; color: var(--muted); }
.stock-order, .available-on-backorder { font-size: 15px; font-weight: 600; color: #8a5a00; }
.backorder_notification { margin: 4px 0 0; font-size: 13px; color: #8a5a00; }

.specs { margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--white); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 0; font-size: 16px; font-weight: 600; }
.spec--key dd { font-size: 20px; font-weight: 700; }

form.cart { display: flex; flex-direction: column; gap: 20px; }
table.variations { border-collapse: collapse; width: 100%; }
table.variations tr { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
table.variations th, table.variations td { padding: 0; text-align: left; }
table.variations th label { font-size: 15px; font-weight: 600; }
table.variations td.value { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.reset_variations { font-size: 14px; color: var(--muted); text-decoration: underline; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 64px; min-height: 44px; padding: 0 16px; border: 1px solid var(--field); border-radius: 8px; background: var(--white); font-size: 15px; cursor: pointer; }
.pill[aria-pressed="true"] { border: 2px solid var(--ink); font-weight: 600; padding: 0 15px; }
.pill:disabled { color: var(--faint); text-decoration: line-through; cursor: not-allowed; }
.js .pills + select { display: none; }
.single_variation_wrap { display: flex; flex-direction: column; gap: 16px; }
.woocommerce-variation-price .price { font-size: 22px; font-weight: 700; }
.woocommerce-variation-availability .stock { font-size: 15px; font-weight: 600; color: var(--green); }
.woocommerce-variation-availability .out-of-stock { color: var(--muted); }

.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { flex-direction: row; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; gap: 12px; align-items: stretch; }
.quantity input.qty { width: 84px; min-height: 56px; text-align: center; font-size: 17px; }
.single_add_to_cart_button { flex: 1; min-height: 56px !important; font-size: 17px !important; }

.buy-info { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; }
.buy-info li { display: flex; gap: 12px; }
.buy-info strong { flex: 0 0 104px; }
.buy-info span { color: var(--muted); }

.product-description { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; color: var(--text); }
.product-description p { margin: 0; }
.related, .upsells { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Pages, cart, checkout, account ---------- */

.page-wrap { padding-top: 40px; padding-bottom: 72px; }
.page-title, .entry-content h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 28px; }
.page--text .entry-content { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--text); }
.page--text .entry-content > * + * { margin-top: 1em; }
.page--text .entry-content [style] { font-size: inherit !important; font-family: inherit !important; color: inherit !important; }
.entry-content a { color: var(--red); text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.contact-grid h2 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.contact-grid p { color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.contact-grid a:not(.button) { color: var(--red); }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: 8px; background: var(--surface); border-left: 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px;
}
.woocommerce-message { background: #e8f3ec; }
ul.woocommerce-error { display: block; padding-left: 36px; list-style: disc; }
ul.woocommerce-error li + li { margin-top: 4px; }
ul.woocommerce-error a { color: inherit; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.checkout-inline-error-message { margin: 2px 0 0; font-size: 13px; color: #b3192e; }
.woocommerce-invalid input.input-text, .woocommerce-invalid select { border-color: #b3192e; }
.woocommerce-invalid label { color: #b3192e; }
.woocommerce-error { background: #fbe9eb; color: #7d1020; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; }

.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.shop_table th, .shop_table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.shop_table thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.shop_table .product-thumbnail img { width: 72px; border-radius: 8px; background: var(--surface); }
.shop_table .product-remove a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted); font-size: 20px; }
.shop_table .product-remove a:hover { background: var(--surface); color: var(--red); }
.shop_table td.actions { padding-top: 18px; }
.shop_table .coupon { display: inline-flex; gap: 8px; }
.shop_table .coupon input { width: 200px; }
.woocommerce-cart-form { margin-bottom: 40px; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.cart_totals h2, .woocommerce-checkout h3, #order_review_heading { font-size: 20px; font-weight: 800; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 17px; }

.woocommerce-checkout .col2-set, .woocommerce-account .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 16px 48px; align-items: start; }
form.checkout > .col2-set { grid-column: 1; grid-row: 2 / span 2; grid-template-columns: 1fr; }
form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; }
form.checkout > #order_review { grid-column: 2; grid-row: 3; }
#order_review { padding: 24px; background: var(--surface); border-radius: 12px; }
.form-row { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 500; }
.form-row > br { display: none; }
.form-row .required { color: var(--red); text-decoration: none; }
.form-row-first, .form-row-last { width: calc(50% - 8px); display: inline-flex; }
.form-row-first { margin-right: 12px; }
.woocommerce-checkout-payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.woocommerce-checkout-payment li { padding: 12px 14px; background: var(--white); border-radius: 8px; }
.payment_box { font-size: 14px; color: var(--muted); padding-top: 8px; }
#place_order { width: 100%; min-height: 56px; font-size: 17px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 40px; }
.woocommerce-MyAccount-navigation { flex: 1 1 220px; max-width: 260px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 8px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--surface); font-weight: 600; }
.woocommerce-MyAccount-content { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.woocommerce-MyAccount-content > * { margin: 0; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-size: 20px; font-weight: 800; }
.woocommerce-MyAccount-navigation a { text-decoration: none; }
mark { background: none; color: inherit; font-weight: 600; }
.woocommerce-orders-table .button { min-height: 38px; padding: 0 14px; font-size: 14px; }
.woocommerce-customer-details { display: flex; flex-direction: column; gap: 24px; }
.woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.woocommerce-customer-details .woocommerce-column__title { margin-bottom: 10px; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account:not(.logged-in) .woocommerce > h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { max-width: 440px; }
.woocommerce-form-login .form-row, .woocommerce-ResetPassword .form-row { width: 100%; }
.woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; }
.woocommerce-LostPassword { margin-top: 12px; }
.woocommerce-LostPassword a { color: var(--red); }
.password-input { position: relative; display: block; }
.password-input input { padding-right: 48px; }
.show-password-input { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 6px; cursor: pointer;
	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='%235b616a' stroke-width='1.8'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center no-repeat; }
.show-password-input.display-password { opacity: .5; }

/* Order summary at checkout: plain rows, label left and value right; the shipping choice
   (PPL, pickup, Zásilkovna with its pickup point button) gets the full width. */
/* Order summary as plain rows: label left, value right; shipping choices get the full width. */
.woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
.woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { border: 0; padding: 12px 0; }
.woocommerce-checkout-review-order-table td.product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { flex-direction: column; gap: 0; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { text-align: left; white-space: normal; padding-top: 0; }
.woocommerce-checkout-review-order-table tr.free-shipping-row { border: 0; }
.woocommerce-checkout-review-order-table tr.free-shipping-row td { width: 100%; text-align: left; white-space: normal; }
.woocommerce-shipping-methods li { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: flex-start; }
.woocommerce-shipping-methods li > label { flex: 1; min-width: 0; }

/* Zásilkovna pickup point button: no oversized logo, button in the shop's style. */
.packetery-widget-button-logo, .packeta-widget-button img { display: none !important; }
.packeta-widget-button, .packetery-widget-button-wrapper { flex-basis: 100%; margin: 4px 0 4px 26px; }
.packeta-widget-button .button, .packetery-widget-button-wrapper .button { min-height: 40px; padding: 0 16px; font-size: 14px; }
.packeta-widget-info, .packeta-widget-place, .packeta-widget-selected-address { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Free shipping progress */
.free-shipping { margin: 0 0 24px; padding: 14px 16px; border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.free-shipping.is-free { background: #e8f3ec; color: var(--green); font-weight: 600; }
.free-shipping__bar { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.free-shipping__bar span { display: block; height: 100%; background: var(--red); }
.free-shipping.is-free .free-shipping__bar span { background: var(--green); }
.free-shipping-row td { padding: 0 0 8px !important; border: 0 !important; }
.free-shipping-row .free-shipping { margin: 0; background: var(--white); }

/* Order received */
.woocommerce-order { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 600; color: var(--green); }
.woocommerce-order-overview { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce-order-overview li { flex: 1 1 160px; padding: 14px 16px; background: var(--surface); border-radius: 8px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.woocommerce-order-overview li strong { font-size: 16px; color: var(--ink); }
.woocommerce-bacs-bank-details { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.woocommerce-bacs-bank-details h2, .woocommerce-order-details__title, .woocommerce-column__title { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.woocommerce-bacs-bank-details h3 { font-size: 16px; margin-bottom: 8px; }
.woocommerce-bacs-bank-details ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wc-item-meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.wc-item-meta li, .wc-item-meta p { display: inline; margin: 0; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; padding: 16px; background: var(--surface); border-radius: 8px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.site-footer h2 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.site-footer a:hover { color: var(--red); }
.footer-links a { display: inline-block; padding: 4px 0; min-height: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.site-footer__bottom { padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.category-tiles { gap: 8px; }
	.category-tiles a { padding: 8px 8px 10px; font-size: 15px; }
	ul.products--rail > li:nth-child(n+4) { display: none; }
}

@media (max-width: 900px) {
	.container { padding-left: 16px; padding-right: 16px; }
	.topbar__contact { display: none; }
	.site-header__main { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 12px; }
	.menu-toggle { display: inline-flex; order: 1; }
	.site-logo { order: 2; margin-right: auto; }
	.site-logo img { height: 52px; }
	.header-links { order: 3; gap: 4px; }
	.header-account span, .header-cart__total { display: none; }
	.header-account, .header-cart { width: 44px; height: 44px; justify-content: center; }
	.site-search { order: 4; flex-basis: 100%; }
	.site-nav { display: none; border-top: 1px solid var(--line); }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; gap: 0; padding: 8px 0 12px; font-size: 17px; }
	.site-nav__list a { padding: 10px 0; display: block; }

	.home-page { gap: 40px; padding-top: 20px; }
	/* Phones: the headline and categories come first; the shop photo moves down to its own section. */
	.hero { flex-direction: column; gap: 10px; align-items: stretch; }
	.hero h1 { font-size: 32px; }
	.hero p { font-size: 16px; }
	.hero__facts, .hero__image { display: none; }
	.hero__text { flex-basis: auto; gap: 10px; }
	.home-page > .hero + .home-section { margin-top: -16px; }

	/* Swipeable rows bleeding to the screen edge, like the big sports shops. */
	.category-tiles, ul.products--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
	.category-tiles::-webkit-scrollbar, ul.products--rail::-webkit-scrollbar { display: none; }
	.category-tiles { gap: 10px; }
	.category-tiles li { flex: 0 0 116px; scroll-snap-align: start; }
	.category-tiles a { padding: 8px 8px 10px; gap: 8px; font-size: 15px; }
	ul.products--rail { gap: 12px; }
	ul.products--rail > li { flex: 0 0 44%; scroll-snap-align: start; }
	ul.products--rail > li:nth-child(n) { display: block; }

	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.services { grid-template-columns: 1fr; gap: 18px; }
	.shop-visit { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; background: none; }
	.shop-visit h2 { font-size: 24px; }
	.shop-visit__facts { font-size: 15px; }
	.brands { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; font-size: 16px; margin: 0 -16px; padding: 4px 16px; }
	.brands::-webkit-scrollbar { display: none; }

	.filters { max-width: none; flex-basis: 100%; }
	.filters__toggle { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: 8px; font-weight: 600; cursor: pointer; }
	.filters__box[open] .filters__toggle { margin-bottom: 20px; }
	.js .filters__actions .button { display: inline-flex; }

	.single-product div.product { grid-template-columns: minmax(0, 1fr); }
	.single-product div.product > .woocommerce-product-gallery,
	.single-product div.product > .summary { grid-column: 1; }
	.specs { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
	.spec[style] { grid-column: auto !important; }
	.specs > .spec:last-child:nth-child(odd) { grid-column: 1 / -1 !important; }

	form.checkout { grid-template-columns: minmax(0, 1fr); }
	form.checkout > .col2-set, form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-checkout .col2-set, .woocommerce-account .col2-set, .contact-grid { grid-template-columns: minmax(0, 1fr); }

	.woocommerce-shipping-methods li { display: flex; gap: 8px; align-items: flex-start; }
	.shop_table.cart thead { display: none; }
	.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.shop_table.cart tr.cart_item td { border: 0; padding: 0; }
	.shop_table.cart td.product-thumbnail { grid-row: 1 / span 3; }
	.shop_table.cart td.product-remove { grid-column: 3; grid-row: 1; }
	.shop_table.cart td.product-price { display: none; }
	.shop_table.cart td::before { display: none; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
	.form-row-first, .form-row-last { width: 100%; margin-right: 0; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
