/* ==========================================================================
   PC Audio Solutions — main stylesheet (mobile-first)
   Palette: black · ash · white   |   Breakpoints: 640px, 960px
   ========================================================================== */

:root {
	--c-black: #111111;
	--c-ink: #1c1c1e;
	--c-ash-900: #2b2c2f;
	--c-ash-700: #4a4c51;
	--c-ash-500: #75787e;
	--c-ash-300: #b9bbbf;
	--c-ash-100: #e7e8ea;
	--c-ash-50: #f4f4f5;
	--c-bg: #ffffff;
	--c-wa: #25d366;
	--c-wa-dark: #1da851;
	--c-sale: #111111;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 8px 28px rgb(0 0 0 / 0.12);
	--container: 1240px;
	--gutter: 16px;
	--header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--c-black); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	background: var(--c-black); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn, a.button, button.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	background: var(--c-black); color: #fff;
	border: 1px solid var(--c-black); border-radius: var(--radius-sm);
	font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1;
	transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, a.button:hover, button.button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--c-ash-900); border-color: var(--c-ash-900); color: #fff;
}
.btn--light { background: #fff; color: var(--c-black); border-color: #fff; }
.btn--light:hover { background: var(--c-ash-100); border-color: var(--c-ash-100); color: var(--c-black); }
.btn--wa { background: var(--c-wa); border-color: var(--c-wa); color: #fff; }
.btn--wa:hover { background: var(--c-wa-dark); border-color: var(--c-wa-dark); }
.btn--wa .icon { width: 20px; height: 20px; }

.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	background: none; border: 0; border-radius: 50%; text-decoration: none;
}
.icon-btn:hover { background: var(--c-ash-50); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--c-black); color: #fff; font-size: 13px; letter-spacing: .02em; }
.announce__inner { position: relative; height: 36px; overflow: hidden; }
.announce__item {
	position: absolute; inset: 0; margin: 0; padding-inline: var(--gutter);
	display: flex; align-items: center; justify-content: center; text-align: center;
	opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announce__item.is-active { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); border-bottom: 1px solid var(--c-ash-100); }
.admin-bar .site-header { top: 46px; }

.header-main {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "toggle logo actions" "search search search";
	align-items: center; gap: 8px 4px;
	padding-block: 8px 10px;
}
.menu-toggle { grid-area: toggle; margin-left: -10px; }
.header-logo { grid-area: logo; }
.header-search { grid-area: search; }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 4px; margin-right: -8px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-black); }
.logo__mark { width: 30px; height: 30px; color: var(--c-black); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.logo__text span { font-size: 10px; font-weight: 600; letter-spacing: .32em; color: var(--c-ash-500); margin-top: 3px; }
.custom-logo { max-height: 44px; width: auto; }

/* Search */
.header-search {
	display: flex; align-items: center;
	background: var(--c-ash-50); border: 1px solid var(--c-ash-100); border-radius: 999px;
	overflow: hidden;
}
.header-search:focus-within { border-color: var(--c-ash-500); background: #fff; }
.header-search input[type="search"] {
	flex: 1; min-width: 0; height: 42px; padding: 0 16px;
	border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--c-ink);
	outline: none;
}
.header-search button { display: grid; place-items: center; width: 46px; height: 42px; border: 0; background: none; color: var(--c-ash-700); }

/* WhatsApp in header */
.header-wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-wa-dark); padding: 10px; border-radius: 999px; }
.header-wa .icon { width: 24px; height: 24px; }
.header-wa__text { display: none; }
.header-wa:hover { background: var(--c-ash-50); }

/* List badge */
.list-count {
	position: absolute; top: 4px; right: 2px;
	min-width: 18px; height: 18px; padding: 0 5px;
	display: grid; place-items: center;
	background: var(--c-black); color: #fff; border-radius: 999px;
	font-size: 11px; font-weight: 700; line-height: 1;
}
.list-count[data-count="0"] { background: var(--c-ash-300); }

/* ---------- Main nav: mobile drawer ---------- */
.main-nav {
	position: fixed; inset: 0 auto 0 0; z-index: 200;
	width: min(86vw, 340px); background: var(--c-bg);
	transform: translateX(-100%); transition: transform .25s ease;
	overflow-y: auto; visibility: hidden;
}
.main-nav.is-open { transform: none; visibility: visible; }
.main-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--c-ash-100); }
.main-nav__list { list-style: none; margin-block: 0; padding-block: 8px; }
.main-nav__list > li > a,
.dropdown-toggle {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	padding: 14px 0; border: 0; background: none; text-align: left;
	font-size: 16px; font-weight: 600; text-decoration: none; color: var(--c-black);
	border-bottom: 1px solid var(--c-ash-100);
}
.dropdown-toggle .icon { width: 18px; height: 18px; transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown { list-style: none; margin: 0; padding: 4px 0 8px 12px; display: none; }
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 0; text-decoration: none; color: var(--c-ash-700); }
.dropdown a:hover { color: var(--c-black); }

.nav-overlay { position: fixed; inset: 0; z-index: 150; background: rgb(0 0 0 / .45); }

