/*
Theme Name: Sanatzar
Description: Display-only replica of sanatzar.com — Punjab Handicrafts Marketplace (products, GI brands, stores, success stories).
Version: 1.0.0
Requires PHP: 8.0
Text Domain: sanatzar
*/

/* ── Design tokens (from sanatzar.com) ─────────────────────────────────────── */
:root {
	--bg: hsl(45 25% 87%);          /* page */
	--bg-soft: hsl(46 30% 89%);
	--fg: hsl(60 10% 16%);
	--muted: hsl(60 8% 33%);
	--border: hsl(48 25% 84%);
	--card: hsl(46 37% 93%);
	--card-border: hsl(48 21% 82%);
	--primary: hsl(133 22% 24%);     /* forest green */
	--primary-fg: hsl(46 37% 93%);
	--primary-dark: hsl(133 22% 18%);
	--secondary: hsl(50 36% 90%);
	--accent: hsl(50 30% 88%);
	--input: hsl(48 21% 76%);
	--popover: hsl(51 47% 97%);
	--footer: rgb(244, 241, 231);
	--star: #f5b301;
	--radius: .5rem;
	--radius-lg: .75rem;
	--shadow: 0 1px 2px rgba(45, 45, 37, .06), 0 1px 3px rgba(45, 45, 37, .08);
	--shadow-lg: 0 10px 30px rgba(45, 45, 37, .12);
	--sans: "Poppins", "Inter", system-ui, sans-serif;
	--serif: "Prata", Georgia, serif;
	--script: "Great Vibes", cursive;
	--container: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5;
	color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.sz-icon { flex-shrink: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.sz-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sz-muted { color: var(--muted); }
.sz-small { font-size: 13px; }
.sz-section { padding: 56px 0; }
.sz-section + .sz-section { border-top: 1px solid hsl(48 25% 84% / .6); }
.sz-section-alt { background: var(--bg-soft); }

/* ── Buttons, chips, badges ────────────────────────────────────────────────── */
.sz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 36px; padding: 0 16px; border-radius: 6px; font-size: 14px; font-weight: 500;
	border: 1px solid transparent; cursor: pointer; transition: background .15s, filter .15s; white-space: nowrap;
}
.sz-btn-primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary-dark); }
.sz-btn-primary:hover { filter: brightness(1.12); }
.sz-btn-light { background: var(--popover); color: var(--fg); border-color: var(--card-border); }
.sz-btn-light:hover { background: #fff; }
.sz-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.sz-btn-ghost:hover { background: rgba(255,255,255,.2); }
.sz-btn-outline { background: transparent; color: var(--fg); border-color: var(--card-border); }
.sz-btn-block { width: 100%; }
.sz-btn-lg { height: 42px; padding: 0 22px; }

.sz-badge {
	position: absolute; top: 8px; display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.3;
}
.sz-badge-light { right: 8px; background: rgba(250, 248, 240, .92); color: var(--primary); }
.sz-badge-dark { left: 8px; background: var(--primary); color: var(--primary-fg); }

.sz-chip {
	display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px;
	background: var(--secondary); border: 1px solid var(--card-border); font-size: 11px; font-weight: 500; color: var(--fg);
}
.sz-chip-soft { background: var(--accent); }
.sz-chip-plain { background: transparent; border-color: transparent; }
.sz-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.sz-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.sz-rating .sz-icon { color: var(--star); fill: var(--star); }

/* ── Header: see "Header (v2)" at the end of this file ── */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.sz-hero {
	position: relative; min-height: 470px; display: flex; align-items: center; color: #fff;
	background: #2d2d25 center/cover no-repeat;
}
.sz-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,15,.82) 0%, rgba(20,20,15,.55) 45%, rgba(20,20,15,.1) 100%); }
.sz-hero .sz-container { position: relative; }
.sz-hero h1 { font-size: 52px; font-weight: 700; line-height: 1.08; max-width: 520px; color: #fff; letter-spacing: -.01em; }
.sz-hero p { margin-top: 18px; max-width: 520px; font-size: 16px; color: rgba(255,255,255,.88); }
.sz-hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ── Section heads ────────────────────────────────────────────────────────── */
.sz-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sz-section-head h2 { font-size: 30px; font-weight: 700; }
.sz-section-head p { margin-top: 6px; color: var(--muted); }
.sz-section-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sz-view-all { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.sz-view-all:hover { background: var(--accent); }
.sz-page-head { padding: 40px 0 8px; }
.sz-page-head h1 { font-size: 30px; font-weight: 700; }
.sz-page-head p { margin-top: 6px; color: var(--muted); }

/* ── Cards & grids ────────────────────────────────────────────────────────── */
.sz-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sz-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sz-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.sz-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: hsl(48 25% 90%); overflow: hidden; }
.sz-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sz-card:hover .sz-card-media img { transform: scale(1.04); }
.sz-noimg { display: block; width: 100%; height: 100%; background: hsl(48 25% 90%); }
.sz-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.sz-card-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.sz-worker { font-size: 12px; font-weight: 600; color: var(--muted); }
.sz-price { font-size: 18px; font-weight: 600; color: var(--primary); margin: 2px 0 6px; }
.sz-product-card .sz-btn { margin-top: auto; }

.sz-story-media { aspect-ratio: 4 / 5; }
.sz-story-media img { object-position: top center; }
.sz-income { font-size: 20px; font-weight: 700; color: var(--primary); margin-top: 4px; }
.sz-income .sz-muted { font-size: 13px; font-weight: 400; }

/* GI brand carousel */
.sz-carousel { position: relative; }
.sz-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.sz-track::-webkit-scrollbar { display: none; }
.sz-track > * { scroll-snap-align: start; }
.sz-brand-card .sz-card-media { aspect-ratio: 4 / 3; background: #fff; }
.sz-product-card .sz-card-media { aspect-ratio: 4 / 5; }  /* portrait: garments show top to bottom */
.sz-brand-card .sz-card-body { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 14px; }
.sz-carousel-nav { display: flex; gap: 8px; margin-top: 14px; }
.sz-round-btn {
	width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--card); border: 1px solid var(--card-border); cursor: pointer;
}
.sz-round-btn:hover { background: #fff; }

/* Filters */
.sz-select {
	height: 36px; padding: 0 30px 0 12px; border-radius: 6px; border: 1px solid var(--input); background: var(--card)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2350504a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
	font-size: 13px; appearance: none; min-width: 160px; cursor: pointer;
}
.sz-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.sz-filters input[type=search] {
	height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--input); background: var(--card); min-width: 220px; font-size: 13px;
}
.sz-result-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.sz-empty { padding: 60px 16px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--card-border); border-radius: var(--radius); }

/* Pagination */
.sz-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 32px; flex-wrap: wrap; }
.sz-pagination .page-numbers {
	display: inline-flex; align-items: center; gap: 4px; min-width: 34px; height: 34px; padding: 0 10px;
	justify-content: center; border-radius: 6px; font-size: 14px; border: 1px solid transparent;
}
.sz-pagination a.page-numbers:hover { background: var(--accent); }
.sz-pagination .current { border-color: var(--card-border); background: var(--card); font-weight: 600; }

/* Stores */
.sz-store-card { padding: 18px; gap: 14px; }
.sz-store-head { display: flex; gap: 14px; align-items: flex-start; }
.sz-store-head h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.sz-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--card-border); flex-shrink: 0; }
.sz-store-meta { display: flex; align-items: center; gap: 4px; font-size: 13px; margin-top: 6px; color: var(--muted); }
.sz-store-meta > span { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; }
.sz-store-meta > .sz-icon:first-child { color: var(--fg); fill: var(--fg); }

/* Testimonials */
.sz-quote-card { padding: 22px; gap: 12px; }
.sz-quote-person { display: flex; align-items: center; gap: 12px; }
.sz-quote-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.sz-quote-person strong { display: block; font-size: 15px; }
.sz-quote-person span { font-size: 13px; color: var(--muted); }
.sz-stars { display: inline-flex; gap: 2px; align-items: center; color: var(--primary); font-size: 13px; }
.sz-stars .on { fill: var(--primary); }

