/* =====================================================
   Patabay Theme — main stylesheet
   Sections: Tokens, Reset, Layout, Header, Hero,
             CategoryGrid, ProductCarousel/Card, Trust,
             Archive/Single, WooCommerce, Footer,
             Mobile bottom nav, Floating buttons, WA basket
   ===================================================== */

:root {
	/* Brand — Jumia palette (orange primary, red sale, dark text on white) */
	--pb-primary: #f68b1e;        /* Jumia orange */
	--pb-primary-dark: #e07b12;
	--pb-primary-soft: #fff3e6;
	--pb-accent: #f68b1e;
	--pb-accent-dark: #e07b12;
	--pb-accent-soft: #fff3e6;
	--pb-danger: #e62e2e;         /* Red — OFFER ribbons + discount badges */
	--pb-success: #25d366;        /* WhatsApp green */

	/* Surfaces */
	--pb-bg: #ffffff;
	--pb-soft: #f5f5f6;
	--pb-line: #e5e7eb;
	--pb-text: #1a1a1a;            /* softer black */
	--pb-muted: #6b7280;            /* medium gray */

	/* Brand surfaces — Jumia look */
	--pb-topbar-bg: #1f2937;
	--pb-topbar-fg: #f3f4f6;
	--pb-footer-bg: #1f2937;
	--pb-footer-fg: #d1d5db;

	/* Other tokens */
	--pb-radius: 8px;
	--pb-radius-sm: 6px;
	--pb-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.05);
	--pb-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
	--pb-shadow-lg: 0 8px 30px rgba(0,0,0,.1);
	--pb-container: 1280px;
	--pb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pb-mobile-bar-h: 56px;
	--pb-floats-offset: 88px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
