/* ARP Mart 2.0: modern, simple store design */

:root {
	--accent: #2563eb;
	--accent-dark: color-mix(in srgb, var(--accent) 82%, #000);
	--accent-soft: color-mix(in srgb, var(--accent) 8%, #fff);
	--buy: #ffb100;
	--buy-hover: #ffc233;
	--buy-edge: #e09a00;
	--ink: #111827;
	--muted: #6b7280;
	--line: #e5e7eb;
	--bg: #ffffff;
	--bg-soft: #f6f7f9;
	--good: #0f8a4b;
	--bad: #c2410c;
	--star: #f5a300;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 30px rgba(17, 24, 39, .07);
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
del { color: var(--muted); }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, #fff); outline-offset: 2px; border-radius: 6px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }

/* ---------- Disclosure bar + header ---------- */
.disclosure-bar { background: var(--ink); color: #d1d5db; font-size: .78rem; text-align: center; padding: 6px 0; }

.site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand .custom-logo { max-height: 42px; width: auto; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }

.primary-nav { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: flex-end; min-width: 0; }
.primary-nav .menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.primary-nav .menu a { display: block; padding: 8px 13px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .93rem; white-space: nowrap; }
.primary-nav .menu a:hover, .primary-nav .menu .current-menu-item > a, .primary-nav .menu .current-cat > a { background: var(--bg-soft); color: var(--accent-dark); }

.search-form { display: flex; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.search-form input[type="search"] { border: 0; padding: 9px 14px; font: inherit; font-size: .9rem; min-width: 0; width: 190px; background: transparent; color: var(--ink); }
.search-form input[type="search"]:focus { outline: none; }
.search-form:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.search-form button { border: 0; background: var(--ink); color: #fff; padding: 0 16px; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.search-form button:hover { background: var(--accent); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -6px; }
.nav-toggle-bars::after { left: 0; right: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
	border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-buy { background: var(--buy); color: #1f1500; box-shadow: 0 2px 0 var(--buy-edge); }
.btn-buy::after { content: "\2192"; font-weight: 800; }
.btn-buy:hover { background: var(--buy-hover); color: #1f1500; }
.btn-buy.btn-muted { background: #e5e7eb; color: #374151; box-shadow: none; }
.btn-buy.btn-muted:hover { background: #d1d5db; color: #111827; }
.btn { white-space: nowrap; }
.btn-small { padding: 9px 14px; font-size: .88rem; }
.btn-small.btn-buy::after { display: none; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(900px 340px at 80% -20%, color-mix(in srgb, var(--accent) 14%, #fff), transparent 70%), var(--bg-soft); padding: clamp(44px, 8vw, 88px) 0 clamp(32px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 820px; }
.hero h1 { margin-bottom: .35em; }
.hero-text { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-bottom: 1.5em; }
.hero-search { display: flex; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font: inherit; background: transparent; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-search button { border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 24px; font: inherit; font-weight: 700; cursor: pointer; }
.hero-search button:hover { background: var(--accent-dark); }
.hero .chips { margin-top: 22px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 750; color: var(--accent); margin: 0 0 .7em; }

/* ---------- Sections ---------- */
.section { padding: clamp(34px, 5.5vw, 60px) 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-link { font-weight: 650; text-decoration: none; white-space: nowrap; font-size: .92rem; }
.section-link:hover { text-decoration: underline; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trio-item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.trio-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d1d5db; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; padding: 16px; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #c4c8d0; background: var(--bg-soft); border-radius: 10px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 18px 18px; flex: 1; }
.card-cat { margin: 0; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; color: var(--accent); }
.card-title { font-size: 1rem; line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.card-title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title a:hover { color: var(--accent); }
.card-rating { min-height: 1.3em; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 1.8em; }
.card-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.card-actions .btn { flex: 1 1 0; }
.card.is-oos .card-media img { opacity: .55; filter: grayscale(.4); }

.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .01em; line-height: 1.3; }
.badge-deal { background: #dc2626; color: #fff; }
.badge-oos { background: #374151; color: #fff; }
.badge-inline { position: static; display: inline-block; vertical-align: middle; }

.price { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.price-lg { font-size: 2rem; }
.price-old { font-size: .9rem; }
.price-check { font-size: .88rem; color: var(--muted); font-weight: 550; }
.price-age { font-size: .76rem; color: var(--muted); }
.buy-time-stale { color: #9a3412; }
.price-check-lg { font-size: 1.1rem; }

.stock { margin: 0; font-size: .9rem; font-weight: 650; }
.stock .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: currentColor; }
.stock-in { color: var(--good); }
.stock-out { color: var(--bad); }
.stock-unknown { color: var(--muted); }
.stock-lg { font-size: 1.3rem; font-weight: 800; }

/* Stars */
.stars { display: inline-flex; align-items: center; gap: 1px; }
.star { color: #d1d5db; font-size: 1rem; line-height: 1; }
.star.on { color: var(--star); }
.star.half { background: linear-gradient(90deg, var(--star) 50%, #d1d5db 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars-num { margin-left: 6px; font-size: .85rem; font-weight: 750; }
.stars-count { margin-left: 4px; font-size: .82rem; color: var(--muted); }

/* ---------- Chips, headings, pagination ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.chip { display: inline-block; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.page-head { padding: 30px 0 24px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .3em; }
.page-intro { color: var(--muted); max-width: 680px; }
.page-search { max-width: 460px; margin-top: 12px; }
.page-search .search-form, .page-search .search-form input[type="search"] { width: 100%; }

.breadcrumbs { font-size: .83rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

.empty { text-align: center; padding: 48px 20px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9rem; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--accent); }

/* ---------- Product page ---------- */
.product { padding: 26px 0 8px; }
.admin-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 10px 14px; border-radius: 10px; font-size: .88rem; }

.pdp {
	display: grid; gap: 8px clamp(20px, 3vw, 44px); align-items: start;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, .8fr);
	grid-template-areas: "gallery info buy" "about about about";
}
.pdp-gallery { grid-area: gallery; }
.pdp-info { grid-area: info; }
.pdp-buy { grid-area: buy; }
.pdp-about { grid-area: about; max-width: 900px; margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.gallery:not(:has(.gallery-thumbs)) { grid-template-columns: 1fr; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow: auto; }
.thumb { width: 64px; height: 64px; padding: 4px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover, .thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; min-height: 320px; }
.gallery-main img { width: 100%; max-height: 520px; object-fit: contain; }

.pdp-title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin-bottom: .4em; }
.pdp-brand { color: var(--muted); font-size: .92rem; margin-bottom: .5em; }
.pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .9rem; margin-bottom: 1em; }

.pdp-about h2 { font-size: 1.15rem; margin-top: .6em; }
.about-list { margin: 0; padding-left: 1.2em; }
.about-list li { margin-bottom: .55em; color: #374151; }
.about-list li::marker { color: var(--accent); }

.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.buy-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 .5em; }
.buy-action { margin: 18px 0 0; }
.buy-action .btn { width: 100%; padding: 16px 24px; font-size: 1.05rem; }
.buy-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.buy-time { margin: 14px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.45; }
.aff-note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); line-height: 1.45; }

.pdp-sections { max-width: 900px; padding: clamp(26px, 4vw, 44px) 0 0; }
.pdp-block { padding: 26px 0; border-top: 1px solid var(--line); }
.pdp-block h2 { font-size: 1.35rem; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo { display: block; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; transition: border-color .15s, box-shadow .15s; }
.photo:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: contain; }

.details-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.details-table th, .details-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.details-table th { width: 200px; background: var(--bg-soft); font-weight: 650; color: #374151; }

.review-summary { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.review-score { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.review-score span { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.review-count { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

.final-cta { margin: 14px 0 40px; padding: 28px; text-align: center; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff); border-radius: var(--radius); }
.final-cta p { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.final-cta .btn { padding: 15px 32px; font-size: 1.05rem; }

.sticky-buy { display: none; }

/* ---------- Pages / text ---------- */
.article { padding: 32px 0 60px; }
.article-title { margin-bottom: .5em; }

.prose { font-size: 1.02rem; line-height: 1.75; color: #1f2937; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 10px; }
.prose blockquote { margin: 1.4em 0; padding: .3em 1.2em; border-left: 4px solid var(--accent); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); }
.product .prose { font-size: .98rem; }

.not-found { text-align: center; }
.not-found .search-form { max-width: 440px; margin: 20px auto; }

/* ---------- Photo viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(17, 24, 39, .88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 88vh; object-fit: contain; background: #fff; border-radius: 12px; }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b6bcc8; }
.site-footer a { color: #e5e7eb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .4em; letter-spacing: -.02em; }
.footer-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; font-weight: 750; margin-bottom: 12px; }
.footer-list, .site-footer .menu, .social { list-style: none; margin: 0; padding: 0; }
.footer-list li, .site-footer .menu li { margin-bottom: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; font-size: .78rem; color: #9aa1af; }
.footer-legal p { margin-bottom: .6em; }
.footer-legal strong { color: #e5e7eb; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid-4 { grid-template-columns: repeat(3, 1fr); }
	.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "gallery info" "gallery buy" "about about"; }
	.pdp-buy { position: static; }
}

@media (max-width: 860px) {
	.admin-bar .site-header { top: 46px; }
	.nav-toggle { display: block; }
	.primary-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 20px; box-shadow: var(--shadow); }
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu a { padding: 12px; }
	.search-form input[type="search"] { width: 100%; flex: 1; }
	.pdp { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "buy" "about"; }
	.pdp-gallery { position: static; }
	.trio { grid-template-columns: 1fr; gap: 18px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
	.grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
	.details-table th { width: 130px; }
}

@media (max-width: 720px) {
	body.single-post { padding-bottom: 76px; }
	.sticky-buy {
		display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(17, 24, 39, .08);
	}
	.sticky-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
	.sticky-title { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.sticky-price { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
	.sticky-buy .btn { flex-shrink: 0; }
}

@media (max-width: 560px) {
	.grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.card-media { padding: 6px; }
	.card-body { padding: 4px 11px 12px; gap: 5px; }
	.card-title { font-size: .9rem; }
	.card-actions .btn-ghost { display: none; }
	.card-actions .btn { width: 100%; }
	.badge { top: 8px; left: 8px; font-size: .68rem; padding: 3px 8px; }
	.gallery { grid-template-columns: 1fr; }
	.gallery-thumbs { flex-direction: row; max-height: none; order: 2; }
	.price-lg { font-size: 1.7rem; }
	.hero-search button { padding: 0 18px; }
}

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

@media print {
	.site-header, .disclosure-bar, .sticky-buy, .site-footer, .btn-buy { display: none !important; }
}

/* ---------- Home slider ---------- */
.slider { position: relative; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; min-height: clamp(340px, 40vw, 440px); padding: clamp(36px, 6vw, 64px) 0 clamp(64px, 8vw, 84px); }
.slide:nth-child(1) { background: radial-gradient(900px 340px at 80% -20%, color-mix(in srgb, var(--accent) 16%, #fff), transparent 70%), var(--bg-soft); }
.slide:nth-child(2) { background: radial-gradient(800px 360px at 15% 120%, color-mix(in srgb, #f59e0b 22%, #fff), transparent 70%), var(--bg-soft); }
.slide:nth-child(3) { background: radial-gradient(800px 360px at 85% 120%, color-mix(in srgb, #10b981 18%, #fff), transparent 70%), var(--bg-soft); }
.slide-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.slide.has-art .slide-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.slide-title { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .35em; max-width: 720px; }
.slide-text { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin: 0 0 1.5em; }
.slide-art img { width: 100%; max-height: 300px; object-fit: contain; border-radius: var(--radius); margin: 0 auto; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 18px; pointer-events: none; }
.slider-ui-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.slider-dots, .slider-arrows { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.slider-dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 50%; }
.slider-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 25%, transparent); transition: width .2s, margin .2s, background .2s; }
.slider-dot.is-active::after { width: 26px; margin-left: -13px; border-radius: 6px; background: var(--ink); }
.slider-arrow { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.05rem; cursor: pointer; }
.slider-arrow:hover { border-color: var(--ink); }
@media (max-width: 720px) {
	.slide.has-art .slide-inner { grid-template-columns: minmax(0, 1fr); }
	.slide-art { display: none; }
	.slide { min-height: 360px; }
}

/* Cookie box */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 460px; z-index: 90; background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; padding: 18px; box-shadow: 0 12px 40px rgba(15, 23, 42, .18); }
.cookie-banner[hidden] { display: none; }
.cookie-title { margin: 0 0 6px; font-weight: 700; }
.cookie-text { margin: 0 0 14px; font-size: .9rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; }

/* Policy pages: tables and lists */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line, #e5e7eb); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #f8fafc; }
.disclosure-bar a { color: inherit; text-decoration: underline; }


.head-social { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-shrink: 0; }
.head-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.head-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 860px) { .head-social { margin-top: 4px; } }

/* Size / colour options: one row, swipe sideways */
.opt { margin-top: 14px; }
.opt-name { margin: 0 0 8px; font-size: .92rem; color: var(--muted); }
.opt-name strong { color: var(--ink); }
.opt-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.opt-chip { flex: 0 0 auto; scroll-snap-align: start; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
a.opt-chip:hover { border-color: var(--ink); }
.opt-chip.is-selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); color: var(--accent-dark); }

/* See more */
.about-list.is-collapsible:not(.is-open) .more-item { display: none; }
.prose.is-collapsible:not(.is-open) { max-height: 8.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.see-more { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent-dark); font: inherit; font-weight: 700; cursor: pointer; }
.see-more:hover { text-decoration: underline; }
.see-more::after { content: " ›"; }
.see-more[aria-expanded="true"]::after { content: " ‹"; }

/* Product information: folds open with an arrow */
.acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; font-weight: 700; font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 6px; flex-shrink: 0; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc .details-table { margin: 0 0 16px; }
.guide-list { margin: 0 0 16px; padding-left: 1.2em; }

/* Photos and videos */
.video-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }

/* Rows of small product cards with arrows */
.car-section { padding: 26px 0 8px; }
.car-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.car-head h2 { font-size: 1.25rem; margin: 0; }
.car-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.car-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.05rem; cursor: pointer; }
.car-arrow:hover:not(:disabled) { border-color: var(--ink); }
.car-arrow:disabled { opacity: .35; cursor: default; }
.car.no-scroll .car-arrows { display: none; }
.car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 2px; padding: 2px 2px 14px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track .card { flex: 0 0 172px; scroll-snap-align: start; min-width: 0; }
.car-track .card-media { padding: 10px; }
.car-track .card-body { padding: 2px 12px 12px; gap: 4px; }
.car-track .card-cat, .car-track .card-actions .btn-ghost { display: none; }
.car-track .card-title { font-size: .86rem; }
.car-track .card-title a { min-height: 2.6em; }
.car-track .price { font-size: .98rem; }
.car-track .card-actions { padding-top: 8px; }
.car-track .badge { font-size: .68rem; padding: 3px 7px; }
@media (max-width: 560px) {
	.car-track .card { flex-basis: 148px; }
	.car-arrow { width: 34px; height: 34px; }
}

.pdp > * { min-width: 0; }
.pdp-info, .pdp-gallery, .pdp-buy, .pdp-about { min-width: 0; max-width: 100%; }
.opt, .opt-row { max-width: 100%; }

/* Product card: photo, brand, name, rating, price, delivery, button */
.card-brand { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.card-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.card-delivery { margin: 0; font-size: .8rem; color: var(--muted); }
.card-delivery.is-free { color: #047857; font-weight: 650; }
.card-price .badge-inline { position: static; }
.car-track .card { flex: 0 0 204px; }
.car-track .card-media { padding: 6px; }
.car-track .card-body { padding: 4px 12px 14px; gap: 5px; }
.car-track .card-brand { display: block; }
.car-track .card-title { font-size: .9rem; }
.car-track .card-actions .btn { width: 100%; }
@media (max-width: 560px) { .car-track .card { flex: 0 0 176px; } }

/* Home rows */
.home-rows { padding-top: 8px; padding-bottom: 8px; }
.car-titles { min-width: 0; flex: 1; }
.car-sub { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.car-all { font-weight: 700; font-size: .92rem; white-space: nowrap; color: var(--accent-dark); }
.car-all:hover { text-decoration: underline; }
.car-head { gap: 14px; }
.cat-tiles { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-tiles::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 132px; scroll-snap-align: start; text-align: center; text-decoration: none; color: var(--ink); }
.cat-photo { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--accent-soft, #eef3ff); border: 1px solid var(--line); overflow: hidden; margin-bottom: 8px; transition: transform .15s, border-color .15s; }
.cat-photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; }
.cat-tile:hover .cat-photo { transform: translateY(-2px); border-color: var(--accent); }
.cat-name { display: block; font-weight: 700; font-size: .92rem; line-height: 1.25; }
@media (max-width: 560px) { .cat-tile { flex-basis: 100px; } .cat-photo { width: 100px; height: 100px; } .cat-photo img { padding: 10px; } }

/* Celebration banner */
.celeb { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 30px 0 4px; padding: 28px 30px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #1d4ed8, #7c3aed); }
.celeb h2 { margin: 2px 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.celeb p { margin: 0; color: rgba(255, 255, 255, .88); }
.celeb .celeb-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fde68a; }
.celeb .btn-primary { background: #fff; color: #111827; }
.celeb-christmas { background: linear-gradient(120deg, #991b1b, #166534); }
.celeb-bf { background: linear-gradient(120deg, #111827, #374151); }
.celeb-eid-fitr, .celeb-eid-adha { background: linear-gradient(120deg, #065f46, #0f766e); }
.celeb-diwali, .celeb-puja { background: linear-gradient(120deg, #b45309, #be123c); }
.celeb-valentine, .celeb-mothers { background: linear-gradient(120deg, #be185d, #e11d48); }
.celeb-halloween { background: linear-gradient(120deg, #1f2937, #c2410c); }
.celeb-easter, .celeb-boishakh { background: linear-gradient(120deg, #0e7490, #65a30d); }

/* Home section styles */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-cols-4, .grid-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.celeb-style-blue { background: linear-gradient(120deg, #1d4ed8, #7c3aed); }
.celeb-style-dark { background: linear-gradient(120deg, #111827, #374151); }
.celeb-style-green { background: linear-gradient(120deg, #065f46, #0f766e); }
.celeb-style-orange { background: linear-gradient(120deg, #b45309, #be123c); }
.celeb-style-pink { background: linear-gradient(120deg, #be185d, #e11d48); }
.celeb-style-purple { background: linear-gradient(120deg, #5b21b6, #be185d); }

.text-block { text-align: center; }
.text-block p { color: var(--muted); }
.badge-custom { background: var(--accent); color: #fff; }

/* Best-of guide + category text */
.best-updated { color: var(--muted); font-size: .9rem; margin: -6px 0 16px; }
.best-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.best-item { position: relative; }
.best-rank { position: absolute; z-index: 3; top: 8px; left: 8px; background: var(--accent); color: #fff; font-weight: 700; border-radius: 999px; padding: 3px 10px; font-size: .85rem; }
.cat-bottom { padding-top: 0; }

/* Currency menu and note */
.cur-select { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; padding: 6px 10px; margin-left: 8px; max-width: 110px; }
.cur-note { display: block; color: var(--muted); font-size: .78rem; margin: -4px 0 10px; line-height: 1.35; }

/* Banners: bigger, with soft shapes and an optional picture on the right */
.celeb { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 44px); min-height: 150px; }
.celeb::before { content: ""; position: absolute; right: -70px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.celeb::after { content: ""; position: absolute; right: 120px; bottom: -110px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.celeb > * { position: relative; z-index: 1; }
.celeb-copy { flex: 1 1 300px; min-width: 0; }
.celeb-copy .btn { margin-top: 16px; }
.celeb h2 { letter-spacing: -.02em; }
.celeb-art { flex: 0 1 260px; width: 260px; max-width: 40%; max-height: 170px; object-fit: contain; margin-left: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
@media (max-width: 640px) { .celeb-art { display: none; } }
.celeb-style-teal { background: linear-gradient(120deg, #0f766e, #0369a1); }
.celeb-style-sand { background: linear-gradient(120deg, #b45309, #92400e); }

/* Header: keep the menu on one line on wide screens */
@media (min-width: 861px) {
	.header-inner { gap: 20px; }
	.primary-nav { gap: 10px; }
	.primary-nav .menu { flex-wrap: nowrap; }
	.primary-nav .menu a { padding: 8px 11px; }
	.search-form input[type="search"] { width: 150px; }
	.cur-select { margin-left: 0; }
}

/* Slider pictures also on phones (smaller, under the text) and svg support */
.slide-art svg { width: 100%; max-height: 300px; height: auto; }
@media (max-width: 860px) { .slide-art { display: block; order: 2; } .slide-art img, .slide-art svg { max-height: 150px; } .slide-inner { gap: 14px; } }

/* Small cards on phones: let rating and price lines wrap instead of being cut */
@media (max-width: 520px) {
	.card-rating .stars { display: inline-flex; flex-wrap: wrap; align-items: center; row-gap: 0; }
	.stars-count { font-size: .74rem; }
	.card-price { flex-wrap: wrap; row-gap: 2px; }
}

/* Shop filters (left column) */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; font-size: .92rem; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.filters-clear { font-size: .85rem; }
.fgroup { padding: 14px 0; border-top: 1px solid var(--line); }
.fgroup h3 { margin: 0 0 8px; font-size: .95rem; }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.fgroup li { margin: 0; }
.fgroup li > a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.fgroup li > a:hover { color: var(--accent); text-decoration: underline; }
.fgroup li.is-on > a { font-weight: 700; color: var(--accent); }
.fstars { color: #f59e0b; letter-spacing: 1px; }
.fcheck { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.fcheck small { color: var(--muted); margin-left: auto; }
.fbox { flex: none; width: 17px; height: 17px; border: 1.5px solid #9ca3af; border-radius: 4px; background: #fff; position: relative; display: inline-block; }
.fbox.is-on { background: var(--accent); border-color: var(--accent); }
.fbox.is-on::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fmore summary { cursor: pointer; color: var(--accent); padding: 4px 0; }
.shopbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.shopbar-count { margin: 0; color: var(--muted); font-size: .92rem; flex: 1 1 auto; }
.shopbar-sort { font-size: .9rem; color: var(--muted); }
.shopbar-sort select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; color: var(--ink); background: #fff; }
.filters-toggle { display: none; }
.fchips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; width: 100%; }
.fchips a { display: inline-block; background: #eef2ff; color: var(--accent); border-radius: 999px; padding: 4px 10px; font-size: .85rem; text-decoration: none; }
@media (max-width: 900px) {
	.shop-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.filters { display: none; position: static; max-height: none; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px 10px; margin-bottom: 14px; }
	.filters.is-open { display: block; }
	.filters-toggle { display: inline-flex; }
	.shopbar-count { order: 3; flex-basis: 100%; }
}

/* Home: shop-window tiles */
.mosaic { display: grid; grid-template-columns: minmax(230px, .36fr) minmax(0, 1fr); gap: 14px; margin: 18px 0 8px; }
.mosaic a { text-decoration: none; color: inherit; }
.mz-hero { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #f97316, #ea580c); min-height: 520px; }
.mz-style-blue { background: linear-gradient(160deg, #2563eb, #1d4ed8); }
.mz-style-dark { background: linear-gradient(160deg, #1f2937, #111827); }
.mz-style-green { background: linear-gradient(160deg, #16a34a, #15803d); }
.mz-style-pink { background: linear-gradient(160deg, #ec4899, #be185d); }
.mz-style-purple { background: linear-gradient(160deg, #8b5cf6, #6d28d9); }
.mz-style-teal { background: linear-gradient(160deg, #0f766e, #0369a1); }
.mz-style-sand { background: linear-gradient(160deg, #b45309, #92400e); }
.mz-copy { padding: 26px 24px 0; position: relative; z-index: 2; }
.mz-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.mz-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.025em; }
.mz-copy p { margin: 0 0 14px; font-size: 1.1rem; opacity: .95; }
.mz-btn { display: inline-block; background: #fff; color: #111827; font-weight: 700; border-radius: 999px; padding: 9px 18px; font-size: .92rem; }
.mz-art { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 12px 18px 0; min-height: 200px; position: relative; }
.mz-art > img { max-width: 100%; max-height: 320px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .3)); }
.mz-arch { width: 78%; aspect-ratio: .78; background: rgba(255, 255, 255, .95); border-radius: 999px 999px 0 0; border: 6px solid rgba(255, 255, 255, .5); border-bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mz-arch img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.mz-right { display: grid; gap: 14px; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.mz-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-height: 320px; }
.mz-tile { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 18px 16px 16px; overflow: hidden; min-width: 0; }
.mz-tile h2 { margin: 0; font-size: 1.35rem; line-height: 1.08; letter-spacing: -.02em; }
.mz-tile p { margin: 6px 0 0; font-size: .95rem; }
.mz-feat { background: #ea580c; color: #fff; }
.mz-stripes { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 52%; border-radius: 12px; background: repeating-linear-gradient(90deg, #f97316 0 10px, #c2410c 10px 14px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18); }
.mz-stripes::after { content: ""; position: absolute; inset: 22% 18%; background: #d6a36a; border-radius: 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.mz-quad { background: #fff7ed; color: #111827; }
.mz-continue { background: #9f1239; color: #fff; }
.mz-continue .mz-head, .mz-continue h2 { color: #fff; }
.mz-loved { background: #d9f99d; color: #1a2e05; }
.mz-q { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin-top: 12px; flex: 1; min-height: 0; }
.mz-p { position: relative; background: #fff; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 80px; }
.mz-p img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.mz-off { position: absolute; left: 6px; bottom: 6px; background: #b91c1c; color: #fff; font-size: .76rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.mz-today { background: linear-gradient(180deg, #f9a8d4, #e9d5ff); color: #111827; }
.mz-tallimg { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 8px; }
.mz-tallimg img { max-width: 92%; max-height: 210px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); mix-blend-mode: multiply; }
.mz-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 4px; }
.mz-small { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-height: 190px; overflow: hidden; }
.mz-small h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.1; }
.mz-simg { flex: 1; display: flex; align-items: center; justify-content: center; }
.mz-simg img { max-width: 100%; max-height: 110px; object-fit: contain; }
.mz-small .mz-off { left: 12px; bottom: 12px; }
.mz-colour { color: #fff; border: 0; }
.mz-c1 { background: #ea580c; } .mz-c2 { background: #0f766e; } .mz-c3 { background: #7c3aed; }
.mz-big { margin-top: auto; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; opacity: .9; }
.mz-noimg { display: block; width: 100%; height: 100%; background: #f3f4f6; }
@media (max-width: 1100px) { .mz-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mz-top .mz-today { display: none; } }
@media (max-width: 860px) {
	.mosaic { grid-template-columns: minmax(0, 1fr); }
	.mz-hero { min-height: 0; flex-direction: row; align-items: stretch; }
	.mz-copy { flex: 1.3; padding: 20px 4px 20px 20px; }
	.mz-art { flex: .8; padding: 10px 10px 0 0; min-height: 0; }
	.mz-arch { width: 100%; }
	.mz-top { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; min-height: 0; padding-bottom: 4px; }
	.mz-top .mz-today { display: flex; }
	.mz-top > * { scroll-snap-align: start; min-height: 290px; }
}
@media (max-width: 520px) { .mz-hero h1 { font-size: 1.45rem; } .mz-copy p { font-size: .95rem; } .mz-art > img { max-height: 160px; } }

.mz-hero h1, .mz-hero p { color: #fff; }
.mz-feat h2, .mz-feat p, .mz-continue h2 { color: #fff; }
.mz-colour h3 { color: #fff; }
.mz-quad h2, .mz-today h2 { color: inherit; }
.mz-continue h2 { color: #fff; }

.celeb-art-prod { width: 170px; height: 150px; flex: none; background: #fff; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px rgba(0, 0, 0, .25); filter: none; }
.celeb-art-prod img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* Own reviews */
.own-reviews { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line, #e5e7eb); }
.own-reviews h3 { margin: 0 0 8px; font-size: 1.1rem; }
.rv-avg { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); }
.rv-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.rv-item { padding: 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; background: #fff; }
.rv-item p { margin: 6px 0 0; }
.rv-top .stars { color: #f59e0b; letter-spacing: 1px; margin-right: 6px; }
.rv-by { color: var(--muted); font-size: .85rem; }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rv-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line, #e5e7eb); }
.rv-note { padding: 10px 12px; border-radius: 10px; margin: 0 0 12px; font-size: .92rem; }
.rv-ok { background: #ecfdf5; color: #065f46; }
.rv-err { background: #fef2f2; color: #991b1b; }
.rv-form-wrap summary { display: inline-block; cursor: pointer; list-style: none; }
.rv-form-wrap summary::-webkit-details-marker { display: none; }
.rv-form { margin-top: 14px; display: grid; gap: 4px; max-width: 520px; }
.rv-form label { display: block; font-weight: 600; font-size: .9rem; }
.rv-form input[type=text], .rv-form input[type=email], .rv-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line, #d1d5db); border-radius: 10px; font: inherit; margin-top: 4px; }
.rv-form p { margin: 0 0 8px; }
.rv-trap { position: absolute; left: -9999px; }
.rv-small { color: var(--muted); font-size: .82rem; }
.rv-rate { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-rate legend { float: left; width: 100%; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.rv-rate input { position: absolute; opacity: 0; }
.rv-rate label { font-size: 2rem; line-height: 1; color: #d1d5db; cursor: pointer; }
.rv-rate input:checked ~ label, .rv-rate label:hover, .rv-rate label:hover ~ label { color: #f59e0b; }
.rv-rate input:focus-visible + label { outline: 2px solid var(--brand, #2563eb); border-radius: 4px; }

/* Theme panel extras */
.announce-bar { background: var(--accent); color: #fff; text-align: center; padding: 8px 0; font-size: .9rem; font-weight: 600; }
.announce-bar a { color: #fff; text-decoration: none; }
.announce-bar a:hover { text-decoration: underline; }
.footer-html { padding: 18px 20px; }
.shop-layout.no-side { display: block; }
.shop-layout.no-side .filters-toggle { display: none; }

/* Fixes from the first live test */
.card-media { overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: inherit; box-sizing: border-box; object-fit: contain; }
.cur-select { -webkit-appearance: none; appearance: none; padding-right: 26px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center; }
.shopbar-sort select { -webkit-appearance: none; appearance: none; padding-right: 24px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center; }

/* Zoom and small screens: never a sideways scroll, long words wrap, wide content scrolls inside itself */
html, body { max-width: 100%; }
body { overflow-x: clip; }
h1, h2, h3, h4, .card-title, .brand { overflow-wrap: anywhere; }
.prose img, .prose iframe, .prose video { max-width: 100%; height: auto; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose pre { max-width: 100%; overflow-x: auto; }
.admin-note { background: #fff7d6; color: #5c4400; text-align: center; padding: 8px 14px; font-size: .88rem; border-bottom: 1px solid #f0dc8a; }
.admin-note a { color: inherit; font-weight: 700; }

/* Category row under the header, and letter fallback in category circles */
.home-catbar { margin-top: 12px; }
.catbar-in { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.catbar-in::-webkit-scrollbar { display: none; }
.catbar-in a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.catbar-in a:hover { border-color: var(--accent); color: var(--accent); }
.cat-letter { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