/* CTA band */
.sz-cta { background: var(--primary); color: var(--primary-fg); text-align: center; padding: 64px 0; }
.sz-cta h2 { font-size: 30px; font-weight: 700; color: #fff; }
.sz-cta p { max-width: 680px; margin: 14px auto 0; color: hsl(46 37% 93% / .85); font-size: 16px; }
.sz-cta .sz-hero-actions { justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.sz-footer { background: var(--footer); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 56px; }
.sz-cta + .sz-footer, .sz-cta-wrap + .sz-footer { margin-top: 0; }
.sz-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.sz-footer h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.sz-footer .sz-logo { font-size: 18px; }
.sz-footer p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.sz-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sz-footer li a { font-size: 14px; color: var(--muted); }
.sz-footer li a:hover { color: var(--primary); }
.sz-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.sz-footer-bottom a { margin-left: 16px; }

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.sz-breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 22px 0; }
.sz-breadcrumbs a:hover { color: var(--fg); }
.sz-breadcrumbs span:last-child { color: var(--fg); }

/* ── Product page ("Sustainable Choice" card) ─────────────────────────────── */
.sz-product-sheet {
	max-width: 1008px; margin: 0 auto; background: hsl(48 33% 97%); border-radius: 16px; overflow: hidden;
	box-shadow: 0 20px 50px rgba(45, 45, 37, .16); border: 1px solid var(--card-border);
}
.sz-sheet-top { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--card); min-height: 560px; }
.sz-sheet-left { padding: 34px 40px 36px; display: flex; flex-direction: column; }
.sz-sheet-tag {
	position: absolute; top: 0; left: 40px; width: 72px; padding: 10px 6px 12px; text-align: center;
	background: var(--primary); color: var(--primary-fg); border-radius: 0 0 10px 10px;
	font-size: 8px; font-weight: 700; letter-spacing: .04em; line-height: 1.3;
}
.sz-sheet-tag .sz-icon { margin: 0 auto 4px; }
.sz-sheet-title {
	margin-top: 76px; font-family: var(--serif); font-weight: 400; text-transform: uppercase;
	font-size: 52px; line-height: 1.02; color: var(--primary); word-break: break-word;
}
.sz-sheet-rule { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--primary); }
.sz-sheet-rule::before { content: ""; width: 38px; height: 2px; background: var(--primary); }
.sz-tagline { font-style: italic; font-weight: 500; font-size: 16px; }
.sz-sheet-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.sz-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.sz-value { text-align: center; font-size: 9px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--fg); }
.sz-value-icon {
	width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; border: 1.5px dashed var(--primary);
	display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.sz-sheet-image { position: relative; background: hsl(40 18% 82%); }
.sz-sheet-image img { width: 100%; height: 100%; object-fit: cover; }
.sz-sheet-image::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40px; background: linear-gradient(90deg, var(--card), transparent); z-index: 1; }
.sz-sheet-body { padding: 14px 48px 40px; }
.sz-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed hsl(48 25% 70%); }
.sz-row:last-child { border-bottom: 0; }
.sz-row-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--primary-fg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sz-row-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.sz-row-value { font-size: 14px; color: var(--fg); }
.sz-row-price { font-size: 20px; font-weight: 700; color: var(--primary); }
.sz-row-sku { margin-top: 8px; }
.sz-row ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 3px; }
.sz-row p + p { margin-top: 8px; }
.sz-variants { display: grid; gap: 6px; margin-top: 8px; }
.sz-variant { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); font-size: 13px; }
.sz-related { margin-top: 56px; }