/* Make sure [hidden] always wins over display rules (modals, popups). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--pb-font); color: var(--pb-text); background: var(--pb-bg); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pb-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
.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; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 1000; }

/* Layout */
.patabay-container { max-width: var(--pb-container); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.patabay-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 16px 0 32px; }
@media (min-width: 960px) { .patabay-layout { grid-template-columns: 240px minmax(0, 1fr); } }
.patabay-content { min-width: 0; }
.patabay-sidebar { min-width: 0; }
.patabay-sidebar .widget { background: var(--pb-soft); padding: 16px; border-radius: var(--pb-radius); margin-bottom: 16px; }
.patabay-sidebar .widget-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.patabay-page { padding: 32px 0; max-width: 980px; }
.patabay-pagination { padding: 24px 0; }
.patabay-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.patabay-pagination a, .patabay-pagination span { padding: 8px 12px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); background: #fff; color: var(--pb-text); }
.patabay-pagination .current { background: var(--pb-primary); color: #fff; border-color: var(--pb-primary); }

/* Buttons */
.btn, .button {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border: 0; border-radius: var(--pb-radius-sm);
	background: var(--pb-primary); color: #fff; font-weight: 600;
	text-decoration: none; transition: background .15s ease;
}
.btn:hover, .button:hover { background: var(--pb-primary-dark); color: #fff; text-decoration: none; }
.btn--primary { background: var(--pb-primary); }
.btn--accent, .button--accent { background: var(--pb-accent); }
.btn--accent:hover, .button--accent:hover { background: var(--pb-accent-dark); }
.btn--ghost, .button--ghost { background: transparent; color: var(--pb-text); border: 1px solid var(--pb-line); }
.btn--ghost:hover, .button--ghost:hover { background: var(--pb-soft); border-color: var(--pb-primary); color: var(--pb-primary); }
.button--wa { background: var(--pb-success); }
.button--wa:hover { background: #1bb255; }

/* ---------- Top bar ---------- */
.topbar { background: var(--pb-topbar-bg); color: var(--pb-topbar-fg); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.topbar__msg { color: #e6f4f5; }
.topbar__contact { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar__link { color: var(--pb-topbar-fg); display: inline-flex; align-items: center; gap: 6px; }
.topbar__link:hover { color: #fff; text-decoration: none; }
.topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.topbar__menu a { color: var(--pb-topbar-fg); }
@media (max-width: 720px) { .topbar__msg { display: none; } }

/* ---------- Header ---------- */
.site-wrapper { overflow-x: clip; }
.site-header { background: #fff; border-bottom: 1px solid var(--pb-line); position: sticky; top: 0; z-index: 50; overflow: visible; }
.site-header__inner { display: grid; grid-template-columns: minmax(170px, auto) minmax(260px, 560px) auto; gap: 18px; align-items: center; padding: 8px 0; min-height: 64px; }
.site-header__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.custom-logo { width: auto; max-width: 220px; max-height: 48px; object-fit: contain; }
.site-title { font-size: 20px; font-weight: 800; color: var(--pb-text); text-decoration: none; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 6px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--pb-text); margin: 3px 0; transition: transform .2s ease; }
@media (max-width: 960px) { .menu-toggle { display: inline-block; } }

.site-search { display: flex; border: 1px solid var(--pb-line); border-radius: 999px; overflow: hidden; background: var(--pb-soft); max-width: 560px; width: 100%; min-width: 0; justify-self: center; }
.site-search input[type="search"] { flex: 1; border: 0; background: transparent; padding: 8px 14px; font: inherit; color: var(--pb-text); outline: none; min-width: 0; font-size: 14px; }
.site-search button { background: var(--pb-primary); color: #fff; border: 0; padding: 0 16px; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; }
@media (max-width: 720px) { .site-search button span { display: none; } .site-search button { padding: 0 12px; } }

/* Jumia-style header actions: icon + text + arrow */
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--pb-text); min-width: 0; }
.header-action {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--pb-text); text-decoration: none;
	padding: 10px 12px; border-radius: 4px;
	transition: background .15s;
	position: relative;
	min-height: 54px;
}
.header-action:hover { background: #e5e5e5; text-decoration: none; color: var(--pb-text); }
.header-action__icon { display: inline-flex; line-height: 0; }
.header-action__icon svg { width: 28px; height: 28px; stroke-width: 1.9; }
.header-action__label { font-size: 20px; font-weight: 700; }
.header-action__arrow { display: inline-flex; line-height: 0; color: var(--pb-muted); margin-left: -2px; }
.header-action__arrow svg { width: 16px; height: 16px; }
.header-action__count {
	background: var(--pb-primary); color: #fff;
	font-size: 10px; font-weight: 700;
	min-width: 18px; height: 18px;
	padding: 0 5px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	margin-left: 2px;
}
@media (max-width: 720px) {
	.header-action__label, .header-action__arrow { display: none; }
	.header-action { padding: 6px; min-height: 44px; }
}
@media (max-width: 1100px) {
	.site-header__inner { grid-template-columns: auto minmax(220px, 1fr) auto; gap: 10px; }
	.header-action__label { font-size: 16px; }
	.header-action__icon svg { width: 24px; height: 24px; }
}

/* Header dropdowns (Account / Help) */
.header-dropdown { position: relative; }
.header-dropdown__toggle {
	background: transparent; border: 0; cursor: pointer;
	font: inherit;
}
.header-dropdown.is-open .header-dropdown__toggle { background: #d1d1d1; }
.header-dropdown.is-open .header-action__arrow { transform: rotate(180deg); transition: transform .15s ease; }
.header-action__arrow { transition: transform .15s ease; }

.header-dropdown__panel {
	position: absolute; top: calc(100% + 6px); left: 50%;
	width: 256px; max-width: calc(100vw - 24px);
	background: #fff; border: 1px solid #e5e7eb;
	border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.14);
	padding: 20px; z-index: 60;
	transform: translateX(-50%);
	animation: pbDropIn .15s ease-out;
}
.header-dropdown__panel--account { width: 256px; padding: 20px; }
.header-dropdown__panel--wide { width: 258px; padding: 0; }
@keyframes pbDropIn { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }

.header-dropdown__cta {
	display: block; text-align: center;
	background: var(--pb-primary); color: #fff;
	padding: 14px 18px; border-radius: 4px;
	font-weight: 700; font-size: 16px;
	margin-bottom: 24px;
	box-shadow: 0 4px 12px rgba(0,0,0,.16);
	transition: background .12s;
}
.header-dropdown__cta:hover { background: var(--pb-primary-dark); color: #fff; text-decoration: none; }

.header-dropdown__list { list-style: none; margin: 0; padding: 0; }
.header-dropdown__list li { padding: 0; }
.header-dropdown__list a {
	display: flex; align-items: center; gap: 18px;
	padding: 12px 0; color: #343434; font-size: 18px;
	border-radius: 4px; transition: background .12s, color .12s;
}
.header-dropdown__list a:hover { background: transparent; color: var(--pb-primary); text-decoration: none; }
.header-dropdown__list svg { color: var(--pb-muted); flex-shrink: 0; }
.header-dropdown__panel--account .header-dropdown__list svg { width: 28px; height: 28px; stroke-width: 1.8; color: #343434; }
.header-dropdown__list a:hover svg { color: var(--pb-primary); }
.header-dropdown__divider { height: 1px; background: var(--pb-line); margin: 6px 0; }
.header-dropdown__list--plain { padding: 0; }
.header-dropdown__list--plain a {
	display: block;
	padding: 15px 19px;
	font-size: 18px;
	line-height: 1.18;
	color: #343434;
}
.header-dropdown__list--plain a:hover { background: #f7f7f7; color: #111; }

.header-dropdown__actions {
	display: grid; gap: 10px; margin-top: 8px; padding: 14px 19px 18px;
	border-top: 1px solid var(--pb-line);
}
.header-dropdown__actions .button {
	width: 100%; justify-content: center;
	padding: 12px 16px; min-height: 51px; font-size: 18px; font-weight: 800;
	border-radius: 4px;
}
.header-dropdown__actions .button svg { width: 24px; height: 24px; }
.header-dropdown__actions .button--ghost {
	background: #fff;
	color: #25d366;
	border: 1px solid #25d366;
}
.header-dropdown__actions .button--ghost:hover {
	background: #ecfff4;
	color: #16a34a;
	border-color: #16a34a;
}

.primary-nav { background: #fff; border-top: 1px solid var(--pb-line); }
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: nowrap; overflow-x: auto; overflow-y: visible; }
.primary-nav__list > li { position: relative; }
.primary-nav__list > li > a { display: inline-block; padding: 12px 0; color: var(--pb-text); font-weight: 500; white-space: nowrap; }
.primary-nav__list > li > a:hover { color: var(--pb-primary); text-decoration: none; }
.primary-nav__list > li .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--pb-shadow); border-radius: var(--pb-radius); padding: 8px 0; margin: 0; list-style: none; display: none; z-index: 60; }
.primary-nav__list > li:hover .sub-menu { display: block; }
.primary-nav__list .sub-menu li a { display: block; padding: 8px 16px; color: var(--pb-text); }
.primary-nav__list .sub-menu li a:hover { background: var(--pb-soft); }
@media (max-width: 960px) {
	.primary-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 80%; max-width: 320px; background: #fff; transform: translateX(-100%); transition: transform .25s ease; z-index: 80; padding: 24px 0; overflow-y: auto; }
	.primary-nav.is-open { transform: translateX(0); box-shadow: var(--pb-shadow); }
	.primary-nav__list { flex-direction: column; gap: 0; }
	.primary-nav__list > li { border-bottom: 1px solid var(--pb-line); }
	.primary-nav__list > li > a { padding: 12px 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: 12px 0 20px; overflow: hidden; }
.hero .patabay-container { display: grid; gap: 12px; grid-template-columns: 1fr; min-width: 0; }
@media (min-width: 1024px) { .hero .patabay-container { grid-template-columns: minmax(0,1fr) 280px; } }
.hero__slider { position: relative; border-radius: var(--pb-radius); overflow: hidden; box-shadow: var(--pb-shadow); background: #0e1320; aspect-ratio: 16/6.5; min-width: 0; max-width: 100%; }
.hero__track { position: relative; width: 100%; height: 100%; min-width: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; display: block; color: #fff; min-width: 0; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
	background: linear-gradient(to top, rgba(11,19,32,.6), transparent);
	pointer-events: none;
}
.hero__slide--plain::after { display: none; }
.hero__caption {
	position: absolute; left: 20px; bottom: 18px; right: 20px;
	max-width: 420px; padding: 0; background: transparent; color: #fff;
	z-index: 2;
}
.hero__caption h2 { font-size: 18px; margin: 0 0 4px; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.hero__caption p { margin: 0 0 10px; opacity: .9; font-size: 13px; max-width: 340px; line-height: 1.4; text-shadow: 0 1px 3px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__caption .btn { background: var(--pb-accent); padding: 8px 18px; border-radius: 4px; font-weight: 700; font-size: 12px; box-shadow: 0 3px 10px rgba(246,139,30,.35); }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #14181f; font-size: 24px; line-height: 1; z-index: 2; }
.hero__nav--prev { left: 10px; } .hero__nav--next { right: 10px; }
.hero__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); padding: 0; }
.hero__dot.is-active { background: #fff; }

.hero__side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hero__side-card { display: block; position: relative; border-radius: var(--pb-radius); overflow: hidden; background: #f1f3f7; aspect-ratio: 16/9; }
.hero__side-card img { width: 100%; height: 100%; object-fit: cover; }
.hero__side-card span { position: absolute; left: 10px; bottom: 10px; background: rgba(20,24,31,.7); color: #fff; padding: 5px 8px; border-radius: var(--pb-radius-sm); font-size: 12px; font-weight: 600; }

@media (max-width: 720px) {
	.hero__caption h2 { font-size: 16px; } .hero__caption { padding: 10px; left: 10px; bottom: 10px; right: 10px; }
	.hero__slider { aspect-ratio: 4/3; }
}

/* ---------- Saruk-style compact category strip ---------- */
.cat-strip {
	background: #fff;
	border-top: 1px solid var(--pb-line);
	border-bottom: 1px solid var(--pb-line);
	padding: 6px 0;
	overflow-x: hidden;
	overflow-y: hidden;
}
.cat-strip .patabay-container { max-width: var(--pb-container); overflow: hidden; }
.cat-strip__track {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 4px;
	width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	padding-bottom: 3px;
	max-height: 72px;
}
.cat-strip__track::-webkit-scrollbar { height: 5px; }
.cat-strip__track::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.cat-strip__item {
	flex: 0 0 92px !important;
	width: 92px;
	height: 66px;
	display: block;
	position: relative;
	border: 1px solid #d6dbe3;
	overflow: hidden;
	background: #111827;
	color: #fff;
	text-decoration: none;
	scroll-snap-align: start;
}
.cat-strip__item:hover { transform: none; box-shadow: none; text-decoration: none; }
.cat-strip__media { display: block; width: 100%; height: 100%; background: var(--pb-soft); }
.cat-strip__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-strip__name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 19px;
	padding: 2px 5px;
	background: rgba(0,0,0,.84);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.18;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media (min-width: 1200px) {
	.cat-strip__item { flex-basis: 108px !important; width: 108px; height: 68px; }
}

/* ---------- Jumia-style contact stack (WhatsApp / Call / Email) ---------- */
.contact-promo { display: flex; flex-direction: column; gap: 6px; margin-top: 0; }
.contact-promo__card {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 10px; border-radius: var(--pb-radius-sm);
	background: #fff; border: 1px solid #f0f0f0;
	color: var(--pb-text); text-decoration: none;
	transition: transform .12s, box-shadow .12s, border-color .12s;
}
.contact-promo__card:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,.06); text-decoration: none; border-color: #e5e5e5; }
.contact-promo__icon {
	width: 32px; height: 32px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	color: #fff;
}
.contact-promo__icon--wa   { background: var(--pb-success); }
.contact-promo__icon--call { background: #1d4ed8; }
.contact-promo__icon--mail { background: #dc2626; }
.contact-promo__body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; overflow: hidden; }
.contact-promo__body strong { font-size: 12px; color: var(--pb-text); font-weight: 700; }
.contact-promo__body small { font-size: 10px; color: var(--pb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Branded "Call / WhatsApp" promo card */
.contact-promo__cta {
	background: linear-gradient(120deg, var(--pb-accent) 0%, var(--pb-accent) 60%, #38bdf8 60%, #38bdf8 100%);
	color: #fff; padding: 12px 14px; border-radius: var(--pb-radius);
	display: flex; flex-direction: column; gap: 3px; margin-top: 2px;
	text-align: center; line-height: 1.2;
}
.contact-promo__cta-label { font-size: 12px; font-weight: 700; opacity: .92; letter-spacing: .02em; }
.contact-promo__cta strong { font-size: 16px; font-weight: 800; letter-spacing: .04em; }

/* ---------- Section heads — mixed-colour bars ---------- */
.section-head {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	background: #1e293b; color: #fff;
	padding: 9px 14px; border-radius: var(--pb-radius-sm);
	margin-bottom: 14px;
}
.section-head__title { margin: 0; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.section-head__sub { margin: 0; color: rgba(255,255,255,.85); font-size: 11px; }
.section-head a, .section-head__see-all { color: #fff; font-size: 12px; font-weight: 700; opacity: .92; text-decoration: none; }
.section-head a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.section-head--blue   { background: #1d4ed8; }
.section-head--purple { background: #6d28d9; }
.section-head--red    { background: var(--pb-danger); }
.section-head--black  { background: #0f172a; }
.section-head--gradient { background: linear-gradient(90deg, #1d4ed8, #6d28d9); }

/* ---------- Category grid ---------- */
.cat-grid-section { padding: 24px 0; }
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-grid--sub { margin-bottom: 24px; }
.cat-card {
	display: block; background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
	color: var(--pb-text); text-decoration: none;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--pb-shadow); text-decoration: none; }
.cat-card__media { aspect-ratio: 1 / 1; background: var(--pb-soft); overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { padding: 12px; }
.cat-card__title { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.cat-card__count { font-size: 12px; color: var(--pb-muted); }

/* ---------- Product carousel ---------- */
.product-carousel { padding: 12px 0 20px; }
/* Mixed-colour section bar (matches .section-head) — orange reserved for CTAs */
.product-carousel__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: #1e293b; color: #fff;
	padding: 9px 14px; border-radius: var(--pb-radius-sm);
	margin-bottom: 12px;
}
.product-carousel__title { margin: 0; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.product-carousel__see-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12px; color: #fff; opacity: .92; text-decoration: none; }
.product-carousel__see-all:hover { opacity: 1; color: #fff; text-decoration: underline; }
/* Variants */
.product-carousel--blue     .product-carousel__head { background: #1d4ed8; }
.product-carousel--purple   .product-carousel__head { background: #6d28d9; }
.product-carousel--red      .product-carousel__head { background: var(--pb-danger); }
.product-carousel--black    .product-carousel__head { background: #0f172a; }
.product-carousel--gradient .product-carousel__head { background: linear-gradient(90deg, #1d4ed8, #6d28d9); }
.product-carousel--dark   .product-carousel__head { background: #0f172a; }
.product-carousel--danger .product-carousel__head { background: var(--pb-danger); }
.product-carousel__viewport { position: relative; }
.product-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.product-carousel__track > * { scroll-snap-align: start; }
@media (min-width: 600px) { .product-carousel__track { grid-auto-columns: minmax(160px, calc((100% - 10px*3) / 4)); gap: 10px; } }
@media (min-width: 900px) { .product-carousel__track { grid-auto-columns: minmax(150px, calc((100% - 10px*5) / 6)); gap: 10px; } }
@media (min-width: 1200px) { .product-carousel__track { grid-auto-columns: minmax(145px, calc((100% - 10px*7) / 8)); gap: 10px; } }
.carousel-nav { position: absolute; top: 40%; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--pb-shadow); font-size: 20px; line-height: 1; display: none; z-index: 2; }
@media (min-width: 600px) { .carousel-nav { display: block; } }
.carousel-nav--prev { left: -10px; } .carousel-nav--next { right: -10px; }
.product-carousel__track::-webkit-scrollbar { height: 6px; } .product-carousel__track::-webkit-scrollbar-thumb { background: var(--pb-line); border-radius: 999px; }

/* ---------- Product card ---------- */
.product-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius); overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease;
	height: 100%;
	position: relative;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--pb-shadow); }
.product-card__link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.product-card__link:hover { text-decoration: none; }
.product-card__media { aspect-ratio: 1; position: relative; overflow: hidden; background: var(--pb-soft); flex-shrink: 0; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__badge { position: absolute; top: 6px; left: 6px; background: var(--pb-accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.product-card__badge--out { background: #9ca3af; color: #fff; }
.product-card__body { padding: 10px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { margin: 0 0 5px; font-size: 13px; font-weight: 600; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__price {
	color: var(--pb-primary); font-weight: 700;
	min-height: 20px;
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px;
	font-size: 13px;
}
.product-card__price del { color: var(--pb-muted); font-weight: 400; font-size: 11px; }
.product-card__price ins { text-decoration: none; }
.product-card__rating { color: var(--pb-accent); font-size: 13px; }

/* Saruk-style product card extras */
.product-card__sku { display: block; font-size: 9px; color: var(--pb-muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.product-card__stock { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; padding: 2px 0; margin-top: 3px; }
.product-card__stock--in-stock { color: #16a34a; }
.product-card__stock--low { color: #ea580c; }
.product-card__stock--out { color: var(--pb-muted); }
.product-card__ribbon {
	position: absolute; top: 10px; right: -2px;
	background: #dc2626; color: #fff;
	font-size: 9px; font-weight: 800; letter-spacing: .12em;
	padding: 3px 6px; border-radius: 0 0 0 4px;
	writing-mode: vertical-rl; text-orientation: mixed;
	transform: rotate(180deg);
}
.product-card__new {
	position: absolute; bottom: 6px; right: 6px;
	background: var(--pb-primary); color: #fff;
	font-size: 9px; font-weight: 700; letter-spacing: .04em;
	padding: 2px 6px; border-radius: 3px;
}
.product-card__cta { padding: 0 10px 10px; margin-top: auto; }
.product-card__cta .button,
.product-card__cta .wa-order-btn,
.product-card__cta a.added_to_cart {
	width: 100%; justify-content: center;
	background: var(--pb-accent); color: #fff;
	border: 0; padding: 8px 12px;
	border-radius: 4px; font-weight: 700; font-size: 12px;
	display: inline-flex; align-items: center; gap: 5px;
	box-shadow: 0 2px 5px rgba(246,139,30,.2);
	transition: background .12s;
}
.product-card__cta .button:hover,
.product-card__cta .wa-order-btn:hover,
.product-card__cta a.added_to_cart:hover {
	background: var(--pb-accent-dark); text-decoration: none;
}
.product-card__cta a.button.product_type_grouped,
.product-card__cta a.button.product_type_external,
.product-card__cta a.button.product_type_variable,
.product-card__cta a:not(.wa-order-btn):not(.add_to_cart_button) {
	background: var(--pb-primary);
	box-shadow: 0 2px 5px rgba(10,124,132,.15);
}
.product-card__cta a.button.product_type_grouped:hover,
.product-card__cta a.button.product_type_external:hover,
.product-card__cta a.button.product_type_variable:hover,
.product-card__cta a:not(.wa-order-btn):not(.add_to_cart_button):hover {
	background: var(--pb-primary-dark);
}
.card-excerpt { color: var(--pb-muted); font-size: 12px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--pb-soft); padding: 16px 0; margin-top: 12px; }
.trust-bar__inner { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust-bar__inner { grid-template-columns: repeat(4, 1fr); } }
.trust-bar__item { display: flex; gap: 8px; align-items: center; color: var(--pb-text); }
.trust-bar__item strong { display: block; font-size: 13px; }
.trust-bar__item span { display: block; color: var(--pb-muted); font-size: 11px; }

/* ---------- Archive header (Saruk-style gradient bar) ---------- */
.archive-hero { padding: 56px 0; background: #14181f; color: #fff; background-size: cover; background-position: center; }
.archive-hero__title { margin: 0; font-size: 32px; font-weight: 800; }
.archive-hero__desc { margin-top: 8px; color: #cfd6e0; max-width: 720px; }
.archive-hero--bar {
	padding: 10px 0;
	background: linear-gradient(90deg, #3f7df4 0%, #f68b1e 100%);
	color: #fff;
}
.archive-hero--bar .archive-hero__title { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
@media (min-width: 720px) {
	.archive-hero--bar { padding: 11px 0; }
	.archive-hero--bar .archive-hero__title { font-size: 18px; }
}

/* Saruk-style archive filter sidebar */
.archive-filters {
	background: #fff; border: 1px solid #dbe5ff; border-radius: 0;
	padding: 12px 14px 6px;
	max-height: calc(100vh - 190px);
	overflow-y: auto;
}
.archive-filters__head {
	font-size: 14px; font-weight: 800; color: var(--pb-primary);
	padding-bottom: 10px; margin-bottom: 8px;
	border-bottom: 1px solid var(--pb-soft);
}
.archive-filters__group { padding: 6px 0; }
.archive-filters__title {
	font-size: 13px; font-weight: 800; color: var(--pb-primary);
	margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--pb-soft);
}
.archive-filters__list { list-style: none; margin: 0; padding: 0; }
.archive-filters__list li { padding: 0; }
.archive-filters__radio {
	display: flex; align-items: center; gap: 8px;
	padding: 7px 0; color: var(--pb-text); font-size: 13px;
	transition: color .12s;
}
.archive-filters__radio:hover { color: var(--pb-primary); text-decoration: none; }
.archive-filters__dot {
	width: 14px; height: 14px; border-radius: 50%;
	border: 1.5px solid #cbd5e1; background: #fff; flex-shrink: 0;
	transition: border-color .12s, background .12s;
}
.archive-filters__radio:hover .archive-filters__dot { border-color: var(--pb-primary); }
.archive-filters__radio.is-active { color: var(--pb-primary); font-weight: 700; }
.archive-filters__radio.is-active .archive-filters__dot {
	border-color: var(--pb-primary);
	background: radial-gradient(circle, var(--pb-primary) 0 4px, #fff 5px 100%);
}

/* Archive description (rendered below products, Saruk-style) */
.archive-description {
	margin-top: 32px; padding: 24px;
	background: var(--pb-soft); border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
}
.archive-description__title { margin: 0 0 12px; font-size: 22px; color: var(--pb-text); }
.archive-description__body { color: var(--pb-text); line-height: 1.7; font-size: 15px; }
.archive-description__body p { margin: 0 0 12px; }
.archive-description__body h2, .archive-description__body h3 { margin: 1.4em 0 0.6em; }
.post-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.post-card__media img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 14px; }
.post-card__title { margin: 0 0 6px; font-size: 16px; }
.post-card__title a { color: var(--pb-text); }
.post-card__meta { color: var(--pb-muted); font-size: 12px; margin: 0 0 6px; }
.post-card__excerpt { color: var(--pb-muted); margin: 0; font-size: 14px; }

/* ---------- Single post ---------- */
.single-post { background: #fff; }
.single-post__head { padding: 24px 0 12px; }
.single-post__crumbs { color: var(--pb-muted); font-size: 13px; margin: 0 0 6px; }
.single-post__title { margin: 0 0 8px; font-size: 32px; font-weight: 800; }
.single-post__meta { color: var(--pb-muted); font-size: 13px; }
.single-post__media img { width: 100%; height: auto; border-radius: var(--pb-radius); }
.single-post__content { font-size: 16px; }
.single-post__content h2, .single-post__content h3 { margin-top: 1.6em; }
.single-post__tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0; }
.single-post__tags a { background: var(--pb-soft); padding: 4px 10px; border-radius: 999px; font-size: 13px; color: var(--pb-muted); }

/* ---------- Static / Page ---------- */
.static-page__head { padding: 24px 0 12px; }
.static-page__title { margin: 0; font-size: 32px; font-weight: 800; }
.static-page__media img { width: 100%; height: auto; border-radius: var(--pb-radius); margin-bottom: 16px; }
.static-page__content { font-size: 16px; line-height: 1.7; }
.entry-content h2 { font-size: 22px; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content table th, .entry-content table td { padding: 10px; border: 1px solid var(--pb-line); text-align: left; }

/* ---------- Contact / Track Order ---------- */
.contact-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 16px 0; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: block; padding: 16px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: #fff; color: var(--pb-text); text-decoration: none; }
.contact-card h3 { margin: 8px 0 4px; font-size: 16px; }
.contact-card p { margin: 0; color: var(--pb-muted); }
.contact-card--wa { background: #ecfff4; border-color: #c8efd6; }
.track-order-cta { margin-top: 24px; padding: 20px; background: var(--pb-soft); border-radius: var(--pb-radius); text-align: center; }
.track-order-cta p { margin: 0 0 12px; color: var(--pb-muted); }

/* ---------- 404 ---------- */
.patabay-404 { padding: 80px 0; text-align: center; }
.patabay-404 h1 { font-size: 96px; margin: 0; color: var(--pb-primary); }
.patabay-404 h2 { margin: 0 0 8px; }
.patabay-404 p { color: var(--pb-muted); }
.patabay-404 .search-form { display: inline-flex; gap: 6px; margin: 16px 0; }
.patabay-404 .search-form input { padding: 10px 12px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); }

/* ---------- WooCommerce ---------- */
.patabay-shop-main { padding: 10px 0 40px; }
.patabay-breadcrumb, .woocommerce-breadcrumb { color: var(--pb-muted); font-size: 13px; padding: 12px 0; }
.patabay-breadcrumb a, .woocommerce-breadcrumb a { color: var(--pb-muted); }
ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { ul.products { grid-template-columns: repeat(4, 1fr); } }
ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
ul.products .product-card { height: 100%; }
.woocommerce-result-count, .woocommerce-ordering { margin-bottom: 12px; }
.woocommerce-pagination ul { list-style: none; padding: 0; display: flex; gap: 6px; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span { padding: 8px 12px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); background: #fff; color: var(--pb-text); }

/* Saruk-style dense product/category archives */
@media (min-width: 960px) {
	.patabay-shop-main .patabay-layout {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
	}
	.patabay-shop-main .patabay-sidebar {
		position: sticky;
		top: 154px;
		align-self: start;
	}
}
.patabay-shop-main .patabay-content { min-width: 0; }
.patabay-shop-main ul.products {
	gap: 8px;
	align-items: stretch;
}
@media (min-width: 1024px) { .patabay-shop-main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .patabay-shop-main ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.patabay-shop-main ul.products .product-card {
	border: 1px solid #2f73ff;
	border-radius: 0;
	box-shadow: none;
	min-height: 380px;
	overflow: hidden;
}
.patabay-shop-main ul.products .product-card:hover {
	transform: none;
	box-shadow: 0 2px 8px rgba(47,115,255,.14);
}
.patabay-shop-main ul.products .product-card__media {
	aspect-ratio: 1.22 / 1;
	background: #fff;
	padding: 12px;
}
.patabay-shop-main ul.products .product-card__media img {
	object-fit: contain;
	transform: none !important;
}
.patabay-shop-main ul.products .product-card__body {
	padding: 9px 12px 8px;
}
.patabay-shop-main ul.products .product-card__sku {
	font-size: 10px;
	letter-spacing: 0;
	text-transform: none;
	margin-bottom: 4px;
}
.patabay-shop-main ul.products .product-card__title {
	font-size: 13px;
	line-height: 1.35;
	min-height: 3.9em;
	margin-bottom: 6px;
	font-weight: 500;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
.patabay-shop-main ul.products .product-card__price {
	color: #2f73ff;
	font-size: 14px;
	min-height: 20px;
	font-weight: 800;
}
.patabay-shop-main ul.products .product-card__stock {
	font-size: 12px;
	margin-top: 4px;
}
.patabay-shop-main ul.products .product-card__cta {
	display: none;
}
.patabay-shop-main .woocommerce-result-count {
	font-size: 14px;
}

/* Single product — Jumia 3-column hero (gallery / summary / delivery) */
.patabay-single-product__hero {
	display: grid; gap: 16px; padding: 12px 0;
	grid-template-columns: 1fr;
}
@media (min-width: 900px) {
	.patabay-single-product__hero { grid-template-columns: minmax(320px, .95fr) minmax(360px, 1.15fr); }
}
@media (min-width: 1200px) {
	.patabay-single-product__hero { grid-template-columns: minmax(360px, .95fr) minmax(430px, 1.15fr) 300px; align-items: start; }
}
.patabay-single-product .woocommerce-product-gallery,
.patabay-single-product div.summary {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	clear: none !important;
}
.patabay-single-product .woocommerce-product-gallery { margin: 0 !important; }

/* Gallery */
.patabay-single-product__gallery {
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	padding: 16px; position: relative; min-width: 0;
}
.patabay-single-product__gallery img { border-radius: 6px; }
.patabay-single-product__gallery .woocommerce-product-gallery__image {
	display: flex !important; align-items: center; justify-content: center;
	min-height: 320px;
}
.patabay-single-product__gallery .woocommerce-product-gallery__image img {
	width: 100%; height: auto; max-height: 460px; object-fit: contain;
}
.patabay-single-product__gallery .flex-control-thumbs {
	display: flex; gap: 8px; margin: 12px 0 0 !important; padding: 0 !important; overflow-x: auto;
}
.patabay-single-product__gallery .flex-control-thumbs li { flex: 0 0 56px; width: 56px !important; }
.patabay-single-product__gallery .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; border: 1px solid var(--pb-line); padding: 3px; background: #fff; }

/* Summary */
.patabay-single-product__summary {
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	padding: 20px 24px; min-width: 0;
}
.patabay-single-product__summary .product_title { font-size: 22px; line-height: 1.25; margin: 0 0 8px; font-weight: 800; letter-spacing: 0; }
.single-product__brand { margin: 0 0 10px; font-size: 12.5px; color: var(--pb-muted); }
.single-product__brand a { color: var(--pb-primary); font-weight: 600; }
.single-product__brand .dot { margin: 0 4px; opacity: .5; }
.single-product__price-row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 6px; border-top: 1px solid var(--pb-soft); flex-wrap: wrap; }
.single-product__price { font-size: 30px; font-weight: 800; color: var(--pb-text); line-height: 1.1; }
.single-product__price .price { font-size: inherit; color: inherit; font-weight: inherit; }
.single-product__price del { color: var(--pb-muted); font-size: 14px; font-weight: 400; margin-left: 6px; }
.single-product__price ins { text-decoration: none; }
.single-product__pct { font-size: 11px; font-weight: 700; color: var(--pb-accent-dark); background: var(--pb-accent-soft); padding: 3px 7px; border-radius: 4px; }
.single-product__stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0 8px; font-size: 13px; font-weight: 600; }
.single-product__stock--in { color: var(--pb-success); }
.single-product__stock--out { color: var(--pb-muted); }
.single-product__stock--low { color: var(--pb-danger); }
.single-product__rating { padding: 4px 0; }
.single-product__shipping-note {
	display: flex; align-items: flex-start; gap: 8px;
	margin: 8px 0 10px; padding: 12px 14px;
	background: var(--pb-accent-soft); color: var(--pb-accent-dark);
	border-radius: var(--pb-radius-sm); font-size: 13px; font-weight: 700; line-height: 1.35;
}
.single-product__shipping-note svg { flex-shrink: 0; margin-top: 1px; }
.single-product__excerpt { color: var(--pb-text); font-size: 13.5px; line-height: 1.5; padding: 12px 0 0; border-top: 1px solid var(--pb-soft); margin-top: 14px; max-height: 180px; overflow: auto; }
.single-product__excerpt p { margin: 0 0 6px; }

/* Perks panel */
.patabay-single-product__perks {
	list-style: none; margin: 12px 0 0; padding: 12px;
	background: var(--pb-soft); border-radius: var(--pb-radius-sm);
	display: grid; gap: 8px;
}
.patabay-single-product__perks li { display: flex; align-items: center; gap: 8px; color: var(--pb-text); font-size: 12.5px; line-height: 1.35; }
.patabay-single-product__perks svg { color: var(--pb-primary); flex-shrink: 0; }

/* Delivery / seller sidebar (right rail) */
.patabay-single-product__side {
	display: grid; gap: 14px; align-self: start;
}
@media (min-width: 900px) and (max-width: 1199px) {
	.patabay-single-product__side { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.patabay-single-product__side { position: sticky; top: 92px; }
}
.patabay-single-product__delivery {
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	overflow: hidden;
}
.delivery-card__head { background: #1e293b; color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.delivery-card__body { padding: 4px 14px; }
.delivery-card__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--pb-soft); }
.delivery-card__row:last-child { border-bottom: 0; }
.delivery-card__row > svg { color: var(--pb-primary); flex-shrink: 0; }
.delivery-card__row strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.delivery-card__row small { display: block; font-size: 11.5px; color: var(--pb-muted); margin-top: 1px; line-height: 1.3; }
.seller-card {
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	overflow: hidden;
}
.seller-card__head { padding: 10px 14px; border-bottom: 1px solid var(--pb-soft); font-size: 13px; font-weight: 800; }
.seller-card__body { display: grid; gap: 9px; padding: 12px 14px; font-size: 12.5px; }
.seller-card__body > strong { font-size: 14px; }
.seller-card__body > span { color: var(--pb-muted); }
.seller-card__score { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--pb-soft); padding-top: 9px; }
.seller-card__score span { color: var(--pb-muted); }
.seller-card__score strong { color: var(--pb-success); }
.seller-card--promo { padding-bottom: 8px; }
.seller-card--promo a { display: block; padding: 9px 14px; color: var(--pb-primary); font-size: 13px; font-weight: 700; text-decoration: none; }
.seller-card--promo a:hover { color: var(--pb-primary-dark); text-decoration: underline; }

/* Tabs (Description / Additional info / Reviews) */
.patabay-single-product__tabs .woocommerce-tabs { padding: 16px 0; }
.patabay-single-product__tabs .tabs {
	list-style: none; padding: 0; display: flex; gap: 0;
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	margin: 0 0 12px; overflow: hidden; flex-wrap: wrap;
}
.patabay-single-product__tabs .tabs li { margin: 0; }
.patabay-single-product__tabs .tabs li a { display: block; padding: 12px 18px; color: var(--pb-muted); font-weight: 700; font-size: 13.5px; transition: background .12s, color .12s; }
.patabay-single-product__tabs .tabs li.active a,
.patabay-single-product__tabs .tabs li a:hover { color: var(--pb-text); background: var(--pb-soft); text-decoration: none; }
.patabay-single-product__tabs .tabs li.active a { box-shadow: inset 0 -3px 0 var(--pb-primary); }
.patabay-single-product__tabs .panel { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 18px 20px; }
.patabay-single-product__tabs .panel h2 { font-size: 18px; margin: 0 0 10px; }
.patabay-single-product__tabs .related.products,
.patabay-single-product__tabs .up-sells.products,
.patabay-single-product__tabs .cross-sell {
	display: block; margin-top: 24px;
}
.patabay-related-products {
	padding: 0 0 10px;
}
.patabay-related-products .product-carousel__head {
	margin-bottom: 10px;
}
.patabay-related-products__track > .product-card {
	min-width: 0;
	height: 100%;
}
.patabay-single-product__tabs .related.products > h2,
.patabay-single-product__tabs .up-sells.products > h2 {
	font-size: 22px; margin: 0 0 14px; font-weight: 800;
}
.patabay-single-product__tabs .related.products ul.products,
.patabay-single-product__tabs .up-sells.products ul.products {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: minmax(150px, calc((100% - 12px*5) / 6));
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px;
}
.patabay-single-product__tabs .related.products ul.products > li,
.patabay-single-product__tabs .up-sells.products ul.products > li {
	scroll-snap-align: start;
	min-width: 0;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}
.patabay-single-product__tabs .related.products ul.products::-webkit-scrollbar,
.patabay-single-product__tabs .up-sells.products ul.products::-webkit-scrollbar { height: 6px; }
.patabay-single-product__tabs .related.products ul.products::-webkit-scrollbar-thumb,
.patabay-single-product__tabs .up-sells.products ul.products::-webkit-scrollbar-thumb { background: var(--pb-line); border-radius: 999px; }
@media (min-width: 1200px) {
	.patabay-single-product__tabs .related.products ul.products,
	.patabay-single-product__tabs .up-sells.products ul.products {
		grid-auto-columns: minmax(145px, calc((100% - 12px*7) / 8));
	}
}

/* FlexPay (Lipia Pole Pole) button — the plugin renders
   <button class="flex_lpp_btn"><span>Save with</span><img>FlexPay logo<span>Lipia pole pole</span></button>
   Style it as a full-width navy CTA that sits cleanly under the Buy Now form. */
.patabay-single-product__summary .flex_lpp_btn,
.summary .flex_lpp_btn,
button.flex_lpp_btn {
	display: flex !important; align-items: center; justify-content: center;
	gap: 8px; width: 100%; margin: 8px 0 0;
	padding: 12px 18px;
	background: #1e3a8a; color: #fff;
	border: 0; border-radius: 6px;
	font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(30,58,138,.25);
	cursor: pointer; transition: background .12s, transform .12s;
}
.patabay-single-product__summary .flex_lpp_btn:hover,
.summary .flex_lpp_btn:hover,
button.flex_lpp_btn:hover { background: #1e40af; transform: translateY(-1px); }
.flex_lpp_btn img {
	height: 18px; width: auto; flex-shrink: 0;
	filter: brightness(0) invert(1); /* force the FlexPay mark to white if it isn't already */
}
.flex_lpp_btn span { line-height: 1; }
.flex_lpp_btn span:empty,
.flex_lpp_btn span[style*="display:none"] { display: none !important; }

/* Generic catcher for any other plugin variant that uses "flexpay" in the class/href */
.patabay-single-product__summary [class*="flexpay"]:not(.flex_lpp_btn),
.patabay-single-product__summary a[href*="flexpay"] {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 100%; margin-top: 8px;
	padding: 11px 16px; border-radius: 6px;
	background: #1e3a8a; color: #fff;
	font-weight: 700; font-size: 13.5px;
	box-shadow: 0 2px 6px rgba(30,58,138,.20);
	text-decoration: none; transition: background .12s;
}
.patabay-single-product__summary [class*="flexpay"]:not(.flex_lpp_btn):hover,
.patabay-single-product__summary a[href*="flexpay"]:hover { background: #1e40af; }

/* WhatsApp order form (replaces add-to-cart) */
.patabay-single-product__summary .wa-order-form {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 10px;
	align-items: end;
	padding: 14px 0;
}
.wa-order-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 12px 0; }
.wa-order-form__qty { display: flex; align-items: center; gap: 6px; }
.patabay-single-product__summary .wa-order-form__qty { align-self: stretch; }
.patabay-single-product__summary .wa-order-form__qty label { font-weight: 700; }
.wa-order-form__qty input { width: 80px; padding: 10px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); }
.patabay-single-product__summary .wa-order-form__qty input { width: 64px; }
.wa-order-form__submit { padding: 12px 18px; }
.patabay-single-product__summary .wa-order-form__submit,
.patabay-single-product__summary .wa-add-basket {
	grid-column: 1 / -1;
	width: 100%;
	justify-content: center;
	min-height: 48px;
	font-size: 15px;
	font-weight: 800;
}
.patabay-single-product__summary .wa-order-form__submit.button--wa {
	background: var(--pb-accent) !important;
	box-shadow: 0 3px 8px rgba(246,139,30,.30);
}
.patabay-single-product__summary .wa-order-form__submit.button--wa:hover { background: var(--pb-accent-dark) !important; }
.patabay-single-product__summary .wa-add-basket {
	background: #fff;
	color: var(--pb-accent);
	border: 1px solid var(--pb-accent);
}
.patabay-single-product__summary .wa-add-basket:hover {
	background: var(--pb-accent-soft);
	color: var(--pb-accent-dark);
	border-color: var(--pb-accent-dark);
}
/* "Buy Now" button on cards / quick-view / sticky bar — Jumia orange (eye-catching). */
.wa-order-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--pb-accent) !important; color: #fff !important; font-weight: 700 !important; box-shadow: 0 2px 6px rgba(246,139,30,.25); }
.wa-order-btn:hover { background: var(--pb-accent-dark) !important; text-decoration: none; }

/* ---------- Footer (Jumia-style dark gray) ---------- */
.site-footer {
	background: var(--pb-footer-bg);
	color: var(--pb-footer-fg); margin-top: 56px;
	border-top: 4px solid var(--pb-primary);
}
.site-footer .patabay-container { padding-top: 32px; padding-bottom: 16px; }
.site-footer__grid {
	display: grid; gap: 24px;
	grid-template-columns: 1fr;
}
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } }
.site-footer__col h4, .site-footer .widget-title { color: #fff; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: .01em; margin: 0 0 10px; }
.site-footer .widget-title--mt { margin-top: 18px; }
.site-footer__contact, .site-footer__hours, .site-footer__menu { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.site-footer__contact li, .site-footer__hours li, .site-footer__menu li { padding: 3px 0; line-height: 1.45; }
.site-footer__contact strong { font-weight: 700; }
.site-footer__contact a, .site-footer__menu a, .site-footer__hours a { color: rgba(255,255,255,.92); }
.site-footer__contact a:hover, .site-footer__menu a:hover, .site-footer__hours a:hover { color: #fff; text-decoration: underline; }
.site-footer__addr { color: rgba(255,255,255,.82); padding-top: 4px !important; }
.site-footer__note { font-size: 12px; color: rgba(255,255,255,.85); margin: 0; line-height: 1.45; }
.site-footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer__social a {
	width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
	transition: background .15s;
}
.site-footer__social a:hover { background: rgba(255,255,255,.30); }
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.18);
	margin-top: 24px; padding-top: 14px;
	text-align: center;
}
.site-footer__copy { margin: 0; color: rgba(255,255,255,.92); font-size: 12px; }

/* ============================================
   JUMIA-INSPIRED FEATURES
   - Left sidebar mega-menu next to hero
   - Flash sale section + countdown timer
   - Discount % / Stock urgency / Warranty badges
   ============================================ */

/* Hero with sidebar layout */
.hero--with-sidebar { background: #cfeff7; padding: 10px 0 14px; }
.hero--with-sidebar .hero__layout { display: grid; gap: 10px; grid-template-columns: 1fr; align-items: stretch; width: 100%; min-width: 0; }
@media (min-width: 960px) {
	.hero--with-sidebar .hero__layout { grid-template-columns: 190px minmax(0, 1fr) 230px; }
}
.hero--with-sidebar .hero__slider { aspect-ratio: 16 / 7.2; min-height: 0; height: clamp(280px, 25vw, 312px); min-width: 0; }
.hero--with-sidebar .hero__side { display: grid; grid-template-rows: 136px minmax(0, 1fr); gap: 10px; min-height: 0; min-width: 0; }
@media (min-width: 960px) {
	.hero--with-sidebar .cat-sidebar,
	.hero--with-sidebar .hero__side { height: 100%; min-width: 0; }
}

/* Category sidebar */
.cat-sidebar {
	background: #fff; border: 1px solid var(--pb-line); border-radius: 4px;
	overflow: hidden;
	display: none;
}
@media (min-width: 1024px) {
	.cat-sidebar { display: flex; flex-direction: column; height: 100%; }
}
.cat-sidebar__head {
	background: #1e293b; color: #fff;
	padding: 8px 11px; font-weight: 800; font-size: 12px; letter-spacing: .01em;
	flex-shrink: 0;
	display: flex; align-items: center; gap: 8px;
}
.cat-sidebar__head::before {
	content: ''; width: 16px; height: 12px;
	background:
		linear-gradient(currentColor, currentColor) top    / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
}
.cat-sidebar__list { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; }
.cat-sidebar__list::-webkit-scrollbar { width: 4px; }
.cat-sidebar__list::-webkit-scrollbar-thumb { background: var(--pb-line); border-radius: 999px; }
.cat-sidebar__item { position: relative; }
.cat-sidebar__item > a {
	display: flex; align-items: center; gap: 8px;
	padding: 7px 10px; color: var(--pb-text); font-size: 12px; font-weight: 500;
	border-bottom: 1px solid #f1f5f9;
	transition: background .12s, color .12s;
}
.cat-sidebar__item:last-child > a { border-bottom: 0; }
.cat-sidebar__item > a:hover {
	background: var(--pb-primary-soft); color: var(--pb-primary);
	text-decoration: none;
}
.cat-sidebar__icon {
	width: 18px; height: 18px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--pb-muted);
}
.cat-sidebar__icon svg { width: 16px; height: 16px; }
.cat-sidebar__item:hover .cat-sidebar__icon { color: var(--pb-primary); }
.cat-sidebar__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Flash sale */
.flash-sale {
	background: linear-gradient(135deg, #fff5eb, #ffeadb);
	border-top: 4px solid var(--pb-accent);
	padding: 24px 0;
	margin: 8px 0;
}
.flash-sale__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-bottom: 16px; flex-wrap: wrap;
}
.flash-sale__title {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0; font-size: 22px; font-weight: 800; color: var(--pb-accent-dark);
}
.flash-sale__timer {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--pb-text); font-size: 13px;
}
.flash-sale__time {
	background: var(--pb-text); color: #fff; font-weight: 700; padding: 6px 10px;
	border-radius: 6px; min-width: 36px; text-align: center; font-variant-numeric: tabular-nums;
}
.flash-sale__sep { color: var(--pb-text); font-weight: 700; }
.flash-sale__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr);
	gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
@media (min-width: 600px) { .flash-sale__track { grid-auto-columns: minmax(180px, calc((100% - 12px*3) / 4)); } }
@media (min-width: 1024px) { .flash-sale__track { grid-auto-columns: minmax(180px, calc((100% - 12px*5) / 6)); } }
.flash-card {
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	padding: 10px; color: var(--pb-text); text-align: center; scroll-snap-align: start;
	transition: transform .15s ease, box-shadow .15s ease;
}
.flash-card:hover { transform: translateY(-2px); box-shadow: var(--pb-shadow); text-decoration: none; }
.flash-card__media { position: relative; aspect-ratio: 1; margin-bottom: 8px; background: var(--pb-soft); border-radius: 8px; overflow: hidden; }
.flash-card__media img { width: 100%; height: 100%; object-fit: cover; }
.flash-card__pct {
	position: absolute; top: 6px; left: 6px; background: var(--pb-accent); color: #fff;
	font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.flash-card__title { font-size: 13px; font-weight: 600; margin: 4px 0; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flash-card__price { color: var(--pb-accent-dark); font-weight: 700; font-size: 14px; }
.flash-card__price del { color: var(--pb-muted); font-weight: 400; font-size: 12px; margin-right: 4px; }
.flash-card__stock { font-size: 11px; color: var(--pb-accent-dark); font-weight: 600; margin-top: 4px; }

/* Product card extras (Jumia-style) */
.product-card__pct {
	position: absolute; top: 8px; right: 8px; background: var(--pb-danger); color: #fff;
	font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
	box-shadow: 0 2px 4px rgba(220,38,38,.30);
}
.product-card__low-stock {
	display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 600;
	color: var(--pb-accent-dark); background: #fff5eb; padding: 2px 6px; border-radius: 4px;
}
.product-card__warranty {
	display: inline-flex; align-items: center; gap: 4px; margin-top: 6px;
	font-size: 11px; color: var(--pb-primary); background: var(--pb-primary-soft);
	padding: 3px 8px; border-radius: 999px; font-weight: 600;
}

/* ============================================
   MOBILE BOTTOM NAV  +  FLOATING WA / PHONE
   ============================================ */
.mobile-bottom-nav {
	display: none;
	position: fixed; left: 0; right: 0; bottom: 0;
	background: linear-gradient(to bottom, #d97742, #c75a26);
	color: #fff; z-index: 90;
	box-shadow: 0 -4px 16px rgba(0,0,0,.15);
	height: var(--pb-mobile-bar-h);
}
.mobile-bottom-nav__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; text-decoration: none; padding: 6px 0; min-width: 0; }
.mobile-bottom-nav__item:hover { color: #fff; text-decoration: none; }
.mobile-bottom-nav__icon { line-height: 0; }
.mobile-bottom-nav__label { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 100%; padding: 0 2px; }

@media (max-width: 720px) {
	.mobile-bottom-nav { display: flex; }
	body { padding-bottom: var(--pb-mobile-bar-h); }
}

/* Floating WhatsApp / phone — z-index 100 so it stays above the cookie banner. */
.floating-actions { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; z-index: 100; }
@media (max-width: 720px) {
	.floating-actions { right: 12px; }
	.floating-actions--with-bar { bottom: calc(var(--pb-mobile-bar-h) + 16px); }
}
.floating-actions__btn {
	width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .15s ease;
}
.floating-actions__btn:hover { transform: scale(1.05); text-decoration: none; }
.floating-actions__btn--call { background: var(--pb-primary); }
.floating-actions__btn--wa { background: var(--pb-success); position: relative; }
.floating-actions__btn--wa::before {
	content: ''; position: absolute; inset: 0; border-radius: 50%;
	background: var(--pb-success); opacity: .35;
	animation: pbWaPulse 2s ease-out infinite;
	z-index: -1;
}
@keyframes pbWaPulse {
	0%   { transform: scale(1);   opacity: .5; }
	100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.floating-actions__btn--wa::before { animation: none; }
}

/* ============================================
   WhatsApp basket panel
   ============================================ */
.wa-basket-toggle { position: fixed; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; background: #14181f; color: #fff; border: 0; box-shadow: 0 8px 20px rgba(0,0,0,.18); z-index: 87; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 720px) { .wa-basket-toggle { bottom: calc(var(--pb-mobile-bar-h) + 80px); } }
.wa-basket-toggle__count { position: absolute; top: -4px; right: -4px; background: var(--pb-accent); color: #14181f; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.wa-basket { position: fixed; right: 16px; bottom: 80px; width: 320px; max-width: calc(100vw - 32px); background: #fff; border-radius: var(--pb-radius); box-shadow: 0 12px 32px rgba(0,0,0,.18); z-index: 89; overflow: hidden; }
@media (max-width: 720px) { .wa-basket { bottom: calc(var(--pb-mobile-bar-h) + 80px); } }
.wa-basket__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--pb-soft); }
.wa-basket__close { background: transparent; border: 0; font-size: 22px; color: var(--pb-muted); padding: 0 4px; }
.wa-basket__list { list-style: none; margin: 0; padding: 6px 0; max-height: 320px; overflow-y: auto; }
.wa-basket__list li { padding: 10px 14px; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--pb-line); font-size: 13px; }
.wa-basket__list li:last-child { border-bottom: 0; }
.wa-basket__remove { background: transparent; border: 0; color: #b91c1c; }
.wa-basket__foot { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--pb-line); background: var(--pb-soft); }
.wa-basket__foot .button { flex: 1; justify-content: center; }

/* ============================================
   BANNER MANAGER (front-end)
   ============================================ */
.top-promo {
	background: var(--pb-accent);
	color: #fff; text-align: center;
	font-size: 13px; font-weight: 600; letter-spacing: .02em;
	background-size: cover; background-position: center;
}
.top-promo .patabay-container { padding-top: 8px; padding-bottom: 8px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.top-promo a { color: #fff; text-decoration: none; }
.top-promo strong { font-weight: 700; }
.top-promo span { opacity: .9; }
.top-promo--image .patabay-container { padding-top: 12px; padding-bottom: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }

.patabay-mid-banner-wrap, .patabay-footer-banner-wrap { padding: 16px 0; }
.patabay-mid-banner-wrap:empty, .patabay-footer-banner-wrap:empty { padding: 0; }
.patabay-banner {
	display: block; position: relative; border-radius: var(--pb-radius); overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.patabay-banner:hover { transform: translateY(-2px); box-shadow: var(--pb-shadow); text-decoration: none; }
.patabay-banner img { width: 100%; height: auto; display: block; }
.patabay-banner__caption {
	position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 480px;
	color: #fff; background: rgba(11,19,32,.55); padding: 12px 16px; border-radius: 8px;
}
.patabay-banner__caption strong { display: block; font-size: 18px; margin-bottom: 4px; }
.patabay-banner__caption span { display: block; opacity: .9; font-size: 13px; }
.patabay-banner--mid img { aspect-ratio: 6/1; object-fit: cover; }
.patabay-banner--footer img { aspect-ratio: 8/1; object-fit: cover; }
@media (max-width: 720px) {
	.patabay-banner--mid img, .patabay-banner--footer img { aspect-ratio: 3/1; }
	.patabay-banner__caption { left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; }
	.patabay-banner__caption strong { font-size: 14px; }
}

/* ============================================
   CONVERSION SUITE
   ============================================ */

/* 1. Sticky product bar */
.sticky-product-bar {
	position: fixed; left: 50%; right: auto; bottom: 16px; z-index: 86;
	width: min(960px, calc(100% - 32px));
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	box-shadow: 0 12px 32px rgba(15,23,42,.16);
	display: none; align-items: center; gap: 12px; padding: 10px 16px;
	transform: translate(-50%, calc(100% + 24px)); transition: transform .25s ease;
}
.sticky-product-bar.is-visible { transform: translate(-50%, 0); display: flex; }
.sticky-product-bar__thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sticky-product-bar__info { flex: 1; min-width: 0; line-height: 1.2; }
.sticky-product-bar__info strong { display: block; font-size: 13px; color: var(--pb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-product-bar__price { font-size: 14px; font-weight: 700; color: var(--pb-primary); }
.sticky-product-bar__cta { background: var(--pb-accent); color: #fff; padding: 10px 22px; border-radius: 6px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; box-shadow: 0 2px 8px rgba(246,139,30,.35); }
.sticky-product-bar__cta:hover { background: var(--pb-accent-dark); color: #fff; text-decoration: none; }
@media (max-width: 720px) {
	.sticky-product-bar {
		left: 0; right: 0; bottom: var(--pb-mobile-bar-h); width: auto;
		border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
		transform: translateY(100%);
	}
	.sticky-product-bar.is-visible { transform: translateY(0); }
}

/* 2. Exit-intent popup */
.exit-popup { position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.exit-popup__inner { background: #fff; border-radius: var(--pb-radius); padding: 32px 28px; max-width: 420px; width: 100%; text-align: center; position: relative; box-shadow: 0 24px 48px rgba(0,0,0,.25); }
.exit-popup__close { position: absolute; top: 12px; right: 12px; background: transparent; border: 0; font-size: 26px; color: var(--pb-muted); padding: 4px 8px; line-height: 1; cursor: pointer; }
.exit-popup__icon { margin-bottom: 12px; }
.exit-popup h3 { margin: 0 0 8px; font-size: 22px; }
.exit-popup p { margin: 0 0 20px; color: var(--pb-muted); }

/* 3. Quick-view button + modal */
.qv-button {
	position: absolute; top: 8px; right: 8px; z-index: 5;
	background: #fff; color: var(--pb-text); border: 1px solid var(--pb-line);
	padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
	display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
	opacity: 0; transition: opacity .15s; box-shadow: var(--pb-shadow-sm);
}
.product-card:hover .qv-button { opacity: 1; }
@media (hover: none) { .qv-button { opacity: 1; } }
.qv-button:hover { background: var(--pb-primary); color: #fff; border-color: var(--pb-primary); }

.qv-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 16px; }
.qv-modal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.65); }
.qv-modal__inner { position: relative; background: #fff; border-radius: var(--pb-radius); max-width: 800px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,.3); max-height: 90vh; }
@media (max-width: 720px) { .qv-modal__inner { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; } }
.qv-modal__close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); border: 0; font-size: 26px; color: var(--pb-text); width: 36px; height: 36px; border-radius: 50%; line-height: 1; z-index: 2; cursor: pointer; }
.qv-modal__media { background: var(--pb-soft); display: flex; align-items: center; justify-content: center; min-height: 320px; }
.qv-modal__media img { width: 100%; height: 100%; object-fit: cover; max-height: 90vh; }
.qv-modal__body { padding: 28px 24px; overflow-y: auto; }
.qv-modal__body h3 { margin: 0 0 8px; font-size: 22px; }
.qv-modal__price { font-size: 22px; font-weight: 700; color: var(--pb-primary); margin-bottom: 12px; }
.qv-modal__excerpt { color: var(--pb-muted); margin-bottom: 20px; line-height: 1.55; font-size: 14px; }
.qv-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 4. Recently viewed */
.recent-viewed { padding: 32px 0; }
.recent-viewed .section-head__title { margin: 0 0 16px; font-size: 20px; }
.recent-viewed__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr);
	gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
}
@media (min-width: 600px) { .recent-viewed__track { grid-auto-columns: minmax(180px, calc((100% - 12px*4) / 5)); } }
@media (min-width: 1024px) { .recent-viewed__track { grid-auto-columns: minmax(180px, calc((100% - 12px*5) / 6)); } }
.recent-card {
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	padding: 10px; text-align: center; color: var(--pb-text); text-decoration: none;
	scroll-snap-align: start; transition: transform .15s, box-shadow .15s;
}
.recent-card:hover { transform: translateY(-2px); box-shadow: var(--pb-shadow); text-decoration: none; }
.recent-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: var(--pb-soft); }
.recent-card strong { display: block; font-size: 12px; line-height: 1.3; min-height: 2.6em; overflow: hidden; }
.recent-card span { display: block; font-size: 13px; color: var(--pb-primary); font-weight: 700; margin-top: 4px; }

/* 5. WhatsApp basket free-delivery progress + 11. nudge */
.wa-basket__progress { padding: 10px 14px 0; }
.wa-basket__progress-track { height: 6px; background: var(--pb-line); border-radius: 999px; overflow: hidden; }
.wa-basket__progress-bar { height: 100%; background: linear-gradient(90deg, var(--pb-accent), var(--pb-primary)); width: 0; transition: width .3s ease; }
.wa-basket__progress small { display: block; margin-top: 6px; font-size: 11px; color: var(--pb-muted); }
.wa-basket__progress-msg.is-qualified { color: var(--pb-success); font-weight: 700; }

.wa-nudge {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 92;
	max-width: 360px; margin: 0 auto;
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	box-shadow: 0 12px 32px rgba(15,23,42,.18);
	padding: 14px 16px; display: flex; align-items: center; gap: 12px;
	animation: nudgeIn .3s ease;
}
@keyframes nudgeIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.wa-nudge strong { font-size: 13px; flex: 1; }
.wa-nudge__close { background: transparent; border: 0; font-size: 22px; color: var(--pb-muted); line-height: 1; padding: 0 4px; cursor: pointer; }
@media (max-width: 720px) { .wa-nudge { bottom: calc(var(--pb-mobile-bar-h) + 16px); } }

/* 7. View counter + verified buyer */
.view-count { display: inline-flex; align-items: center; gap: 6px; color: var(--pb-muted); font-size: 12px; padding: 6px 0; }
.verified-buyer { display: inline-flex; align-items: center; gap: 4px; background: var(--pb-primary-soft); color: var(--pb-primary); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; margin-left: 8px; }

/* 8. Delivery estimate */
.delivery-estimate { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--pb-primary-soft); color: var(--pb-primary); border-radius: var(--pb-radius-sm); font-size: 13px; font-weight: 600; margin: 8px 0; }
.delivery-estimate:empty { display: none; }

/* 9. Live search autocomplete */
.site-search { position: relative; }
.live-search__dropdown {
	position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px;
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	box-shadow: var(--pb-shadow-lg); max-height: 480px; overflow-y: auto; z-index: 60;
}
.live-search__item {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px;
	color: var(--pb-text); border-bottom: 1px solid var(--pb-soft); text-decoration: none;
}
.live-search__item:last-child { border-bottom: 0; }
.live-search__item:hover { background: var(--pb-soft); text-decoration: none; }
.live-search__item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--pb-soft); }
.live-search__item strong { display: block; font-size: 13px; line-height: 1.3; }
.live-search__item span { display: block; font-size: 12px; color: var(--pb-primary); font-weight: 700; }
.live-search__empty { padding: 16px; text-align: center; color: var(--pb-muted); font-size: 13px; }

/* 10. Frequently bought together */
.cross-sell { padding: 32px 0; border-top: 1px solid var(--pb-line); margin-top: 16px; }
.cross-sell .section-head__title { font-size: 18px; }
.cross-sell__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr);
	gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory;
}
@media (min-width: 700px) { .cross-sell__track { grid-auto-columns: minmax(160px, calc((100% - 10px*5) / 6)); } }
.cross-sell__card { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 8px; text-align: center; color: var(--pb-text); text-decoration: none; scroll-snap-align: start; }
.cross-sell__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 6px; background: var(--pb-soft); }
.cross-sell__card strong { display: block; font-size: 12px; line-height: 1.3; }
.cross-sell__card span { display: block; font-size: 12px; color: var(--pb-primary); font-weight: 700; margin-top: 4px; }

/* 12. Save label on prices — compact inline pill */
.price-save {
	display: inline-block; margin-left: 6px;
	font-size: 10px; font-weight: 700; color: var(--pb-accent-dark); background: var(--pb-accent-soft);
	padding: 1px 6px; border-radius: 4px; vertical-align: middle; white-space: nowrap;
}

/* 13. Bundle deal */
.bundle-deal {
	background: linear-gradient(135deg, var(--pb-primary-soft), #fff5eb);
	border: 1px solid var(--pb-primary-soft); border-radius: var(--pb-radius);
	padding: 24px; margin: 32px 0;
}
.bundle-deal h2 { margin: 0 0 6px; font-size: 20px; color: var(--pb-primary); }
.bundle-deal header p { margin: 0 0 16px; color: var(--pb-text); font-size: 14px; }
.bundle-deal__items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.bundle-deal__plus { font-size: 22px; color: var(--pb-primary); font-weight: 700; }
.bundle-deal__item { display: block; text-align: center; color: var(--pb-text); text-decoration: none; flex: 1; min-width: 120px; }
.bundle-deal__item img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #fff; margin: 0 auto 6px; }
.bundle-deal__item span { display: block; font-size: 12px; line-height: 1.3; }
.bundle-deal__cta { width: 100%; justify-content: center; }

/* 6. Photo reviews */
.review-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.review-photos__item { display: block; width: 64px; height: 64px; border-radius: 6px; overflow: hidden; border: 1px solid var(--pb-line); }
.review-photos__item img { width: 100%; height: 100%; object-fit: cover; }
.comment-form-images { margin: 12px 0; }
.comment-form-images label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form-images small { display: block; color: var(--pb-muted); margin-top: 4px; font-size: 12px; }

/* ============================================
   WHATSAPP LEAD-CAPTURE MODAL
   ============================================ */
.wa-lead-modal { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; padding: 16px; }
.wa-lead-modal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.65); }
.wa-lead-modal__inner {
	position: relative; background: #fff; border-radius: var(--pb-radius);
	max-width: 460px; width: 100%; padding: 28px 24px 22px;
	box-shadow: 0 24px 48px rgba(0,0,0,.3); max-height: 92vh; overflow-y: auto;
}
.wa-lead-modal__close {
	position: absolute; top: 10px; right: 10px;
	background: transparent; border: 0; font-size: 26px; line-height: 1;
	color: var(--pb-muted); padding: 4px 8px; cursor: pointer;
}
.wa-lead-modal__head { text-align: center; margin-bottom: 18px; }
.wa-lead-modal__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #ecfff4; margin-bottom: 10px; }
.wa-lead-modal__head h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--pb-text); }
.wa-lead-modal__head p { margin: 0; color: var(--pb-muted); font-size: 13.5px; line-height: 1.45; }

.wa-lead-modal__form { display: grid; gap: 14px; }
.wa-lead-field { display: flex; flex-direction: column; gap: 4px; }
.wa-lead-field__label { font-size: 12.5px; font-weight: 600; color: var(--pb-text); }
.wa-lead-field__label em { color: var(--pb-danger); font-style: normal; }
.wa-lead-field input,
.wa-lead-field textarea {
	width: 100%; padding: 10px 12px;
	border: 1px solid var(--pb-line); border-radius: 8px;
	font: inherit; color: var(--pb-text); background: #fff;
	transition: border-color .12s, box-shadow .12s;
}
.wa-lead-field input:focus,
.wa-lead-field textarea:focus {
	border-color: var(--pb-success);
	box-shadow: 0 0 0 3px rgba(37,211,102,.15);
	outline: none;
}
.wa-lead-field input:invalid:not(:placeholder-shown) { border-color: var(--pb-danger); }
.wa-lead-field small { font-size: 11px; color: var(--pb-muted); line-height: 1.35; }

.wa-lead-modal__submit { width: 100%; justify-content: center; padding: 12px 18px; font-size: 14px; }
.wa-lead-modal__footnote { margin: 8px 0 0; text-align: center; font-size: 11px; color: var(--pb-muted); }

@media (max-width: 480px) {
	.wa-lead-modal__inner { padding: 22px 18px 18px; }
	.wa-lead-modal__head h3 { font-size: 18px; }
}

/* ============================================
   COOKIE BANNER — bottom-left, never covers floating WA button on right
   ============================================ */
.cookie-banner {
	position: fixed; left: 16px; bottom: 16px; z-index: 95;
	width: calc(100% - 220px); max-width: 540px;
	background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
	box-shadow: 0 12px 32px rgba(15,23,42,.18);
	padding: 14px 16px;
	display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.cookie-banner__msg { font-size: 13px; color: var(--pb-text); flex: 1; min-width: 200px; }
.cookie-banner__msg a { color: var(--pb-primary); margin-left: 4px; }
.cookie-banner__actions { display: flex; gap: 8px; }
@media (max-width: 720px) {
	.cookie-banner {
		left: 12px; right: 12px; width: auto; max-width: none;
		bottom: calc(var(--pb-mobile-bar-h) + 90px); /* clear of mobile bar AND floating WA buttons */
	}
}

/* ============================================
   HERO PROMO CARDS (Jumia-style right sidebar)
   ============================================ */
.hero-promo {
	display: flex; flex-direction: column; gap: 7px;
	background: #fff; border: 1px solid var(--pb-line); border-radius: 4px;
	padding: 10px 12px;
	height: 136px;
	justify-content: space-between;
}
.hero-promo__card {
	display: flex; align-items: center; gap: 9px;
	padding: 0; border-radius: 0;
	background: #fff; border: 0;
	color: var(--pb-text); text-decoration: none;
	transition: transform .12s, box-shadow .12s, border-color .12s;
	min-height: 34px;
}
.hero-promo__card:hover {
	transform: none; box-shadow: none;
	text-decoration: none; border-color: transparent;
}
.hero-promo__icon {
	width: 30px; height: 30px; border-radius: 3px;
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	color: #fff;
}
.hero-promo__icon--wa      { background: #25d366; }
.hero-promo__icon--special { background: #1f2937; }
.hero-promo__icon--sell    { background: var(--pb-primary); }
.hero-promo__body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; overflow: hidden; }
.hero-promo__body strong { font-size: 13px; color: var(--pb-text); font-weight: 800; letter-spacing: 0; text-transform: none; }
.hero-promo__body small { font-size: 11px; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-promo__icon svg { width: 18px; height: 18px; }

/* Hero side banner */
.hero__side-banner,
.hero__side-card--feature { display: block; min-height: 0; height: 100%; border-radius: 4px; overflow: hidden; margin-top: 0; }
.hero__side-banner img,
.hero__side-card--feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

/* ============================================
   SARUK-STYLE CATEGORY GRID SECTIONS
   ============================================ */
.cat-grid-section { padding: 20px 0 28px; }
.cat-grid-section__head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: #1e293b; color: #fff;
	padding: 12px 18px; border-radius: var(--pb-radius-sm);
	margin-bottom: 18px;
}
.cat-grid-section__title { margin: 0; font-size: 16px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.cat-grid-section__see-all { color: #fff; font-size: 13px; font-weight: 700; opacity: .92; text-decoration: none; }
.cat-grid-section__see-all:hover { opacity: 1; text-decoration: underline; color: #fff; }
.cat-grid-section__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(150px, 72vw);
	grid-template-columns: none;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}
.cat-grid-section__grid > * { scroll-snap-align: start; }
.cat-grid-section__grid::-webkit-scrollbar { height: 6px; }
.cat-grid-section__grid::-webkit-scrollbar-thumb { background: var(--pb-line); border-radius: 999px; }
@media (min-width: 600px) { .cat-grid-section__grid { grid-auto-columns: minmax(150px, calc((100% - 10px*3) / 4)); } }
@media (min-width: 900px) { .cat-grid-section__grid { grid-auto-columns: minmax(145px, calc((100% - 10px*5) / 6)); } }
@media (min-width: 1200px) { .cat-grid-section__grid { grid-auto-columns: minmax(135px, calc((100% - 10px*7) / 8)); } }

/* Grid section colour variants */
.cat-grid-section--blue   .cat-grid-section__head { background: #1d4ed8; }
.cat-grid-section--orange .cat-grid-section__head { background: linear-gradient(90deg, #ea580c, #f68b1e); }
.cat-grid-section--red    .cat-grid-section__head { background: var(--pb-danger); }
.cat-grid-section--purple .cat-grid-section__head { background: #6d28d9; }
.cat-grid-section--black  .cat-grid-section__head { background: #0f172a; }

/* Compact category strip is defined once above so it stays Saruk-style and
   does not push the Jumia hero below the first viewport. */

/* ============================================
   GLOBAL MOBILE / RESPONSIVE OVERRIDES
   ============================================ */

/* Tablet (≤960px) */
@media (max-width: 960px) {
	.patabay-container { padding-left: 12px; padding-right: 12px; }
	.section-head__title, .product-carousel__title { font-size: 20px; }
	.archive-hero { padding: 40px 0; }
	.archive-hero__title { font-size: 26px; }
	.single-post__title, .static-page__title { font-size: 26px; }
	.patabay-single-product__summary .product_title { font-size: 22px; }
	.patabay-single-product__summary .price { font-size: 20px; }
	.site-header__inner { gap: 8px; padding: 10px 0; }
	.site-search { max-width: 100%; }
}

/* Phone (≤720px) */
@media (max-width: 720px) {
	.section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
	.section-head__title, .product-carousel__title { font-size: 18px; }
	.product-carousel__head { flex-wrap: wrap; }
	.cat-card__title { font-size: 13px; }
	.product-card__title { font-size: 13px; min-height: 2.4em; }
	.flash-sale__title { font-size: 18px; }
	.archive-hero { padding: 32px 0; }
	.archive-hero__title { font-size: 22px; }
	.single-post__title, .static-page__title { font-size: 22px; }
	.patabay-page { padding: 16px 0; }
	.site-footer .patabay-container { padding-top: 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.btn, .button { padding: 10px 14px; font-size: 13px; }
	.contact-card { padding: 14px; }
	.contact-card h3 { font-size: 14px; }
	.cat-grid { gap: 10px; }
	.cat-card__body { padding: 8px; }
	.cat-card__count { font-size: 11px; }
	.product-card__media { aspect-ratio: 1 / 1; }
	.product-card__body { padding: 10px; }
	.trust-bar__item span { font-size: 11px; }
	.hero__caption { padding: 10px 12px; }
	.hero__caption h2 { font-size: 16px; }
	.hero__caption p { display: none; }
	.hero__nav { width: 32px; height: 32px; font-size: 22px; }
	/* Mobile hero promo */
	.hero--with-sidebar .hero__slider { min-height: 0; }
	.hero--with-sidebar .hero__side { display: flex; flex-direction: column; }
	.hero-promo { height: auto; }
	.hero__side-banner,
	.hero__side-card--feature { height: auto; aspect-ratio: 16 / 9; }
	.hero__side-banner img,
	.hero__side-card--feature img { height: auto; aspect-ratio: 16 / 9; }
	.hero-promo { flex-direction: row; flex-wrap: wrap; }
	.hero-promo__card { flex: 1 1 calc(50% - 5px); min-width: 140px; }
	.patabay-single-product__summary { padding: 16px; }
	.patabay-single-product__summary .product_title { font-size: 20px; }
	.single-product__price { font-size: 25px; }
	.patabay-single-product__gallery .woocommerce-product-gallery__image { min-height: 240px; }
	.patabay-single-product__summary .wa-order-form { grid-template-columns: 1fr; }
	.patabay-single-product__tabs .related.products ul.products,
	.patabay-single-product__tabs .up-sells.products ul.products {
		grid-auto-columns: minmax(150px, 48vw);
	}
	/* Mobile category grids */
	.cat-grid-section__grid { grid-template-columns: none; grid-auto-columns: minmax(150px, 48vw); gap: 10px; }
	.cat-grid-section__head { padding: 10px 14px; }
	.cat-grid-section__title { font-size: 14px; }
}

/* Very small (≤400px) */
@media (max-width: 400px) {
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.flash-sale__time { padding: 4px 7px; min-width: 30px; font-size: 12px; }
	.mobile-bottom-nav__label { font-size: 9px; }
	.site-title { font-size: 18px; }
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
	.btn, .button, .menu-toggle, .header-action,
	.mobile-bottom-nav__item, .floating-actions__btn {
		min-height: 44px;
	}
	.product-card__cta .button { padding: 12px; }
	.cat-sidebar__item > a { padding: 12px 16px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Print */
@media print {
	.topbar, .site-header, .site-footer, .floating-actions, .mobile-bottom-nav,
	.wa-basket, .wa-basket-toggle, .cookie-banner, .product-carousel, .hero { display: none !important; }
	.patabay-container { max-width: 100%; padding: 0; }
}