/* ---------- Content ---------- */
.site-main { padding-block: 28px 48px; min-height: 50vh; }
.site-main--flush { padding-block: 0; }
.page-title { font-size: clamp(26px, 5vw, 36px); margin-bottom: .7em; }
.entry-content h2 { font-size: 20px; margin-top: 1.6em; }
.entry-content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; background: var(--c-black); color: #fff; }
.hero-slider__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
}
.hero-slider__track::-webkit-scrollbar { display: none; }
.slide {
	position: relative; flex: 0 0 100%; scroll-snap-align: start;
	display: flex; flex-direction: column; justify-content: flex-start;
	aspect-ratio: 5 / 4; /* mobile banner 800×640 */
	color: #fff; text-decoration: none; overflow: hidden;
}
.slide.no-image {
	aspect-ratio: auto; justify-content: center; min-height: 440px;
	background:
		radial-gradient(1200px 400px at 85% 0%, rgb(255 255 255 / .08), transparent 60%),
		linear-gradient(135deg, var(--c-black), var(--c-ash-900));
}
.slide__img, .slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__img img { object-fit: cover; }
/* Darken behind text so it stays readable (top on mobile, left on desktop). */
.slide.has-image.has-text::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgb(0 0 0 / .65) 0%, rgb(0 0 0 / .25) 45%, transparent 65%);
}
.slide__content { position: relative; z-index: 1; padding-block: 36px 56px; }
.slide.has-image .slide__content { padding-top: 28px; }
.slide__title { color: #fff; font-size: clamp(28px, 7vw, 52px); font-weight: 800; max-width: 16ch; letter-spacing: -.01em; margin-bottom: 12px; }
.slide__text { color: var(--c-ash-100); max-width: 46ch; font-size: 16px; }
.slide.no-image .slide__text { color: var(--c-ash-300); font-size: 17px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.slide__actions:empty { display: none; }
/* Image-only slide: put the button near the bottom so it doesn't cover the image. */
.slide.has-image:not(.has-text) { justify-content: flex-end; }

.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .45); transition: width .2s, background .2s; }
.slider-dot.is-active { width: 22px; background: #fff; }
.slider-arrow {
	display: none; position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
	width: 44px; height: 44px; place-items: center;
	border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--c-black);
	box-shadow: 0 2px 10px rgb(0 0 0 / .2);
}
.slider-arrow--prev { left: 16px; } .slider-arrow--prev .icon { rotate: 90deg; }
.slider-arrow--next { right: 16px; } .slider-arrow--next .icon { rotate: -90deg; }

/* ---------- Product card ---------- */
/* position: relative keeps WooCommerce's hidden screen-reader labels inside the card,
   otherwise they escape the carousels and make the whole page scroll sideways. */
.p-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%;
	background: var(--c-bg); border: 1px solid var(--c-ash-100); border-radius: var(--radius);
	overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.p-card:hover { border-color: var(--c-ash-300); box-shadow: var(--shadow); }
.p-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--c-ash-50); overflow: hidden; }
.p-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: opacity .25s, transform .4s; }
.p-card__img--hover { opacity: 0; }
.p-card:hover .p-card__img--hover { opacity: 1; }
.p-card:hover .p-card__media img:only-of-type { transform: scale(1.04); }
.p-card.is-sold .p-card__img:not(.p-card__img--hover) { filter: grayscale(.55) brightness(1.03); opacity: .85; }
.p-card.is-sold .p-card__img--hover { display: none; } /* no hover photo on sold items */
.p-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.badge { display: inline-block; padding: 5px 8px; border-radius: var(--radius-sm); background: var(--c-black); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.badge--sold { background: var(--c-ash-500); }

.p-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 12px 12px; }
.p-card__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ash-500); }
.p-card__title { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; }
.p-card__title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card__title a:hover { text-decoration: underline; }
.p-card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--c-ash-500); }
.p-card__rating .star-rating { font-size: 12px; margin: 0 !important; }
.p-card__price { font-size: 16px; font-weight: 800; color: var(--c-black); margin-top: 2px; }
.p-card__price del { font-size: 13px; font-weight: 500; color: var(--c-ash-500); margin-right: 4px; }
.p-card__price ins { text-decoration: none; }
.p-card__stock { margin: 0; font-size: 12px; color: var(--c-ash-500); }
.p-card__stock .is-low { color: var(--c-black); font-weight: 700; }
.p-card__actions { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.p-card__actions .button {
	flex: 1; min-width: 0; min-height: 40px !important; padding: 0 6px !important; margin: 0 !important;
	font-size: 12px !important; white-space: nowrap;
	display: inline-flex !important; align-items: center; justify-content: center; line-height: 1 !important;
}
@media (min-width: 640px) { .p-card__actions .button { font-size: 13px !important; padding: 0 10px !important; } }
.p-card__actions .added_to_cart { display: none !important; }
.p-card__wa {
	display: grid; place-items: center; flex: 0 0 40px; height: 40px;
	border-radius: var(--radius-sm); background: var(--c-wa); color: #fff;
}
.p-card__wa:hover { background: var(--c-wa-dark); }
.p-card__wa .icon { width: 20px; height: 20px; }

/* ---------- Carousels ---------- */
.section__tools { display: flex; align-items: center; gap: 8px; }
.carousel-btn {
	display: none; width: 36px; height: 36px; place-items: center; padding: 0;
	border: 1px solid var(--c-ash-100); border-radius: 50%; background: var(--c-bg); color: var(--c-black);
}
.carousel-btn:hover:not(:disabled) { border-color: var(--c-black); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn .icon { width: 18px; height: 18px; }
.carousel-btn--prev .icon { rotate: 90deg; }
.carousel-btn--next .icon { rotate: -90deg; }
.carousel__track, .hero-slider__track { position: relative; }
.carousel__track {
	list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 calc((100% - 12px) / 2.2); scroll-snap-align: start; }

/* ---------- Brand strip ---------- */
.section--alt { background: var(--c-ash-50); }
.section__head--center { justify-content: center; text-align: center; }
.brand-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-chip {
	display: grid; place-items: center; min-width: 120px; height: 64px; padding: 10px 18px;
	background: var(--c-bg); border: 1px solid var(--c-ash-100); border-radius: var(--radius);
	text-decoration: none; transition: border-color .15s;
}
.brand-chip:hover { border-color: var(--c-black); }
.brand-chip img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.brand-chip:hover img { filter: none; opacity: 1; }
.brand-chip span { font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ash-700); }

/* ---------- Shared bits ---------- */
.btn--outline { background: var(--c-bg); color: var(--c-black); border-color: var(--c-ash-300); }
.btn--outline:hover { background: var(--c-ash-50); color: var(--c-black); border-color: var(--c-black); }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 54px; font-size: 16px; }
.badge--outline { background: var(--c-bg); color: var(--c-black); border: 1px solid var(--c-ash-300); }
.muted { color: var(--c-ash-500); }
.small { font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="search"], textarea, select {
	font: inherit; color: var(--c-ink);
}
.field { margin: 0 0 14px; border: 0; padding: 0; }
.field > label, .field > legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; color: var(--c-black); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .list-row__qty select, .woocommerce-ordering select, .price-range input {
	width: 100%; min-height: 46px; padding: 10px 12px;
	border: 1px solid var(--c-ash-300); border-radius: var(--radius-sm); background: var(--c-bg);
	font-size: 16px; /* 16px stops iOS zooming into fields */
}
.field input:focus, .field textarea:focus, select:focus, .price-range input:focus { outline: 2px solid var(--c-black); outline-offset: 0; border-color: var(--c-black); }