/* ── Success story page (certificate) ─────────────────────────────────────── */
.sz-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 22px 0 16px; }
.sz-certificate {
	position: relative; max-width: 860px; margin: 0 auto; padding: 36px 36px 40px; overflow: hidden;
	background: #f7f3ec; border: 1px solid var(--card-border); border-radius: 6px; box-shadow: var(--shadow-lg);
}
.sz-certificate::before {
	content: ""; position: absolute; top: -140px; left: -140px; width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle at 70% 70%, #3f6b45, var(--primary)); opacity: .95;
}
.sz-leaf { position: absolute; top: 40px; width: 70px; height: 150px; color: var(--primary); opacity: .8; }
.sz-leaf.left { left: 26px; } .sz-leaf.right { right: 26px; transform: scaleX(-1); }
.sz-cert-head { position: relative; text-align: center; }
.sz-cert-title { font-family: var(--serif); font-size: 44px; color: var(--primary); letter-spacing: .04em; }
.sz-cert-name { font-family: var(--script); font-size: 54px; color: var(--primary); line-height: 1.1; margin-top: 2px; }
.sz-cert-badge { display: inline-block; margin-top: 10px; padding: 6px 26px; background: var(--primary); color: #fff; font-family: var(--serif); font-size: 16px; clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%); max-width: 90%; }
.sz-cert-grid { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 22px; margin-top: 26px; }
.sz-cert-photo { border: 1px solid var(--primary); border-radius: 8px; padding: 6px; background: #fff; align-self: start; }
.sz-cert-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.sz-cert-panel { border: 1px solid var(--primary); border-radius: 10px; padding: 20px; position: relative; background: rgba(255,255,255,.5); }
.sz-cert-panel-title {
	position: absolute; top: -16px; left: 22px; display: inline-flex; align-items: center; gap: 8px;
	background: #f7f3ec; padding: 0 6px;
}
.sz-cert-panel-title b { display: inline-block; padding: 5px 14px; border: 1px solid var(--primary); border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--primary); background: #f3efe6; }
.sz-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 8px; }
.sz-info { display: flex; gap: 10px; align-items: flex-start; }
.sz-info .sz-row-icon { width: 30px; height: 30px; }
.sz-info strong { display: block; font-size: 13px; font-weight: 600; color: var(--primary); }
.sz-info span { font-size: 13px; }
.sz-cert-section { position: relative; margin-top: 30px; }
.sz-cert-section .sz-cert-panel { padding-top: 26px; }
.sz-achievements { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 14px; }
.sz-achievements li { display: flex; gap: 8px; align-items: flex-start; }
.sz-achievements .sz-icon { color: var(--primary); margin-top: 3px; }
.sz-story-text { font-size: 15px; line-height: 1.7; }
.sz-story-text p + p { margin-top: 10px; }
.sz-cert-quote { position: relative; margin-top: 26px; text-align: center; font-family: var(--serif); font-size: 19px; color: var(--primary); padding: 0 30px; }
.sz-cert-quote .sz-icon { color: var(--primary); opacity: .4; margin: 0 auto 6px; }
.sz-socials { display: flex; justify-content: center; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* ── Brand / store pages ──────────────────────────────────────────────────── */
.sz-brand-head { display: flex; align-items: center; gap: 10px; }
.sz-brand-head h1 { font-size: 30px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.sz-term-hero { display: flex; gap: 20px; align-items: center; padding: 34px 0 10px; flex-wrap: wrap; }
.sz-term-hero img.sz-avatar { width: 84px; height: 84px; }
.sz-term-hero p { color: var(--muted); max-width: 720px; margin-top: 6px; font-size: 14px; }

/* Training page */
.sz-hero-green { min-height: 420px; text-align: center; justify-content: center; background: linear-gradient(135deg, #2c4a32 0%, #304b36 55%, #4b5a2c 100%); }
.sz-hero-green::before { display: none; }
.sz-hero-green h1 { margin: 16px auto 0; max-width: 760px; text-align: center; }
.sz-hero-green p { margin: 18px auto 0; text-align: center; max-width: 620px; }
.sz-hero-green .sz-hero-actions { justify-content: center; }
.sz-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.15); font-size: 12px; }
.sz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.sz-stats strong { display: block; font-size: 32px; color: var(--primary); }
.sz-stats span { font-size: 14px; color: var(--muted); }
.sz-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sz-step { padding: 22px; text-align: center; }
.sz-step b { display: flex; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary); color: #fff; }
.sz-center { text-align: center; }

/* Plain pages */
.sz-prose { max-width: 760px; margin: 0 auto; padding: 40px 0; font-size: 15px; line-height: 1.75; }
.sz-prose h1 { font-size: 30px; margin-bottom: 18px; }
.sz-prose h2 { font-size: 20px; margin: 26px 0 10px; }
.sz-prose p + p { margin-top: 12px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.sz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sz-track { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 760px) {
	.sz-grid, .sz-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sz-track { grid-auto-columns: 70%; }
	.sz-hero h1 { font-size: 36px; }
	.sz-section-head h2, .sz-cta h2 { font-size: 24px; }
	.sz-footer-grid { grid-template-columns: 1fr 1fr; }
	.sz-sheet-top { grid-template-columns: 1fr; }
	.sz-sheet-image { order: -1; aspect-ratio: 1; }
	.sz-sheet-title { margin-top: 40px; font-size: 32px; }
	.sz-sheet-left { padding: 34px 24px 30px; }
	.sz-sheet-tag { left: 24px; }
	.sz-sheet-body { padding: 10px 20px 28px; }
	.sz-cert-grid, .sz-info-grid, .sz-achievements { grid-template-columns: 1fr; }
	.sz-cert-title { font-size: 30px; } .sz-cert-name { font-size: 40px; }
	.sz-leaf { display: none; }
	.sz-stats, .sz-steps { grid-template-columns: 1fr 1fr; }
	.sz-product-card .sz-price { font-size: 16px; }
	.sz-card-title { font-size: 14px; }
}

/* ── Product page: rows, impact strip, buy box, share, accordions, reviews ── */
.sz-row-big { font-size: 17px; }
.sz-features { margin: 6px 0 0; padding-left: 20px; font-size: 14px; display: grid; gap: 3px; }
.sz-impact {
	display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 24px; padding: 20px 8px;
	background: hsl(46 30% 91%); border-radius: 14px;
}
.sz-impact-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 10px; }
.sz-impact-item + .sz-impact-item { border-left: 1px dashed hsl(48 20% 70%); }
.sz-impact-icon { width: 42px; height: 42px; }
.sz-impact-item strong { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.sz-impact-item span:last-child { font-size: 10px; color: var(--muted); line-height: 1.4; }
.sz-buy { border-top: 1px solid var(--border); padding-top: 22px; }
.sz-buy-label { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.sz-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sz-size { min-width: 48px; height: 40px; padding: 0 14px; border: 1px solid var(--card-border); border-radius: 6px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.sz-size:hover:not(:disabled) { border-color: var(--primary); }
.sz-size.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.sz-size:disabled { opacity: .4; text-decoration: line-through; cursor: default; }
.sz-sizes.sz-need-size .sz-size { border-color: #c0392b; }
.sz-qty { display: inline-flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.sz-qty-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--card-border); border-radius: 6px; background: #fff; cursor: pointer; }
.sz-qty-btn:disabled { opacity: .45; cursor: default; }
.sz-qty-value { min-width: 16px; text-align: center; font-weight: 600; font-size: 17px; }
.sz-shop-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px;
	border-radius: 999px; background: hsl(78 22% 32%); color: #fff; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px;
}
.sz-shop-banner > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.sz-shop-now { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--fg); padding: 10px 18px; border-radius: 999px; font-size: 13px; }
.sz-shop-banner:hover .sz-shop-now { background: var(--popover); }
.sz-buy-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 12px; }
.sz-buy-actions .sz-btn { background: #fff; }
.sz-share { margin-top: 22px; }
.sz-share-buttons { display: flex; gap: 10px; }
.sz-share-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; color: #fff; }
.sz-share-wa { background: #4dc65b; } .sz-share-fb { background: #3b6fe4; } .sz-share-x { background: #000; }
.sz-share-link { background: #fff; color: var(--fg); border: 1px solid var(--card-border); }
.sz-share-link.copied { background: var(--primary); color: #fff; }
.sz-accordions { margin-top: 20px; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; background: #fff; }
.sz-accordion + .sz-accordion { border-top: 1px solid var(--card-border); }
.sz-accordion summary { display: flex; align-items: center; gap: 10px; padding: 16px 14px; cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; }
.sz-accordion summary::-webkit-details-marker { display: none; }
.sz-accordion summary > .sz-icon:last-child { margin-left: auto; transition: transform .2s; }
.sz-accordion[open] summary > .sz-icon:last-child { transform: rotate(180deg); }
.sz-accordion-body { padding: 0 16px 16px; font-size: 13px; }
.sz-trust { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.sz-trust .sz-icon { margin-top: 3px; color: var(--muted); }
.sz-trust strong { font-weight: 500; font-size: 13px; }
.sz-trust p { color: var(--muted); }
.sz-trust a { display: inline-block; margin-top: 6px; font-weight: 500; }
.sz-wide { max-width: 1320px; }
.sz-reviews { margin-top: 48px; }
.sz-review { padding: 14px 16px; margin-bottom: 10px; gap: 4px; }
.sz-review-head { display: flex; justify-content: space-between; gap: 10px; }
.sz-review-form { margin-top: 16px; padding: 14px; border: 1px solid var(--card-border); border-radius: 8px; background: hsl(46 30% 89%); display: grid; gap: 10px; }
.sz-review-form textarea, .sz-review-fields input { width: 100%; padding: 10px 12px; border: 1px solid var(--card-border); border-radius: 6px; background: hsl(45 25% 92%); font-size: 13px; resize: vertical; }
.sz-review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sz-review-form .sz-btn { justify-self: start; }
.sz-review-note { margin-top: 12px; padding: 10px 14px; border-radius: 6px; background: #e6efe5; color: var(--primary); font-size: 14px; }
.sz-star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; font-size: 22px; }
.sz-star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.sz-star-input label { cursor: pointer; color: hsl(48 10% 70%); }
.sz-star-input input:checked ~ label, .sz-star-input label:hover, .sz-star-input label:hover ~ label { color: var(--primary); }
.sz-related .sz-track { grid-auto-columns: calc((100% - 60px) / 4); }
@media (max-width: 760px) {
	.sz-impact { grid-template-columns: 1fr 1fr; gap: 16px 0; }
	.sz-impact-item:nth-child(3) { border-left: 0; }
	.sz-shop-banner { font-size: 11px; padding-left: 14px; }
	.sz-review-fields { grid-template-columns: 1fr; }
	.sz-related .sz-track { grid-auto-columns: 70%; }
}

/* ── Cart: header link, toast, add-to-cart states ── */
.sz-cart-count[hidden] { display: none; }
.sz-btn .sz-icon { margin-right: 6px; }
.sz-btn.loading, .sz-shop-banner.loading { opacity: .6; pointer-events: none; }
.sz-btn-disabled { opacity: .55; cursor: default; }
button.sz-shop-banner { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
button.sz-shop-banner:disabled, .sz-buy-cart:disabled { opacity: .55; cursor: default; }
.sz-buy-cart { cursor: pointer; font-family: inherit; }
.sz-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100;
	background: var(--primary); color: var(--primary-fg); padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow-lg);
	font-size: 14px; transition: opacity .2s, transform .2s;
}
.sz-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sz-toast a { color: #fff; font-weight: 600; text-decoration: underline; margin-left: 8px; }

/* ── Cart & checkout pages (WooCommerce forms in the theme's look) ── */
.sz-shop-page { padding: 32px 0 64px; }
.sz-shop-page > h1 { font-size: 28px; margin: 0 0 20px; }
.sz-shop-page .woocommerce { font-size: 14px; }
.sz-shop-page table.shop_table { background: var(--popover); border: 1px solid var(--card-border); border-radius: var(--radius-lg); border-collapse: separate; }
.sz-shop-page table.shop_table th, .sz-shop-page table.shop_table td { border-color: var(--border); padding: 12px 14px; }
.sz-shop-page table.cart img { width: 64px; border-radius: 6px; }
.sz-shop-page .product-name a { color: var(--fg); font-weight: 500; }
.sz-shop-page .woocommerce .quantity .qty { width: 64px; height: 36px; border: 1px solid var(--input); border-radius: 6px; background: #fff; }
.sz-shop-page .woocommerce a.remove { color: #b91c1c !important; }
.sz-shop-page .woocommerce a.remove:hover { background: #b91c1c; color: #fff !important; }
.sz-shop-page .woocommerce .button, .sz-shop-page .woocommerce button.button, .sz-shop-page .woocommerce a.button {
	background: var(--popover); color: var(--fg); border: 1px solid var(--card-border); border-radius: 6px;
	font-family: var(--sans); font-weight: 500; padding: 10px 18px;
}
.sz-shop-page .woocommerce .button.alt, .sz-shop-page .woocommerce a.checkout-button, .sz-shop-page .woocommerce #place_order {
	background: var(--primary); color: var(--primary-fg); border-color: var(--primary-dark); font-size: 15px; padding: 14px 20px;
}
.sz-shop-page .woocommerce .button.alt:hover, .sz-shop-page .woocommerce #place_order:hover { filter: brightness(1.12); background: var(--primary); }
.sz-shop-page .woocommerce .button:disabled, .sz-shop-page .woocommerce .button:disabled[disabled] { padding: 10px 18px; }
.sz-shop-page .cart-collaterals .cart_totals h2, .sz-shop-page h3, .sz-shop-page #order_review_heading { font-size: 20px; margin: 18px 0 12px; }
.sz-shop-page .woocommerce form .form-row input.input-text, .sz-shop-page .woocommerce form .form-row textarea,
.sz-shop-page .woocommerce form .form-row select, .sz-shop-page .select2-container .select2-selection--single, .sz-shop-page #coupon_code {
	height: 40px; padding: 0 12px; border: 1px solid var(--input); border-radius: 6px; background: #fff; font-family: var(--sans); font-size: 14px;
}
.sz-shop-page .woocommerce form .form-row textarea { height: 90px; padding-top: 10px; }
.sz-shop-page .select2-container .select2-selection--single .select2-selection__rendered { line-height: 38px; padding-left: 0; }
.sz-shop-page .select2-container .select2-selection--single .select2-selection__arrow { height: 38px; }
.sz-shop-page #payment { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); }
.sz-shop-page #payment div.payment_box { background: var(--secondary); color: var(--fg); }
.sz-shop-page #payment div.payment_box::before { border-bottom-color: var(--secondary); }
.sz-shop-page .woocommerce-info, .sz-shop-page .woocommerce-message, .sz-shop-page .woocommerce-error {
	background: var(--popover); color: var(--fg); border-top-color: var(--primary); font-size: 14px;
}
.sz-shop-page .woocommerce-info::before, .sz-shop-page .woocommerce-message::before { color: var(--primary); }
.sz-shop-page .woocommerce-order-overview, .sz-shop-page .woocommerce-order-details, .sz-shop-page .woocommerce-customer-details { margin-bottom: 24px; }
.sz-shop-page .cart-empty { font-size: 16px; }
.sz-shop-page .return-to-shop .button { background: var(--primary); color: var(--primary-fg); }
.sz-container > .woocommerce-message, .sz-container > .woocommerce-error, .sz-container > .woocommerce-info,
.sz-container > ul.woocommerce-error { margin: 16px 0 0; padding: 12px 16px; list-style: none; border-radius: 8px; background: var(--popover); border: 1px solid var(--card-border); font-size: 14px; }
.sz-container > .woocommerce-message .button { float: right; font-weight: 600; }

/* ── My Account ── */
.sz-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--card-border); background: var(--popover); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.sz-shop-page .woocommerce form.login, .sz-shop-page .woocommerce form.register { background: var(--popover); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 20px; }
.sz-shop-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--card-border); border-radius: var(--radius-lg); background: var(--popover); overflow: hidden; }
.sz-shop-page .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; color: var(--fg); }
.sz-shop-page .woocommerce-MyAccount-navigation li + li { border-top: 1px solid var(--border); }
.sz-shop-page .woocommerce-MyAccount-navigation li.is-active a { background: var(--primary); color: var(--primary-fg); }

/* Logged in: keep the sticky header below the WordPress admin bar. */
.admin-bar .sz-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sz-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sz-header { top: 0; } }
.sz-review-form textarea, .sz-review-fields input { font-family: var(--sans); }

/* ── Cart / checkout: progress steps ── */
.sz-checkout-steps { display: flex; gap: 0; list-style: none; margin: 0 0 22px; padding: 0; counter-reset: s; max-width: 520px; }
.sz-checkout-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); position: relative; }
.sz-checkout-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 10px; background: var(--card-border); border-radius: 2px; }
.sz-checkout-steps li.done:not(:last-child)::after { background: var(--primary); }
.sz-checkout-steps a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.sz-step-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	background: var(--popover); border: 1.5px solid var(--card-border); font-size: 12px; font-weight: 600; color: var(--muted); }
.sz-checkout-steps li.current { color: var(--fg); }
.sz-checkout-steps li.current .sz-step-dot { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.sz-checkout-steps li.done { color: var(--primary); }
.sz-checkout-steps li.done .sz-step-dot { background: #e3ece2; border-color: var(--primary); color: var(--primary); }
.sz-shop-page > h1 { font-size: 30px; }

/* ── Checkout layout ── */
.sz-shop-page .woocommerce form.sz-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.sz-checkout-main { display: grid; gap: 20px; }
#customer_details { display: grid; gap: 20px; }
.sz-checkout-side { position: sticky; top: 140px; display: grid; gap: 14px; }
.admin-bar .sz-checkout-side { top: 172px; }
.sz-co-card { background: var(--popover); border: 1px solid var(--card-border); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); }
.sz-co-card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.sz-co-card-head h2 { font-size: 18px; font-weight: 600; margin: 2px 0 0; }
.sz-co-card-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.sz-co-card-head a { color: var(--primary); font-weight: 500; text-decoration: underline; }
.sz-co-step { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--primary-fg); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.sz-shop-page .woocommerce-billing-fields > h3, .sz-shop-page .woocommerce-additional-fields > h3 { display: none; }
.sz-shop-page .woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.sz-shop-page .woocommerce form .form-row label { font-size: 13px; font-weight: 500; margin-bottom: 5px; display: block; line-height: 1.4; }
.sz-shop-page .woocommerce form .form-row .required { color: #b45309; text-decoration: none; }
.sz-shop-page .woocommerce form .form-row-first, .sz-shop-page .woocommerce form .form-row-last { width: calc(50% - 8px); }
.sz-shop-page .woocommerce form .form-row input.input-text:focus, .sz-shop-page .woocommerce form .form-row textarea:focus, .sz-shop-page .woocommerce form .form-row select:focus {
	outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px hsl(133 22% 24% / .14);
}
.sz-shop-page .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #dc2626; }
.sz-shop-page #billing_country_field strong { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); font-weight: 500; width: 100%; }
.sz-shop-page #ship-to-different-address { font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.sz-shop-page #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sz-shop-page #ship-to-different-address input { width: 16px; height: 16px; accent-color: var(--primary); }
.sz-shop-page .shipping_address { padding: 14px 0 4px; border-top: 1px dashed var(--card-border); }
.sz-shop-page .woocommerce-account-fields { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--card-border); }
.sz-shop-page .woocommerce-account-fields label.checkbox { display: inline-flex !important; gap: 8px; align-items: center; font-size: 14px; }

/* Order summary */
.sz-co-summary { padding: 20px; }
.sz-shop-page .sz-co-review { border: 0; background: none; border-radius: 0; margin: 0; }
.sz-co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-height: 320px; overflow: auto; }
.sz-co-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.sz-co-thumb { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: visible; }
.sz-co-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--card-border); }
.sz-co-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--primary-fg); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.sz-co-item-name { font-size: 13px; font-weight: 500; line-height: 1.35; }
.sz-co-item-name small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 2px; }
.sz-co-item-total { font-size: 13px; font-weight: 600; white-space: nowrap; }
.sz-co-totals { width: 100%; margin-top: 16px; border-top: 1px solid var(--border); border-collapse: collapse; font-size: 14px; }
.sz-co-totals th { text-align: left; font-weight: 400; color: var(--muted); padding: 10px 0 0; }
.sz-co-totals td { text-align: right; padding: 10px 0 0; }
.sz-co-totals td ul { list-style: none; margin: 0; padding: 0; }
.sz-co-totals .woocommerce-shipping-destination { display: none; }
.sz-co-totals .order-total th, .sz-co-totals .order-total td { padding-top: 14px; margin-top: 4px; color: var(--fg); font-size: 18px; font-weight: 700; border-top: 1px dashed var(--card-border); }
.sz-co-totals .order-total td { color: var(--primary); }
.sz-shop-page .sz-co-summary #payment { background: none; border: 0; border-radius: 0; margin-top: 16px; }
.sz-shop-page .sz-co-summary #payment ul.payment_methods { padding: 0; border: 0; }
.sz-shop-page .sz-co-summary #payment ul.payment_methods li { padding: 12px 14px; border: 1.5px solid var(--primary); border-radius: 10px; background: #f0f4ee; font-weight: 600; font-size: 14px; }
.sz-shop-page .sz-co-summary #payment ul.payment_methods li input { accent-color: var(--primary); margin-right: 6px; }
.sz-shop-page .sz-co-summary #payment div.payment_box { margin: 8px 0 0; padding: 0; background: none; font-weight: 400; font-size: 13px; color: var(--muted); }
.sz-shop-page .sz-co-summary #payment div.payment_box::before { display: none; }
.sz-shop-page .sz-co-summary #payment div.form-row.place-order { padding: 14px 0 0; margin: 0; }
.sz-shop-page .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.sz-shop-page .woocommerce #payment #place_order { float: none; width: 100%; height: 50px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.sz-co-trust { list-style: none; margin: 0; padding: 4px 6px; display: grid; gap: 9px; font-size: 13px; color: var(--muted); }
.sz-co-trust li { display: flex; gap: 10px; align-items: center; }
.sz-co-trust .sz-icon { color: var(--primary); flex-shrink: 0; }
.sz-shop-page .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 16px; }
.sz-shop-page form.checkout_coupon, .sz-shop-page form.woocommerce-form-login { background: var(--popover); border: 1px solid var(--card-border); border-radius: 12px; }
.sz-shop-page .blockUI.blockOverlay { background: hsl(48 33% 97%) !important; }