/* ---------- Single product page ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.single-product div.product > * { grid-column: 1 / -1; min-width: 0; }
/* WooCommerce's default purple "alt" button → black */
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt {
	background: var(--c-black) !important; border-color: var(--c-black) !important; color: #fff !important;
}
.woocommerce .button.alt:hover { background: var(--c-ash-900) !important; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img { border-radius: var(--radius); background: var(--c-ash-50); }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin: 10px 0 0 !important; padding: 0; overflow-x: auto; }
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 72px; width: 72px !important; float: none !important; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: var(--radius-sm); border: 1px solid var(--c-ash-100); opacity: .6; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--c-black); }
.woocommerce-product-gallery__trigger { z-index: 2; }

.summary .pp-brand { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ash-500); text-decoration: none; margin-bottom: 6px; }
.summary .product_title { font-size: clamp(22px, 4.5vw, 30px); margin-bottom: 8px; }
.summary .woocommerce-product-rating { margin-bottom: 8px !important; font-size: 14px; }
.summary p.price { font-size: 26px !important; font-weight: 800; margin: 6px 0 10px !important; }
.summary p.price del { font-size: 17px; color: var(--c-ash-500); font-weight: 500; }
.summary p.price ins { text-decoration: none; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pp-badges .badge { font-size: 12px; padding: 6px 10px; }
.summary .woocommerce-product-details__short-description { color: var(--c-ash-700); }
.pp-included { font-size: 15px; color: var(--c-ash-700); }
.summary .stock { font-size: 14px; font-weight: 600; color: var(--c-black) !important; margin-bottom: 10px; }
.summary .stock.out-of-stock { color: var(--c-ash-500) !important; }
.summary form.cart { display: flex; gap: 10px; margin: 0 0 10px !important; }
.summary form.cart .quantity input { width: 72px; min-height: 50px; text-align: center; border: 1px solid var(--c-ash-300); border-radius: var(--radius-sm); font-size: 16px; }
.summary form.cart .quantity:has(input[type="hidden"]) { display: none; }
.summary form.cart::before, .summary form.cart::after { display: none !important; } /* Woo clearfix = phantom flex items */
.summary form.cart .single_add_to_cart_button { flex: 1; margin-left: 0 !important; min-height: 50px; font-size: 16px; }
.pp-wa { min-height: 50px; margin-bottom: 18px; }
.pp-info { list-style: none; margin: 0 0 8px; padding: 14px; display: grid; gap: 12px; background: var(--c-ash-50); border-radius: var(--radius); font-size: 14px; color: var(--c-ash-700); }
.pp-info li { display: flex; gap: 10px; align-items: flex-start; }
.pp-info .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--c-black); }
.pp-info strong { color: var(--c-black); }

/* Tabs */
.woocommerce-tabs { margin-top: 8px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin: 0 0 16px !important; padding: 0 !important; border-bottom: 1px solid var(--c-ash-100); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 14px !important; font-weight: 600 !important; color: var(--c-ash-500) !important; white-space: nowrap; border-bottom: 2px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: var(--c-black) !important; border-bottom-color: var(--c-black); }
.woocommerce-Tabs-panel { color: var(--c-ash-700); }
.woocommerce table.shop_attributes { border-color: var(--c-ash-100); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 12px; border-color: var(--c-ash-100); font-style: normal; }
.woocommerce table.shop_attributes th { width: 40%; color: var(--c-black); background: var(--c-ash-50); }
#reviews .comment-form input, #reviews .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--c-ash-300); border-radius: var(--radius-sm); font-size: 16px; }
.related.products > h2, .upsells.products > h2 { font-size: 22px; margin: 16px 0; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	border-top: 0 !important; border-left: 4px solid var(--c-black); border-radius: var(--radius-sm);
	background: var(--c-ash-50) !important; color: var(--c-ink) !important; padding: 14px 16px !important; margin-bottom: 20px !important;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button { order: 2; min-height: 38px !important; margin-left: auto; float: none !important; }
.woocommerce-error { border-left-color: #b42318; list-style: none; }

/* ---------- Shop / category pages ---------- */
.shop-header .page-title { margin-bottom: .3em; }
.shop-header .term-description { color: var(--c-ash-700); max-width: 70ch; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin: 8px 0 12px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip {
	flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--c-ash-100); border-radius: 999px;
	font-size: 14px; font-weight: 600; text-decoration: none; color: var(--c-ash-700); background: var(--c-bg);
}
.chip:hover { border-color: var(--c-black); color: var(--c-black); }
.chip.is-active { background: var(--c-black); border-color: var(--c-black); color: #fff; }

.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.shop-toolbar .woocommerce-result-count { margin: 0 !important; font-size: 14px; color: var(--c-ash-500); order: 3; width: 100%; }
.shop-toolbar .woocommerce-ordering { margin: 0 0 0 auto !important; }
.woocommerce-ordering select { min-height: 42px; padding: 8px 12px; font-size: 14px; }
.filters-toggle { min-height: 42px; gap: 8px; }
.filters-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-black); color: #fff; font-size: 12px; }

/* Filters: slide-in panel on mobile */
.shop-filters {
	position: fixed; inset: 0 0 0 auto; z-index: 210; width: min(88vw, 360px);
	background: var(--c-bg); overflow-y: auto; padding: 0 var(--gutter) 24px;
	transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	box-shadow: var(--shadow);
}
.shop-filters.is-open { transform: none; visibility: visible; }
.filters__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; background: var(--c-bg); border-bottom: 1px solid var(--c-ash-100); margin-bottom: 12px; }
.filters__title { font-size: 18px; margin: 0; }
.filters__group { border: 0; padding: 0; margin: 0 0 20px; }
.filters__group legend { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; padding: 0; color: var(--c-black); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--c-black); }
.check small { margin-left: auto; color: var(--c-ash-500); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range label { flex: 1; }
.price-range input { min-height: 42px; }
.filters__actions { display: flex; gap: 8px; }
.filters__actions .btn { flex: 1; }

.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; display: grid !important; place-items: center; padding: 0 10px !important;
	border: 1px solid var(--c-ash-100); border-radius: var(--radius-sm);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--c-black) !important; color: #fff !important; border-color: var(--c-black); }