/* ── Cart page layout ── */
.woocommerce-cart .sz-shop-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.woocommerce-cart .sz-shop-page .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .sz-shop-page .woocommerce > .cart-empty,
.woocommerce-cart .sz-shop-page .woocommerce > .return-to-shop, .woocommerce-cart .sz-shop-page .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.woocommerce-cart .sz-shop-page .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart .sz-shop-page table.cart { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.woocommerce-cart .sz-shop-page table.cart thead th { background: var(--card); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.woocommerce-cart .sz-shop-page table.cart td { vertical-align: middle; }
.woocommerce-cart .sz-shop-page table.cart img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--card-border); }
.woocommerce-cart .sz-shop-page table.cart .product-subtotal { font-weight: 600; }
.woocommerce-cart .sz-shop-page table.cart td.actions { background: var(--card); }
.woocommerce-cart .sz-shop-page .cart-collaterals { width: auto; position: sticky; top: 140px; }
.admin-bar.woocommerce-cart .sz-shop-page .cart-collaterals { top: 172px; }
.woocommerce-cart .sz-shop-page .cart-collaterals .cart_totals { float: none; width: 100%; background: var(--popover); border: 1px solid var(--card-border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.woocommerce-cart .sz-shop-page .cart_totals h2 { margin: 0 0 10px; font-size: 18px; }
.woocommerce-cart .sz-shop-page .cart_totals table.shop_table { border: 0; background: none; border-radius: 0; }
.woocommerce-cart .sz-shop-page .cart_totals table.shop_table th, .woocommerce-cart .sz-shop-page .cart_totals table.shop_table td { padding: 10px 0; border-top: 1px solid var(--border); background: none; }
.woocommerce-cart .sz-shop-page .cart_totals .woocommerce-shipping-destination, .woocommerce-cart .sz-shop-page .cart_totals .woocommerce-shipping-calculator { display: none; }
.woocommerce-cart .sz-shop-page .cart_totals .order-total td { color: var(--primary); font-size: 18px; }
.woocommerce-cart .sz-shop-page .wc-proceed-to-checkout { padding-bottom: 0; }
.woocommerce-cart .sz-shop-page .wc-proceed-to-checkout a.checkout-button { margin: 0; border-radius: 10px; font-size: 15px; font-weight: 600; }
.sz-cart-continue { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--primary); }

/* ── Order received ── */
.woocommerce-order-received .sz-shop-page .woocommerce-order { max-width: 760px; }
.sz-shop-page .woocommerce-thankyou-order-received { font-size: 17px; font-weight: 500; padding: 16px 18px; border-radius: 12px; background: #e6efe5; color: var(--primary); margin-bottom: 18px; }
.sz-shop-page ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; padding: 0; background: var(--popover); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; }
.sz-shop-page ul.woocommerce-order-overview li { margin: 0; padding: 14px 16px; border: 0; border-right: 1px dashed var(--card-border); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); float: none; }
.sz-shop-page ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--fg); }
.sz-shop-page .woocommerce-customer-details address { background: var(--popover); border: 1px solid var(--card-border); border-radius: 12px; padding: 14px 16px; }

@media (max-width: 900px) {
	.sz-shop-page .woocommerce form.sz-checkout, .woocommerce-cart .sz-shop-page .woocommerce { grid-template-columns: 1fr; }
	.sz-checkout-side, .woocommerce-cart .sz-shop-page .cart-collaterals { position: static; }
}
@media (max-width: 600px) {
	.sz-shop-page .woocommerce form .form-row-first, .sz-shop-page .woocommerce form .form-row-last { width: 100%; }
	.sz-co-card { padding: 18px 16px; }
	.sz-checkout-steps li { font-size: 0; } .sz-checkout-steps .sz-step-dot { font-size: 12px; }
}
.sz-co-card-head h2, .sz-shop-page .sz-co-card-head #order_review_heading { font-size: 18px; font-weight: 600; margin: 4px 0 0; line-height: 1.3; }
.sz-shop-page #billing_country_field strong { display: flex; }
.sz-shop-page .select2-container--default .select2-selection--single { display: flex; align-items: center; }
.sz-shop-page .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: normal; padding: 0; color: var(--fg); }
.sz-shop-page .select2-container--default .select2-selection--single .select2-selection__arrow { top: 1px; right: 6px; }
.sz-shop-page #billing_country_field .woocommerce-input-wrapper { display: block; }

/* ── Header (v2): top strip, main row, menu bar ───────────────────────────── */
.sz-topbar { background: var(--primary); color: var(--primary-fg); font-size: 12.5px; }
.sz-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 34px; }
.sz-topbar p { display: flex; align-items: center; gap: 8px; margin: 0; }
.sz-topbar-sep { opacity: .5; }
.sz-topbar nav { display: flex; gap: 18px; }
.sz-topbar a { color: var(--primary-fg); opacity: .85; }
.sz-topbar a:hover { opacity: 1; text-decoration: underline; }

.sz-header { position: sticky; top: 0; z-index: 50; background: hsl(46 30% 91% / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); box-shadow: 0 6px 20px -14px rgba(45, 45, 37, .35); }
.sz-header-main { display: flex; align-items: center; gap: 28px; height: 74px; }
.sz-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--primary); }
.sz-logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: var(--primary-fg); display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px hsl(46 37% 93% / .18); }
.sz-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.sz-logo-text strong { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.sz-logo-text small { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.sz-search { flex: 1; max-width: 520px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.sz-search > .sz-icon { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.sz-search input {
	width: 100%; height: 44px; padding: 0 104px 0 44px; border-radius: 999px; border: 1px solid var(--card-border);
	background: #fffdf8; font-family: var(--sans); font-size: 14px; color: var(--fg); transition: border-color .15s, box-shadow .15s;
}
.sz-search input::placeholder { color: hsl(60 6% 50%); }
.sz-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px hsl(133 22% 24% / .12); }
.sz-search-btn {
	position: absolute; right: 4px; height: 36px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--primary); color: var(--primary-fg); font-family: var(--sans); font-size: 13px; font-weight: 600;
}
.sz-search-btn:hover { filter: brightness(1.12); }

.sz-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sz-action { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 12px; color: var(--fg); transition: background .15s; }
.sz-action:hover { background: hsl(48 30% 85%); }
.sz-action-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fffdf8; border: 1px solid var(--card-border); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); }
.sz-action-icon .sz-avatar { width: 100%; height: 100%; border: 0; background: var(--primary); color: var(--primary-fg); font-size: 12px; }
.sz-action-text { display: flex; flex-direction: column; line-height: 1.2; }
.sz-action-text small { font-size: 11.5px; color: var(--muted); }
.sz-action-text strong { font-size: 14px; font-weight: 600; white-space: nowrap; }
.sz-cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; border: 2px solid #fffdf8;
	background: #c2410c; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 15px; text-align: center; box-sizing: border-box;
}
.sz-cart-count[hidden] { display: none; }