.shop-empty { padding: 40px 0; text-align: center; }
.shop-empty .btn { margin: 4px; }

/* ---------- List page ---------- */
.list-layout { display: grid; gap: 24px; align-items: start; }
.list-items__rows { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--c-ash-100); }
.list-row {
	display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "img info remove" "img qty total";
	gap: 6px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-ash-100);
}
.list-row__img { grid-area: img; align-self: start; }
.list-row__img img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--c-ash-50); display: block; }
.list-row__info { grid-area: info; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.list-row__name { font-weight: 600; text-decoration: none; color: var(--c-black); line-height: 1.3; }
.list-row__price, .list-row__meta { font-size: 13px; color: var(--c-ash-500); }
.list-row__qty { grid-area: qty; }
.list-row__qty select { width: auto; min-height: 38px; padding: 6px 28px 6px 10px; font-size: 15px; }
.list-row__total { grid-area: total; font-weight: 800; text-align: right; }
.list-row__remove { grid-area: remove; justify-self: end; width: 36px; height: 36px; color: var(--c-ash-500); }
.list-row__remove .icon { width: 18px; height: 18px; }
.list-update { min-height: 40px; }
.js .list-update { display: none; }

.list-summary { padding: 18px; border: 1px solid var(--c-ash-100); border-radius: var(--radius); background: var(--c-bg); }
.list-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 18px; }
.list-total strong { font-size: 24px; }
.send-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-ash-100); }
.method-choice { display: grid; gap: 8px; }
.field > label.radio-card { display: flex; font-weight: 400; margin: 0; }
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus { outline: none; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--c-ash-300); border-radius: var(--radius-sm); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--c-black); background: var(--c-ash-50); box-shadow: inset 0 0 0 1px var(--c-black); }
.radio-card input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-black); flex-shrink: 0; }
.radio-card strong { display: block; font-size: 15px; }
.radio-card small { display: block; font-size: 13px; color: var(--c-ash-500); line-height: 1.4; margin-top: 2px; }
.form-errors { margin-bottom: 14px; padding: 12px 14px; border-left: 4px solid #b42318; background: #fdf2f1; border-radius: var(--radius-sm); font-size: 14px; color: #7a1a12; }
.form-errors ul { margin: 0; padding-left: 18px; }

.list-empty, .list-sent { max-width: 560px; margin: 24px auto; text-align: center; }
.list-empty__icon, .list-sent__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-ash-50); margin-bottom: 12px; }
.list-sent__icon { background: var(--c-wa); color: #fff; }
.list-empty__icon .icon, .list-sent__icon .icon { width: 34px; height: 34px; }

/* ---------- Contact page ---------- */
.contact-intro { max-width: 70ch; margin-bottom: 20px; }
.contact-grid { display: grid; gap: 20px; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card {
	display: flex; gap: 14px; align-items: flex-start; padding: 16px;
	border: 1px solid var(--c-ash-100); border-radius: var(--radius); background: var(--c-bg);
	text-decoration: none; color: var(--c-ash-700); font-size: 15px;
}
a.contact-card:hover { border-color: var(--c-black); }
.contact-card > .icon { width: 26px; height: 26px; color: var(--c-black); margin-top: 2px; }
.contact-card strong { display: block; color: var(--c-black); font-size: 16px; margin-bottom: 2px; }
.contact-card--wa { background: var(--c-wa); border-color: var(--c-wa); color: #fff; }
.contact-card--wa > .icon, .contact-card--wa strong { color: #fff; }
a.contact-card--wa:hover { background: var(--c-wa-dark); border-color: var(--c-wa-dark); }
.contact-link { display: block; margin-top: 6px; font-weight: 600; color: var(--c-black); }
.contact-link--muted { font-weight: 500; color: var(--c-ash-700); margin-top: 2px; }
.contact-map { min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--c-ash-50); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.bank-details { padding: 14px 16px; background: var(--c-ash-50); border-left: 4px solid var(--c-black); border-radius: var(--radius-sm); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; }

/* ---------- Shop grid (uses the same card) ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 32px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0; }

/* ---------- Sections ---------- */
.section { padding-block: 40px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section__title { font-size: clamp(20px, 4vw, 26px); margin: 0; }
.section__link { font-size: 14px; font-weight: 600; color: var(--c-ash-700); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-tile {
	display: flex; flex-direction: column; gap: 4px;
	padding: 12px; border: 1px solid var(--c-ash-100); border-radius: var(--radius);
	background: var(--c-bg); text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--c-ash-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile__img {
	display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px;
	background: var(--c-ash-50); border-radius: var(--radius-sm); overflow: hidden; color: var(--c-ash-300);
}
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__img .icon { width: 40%; height: 40%; stroke-width: 1.2; }
.cat-tile__name { font-weight: 700; font-size: 15px; color: var(--c-black); }
.cat-tile__count { font-size: 13px; color: var(--c-ash-500); }

/* ---------- Value props ---------- */
.value-props { background: var(--c-ash-50); border-top: 1px solid var(--c-ash-100); }
.value-props__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; padding-block: 28px; }
.value-prop { display: flex; align-items: flex-start; gap: 10px; }
.value-prop .icon { width: 28px; height: 28px; color: var(--c-black); }
.value-prop strong { display: block; font-size: 14px; color: var(--c-black); }
.value-prop span { display: block; font-size: 13px; color: var(--c-ash-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-black); color: var(--c-ash-300); font-size: 14px; }
.site-footer a { color: var(--c-ash-100); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo, .site-footer .logo__mark { color: #fff; }
.site-footer .logo__mark { --c-bg: var(--c-black); }
.footer-grid { display: grid; gap: 28px; padding-block: 40px; }
.footer-brand p { margin-top: 14px; max-width: 40ch; }
.footer-note { font-size: 13px; color: var(--c-ash-500); }
.footer-title { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contact { margin-bottom: 16px !important; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--c-ash-500); }
.site-footer .btn--wa { color: #fff; }
.social-link { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: 8px; border: 1px solid var(--c-ash-700); border-radius: 50%; vertical-align: middle; }
.social-link .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--c-ash-900); font-size: 13px; }
.footer-bottom p { margin: 0; padding-block: 16px; color: var(--c-ash-500); }

/* Floating WhatsApp */
.wa-float {
	position: fixed; right: 16px; bottom: 16px; z-index: 90;
	display: grid; place-items: center; width: 56px; height: 56px;
	background: var(--c-wa); color: #fff; border-radius: 50%;
	box-shadow: 0 6px 20px rgb(0 0 0 / .25);
	transition: transform .15s, background .15s;
}
.wa-float:hover { transform: scale(1.06); background: var(--c-wa-dark); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- WooCommerce basics (refined in phase 3) ---------- */
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--c-ash-500); margin-bottom: 16px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--c-ash-700); }
.woocommerce span.onsale { background: var(--c-sale); border-radius: var(--radius-sm); min-height: 0; min-width: 0; line-height: 1; padding: 6px 8px; font-size: 12px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--c-black); font-weight: 700; }
.woocommerce .star-rating span::before { color: var(--c-black); }

/* ==========================================================================
   Phones only (< 640px): simpler, calmer banner + product cards
   ========================================================================== */
@media (max-width: 639px) {
	/* Banner: short 5:4 photo with a small heading + button over the top of it */
	.slide.has-image .slide__text { display: none; }
	.slide.has-image .slide__content { padding-top: 16px; padding-bottom: 16px; }
	.slide.has-image .slide__title {
		font-size: 20px; line-height: 1.2; max-width: 22ch; margin-bottom: 0;
		text-shadow: 0 1px 12px rgb(0 0 0 / .45);
	}
	.slide.has-image .slide__actions { margin-top: 10px; }
	.slide.has-image .slide__actions .btn { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
	/* the banner image already has a dark band at the top; only a light extra shade here */
	.slide.has-image.has-text::after { background: linear-gradient(180deg, rgb(0 0 0 / .3) 0%, transparent 40%); }
	.slider-dots { bottom: 10px; }

	/* Product cards: photo, name, price, two small icon buttons */
	.p-card__brand, .p-card__stock, .p-card__rating { display: none; }
	.p-card__body { padding: 10px 10px 12px; gap: 2px; }
	.p-card__title { font-size: 13.5px; font-weight: 600; }
	.p-card__price { font-size: 15px; margin-top: 4px; }
	.p-card__price del { display: block; font-size: 12px; margin: 0; }
	.badge { font-size: 10px; padding: 4px 7px; }
	.p-card__actions { gap: 6px; padding-top: 10px; }
	.p-card__actions .button {
		min-height: 36px !important; font-size: 0 !important; /* hide the words, keep the icon */
		background: var(--c-bg) !important; color: var(--c-black) !important; border: 1px solid var(--c-ash-300) !important;
	}
	.p-card__actions .button::before {
		content: ""; width: 18px; height: 18px; background: currentColor;
		-webkit-mask: var(--icon-list) center / contain no-repeat; mask: var(--icon-list) center / contain no-repeat;
	}
	.p-card__actions .button.added::before { -webkit-mask-image: var(--icon-check); mask-image: var(--icon-check); }
	.p-card__actions .button::after { display: none !important; }
	.p-card__actions .button.loading { opacity: .5; }
	.p-card__wa { flex: 1; height: 36px; }
	.p-card__wa .icon { width: 18px; height: 18px; }
}

/* Icons used by the compact phone cards (same shapes as the inline SVG icons) */
:root {
	--icon-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3Cpath d='M12 11v5M9.5 13.5h5'/%3E%3C/svg%3E");
	--icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   ≥ 640px
   ========================================================================== */
@media (min-width: 640px) {
	.cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.admin-bar .site-header { top: 32px; }
	.carousel__item { flex-basis: calc((100% - 24px) / 3.2); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ≥ 768px — desktop banner shape (1920×700) */
@media (min-width: 768px) {
	.slide { aspect-ratio: 1920 / 700; justify-content: center; }
	.slide.no-image { min-height: 480px; }
	.slide.has-image.has-text::after {
		background: linear-gradient(90deg, rgb(0 0 0 / .7) 0%, rgb(0 0 0 / .35) 40%, transparent 60%);
	}
	.slide__content { padding-block: 48px 64px; }
	.slide.has-image .slide__content { padding-top: 48px; }
	.slide.has-image .slide__title { font-size: clamp(30px, 3.6vw, 52px); }
	.slider-arrow { display: grid; }
}

/* ==========================================================================
   ≥ 960px — desktop header, horizontal nav
   ========================================================================== */
@media (min-width: 960px) {
	:root { --gutter: 24px; }

	.header-main {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "logo search actions";
		gap: 32px; padding-block: 14px;
	}
	.menu-toggle { display: none; }
	.header-search { max-width: 620px; width: 100%; justify-self: center; }
	.header-wa__text { display: flex; flex-direction: column; line-height: 1.15; }
	.header-wa__text small { font-size: 12px; color: var(--c-ash-500); }
	.header-wa__text strong { font-size: 15px; color: var(--c-black); }
	.header-actions { gap: 8px; }

	.logo__mark { width: 36px; height: 36px; }
	.logo__text strong { font-size: 21px; }

	/* Nav becomes a black bar */
	.main-nav {
		position: static; width: auto; transform: none; visibility: visible; overflow: visible;
		background: var(--c-black);
	}
	.main-nav__head { display: none; }
	.main-nav__list { display: flex; gap: 4px; padding-block: 0; }
	.main-nav__list > li { position: relative; }
	.main-nav__list > li > a,
	.dropdown-toggle {
		width: auto; padding: 12px 14px; border: 0;
		color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em;
	}
	.main-nav__list > li:first-child > a { padding-left: 0; }
	.main-nav__list > li > a:hover, .dropdown-toggle:hover { color: var(--c-ash-300); }
	.dropdown-toggle { gap: 4px; }

	.dropdown {
		position: absolute; top: 100%; left: 0; z-index: 10;
		min-width: 260px; padding: 8px;
		background: var(--c-bg); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
	}
	.has-dropdown:hover .dropdown,
	.has-dropdown:focus-within .dropdown { display: block; }
	.dropdown a { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-ink); }
	.dropdown a:hover { background: var(--c-ash-50); }

	.nav-overlay { display: none; }

	.slide.no-image { min-height: 560px; }
	.section { padding-block: 56px; }
	.carousel-btn { display: grid; }
	.carousel__track { gap: 20px; }
	.carousel__item { flex-basis: calc((100% - 60px) / 4); }
	.woocommerce ul.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.p-card__title { font-size: 15px; }
	.p-card__price { font-size: 17px; }

	/* Product page: gallery left, details right */
	.single-product div.product { grid-template-columns: 1.1fr 1fr; gap: 48px; }
	.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
	.single-product div.product .summary { grid-column: 2; position: sticky; top: 140px; align-self: start; }

	/* Shop: filters become a sidebar */
	.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
	.shop-filters { position: sticky; top: 140px; inset: auto; z-index: auto; width: auto; padding: 0; transform: none; visibility: visible; box-shadow: none; overflow: visible; }
	.filters__head { position: static; padding-top: 0; }
	.filters-close, .filters-toggle { display: none; }
	.shop-toolbar .woocommerce-result-count { order: 0; width: auto; }
	.shop-layout .woocommerce ul.products, .shop-layout ul.products { grid-template-columns: repeat(3, 1fr); }

	/* Contact: cards left, map right */
	.contact-grid { grid-template-columns: 1fr 1.2fr; gap: 32px; }
	.contact-map, .contact-map iframe { min-height: 460px; }

	/* List page: items left, send form right */
	.list-layout { grid-template-columns: 1fr 400px; gap: 40px; }
	.list-summary { position: sticky; top: 140px; }
	.list-row { grid-template-columns: 88px 1fr 90px 120px 40px; grid-template-areas: "img info qty total remove"; }
	.list-row__img img { width: 88px; height: 88px; }
	.cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.value-props__grid { grid-template-columns: repeat(4, 1fr); padding-block: 36px; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px; }
	.wa-float { right: 24px; bottom: 24px; }
}

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

/* ---------- Sold items ---------- */
.p-card__price .is-sold { font-size: 14px; font-weight: 700; color: var(--c-ash-500); text-transform: uppercase; letter-spacing: .08em; }
.p-card.is-sold .p-card__price { color: var(--c-ash-500); }
.p-card.is-sold .p-card__title a { color: var(--c-ash-700); }
.pp-sold-note { padding: 12px 14px; background: var(--c-ash-50); border-left: 4px solid var(--c-ash-500); border-radius: var(--radius-sm); font-size: 15px; color: var(--c-ash-700); }
.pp-sold-link { margin-top: -6px; font-size: 14px; text-align: center; }
.pp-sold-link a { color: var(--c-black); font-weight: 600; }
.sold-intro { max-width: 70ch; color: var(--c-ash-700); }
.sold-cta { margin: 40px 0 8px; padding: 24px; text-align: center; background: var(--c-ash-50); border-radius: var(--radius); }
.sold-cta .btn { margin: 4px; }

/* ==========================================================================
   SimplyTek-style refresh (layout + typography), in PC Audio's black/ash/white.
   Later rules here intentionally override the earlier ones.
   ========================================================================== */
:root {
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--c-tile: #f3f3f4;
	--c-ok: #1a9e4b;
	--c-warn: #e8820c;
	--shadow-soft: 0 8px 28px rgb(17 17 17 / .08);
}
body { font-size: 15px; letter-spacing: .005em; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.01em; }
.btn, a.button, button.button { border-radius: 999px; font-weight: 500; }
.btn--pill { min-height: 40px; padding: 0 20px; font-size: 13.5px; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }

/* ---------- Announcement bar: slim, with arrows ---------- */
.announce { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.announce__inner { display: flex; align-items: center; gap: 8px; height: 34px; }
.announce__track { position: relative; flex: 1; height: 100%; overflow: hidden; }
.announce__arrow { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #fff; opacity: .8; }
.announce__arrow:hover { opacity: 1; }
.announce__arrow .icon { width: 16px; height: 16px; }
.announce__arrow--prev .icon { rotate: 90deg; }
.announce__arrow--next .icon { rotate: -90deg; }

/* ---------- Header: one slim row ---------- */
.site-header { border-bottom: 1px solid var(--c-ash-100); }
.header-main {
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "toggle logo actions";
	padding-block: 6px; gap: 8px;
}
.menu-toggle { justify-self: start; }
.header-logo { justify-self: center; }
.header-actions { justify-self: end; gap: 2px; }
.header-wa { color: var(--c-wa-dark); padding: 0; }
.header-wa .icon { width: 22px; height: 22px; }
.logo__text strong { font-weight: 700; }

/* Search panel (opened by the search icon) */
.header-search-panel { border-top: 1px solid var(--c-ash-100); background: var(--c-bg); padding-block: 12px; }
.header-search-panel[hidden] { display: none; }
.header-search {
	display: flex; align-items: center; gap: 10px;
	background: none; border: 0; border-radius: 0; overflow: visible;
}
.header-search > .icon { color: var(--c-ash-500); }
.header-search input[type="search"] {
	flex: 1; height: 46px; padding: 0 16px; border: 1px solid var(--c-ash-300); border-radius: 999px; background: var(--c-bg); font-size: 16px;
}
.header-search input[type="search"]:focus { border-color: var(--c-black); outline: none; }

/* Mobile drawer extras */
.main-nav__list { padding: 8px var(--gutter); }
.main-nav__wa { margin: 12px var(--gutter) 24px; width: calc(100% - var(--gutter) * 2); }
.dropdown__sep { border-top: 1px solid var(--c-ash-100); margin-top: 6px; padding-top: 6px; }

/* ---------- Hero ---------- */
.slide__actions .btn { border-radius: 999px; }

/* ---------- Promo tiles under the banner ---------- */
.promo-tiles { position: relative; z-index: 2; padding-top: 16px; }
.promo-tiles__grid {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-bottom: 10px;
}
.promo-tiles__grid::-webkit-scrollbar { display: none; }
.promo-tile {
	flex: 0 0 84%; scroll-snap-align: start;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 16px 16px 20px; background: var(--c-bg); border: 1px solid var(--c-ash-100);
	border-radius: var(--radius); box-shadow: var(--shadow-soft); text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.promo-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgb(17 17 17 / .12); }
.promo-tile__text { display: flex; flex-direction: column; gap: 10px; }
.promo-tile__text strong { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--c-black); }
.promo-tile__link { font-size: 13px; font-weight: 600; color: var(--c-ash-700); }
.promo-tile__img { flex: 0 0 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--c-tile); }
.promo-tile__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section headings ---------- */
.section__title { font-weight: 600; }
.section__title--lg { font-size: clamp(26px, 4.5vw, 40px); }
.section__head--center { flex-direction: column; align-items: center; gap: 4px; }
.section__sub { margin: 0; color: var(--c-ash-700); font-size: 15px; }
.section__tools .btn { white-space: nowrap; }

/* ---------- Product cards: borderless, photo on a soft tile ---------- */
.p-card { border: 0; background: transparent; overflow: visible; }
.p-card:hover { box-shadow: none; }
.p-card__media { border-radius: var(--radius); background: var(--c-tile); }
.p-card:hover .p-card__media img:only-of-type { transform: scale(1.03); }
.p-card__body { padding: 12px 2px 0; }
.p-card__title { font-weight: 500; }
.p-card__title a:hover { text-decoration: none; color: var(--c-ash-700); }
.p-card__price { font-weight: 600; }
.badge { border-radius: 999px; padding: 5px 10px; font-weight: 600; }
.p-card__stock { display: flex; align-items: center; gap: 6px; }
.p-card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-ok); flex-shrink: 0; }
.p-card__stock:has(.is-low)::before { background: var(--c-warn); }
.p-card__stock .is-low { color: var(--c-warn); font-weight: 600; }
.p-card.is-sold .p-card__stock::before { background: var(--c-ash-300); }
.p-card__actions .button { border-radius: 999px !important; }
.p-card__wa { border-radius: 999px; }

/* ---------- Popular Categories: big photo tiles ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento__tile {
	position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius);
	overflow: hidden; background: var(--c-black); text-decoration: none; color: #fff;
}
.bento__tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.bento__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bento__tile:hover .bento__img { transform: scale(1.05); }
.bento__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .05) 30%, rgb(0 0 0 / .65) 100%); }
.bento__text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.bento__text strong { font-size: 17px; font-weight: 600; line-height: 1.2; }
.bento__text span { font-size: 13px; opacity: .9; }
.bento__tile:first-child .bento__text strong { font-size: 24px; }

/* ---------- Brands: scrolling strip ---------- */
.brand-strip { overflow: hidden; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__list {
	flex-shrink: 0; display: flex; align-items: center; gap: 12px; margin: 0; padding: 4px 6px; list-style: none;
	animation: pca-marquee 40s linear infinite;
}
.marquee:hover .marquee__list { animation-play-state: paused; }
@keyframes pca-marquee { to { transform: translateX(-100%); } }
.brand-chip { min-width: 150px; height: 70px; border: 1px solid var(--c-ash-100); border-radius: var(--radius); background: var(--c-bg); }
.brand-chip span { font-size: 18px; font-weight: 700; letter-spacing: .12em; color: var(--c-ash-500); }
.brand-chip:hover span { color: var(--c-black); }
@media (prefers-reduced-motion: reduce) {
	.marquee { overflow-x: auto; }
	.marquee__list { animation: none; }
	.marquee__list[aria-hidden="true"] { display: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
	.header-main { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav actions"; padding-block: 0; gap: 24px; }
	.header-logo { justify-self: start; }
	.main-nav { grid-area: nav; display: flex; justify-content: center; background: none; }
	.main-nav__list { gap: 30px; padding: 0; }
	.main-nav__list > li > a, .dropdown-toggle {
		color: var(--c-ink); font-size: 14px; font-weight: 500; letter-spacing: 0; padding: 26px 0;
	}
	.main-nav__list > li:first-child > a { padding-left: 0; }
	.main-nav__list > li > a:hover, .dropdown-toggle:hover { color: var(--c-ash-500); }
	.main-nav__wa { display: none; }
	.dropdown { top: calc(100% - 8px); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-soft); border: 1px solid var(--c-ash-100); }
	.header-actions { gap: 6px; }

	.slider-arrow { top: auto; bottom: 22px; translate: none; width: 40px; height: 40px; }
	.slider-arrow--prev { left: auto; right: 72px; }
	.slider-arrow--next { right: 24px; }

	.promo-tiles { margin-top: -46px; padding-top: 0; }
	.promo-tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; padding-bottom: 0; }
	.promo-tile { padding: 20px 20px 20px 26px; }
	.promo-tile__img { flex-basis: 96px; height: 96px; }

	.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
	.bento__tile, .bento__tile:first-child { aspect-ratio: auto; }
	.bento__tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
	.bento__tile:nth-child(2) { grid-column: span 2; }
	.bento--1 .bento__tile:nth-child(1) { grid-column: 1 / -1; }
	.bento--2 .bento__tile:nth-child(2) { grid-row: span 2; }
	.bento--3 .bento__tile:nth-child(3) { grid-column: span 2; }
	.bento__text { left: 26px; bottom: 22px; }
	.bento__text strong { font-size: 24px; }
	.bento__tile:first-child .bento__text strong { font-size: 36px; }
	.bento__text span { font-size: 14px; }
}

/* Phones keep the simplified cards (no stock line), but the dots look good on larger screens. */
@media (max-width: 639px) {
	.p-card__body { padding: 10px 2px 0; }
	.section__tools .btn { min-height: 32px; padding: 0 12px; font-size: 12px; }
}

/* Refresh fixes */
.announce__item { display: block; line-height: 34px; text-align: center; padding-inline: 4px; }
@media (max-width: 639px) {
	.announce { font-size: 10.5px; letter-spacing: .04em; }
	/* odd tile out after the big first tile → make it full width */
	.bento__tile:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
	.hero-slider:has(+ .promo-tiles) .slider-arrow { bottom: 66px; }
	.hero-slider:has(+ .promo-tiles) .slider-dots { bottom: 60px; }
}
@media (max-width: 959px) { .promo-tiles__grid { scroll-padding-inline: var(--gutter); } }

/* ---------- Search drawer (slides in from the right) ---------- */
.search-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 300;
	width: min(100vw, 440px); display: flex; flex-direction: column;
	background: var(--c-bg); box-shadow: -12px 0 40px rgb(0 0 0 / .15);
	transform: translateX(100%); transition: transform .28s ease;
}
.search-drawer.is-open { transform: none; }
.search-drawer[hidden] { display: none; }
.search-overlay { position: fixed; inset: 0; z-index: 290; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .28s; }
.search-overlay.is-open { opacity: 1; }
.search-overlay[hidden] { display: none; }
.admin-bar .search-drawer { top: 32px; }
.search-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--c-ash-100); }
.search-drawer__title { margin: 0; font-size: 18px; }
.search-drawer__form { position: relative; margin: 18px 20px 6px; }
.search-drawer__form input[type="search"] {
	width: 100%; height: 50px; padding: 0 52px 0 18px; border: 1px solid var(--c-ash-300); border-radius: 999px;
	background: var(--c-bg); font: inherit; font-size: 16px; color: var(--c-ink);
}
.search-drawer__form input[type="search"]:focus { outline: none; border-color: var(--c-black); }
.search-drawer__form button { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--c-black); color: #fff; }
.search-drawer__form button .icon { width: 18px; height: 18px; }
.search-drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px 28px; }
.search-drawer__label { margin: 22px 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ash-500); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chips .chip { font-size: 13px; font-weight: 500; }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 8px; margin-inline: -8px; border-radius: 12px; text-decoration: none; }
.search-item:hover { background: var(--c-ash-50); }
.search-item__img { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--c-tile); }
.search-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-item__text strong { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--c-black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-item__text > span { font-size: 14px; font-weight: 600; color: var(--c-black); }
.search-item__text del { color: var(--c-ash-500); font-weight: 400; margin-right: 4px; }
.search-item__text ins { text-decoration: none; }
.search-all { margin-top: 16px; width: 100%; }
.search-empty { margin: 22px 0; color: var(--c-ash-700); }
.search-empty a { color: var(--c-black); font-weight: 600; }
.search-drawer__form input[type="search"]::-webkit-search-cancel-button,
.search-drawer__form input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* Phones/small tablets (mobile banner image): photo only — no heading/button;
   the button is stretched invisibly over the whole slide so the banner stays tappable. */
@media (max-width: 767px) {
	.slide.has-image .slide__title, .slide.has-image .slide__text { display: none; }
	.slide.has-image .slide__content { position: static; padding: 0; }
	.slide.has-image .slide__actions { margin: 0; }
	.slide.has-image .slide__actions .btn {
		position: absolute; inset: 0; z-index: 1; min-height: 0; padding: 0; border: 0; border-radius: 0;
		background: transparent; color: transparent; font-size: 0; box-shadow: none;
	}
	.slide.has-image .slide__actions .btn--wa { display: none; }
	.slide.has-image.has-text::after { display: none; }
}

/* ==========================================================================
   Full-width layout: content fills the screen (side padding grows a little on big screens)
   ========================================================================== */
:root { --container: 2200px; }
@media (min-width: 960px)  { :root { --gutter: clamp(24px, 3vw, 56px); } }

/* More cards per row as the screen gets wider */
@media (min-width: 1400px) {
	.carousel__item { flex-basis: calc((100% - 80px) / 5); }
	.woocommerce ul.products { grid-template-columns: repeat(5, 1fr); }
	.shop-layout .woocommerce ul.products, .shop-layout ul.products { grid-template-columns: repeat(4, 1fr); }
	.bento { grid-auto-rows: 300px; }
	.slide.no-image { min-height: 620px; }
}
@media (min-width: 1800px) {
	.carousel__item { flex-basis: calc((100% - 100px) / 6); }
	.woocommerce ul.products { grid-template-columns: repeat(6, 1fr); }
	.shop-layout .woocommerce ul.products, .shop-layout ul.products { grid-template-columns: repeat(5, 1fr); }
	.bento { grid-auto-rows: 340px; }
	.promo-tile__img { flex-basis: 110px; height: 110px; }
}