.sz-menubar { border-top: 1px solid var(--border); }
.sz-menubar-inner { display: flex; align-items: center; gap: 4px; height: 46px; }
.sz-nav-item { position: relative; }
.sz-nav-btn, .sz-nav-link {
	position: relative; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 12px; background: none; border: 0;
	cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--fg);
}
.sz-nav-btn .sz-icon:first-child { color: var(--primary); }
.sz-nav-btn > .sz-icon:last-child { opacity: .6; transition: transform .2s; }
.sz-nav-item.open .sz-nav-btn > .sz-icon:last-child { transform: rotate(180deg); }
.sz-nav-btn::after, .sz-nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.sz-nav-btn:hover::after, .sz-nav-link:hover::after, .sz-nav-item.open .sz-nav-btn::after, .is-current > .sz-nav-btn::after, .sz-nav-link.is-current::after { transform: scaleX(1); }
.is-current > .sz-nav-btn, .sz-nav-link.is-current { color: var(--primary); font-weight: 600; }
.sz-menubar-note { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.sz-menubar-note .sz-icon { color: var(--primary); }

.sz-dropdown {
	position: absolute; top: calc(100% + 1px); left: 0; z-index: 60; min-width: 290px; padding: 8px; display: none;
	background: #fffdf8; border: 1px solid var(--card-border); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(45, 45, 37, .28);
}
.sz-nav-item.open .sz-dropdown { display: block; animation: sz-drop .16s ease-out; }
@keyframes sz-drop { from { opacity: 0; transform: translateY(-4px); } }
.sz-dropdown > a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--fg); }
.sz-dropdown > a > .sz-icon { width: 34px; height: 34px; padding: 9px; border-radius: 9px; background: var(--secondary); color: var(--primary); flex-shrink: 0; box-sizing: border-box; }
.sz-dropdown > a span { display: flex; flex-direction: column; line-height: 1.3; }
.sz-dropdown > a small { font-size: 12px; color: var(--muted); }
.sz-dropdown a:hover { background: var(--secondary); }
.sz-mega { padding: 16px; }
.sz-mega-title { margin: 0 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sz-mega-brands { display: grid; grid-template-columns: repeat(3, 230px); gap: 4px; }
.sz-mega-brands a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--fg); }
.sz-mega-img { width: 44px; height: 44px; border-radius: 9px; background: var(--secondary) center/cover no-repeat; flex-shrink: 0; }
.sz-mega-brands span:last-child { display: flex; flex-direction: column; line-height: 1.3; font-size: 13.5px; }
.sz-mega-brands strong { font-weight: 600; }
.sz-mega-brands small { font-size: 12px; color: var(--muted); }
.sz-mega-list { display: grid; grid-template-columns: repeat(4, 190px); gap: 2px; }
.sz-mega-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: var(--fg); }
.sz-mega-list small { font-size: 11px; color: var(--muted); background: var(--secondary); padding: 1px 7px; border-radius: 999px; }
.sz-menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; color: var(--fg); }

@media (max-width: 1100px) {
	.sz-menubar-note { display: none; }
	.sz-header-main { gap: 18px; }
	.sz-action-text { display: none; }
	.sz-action { padding: 4px; }
}
@media (max-width: 860px) {
	.sz-topbar nav, .sz-topbar-sep, .sz-topbar-extra { display: none; }
	.sz-topbar-inner { justify-content: center; height: 30px; }
	.sz-header-main { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 12px; }
	.sz-menu-toggle { display: inline-flex; }
	.sz-header-actions { margin-left: auto; }
	.sz-search { order: 5; flex-basis: 100%; max-width: none; }
	.sz-search input { height: 42px; }
	.sz-menubar { display: none; max-height: calc(100vh - 140px); overflow: auto; }
	.sz-header.menu-open .sz-menubar { display: block; }
	.sz-menubar-inner { flex-direction: column; align-items: stretch; height: auto; padding-top: 6px; padding-bottom: 12px; gap: 0; }
	.sz-nav-btn, .sz-nav-link { width: 100%; height: 46px; justify-content: flex-start; border-bottom: 1px solid var(--border); }
	.sz-nav-btn > .sz-icon:last-child { margin-left: auto; }
	.sz-nav-btn::after, .sz-nav-link::after { display: none; }
	.sz-dropdown { position: static; box-shadow: none; border: 0; border-radius: 0; background: none; padding: 6px 0 10px; min-width: 0; }
	.sz-mega-brands, .sz-mega-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.sz-logo-text small { display: none; }
	.sz-logo-mark { width: 34px; height: 34px; border-radius: 10px; }
	.sz-mega-brands { grid-template-columns: 1fr; }
}

/* Header runs wider than the page content. */
.sz-topbar .sz-container, .sz-header .sz-container { max-width: 1320px; padding-left: 24px; padding-right: 24px; }
.sz-search { max-width: 620px; }
@media (max-width: 860px) { .sz-topbar .sz-container, .sz-header .sz-container { padding-left: 16px; padding-right: 16px; } }

/* Logo image (transparent PNG, assets/img/logo/) */
.sz-logo { gap: 12px; }
.sz-logo-img { height: 60px; width: auto; display: block; }
.sz-footer-logo { display: inline-block; margin-bottom: 10px; }
.sz-footer-logo img { height: 96px; width: auto; display: block; }
@media (max-width: 480px) { .sz-logo-img { height: 46px; } }
.sz-quote-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--card-border); }
.sz-logo-img { height: 64px; } @media (max-width: 480px) { .sz-logo-img { height: 48px; } }

/* ── Product sheet top (v2): content centred and larger, as on sanatzar.com ── */
.sz-sheet-top { min-height: 620px; grid-template-columns: 1fr 1fr; }
.sz-sheet-left { justify-content: center; padding: 120px 44px 56px; }
.sz-sheet-tag { width: 94px; padding: 14px 8px 16px; font-size: 10.5px; border-radius: 0 0 14px 14px; left: 44px; }
.sz-sheet-tag .sz-icon { width: 22px; height: 22px; margin-bottom: 6px; }
.sz-sheet-title { margin-top: 0; font-size: clamp(44px, 5.4vw, 66px); line-height: 1; }
.sz-sheet-rule { margin: 22px 0 16px; font-size: 22px; }
.sz-sheet-rule::before { width: 52px; }
.sz-tagline { font-size: 19px; }
.sz-sheet-meta { margin-top: 18px; gap: 12px; }
.sz-sheet-meta .sz-chip { font-size: 14px; font-weight: 600; padding: 5px 12px; }
.sz-sheet-meta .sz-rating { font-size: 16px; }
.sz-values { margin-top: 26px; gap: 14px; max-width: 460px; }
.sz-value { font-size: 10.5px; line-height: 1.45; }
.sz-value-icon { width: 64px; height: 64px; border-width: 2px; margin-bottom: 10px; }
.sz-value-icon .sz-icon { width: 24px; height: 24px; }

/* Photo zoom: + / − / reset, drag to pan, wheel or pinch to zoom */
.sz-sheet-image { overflow: hidden; touch-action: none; }
.sz-sheet-image img { transition: transform .2s ease; transform-origin: 0 0; will-change: transform; }
.sz-sheet-image.zoomed img { cursor: grab; transition: none; }
.sz-sheet-image.zoomed.dragging img { cursor: grabbing; }
.sz-zoom-controls { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 8px; }
.sz-zoom-controls button { width: 40px; height: 40px; border-radius: 8px; border: 0; cursor: pointer; background: var(--primary); color: var(--primary-fg); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.sz-zoom-controls button:hover { filter: brightness(1.15); }

@media (max-width: 760px) {
	.sz-sheet-top { min-height: 0; grid-template-columns: 1fr; }  /* photo on top, title below */
	.sz-sheet-left { padding: 22px 22px 32px; }
	/* "Sustainable choice" ribbon: hangs under the photo (stacked layout) instead of over it */
	.sz-sheet-tag { position: static; justify-self: start; margin-left: 22px; width: 80px; font-size: 9px; }
	.sz-row-price { font-size: 18px; white-space: nowrap; }
	.sz-sheet-image::before { display: none; }  /* edge fade only blends into the side panel on desktop */
	.sz-sheet-title { font-size: 30px; word-break: normal; overflow-wrap: break-word; hyphens: auto; }
	.sz-values { gap: 8px; }
	.sz-value-icon { width: 52px; height: 52px; }
	.sz-sheet-image { order: -1; aspect-ratio: 1; }
}
.sz-sheet-title { line-height: 1.15; }
@media (max-width: 420px) { .sz-sheet-title { font-size: 26px; } }

/* Header live search dropdown (products only) */
.sz-suggest {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70; padding: 6px; max-height: 70vh; overflow: auto;
	background: #fffdf8; border: 1px solid var(--card-border); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(45, 45, 37, .3);
}
.sz-suggest[hidden] { display: none; }
.sz-suggest.loading { opacity: .7; }
.sz-suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--fg); }
.sz-suggest a:hover, .sz-suggest a.active { background: var(--secondary); }
.sz-suggest img, .sz-suggest-noimg { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--secondary); }
.sz-suggest-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sz-suggest-text strong { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-suggest-text small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-suggest-price { font-size: 13.5px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.sz-suggest a.sz-suggest-all { display: block; margin-top: 4px; padding: 11px 10px; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.sz-suggest-empty { margin: 0; padding: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.sz-search input::-webkit-search-cancel-button { cursor: pointer; }

/* WooCommerce pages load `.woocommerce-page img { height: auto }` — keep header/footer logos sized. */
.sz-header .sz-logo img.sz-logo-img { height: 64px; width: auto; max-width: none; }
.sz-footer .sz-footer-logo img { height: 96px; width: auto; max-width: none; }
@media (max-width: 480px) { .sz-header .sz-logo img.sz-logo-img { height: 48px; } }

/* Phones/tablets: logo centred between the menu button and account/cart. */
@media (max-width: 860px) {
	.sz-header-main { position: relative; min-height: 64px; }
	.sz-header .sz-logo { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); }
	.sz-header .sz-logo img.sz-logo-img { height: 50px; }
	.sz-header-actions { min-height: 50px; }
	.sz-search { margin-top: 4px; }
}
@media (max-width: 480px) { .sz-header .sz-logo img.sz-logo-img { height: 46px; } }

/* ── Vendor card (v2): equal heights, button pinned to the bottom ── */
.sz-store-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; height: 100%; transition: box-shadow .2s, transform .2s; }
.sz-store-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sz-store-card .sz-store-head { display: flex; align-items: center; gap: 14px; color: var(--fg); }
.sz-store-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid #fffdf8; box-shadow: 0 0 0 1px var(--card-border), 0 4px 10px rgba(45,45,37,.12); }
.sz-store-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sz-store-name strong { font-size: 16.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; display: -webkit-box; }
.sz-store-name small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.sz-store-name small .sz-icon { color: var(--primary); }
.sz-store-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 10px 0; border-top: 1px dashed var(--card-border); border-bottom: 1px dashed var(--card-border); }
.sz-store-stats div { text-align: center; }
.sz-store-stats div + div { border-left: 1px solid var(--border); }
.sz-store-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sz-store-stats dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.sz-store-stats dd .sz-icon { color: var(--star); fill: var(--star); }
.sz-store-brands { display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden; min-height: 26px; }
.sz-store-brands .sz-chip { white-space: nowrap; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sz-store-brands .sz-store-more { flex-shrink: 0; background: var(--primary); color: var(--primary-fg); border-color: var(--primary); cursor: help; }
.sz-store-btn { margin-top: auto; gap: 8px; height: 42px; }
.sz-store-btn .sz-icon { margin: 0; transition: transform .2s; }
.sz-store-btn:hover .sz-icon { transform: translateX(3px); }

/* ── Footer (v2) ── */
.sz-footer { margin-top: 64px; padding: 0 0 22px; border-top: 0; background: var(--footer); }
main:has(> .sz-cta:last-child) + .sz-footer, .home .sz-footer { margin-top: 0; }
.sz-footer-trust { list-style: none; margin: 0 0 44px; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-bottom: 1px solid var(--border); }
.sz-footer-trust li { display: flex; align-items: center; gap: 12px; }
.sz-footer-trust li > span { width: 44px; height: 44px; border-radius: 12px; background: #e6ece3; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sz-footer-trust strong { display: block; font-size: 14px; font-weight: 600; }
.sz-footer-trust small { font-size: 12.5px; color: var(--muted); }
.sz-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.sz-footer h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.sz-footer ul:not(.sz-footer-trust) { gap: 10px; }
.sz-footer li a { transition: color .15s, padding .15s; }
.sz-footer li a:hover { color: var(--primary); padding-left: 3px; }
.sz-footer p { max-width: 300px; line-height: 1.6; }
.sz-footer-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px !important; padding: 8px 12px; border-radius: 999px; background: #e6ece3; color: var(--primary) !important; font-size: 13px !important; font-weight: 500; }
.sz-footer .sz-footer-logo img { height: 104px; }
.sz-footer-bottom { margin-top: 44px; }
.sz-footer-bottom a:hover { color: var(--primary); }
@media (max-width: 900px) { .sz-footer-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .sz-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .sz-footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .sz-footer-trust { grid-template-columns: 1fr; } .sz-footer-bottom { flex-direction: column; } .sz-footer-bottom a:first-child { margin-left: 0; } }
.sz-footer ul.sz-footer-trust { margin: 0 0 44px; padding: 26px 0; gap: 16px; }
.sz-store-brands { flex-wrap: wrap; min-height: 60px; align-content: flex-start; }
.sz-store-brands .sz-chip { overflow: visible; }

/* ── Site width matches the header; products page toolbar and uniform cards ── */
.sz-container { max-width: 1320px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 860px) { .sz-container { padding-left: 16px; padding-right: 16px; } }

.sz-filters-bar { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(0, 1fr)) auto; gap: 10px; margin: 22px 0 0; padding: 12px; background: #fffdf8; border: 1px solid var(--card-border); border-radius: 14px; box-shadow: var(--shadow); }
.sz-filters-bar .sz-select, .sz-filter-search input, .sz-filters-bar .sz-btn { height: 42px; width: 100%; }
.sz-filters-bar .sz-select { background-color: var(--bg-soft); border-radius: 10px; }
.sz-filter-search { position: relative; display: block; }
.sz-filter-search .sz-icon { position: absolute; left: 13px; top: 13px; color: var(--muted); pointer-events: none; }
.sz-filters-bar .sz-filter-search input { padding: 0 12px 0 38px; border-radius: 10px; border: 1px solid var(--input); background: var(--bg-soft); font-family: var(--sans); font-size: 14px; }
.sz-filters-bar .sz-filter-search input:focus, .sz-filters-bar .sz-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px hsl(133 22% 24% / .12); }
.sz-filters-bar .sz-btn { padding: 0 22px; border-radius: 10px; gap: 6px; }
.sz-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.sz-results-bar .sz-result-count { margin: 0; font-size: 14px; color: var(--muted); }
.sz-results-bar .sz-result-count strong { color: var(--fg); }
.sz-results-bar .sz-result-count a { color: var(--primary); font-weight: 500; text-decoration: underline; }
.sz-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sz-sort .sz-select { height: 38px; min-width: 190px; border-radius: 10px; background-color: #fffdf8; }

.sz-product-card .sz-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.sz-product-card .sz-worker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1100px) { .sz-filters-bar { grid-template-columns: 1fr 1fr 1fr; } .sz-filter-search { grid-column: 1 / -1; } .sz-filters-bar .sz-btn { grid-column: auto; } }
@media (max-width: 600px) {
	.sz-filters-bar { grid-template-columns: 1fr 1fr; }
	.sz-filters-bar .sz-btn { grid-column: 1 / -1; }
	.sz-results-bar { flex-wrap: wrap; }
	.sz-sort .sz-select { min-width: 0; }
}

/* Initials avatars (stores without products, customer reviews) */
.sz-initials { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; background: var(--primary); color: var(--primary-fg); font-weight: 700; letter-spacing: .02em; font-size: 18px; }
.sz-quote-avatar.sz-initials { width: 46px; height: 46px; font-size: 15px; border: 0; }
.sz-initials-0 { background: #2f4b36; color: #f3efe3; }
.sz-initials-1 { background: #b4532a; color: #fff7ee; }
.sz-initials-2 { background: #8a6d2f; color: #fffaf0; }
.sz-card > .sz-store-avatar { border-radius: 50%; object-fit: cover; }
.sz-store-avatar.sz-store-avatar-lg { width: 84px; height: 84px; font-size: 24px; }
.sz-quote-person .sz-quote-avatar.sz-initials { color: #fffaf0; font-size: 15px; font-weight: 700; line-height: 1; }

/* Footer: Directorate of Social Welfare, Punjab emblem */
.sz-footer-swd { display: block; height: 80px; width: auto; margin-top: 18px; }

/* Track Order & Returns (inc/order-help.php) */
.sz-help-page { max-width: 760px; margin: 0 auto; padding: 40px 0 56px; }
.sz-help-page h1 { font-size: 30px; margin-bottom: 6px; }
.sz-help-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end; margin: 22px 0 18px; padding: 22px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); }
.sz-help-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.sz-help-form input[type=text], .sz-help-form select, .sz-help-form textarea { height: 44px; padding: 0 14px; border: 1px solid var(--input); border-radius: var(--radius); background: #fff; font: inherit; font-weight: 400; font-size: 15px; }
.sz-help-form textarea { height: auto; padding: 10px 14px; resize: vertical; }
.sz-help-form .sz-btn { grid-column: 1 / -1; justify-self: start; }
.sz-help-step { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; border: 0; border-top: 1px dashed var(--card-border); margin: 4px 0 0; padding: 16px 0 0; }
.sz-help-step legend { font-weight: 600; font-size: 14px; padding: 0 0 8px; }
.sz-help-step .sz-help-check { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.sz-help-wide { grid-column: 1 / -1; }
.sz-help-alert { padding: 12px 16px; border-radius: var(--radius); background: #fbeaea; color: #8a2a20; border: 1px solid #efc9c4; font-size: 14px; }
.sz-help-alert.ok { background: #e6f1e4; color: var(--primary); border-color: #c4dcc1; }
.sz-help-result { margin-top: 8px; padding: 22px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); }
.sz-help-result header { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 18px; border-bottom: 1px dashed var(--card-border); }
.sz-help-result header div { display: flex; flex-direction: column; font-size: 13px; } .sz-help-result header strong { font-size: 15px; }
.sz-order-track { display: flex; list-style: none; padding: 0; margin: 22px 0 10px; }
.sz-order-track li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); position: relative; text-align: center; }
.sz-order-track li span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--card-border); font-weight: 600; z-index: 1; }
.sz-order-track li:not(:first-child)::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--card-border); }
.sz-order-track li.done, .sz-order-track li.current { color: var(--primary); font-weight: 600; }
.sz-order-track li.done span, .sz-order-track li.current span { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.sz-order-track li.done::before, .sz-order-track li.current::before { background: var(--primary) !important; }
.sz-help-status { margin: 6px 0 18px; padding: 10px 14px; border-radius: var(--radius); background: #e6f1e4; color: var(--primary); font-size: 14px; }
.sz-help-status.stopped { background: #fbeaea; color: #8a2a20; }
.sz-help-items { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.sz-help-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sz-help-items img, .sz-help-items .sz-noimg { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.sz-help-policy { padding-top: 10px; max-width: none; }
@media (max-width: 600px) {
	.sz-help-form, .sz-help-step { grid-template-columns: 1fr; }
	.sz-help-result header { grid-template-columns: 1fr 1fr; }
	.sz-order-track li { font-size: 11px; }
}

/* Store logos: emblem / uploaded logo inside the round avatar */
.sz-store-avatar.sz-store-logo { object-fit: contain; background: #fffdf8; padding: 7px; }
.sz-store-avatar-lg.sz-store-logo { padding: 10px; }

/* Products filter bar — minimal: no box, pill dropdowns, sort on the same line */
.sz-filters-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding: 0 0 14px; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.sz-filters-bar .sz-filter-search { flex: 0 1 260px; }
.sz-filters-bar .sz-filter-search input { height: 38px; width: 100%; padding: 0 14px 0 36px; border: 1px solid var(--card-border); border-radius: 999px; background: #fffdf8; font-size: 14px; }
.sz-filters-bar .sz-filter-search .sz-icon { left: 13px; top: 11px; }
.sz-filters-bar .sz-select { width: auto; height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--card-border); border-radius: 999px; background-color: transparent; font-size: 13.5px; color: var(--fg); background-position: right 12px center; }
.sz-filters-bar .sz-select:hover, .sz-filters-bar .sz-filter-search input:hover { border-color: var(--input); }
.sz-filters-bar .sz-sort { margin-left: auto; gap: 6px; font-size: 13px; }
.sz-filters-bar .sz-sort .sz-select { min-width: 0; border-color: transparent; font-weight: 600; padding-left: 6px; }
.sz-results-bar { margin: 14px 0 16px; }
@media (max-width: 1100px) { .sz-filters-bar { display: flex; } }
@media (max-width: 600px) {
	.sz-filters-bar { display: flex; }
	.sz-filters-bar .sz-filter-search { flex: 1 1 100%; }
	.sz-filters-bar .sz-select { flex: 1 1 calc(50% - 4px); }
	.sz-filters-bar .sz-sort { margin-left: 0; flex: 1 1 100%; }
}
.sz-filters-bar .sz-select { min-width: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Filter pills: solid, readable on the beige page */
.sz-filters-bar .sz-select, .sz-filters-bar .sz-filter-search input { background-color: #fffdf8; border-color: var(--input); color: var(--fg); font-size: 14px; font-weight: 500; height: 40px; }
.sz-filters-bar .sz-filter-search input::placeholder { color: var(--muted); font-weight: 400; }
.sz-filters-bar .sz-select:hover, .sz-filters-bar .sz-filter-search input:hover { border-color: var(--primary); }
.sz-filters-bar .sz-sort { color: var(--fg); font-weight: 500; font-size: 14px; }
.sz-filters-bar .sz-sort .sz-select { border-color: var(--input); padding-left: 14px; }
.sz-filters-bar .sz-filter-search .sz-icon { top: 12px; color: var(--fg); }

/* Themed searchable dropdowns in the filter bar (site.js) */
.sz-combo { position: relative; }
.sz-combo-btn { height: 40px; max-width: 260px; padding: 0 36px 0 16px; border: 1px solid var(--input); border-radius: 999px; background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d2d25' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; font-size: 14px; font-weight: 500; color: var(--fg); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.sz-combo-btn:hover, .sz-combo.open .sz-combo-btn { border-color: var(--primary); }
.sz-combo.active .sz-combo-btn { background-color: var(--primary); border-color: var(--primary); color: var(--primary-fg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f3efe3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.sz-combo-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: max(100%, 240px); padding: 6px; background: #fffdf8; border: 1px solid var(--card-border); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(45, 45, 37, .3); }
.sz-combo.open .sz-combo-panel { display: block; }
.sz-sort .sz-combo-panel { left: auto; right: 0; }
.sz-combo-search { width: 100%; height: 38px; margin-bottom: 6px; padding: 0 12px; border: 1px solid var(--card-border); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; }
.sz-combo-search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px hsl(133 22% 24% / .12); }
.sz-combo-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.sz-combo-list li { padding: 9px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; color: var(--fg); }
.sz-combo-list li.hover { background: var(--secondary); }
.sz-combo-list li[aria-selected] { font-weight: 600; color: var(--primary); }
.sz-combo-list li[aria-selected]::after { content: "✓"; float: right; }
.sz-combo-empty { margin: 4px 12px 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
	.sz-filters-bar .sz-combo { flex: 1 1 calc(50% - 4px); }
	.sz-combo-btn { width: 100%; max-width: none; }
	.sz-sort .sz-combo { flex: 1; } .sz-sort .sz-combo-panel { left: 0; right: auto; }
}
