/* =========================================================================================
 * Pop store theme: a 1:1 clone of the sellopop.com look (Joom-style marketplace).
 * Black header, white page, #F5F5F5 image wells, pills, no card borders or shadows,
 * Geologica for prices and headings, system UI for body text.
 *
 * EVERY rule is scoped by `body.pop` (the class the Pop storefront, product and cart
 * templates put on <body>), so nothing here can reach another theme. The product and
 * cart pages keep their own markup and scripts; this file only reskins them.
 * Colour tokens set per store in sello_pop_assets(): --pop-hdr-bg, --pop-hdr-ink,
 * --pop-accent, --pop-on-accent.
 * ======================================================================================= */

body.pop {
	--pop-black: #000;
	--pop-white: #fff;
	--pop-well: #f5f5f5;
	--pop-well-hover: #ebebeb;
	--pop-muted: #6b6b6b;
	--pop-line: #e8e8e8;
	--pop-green: #1fa055;
	--pop-red: #d92d20;
	--pop-heart: #e5263f;
	--pop-r-lg: 24px;
	--pop-r-card: 31px;
	--pop-r-md: 16px;
	--pop-r-sm: 12px;
	--pop-r-chip: 6px;
	--pop-font-display: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pop-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--pop-maxw: 1280px;
	--pop-g: 12px;
	--pop-gap: 12px;
	--pop-row-gap: 20px;
	--pop-safe-b: env(safe-area-inset-bottom, 0px);
	margin: 0;
	background: var(--pop-white) !important;
	color: var(--pop-black);
	font: 400 14px/1.45 var(--pop-font-body) !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
@media (min-width: 600px) { body.pop { --pop-g: 16px; --pop-gap: 16px; --pop-row-gap: 24px; } }
@media (min-width: 900px) { body.pop { --pop-g: 24px; } }

body.pop *, body.pop *::before, body.pop *::after { box-sizing: border-box; }
body.pop :focus-visible { outline: 2px solid var(--pop-black); outline-offset: 2px; }
body.pop .pop-hdr :focus-visible { outline-color: var(--pop-hdr-ink); }
body.pop .pop-icon { flex: none; display: inline-block; vertical-align: middle; }
body.pop .pop-wrap { width: 100%; max-width: calc(var(--pop-maxw) + 2 * var(--pop-g)); margin: 0 auto; padding: 0 var(--pop-g); }
@media (max-width: 899.98px) { body.pop .pop-only-desktop { display: none !important; } }
@media (min-width: 900px) { body.pop .pop-only-mobile { display: none !important; } }

/* Plain button reset for the many <button>s that look like links or tiles. */
body.pop .pop-tile, body.pop .pop-section__more, body.pop .pop-catrow button,
body.pop .pop-footer__col button, body.pop .pop-act, body.pop .pop-search {
	-webkit-appearance: none; appearance: none; font: inherit; color: inherit; cursor: pointer; text-align: inherit;
}

/* ---- Buttons ----------------------------------------------------------------------------- */

body.pop .pop-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--pop-accent); color: var(--pop-on-accent);
	font: 600 15px/1 var(--pop-font-body); text-decoration: none; white-space: nowrap;
	transition: opacity .15s ease, transform .1s ease, background-color .15s ease;
}
body.pop .pop-btn:hover { opacity: .86; }
body.pop .pop-btn:active { transform: scale(.98); }
body.pop .pop-btn--grey { background: var(--pop-well); color: var(--pop-black); }
body.pop .pop-btn--grey:hover { opacity: 1; background: var(--pop-well-hover); }

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

body.pop .pop-hdr { background: var(--pop-hdr-bg); color: var(--pop-hdr-ink); position: relative; z-index: 50; }
@media (max-width: 899.98px) { body.pop .pop-hdr { position: sticky; top: 0; } }
body.pop .pop-util { border-bottom: 1px solid color-mix(in srgb, var(--pop-hdr-ink) 11%, var(--pop-hdr-bg)); font-size: 12.5px; color: color-mix(in srgb, var(--pop-hdr-ink) 74%, var(--pop-hdr-bg)); }
body.pop .pop-util__in { display: flex; align-items: center; gap: 24px; height: 34px; }
body.pop .pop-util__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--pop-hdr-ink); font: inherit; font-size: 12.5px; cursor: pointer; }
body.pop .pop-util__note { display: inline-flex; align-items: center; gap: 6px; }
body.pop .pop-util__links { margin-left: auto; display: flex; gap: 20px; }
body.pop .pop-util__links button { padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; color: color-mix(in srgb, var(--pop-hdr-ink) 84%, var(--pop-hdr-bg)); cursor: pointer; }
body.pop .pop-util__links button:hover { color: var(--pop-hdr-ink); }
/* The strip carries the language + currency switch on desktop, so the floating
   pill (still the switch on phones) steps aside there. */
@media (min-width: 900px) { body.pop #sello-cur-open { display: none !important; } }
body.pop .pop-hdr__bar { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
body.pop .pop-logo {
	order: 0; display: inline-flex; align-items: center; min-width: 0; max-width: 260px;
	font: 800 26px/1 var(--pop-font-display); letter-spacing: -.035em; color: inherit;
	text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.pop .pop-logo img { display: block; height: 34px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
body.pop .pop-hdr__menu {
	order: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
	background: transparent; color: inherit; border: 1.5px solid color-mix(in srgb, currentColor 50%, transparent);
	border-radius: 999px; font: 600 14px/1 var(--pop-font-body); white-space: nowrap; cursor: pointer;
}
body.pop .pop-hdr__menu svg { width: 18px; height: 18px; }
body.pop .pop-hdr__menu:hover { border-color: currentColor; }
body.pop .pop-hdr__spacer { display: none; }
body.pop .pop-search {
	order: 2; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; height: 48px; padding: 4px;
	border: 0; background: var(--pop-white); border-radius: 999px; color: var(--pop-black);
}
body.pop .pop-search:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pop-hdr-ink) 30%, transparent); }
body.pop .pop-search__icon { display: grid; place-items: center; padding: 0 6px 0 12px; color: var(--pop-muted); }
body.pop .pop-search__ph { flex: 1; min-width: 0; padding: 0 8px 0 4px; font-size: 15px; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pop .pop-search__go {
	flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px;
	background: var(--pop-accent); color: var(--pop-on-accent); font-weight: 600; font-size: 14px;
}
body.pop .pop-actions { order: 3; display: flex; align-items: center; gap: 2px; flex: none; margin-left: auto; }
body.pop .pop-search + .pop-actions { margin-left: 0; }
body.pop .pop-act {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
	min-width: 56px; padding: 4px 8px; border: 0; background: none; color: inherit;
	text-decoration: none; font-size: 12px; font-weight: 500; line-height: 1.2; border-radius: var(--pop-r-sm);
}
body.pop .pop-act:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
body.pop .pop-act__icon { position: relative; display: inline-grid; }
body.pop .pop-badge {
	position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--pop-hdr-ink); color: var(--pop-hdr-bg);
	font: 700 11px/18px var(--pop-font-body); text-align: center; box-shadow: 0 0 0 2px var(--pop-hdr-bg);
}

body.pop .pop-catrow { background: var(--pop-white); color: var(--pop-black); border-bottom: 1px solid #eee; }
body.pop .pop-catrow__in { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
body.pop .pop-catrow__in::-webkit-scrollbar { display: none; }
body.pop .pop-catrow button { flex: none; padding: 12px 0 11px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
body.pop .pop-catrow button:hover { border-bottom-color: #c8c8c8; }

@media (max-width: 899.98px) {
	body.pop .pop-hdr__bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 4px; padding-top: 6px; padding-bottom: 6px; }
	body.pop .pop-hdr__menu {
		grid-row: 1; grid-column: 1; justify-self: start; margin-left: -8px;
		width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; justify-content: center;
	}
	body.pop .pop-hdr__menu svg { width: 24px; height: 24px; }
	body.pop .pop-hdr__menu:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
	body.pop .pop-hdr__menulbl { display: none; }
	body.pop .pop-hdr__spacer { display: block; grid-row: 1; grid-column: 1; }
	body.pop .pop-logo { grid-row: 1; grid-column: 2; justify-self: center; font-size: 23px; max-width: 46vw; }
	body.pop .pop-logo img { height: 30px; max-width: 46vw; object-position: center; }
	body.pop .pop-search { display: none; }
	body.pop .pop-actions { grid-row: 1; grid-column: 3; justify-self: end; margin-right: -6px; }
	body.pop .pop-act { min-width: 0; width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
	body.pop .pop-act__label { display: none; }
	body.pop .pop-catrow { display: none; }
}

/* ---- Product card ------------------------------------------------------------------------ */

body.pop .pop-card { position: relative; min-width: 0; }
body.pop .pop-card__media { position: relative; }
body.pop .pop-card__well { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--pop-well); border-radius: var(--pop-r-lg); overflow: hidden; color: #c4c4c4; }
body.pop .pop-card__well img { color: transparent; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) { body.pop .pop-card:hover .pop-card__well img { transform: scale(1.035); } }

body.pop .pop-heart {
	position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; padding: 0;
	display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--pop-white); color: var(--pop-black); cursor: pointer;
}
body.pop .pop-heart[aria-pressed="true"] { color: var(--pop-heart); }
body.pop .pop-heart[aria-pressed="true"] svg { fill: currentColor; }
body.pop .pop-heart.is-pop svg { animation: pop-heart .3s ease; }
@keyframes pop-heart { 50% { transform: scale(1.25); } }

body.pop .pop-card__add {
	position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 44px; height: 44px; padding: 0;
	display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--pop-accent); color: var(--pop-on-accent);
	text-decoration: none; transition: transform .12s ease, opacity .15s ease;
}
body.pop .pop-card__add:hover { opacity: .86; }
body.pop .pop-card__add:active { transform: scale(.94); }

body.pop .pop-card__body { display: block; padding-top: 8px; text-decoration: none; color: inherit; }
body.pop .pop-card__price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
	font: 600 18px/22px var(--pop-font-display); letter-spacing: -.01em;
}
body.pop .pop-card__price .sl-was { font: 400 12px/1.2 var(--pop-font-body) !important; color: var(--pop-muted); opacity: 1 !important; letter-spacing: 0; }
body.pop .pop-card__title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	margin-top: 3px; font-size: 12px; line-height: 14px; min-height: 28px; color: #1a1a1a; overflow-wrap: anywhere;
}
body.pop .pop-card__body:hover .pop-card__title { text-decoration: underline; text-underline-offset: 2px; }

body.pop .pop-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; }
body.pop .pop-chip {
	display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: var(--pop-r-chip);
	background: var(--pop-well); font-size: 12px; line-height: 16px; white-space: nowrap; max-width: 100%;
}
body.pop .pop-chip span { overflow: hidden; text-overflow: ellipsis; }
body.pop .pop-chip--ship .pop-icon { color: var(--pop-muted); }
body.pop .pop-chip--ship.is-free .pop-icon { color: var(--pop-green); }
body.pop .pop-chip--out { color: var(--pop-red); font-weight: 600; }
body.pop .pop-chip--off { background: #ffe5e8; color: var(--pop-red); font-weight: 600; }

/* ---- Sections, rows, grid ---------------------------------------------------------------- */

body.pop .pop-main { display: block; min-height: 50vh; }
body.pop .pop-saff { margin-top: 12px; }
body.pop .pop-section { margin-top: 40px; }
body.pop .pop-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
body.pop .pop-section__title { margin: 0; font: 700 20px/1.2 var(--pop-font-display); letter-spacing: -.01em; }
body.pop .pop-section__more { display: inline-flex; align-items: center; gap: 2px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
body.pop .pop-section__more:hover { text-decoration: underline; }
@media (min-width: 900px) { body.pop .pop-section { margin-top: 48px; } body.pop .pop-section__title { font-size: 24px; } }

body.pop .pop-row {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--pop-gap)) / 2.3);
	gap: var(--pop-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
	scrollbar-width: none; margin: 0 calc(-1 * var(--pop-g)); padding: 0 var(--pop-g) 4px; scroll-padding: 0 var(--pop-g);
}
body.pop .pop-row::-webkit-scrollbar { display: none; }
body.pop .pop-row__item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 600px) { body.pop .pop-row { grid-auto-columns: calc((100% - 2 * var(--pop-gap)) / 3.3); } }
@media (min-width: 900px) { body.pop .pop-row { grid-auto-columns: calc((100% - 3 * var(--pop-gap)) / 4); margin: 0; padding: 0 0 4px; scroll-padding: 0; } }
@media (min-width: 1050px) { body.pop .pop-row { grid-auto-columns: calc((100% - 4 * var(--pop-gap)) / 5); } }
@media (min-width: 1200px) { body.pop .pop-row { grid-auto-columns: calc((100% - 5 * var(--pop-gap)) / 6); } }

body.pop .pop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pop-gap); row-gap: var(--pop-row-gap); }
@media (min-width: 600px) { body.pop .pop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { body.pop .pop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1050px) { body.pop .pop-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1200px) { body.pop .pop-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
body.pop .pop-loadmore { display: flex; justify-content: center; margin-top: 28px; }

/* ---- Hero carousel ----------------------------------------------------------------------- */

body.pop .pop-hero { position: relative; margin-top: 12px; border-radius: var(--pop-r-lg); overflow: hidden; color: var(--pop-black); }
body.pop .pop-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
body.pop .pop-hero__track::-webkit-scrollbar { display: none; }
body.pop .pop-hero__slide {
	flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 16px;
	min-height: 200px; padding: 22px 20px 40px; background: var(--pop-hero-bg, var(--pop-well));
}
body.pop .pop-hero__copy { min-width: 0; }
body.pop .pop-hero__title { margin: 0 0 8px; font: 800 24px/1.08 var(--pop-font-display); letter-spacing: -.025em; overflow-wrap: anywhere; }
body.pop .pop-hero__text { margin: 0 0 16px; font-size: 13.5px; color: rgba(0, 0, 0, .7); max-width: 42ch; }
body.pop .pop-hero__copy .pop-btn { height: 40px; padding: 0 18px; font-size: 14px; }
body.pop .pop-hero__art { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 100%; }
body.pop .pop-hero__pic { display: block; width: 116px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--pop-white); flex: none; }
body.pop .pop-hero__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.pop .pop-hero__pic--1, body.pop .pop-hero__pic--2 { display: none; }
body.pop .pop-hero__pic--own { width: 140px; }
body.pop .pop-hero__arrow {
	position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0;
	display: none; place-items: center; border: 0; border-radius: 50%; background: var(--pop-white); color: var(--pop-black); cursor: pointer;
}
body.pop .pop-hero__arrow:hover { background: #f0f0f0; }
body.pop .pop-hero__arrow--prev { left: 16px; }
body.pop .pop-hero__arrow--next { right: 16px; }
body.pop .pop-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; gap: 6px; justify-content: center; }
body.pop .pop-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .2); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
body.pop .pop-dot[aria-current="true"] { width: 22px; background: var(--pop-black); }
@media (min-width: 600px) {
	body.pop .pop-hero__slide { min-height: 240px; padding: 32px 40px 44px; }
	body.pop .pop-hero__title { font-size: 32px; }
	body.pop .pop-hero__text { font-size: 15px; }
	body.pop .pop-hero__pic { width: 150px; }
	body.pop .pop-hero__pic--1 { display: block; width: 180px; margin-left: -28px; z-index: 1; transform: rotate(3deg); }
	body.pop .pop-hero__pic--0 { transform: rotate(-4deg); }
	body.pop .pop-hero__pic--own { width: 200px; transform: rotate(-3deg); }
}
@media (min-width: 900px) {
	body.pop .pop-hero { margin-top: 20px; }
	body.pop .pop-hero__slide { min-height: 280px; padding: 40px 80px 48px; }
	body.pop .pop-hero__title { font-size: 42px; }
	body.pop .pop-hero__text { font-size: 16px; margin-bottom: 22px; }
	body.pop .pop-hero__copy .pop-btn { height: 46px; padding: 0 24px; font-size: 15px; }
	body.pop .pop-hero__arrow { display: grid; }
	body.pop .pop-hero__pic--2 { display: block; width: 140px; margin-left: -24px; transform: rotate(-2deg) translateY(18px); }
	body.pop .pop-hero__pic--own { width: 230px; }
}
@media (max-width: 420px) {
	body.pop .pop-hero__slide { grid-template-columns: minmax(0, 1fr) auto; }
	body.pop .pop-hero__pic, body.pop .pop-hero__pic--own { width: 96px; }
}

/* ---- Category tiles ---------------------------------------------------------------------- */

body.pop .pop-tiles { margin-top: 20px; }
body.pop .pop-tiles__list { list-style: none; margin: 0 calc(-1 * var(--pop-g)); padding: 2px var(--pop-g) 4px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
body.pop .pop-tiles__list::-webkit-scrollbar { display: none; }
body.pop .pop-tiles__list li { flex: none; }
body.pop .pop-tile { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 76px; padding: 0; border: 0; background: none; text-align: center; font-size: 12.5px; font-weight: 500; line-height: 1.2; }
body.pop .pop-tile__img { width: 68px; height: 68px; border-radius: 50%; background: var(--pop-well); display: grid; place-items: center; overflow: hidden; transition: background-color .15s ease; }
body.pop .pop-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.pop .pop-tile__ini { font: 700 22px/1 var(--pop-font-display); color: var(--pop-muted); }
body.pop .pop-tile__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
body.pop .pop-tile:hover .pop-tile__img { background: var(--pop-well-hover); }
@media (min-width: 900px) {
	body.pop .pop-tiles { margin-top: 28px; }
	body.pop .pop-tiles__list { margin: 0; padding: 2px 0 4px; gap: 18px; }
	body.pop .pop-tile { width: 96px; font-size: 13px; }
	body.pop .pop-tile__img { width: 84px; height: 84px; }
}

/* ---- Plain blocks ------------------------------------------------------------------------ */

body.pop .pop-block-title { margin: 40px 0 0; font: 700 28px/1.15 var(--pop-font-display); letter-spacing: -.015em; overflow-wrap: anywhere; }
body.pop .pop-block-title--s { font-size: 18px; }
body.pop .pop-block-title--m { font-size: 22px; }
@media (min-width: 900px) { body.pop .pop-block-title { margin-top: 48px; } body.pop .pop-block-title--l { font-size: 32px; } }
body.pop .pop-block-text { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #333; overflow-wrap: anywhere; }
body.pop .pop-block-text--s { font-size: 13.5px; }
body.pop .pop-block-text--l { font-size: 18px; }
body.pop .pop-block-img { display: block; width: 100%; height: auto; margin-top: 24px; background: var(--pop-well); }
body.pop .pop-divider { margin: 32px 0 0; border: 0; border-top: 1px solid var(--pop-line); }
body.pop .pop-faq { max-width: 760px; }

body.pop .pop-empty { max-width: 520px; margin: 0 auto; padding: 56px 8px 24px; text-align: center; }
body.pop .pop-empty__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--pop-well); display: grid; place-items: center; color: var(--pop-muted); }
body.pop .pop-empty__text { margin: 0; color: var(--pop-muted); font-size: 15px; }

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

body.pop .pop-footer { margin-top: 64px; padding: 40px 0 calc(16px + var(--pop-safe-b)); background: var(--pop-well); font-size: 13.5px; }
body.pop .pop-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
body.pop .pop-footer__brand { grid-column: 1 / -1; min-width: 0; }
body.pop .pop-footer__logo { font: 800 22px/1.1 var(--pop-font-display); letter-spacing: -.03em; color: var(--pop-black); text-decoration: none; overflow-wrap: anywhere; }
body.pop .pop-footer__blurb { margin: 10px 0 0; color: var(--pop-muted); max-width: 36ch; }
body.pop .pop-footer__title { margin: 0 0 10px; font: 700 14px/1.3 var(--pop-font-body); }
body.pop .pop-footer__col { min-width: 0; }
body.pop .pop-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
body.pop .pop-footer__col a, body.pop .pop-footer__col button { padding: 0; border: 0; background: none; color: #4a4a4a; text-decoration: none; font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
body.pop .pop-footer__col a:hover, body.pop .pop-footer__col button:hover { color: var(--pop-black); text-decoration: underline; }
body.pop .pop-footer__bottom { margin-top: 28px; padding-top: 8px; border-top: 1px solid #e2e2e2; }
@media (min-width: 900px) {
	body.pop .pop-footer { padding-top: 48px; }
	body.pop .pop-footer__grid { grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
	body.pop .pop-footer__brand { grid-column: auto; }
}

/* ==========================================================================================
 * Product page (product.php). Markup, ids and scripts are the shared ones; only looks.
 * ======================================================================================== */

body.pop.pop-pdp .wrap {
	max-width: calc(var(--pop-maxw) + 2 * var(--pop-g)); padding: 0 var(--pop-g) 40px; gap: 16px;
}
body.pop.pop-pdp .pcard { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; }
body.pop.pop-pdp .pcard-h { font: 700 20px/1.2 var(--pop-font-display); letter-spacing: -.01em; margin: 0 0 14px; }
body.pop.pop-pdp .pcard-all { color: var(--pop-black); font-weight: 600; font-size: 14px; }
body.pop.pop-pdp .pcard-similar, body.pop.pop-pdp .pcard-discover, body.pop.pop-pdp .pcard-catprod,
body.pop.pop-pdp .pdet, body.pop.pop-pdp .faqsec { margin-top: 24px; }

/* Gallery: swipe + overlay dots on phones; thumbnail rail + 24px main image on desktop. */
body.pop.pop-pdp .gallery { position: relative; margin: 0 calc(-1 * var(--pop-g)); }
body.pop.pop-pdp .gtrack, body.pop.pop-pdp .hero { border: 0; border-radius: 0; background: var(--pop-well); aspect-ratio: 1 / 1; }
body.pop.pop-pdp .gslide img, body.pop.pop-pdp .hero img { object-fit: contain; }
body.pop.pop-pdp .gthumbs { display: none; }
body.pop.pop-pdp .gdots {
	position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; gap: 6px;
	padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .85);
	max-width: calc(100% - 24px); flex-wrap: nowrap; overflow: hidden;
}
body.pop.pop-pdp .gdot { flex: none; }
body.pop.pop-pdp .gdot { width: 6px; height: 6px; background: rgba(0, 0, 0, .22); }
body.pop.pop-pdp .gdot.on { width: 18px; background: var(--pop-black); }

/* Buy column */
body.pop.pop-pdp .pcard-buy h1, body.pop.pop-pdp h1#ptitle { font: 900 20px/1.22 var(--pop-font-display); letter-spacing: -.015em; margin: 4px 0 10px; }
body.pop.pop-pdp .ptitle-more { background: var(--pop-white); box-shadow: -14px 0 10px -4px var(--pop-white); }
body.pop.pop-pdp .meta, body.pop.pop-pdp .pmeta, body.pop.pop-pdp .soldrow { color: var(--pop-muted); font-size: 14px; }
body.pop.pop-pdp .soldrow b { color: var(--pop-black); }
body.pop.pop-pdp .pricerow { margin: 0 0 14px; gap: 6px 12px; }
body.pop.pop-pdp .price { font: 700 30px/1.05 var(--pop-font-display); letter-spacing: -.02em; }
body.pop.pop-pdp .price-was s { font-size: 16px; color: var(--pop-muted); opacity: 1; font-weight: 400; }
body.pop.pop-pdp .price-was #pwas-off { background: #ffe5e8; color: var(--pop-red); border-radius: var(--pop-r-chip); padding: 4px 6px; font-size: 12px; font-weight: 600; }
body.pop.pop-pdp .pmeta-pop { background: var(--pop-well); border-radius: var(--pop-r-sm); }
body.pop.pop-pdp .vsel-lab { font: 700 14px/1.3 var(--pop-font-body); margin-bottom: 10px; }
body.pop.pop-pdp .vsel-cur { color: var(--pop-muted); font-weight: 400; }
body.pop.pop-pdp .vchip {
	min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--pop-well);
	font: 500 14px/1.2 var(--pop-font-body); color: var(--pop-black); box-shadow: none;
	max-width: 100%; white-space: normal; text-align: left; padding-top: 8px; padding-bottom: 8px;
}
body.pop.pop-pdp .vchip:hover { background: var(--pop-well-hover); }
body.pop.pop-pdp .vchip.sel { background: var(--pop-white); color: var(--pop-black); box-shadow: inset 0 0 0 2px var(--pop-accent); font-weight: 600; }
body.pop.pop-pdp .vswatch { border: 0; border-radius: 14px; background: var(--pop-well); box-shadow: none; }
body.pop.pop-pdp .vswatch.sel { background: var(--pop-white); box-shadow: inset 0 0 0 2px var(--pop-accent); }
body.pop.pop-pdp select.vselect { height: 48px; border: 0; border-radius: var(--pop-r-sm); background: var(--pop-well); font-size: 15px; }
body.pop.pop-pdp .vsel.need-pick, body.pop.pop-pdp .vgroups.need-pick { box-shadow: 0 0 0 2px var(--pop-red); border-radius: var(--pop-r-md); }
body.pop.pop-pdp .addon { border: 0; border-radius: var(--pop-r-md); background: var(--pop-well); }
body.pop.pop-pdp .addon.on { background: var(--pop-white); box-shadow: inset 0 0 0 2px var(--pop-accent); }
body.pop.pop-pdp .qty-lab { display: none; }
body.pop.pop-pdp .qtyrow { margin: 4px 0 16px; }
body.pop.pop-pdp .qty { height: 44px; padding: 0 4px; border: 0; border-radius: 999px; background: var(--pop-well); }
body.pop.pop-pdp .qty button { width: 36px; height: 36px; border-radius: 50%; font-size: 20px; color: var(--pop-black); }
body.pop.pop-pdp .qty button:hover { background: var(--pop-well-hover); }
body.pop.pop-pdp .qty span { min-width: 44px; font: 600 16px/1 var(--pop-font-body); }
body.pop.pop-pdp .actions { gap: 10px; }
body.pop.pop-pdp .btn {
	min-height: 52px; padding: 0 22px; border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
	font: 600 16px/1 var(--pop-font-body); text-decoration: none;
}
body.pop.pop-pdp .btn-primary { background: var(--pop-well); color: var(--pop-black); }
body.pop.pop-pdp #add-cart, body.pop.pop-pdp #sb-buy { order: -1; background: var(--pop-accent); color: var(--pop-on-accent); }
body.pop.pop-pdp .btn-ghost { background: var(--pop-accent); color: var(--pop-on-accent); }
body.pop.pop-pdp .btn:hover { opacity: .88; }
body.pop.pop-pdp .klarna-chip { border-radius: var(--pop-r-chip); }

/* Phone stacking (sellopop order): buy, info cards, seller, details, then related rows. */
@media (max-width: 879.98px) {
	body.pop.pop-pdp .pcard-info, body.pop.pop-pdp .pcard-seller { order: 1; }
	body.pop.pop-pdp .pdet { order: 2; }
}

/* Info cards: green round icons on grey wells. */
body.pop.pop-pdp .pcard-info { display: grid; gap: 12px; margin-top: 8px; }
body.pop.pop-pdp .irow { gap: 14px; padding: 18px 20px; border: 0; border-radius: var(--pop-r-card); background: var(--pop-well); }
body.pop.pop-pdp .irow:last-child { border: 0; }
body.pop.pop-pdp .irow-ic, body.pop.pop-pdp .irow-ic-partner { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--pop-green); color: var(--pop-white); }
body.pop.pop-pdp .irow-ic svg { width: 20px; height: 20px; }
body.pop.pop-pdp .irow-b { padding-top: 2px; }
body.pop.pop-pdp .irow-t { font: 700 16px/1.3 var(--pop-font-body); letter-spacing: 0; }
body.pop.pop-pdp .irow-s, body.pop.pop-pdp .partner-s { color: #2b2b2b; font-size: 14px; font-weight: 400; }
body.pop.pop-pdp .irow .tb svg { color: var(--pop-green); }
body.pop.pop-pdp .irow .paylogos .gwicon { background: var(--pop-white); border: 0; }
body.pop.pop-pdp .irow-links a, body.pop.pop-pdp .irow-link { font-size: 14px; font-weight: 500; }
body.pop.pop-pdp .pcard-seller { margin-top: 12px; padding: 18px 20px; border-radius: var(--pop-r-card); background: var(--pop-well); }
body.pop.pop-pdp .seller-av { border-radius: 50%; }
body.pop.pop-pdp .seller-n { font: 700 18px/1.2 var(--pop-font-display); }
body.pop.pop-pdp .seller-v, body.pop.pop-pdp .seller-stats b svg { color: var(--pop-green); }
body.pop.pop-pdp .seller-links svg { background: var(--pop-white); }

/* Description / specs / FAQ / discover */
body.pop.pop-pdp .pdet-tab { font: 700 16px/1.3 var(--pop-font-body); border-bottom-color: var(--pop-line); }
body.pop.pop-pdp .pdet-tab svg { background: var(--pop-well); }
body.pop.pop-pdp .pdet-desc { color: #1a1a1a; font-size: 15px; }
body.pop.pop-pdp .pdet-spec .row { border-bottom-color: var(--pop-line); }
body.pop.pop-pdp .faqsec h2 { font: 700 20px/1.2 var(--pop-font-display); }
body.pop.pop-pdp .faqsec details { border-bottom-color: var(--pop-line); }
body.pop.pop-pdp .drow { border-bottom-color: var(--pop-line); }
body.pop.pop-pdp .drow-img { background: var(--pop-well); }
body.pop.pop-pdp .drow-n { font-size: 15px; font-weight: 600; }
body.pop.pop-pdp .drows-toggle { border: 0; border-radius: 999px; background: var(--pop-well); }

/* Related products ("Similar products", "More from ...") as a Pop card grid, like
   sellopop's "You may also like": 2 columns on phones up to 6 on wide screens. */
body.pop.pop-pdp .pslider {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pop-gap); row-gap: var(--pop-row-gap);
	margin: 0; padding: 0; overflow: visible; scroll-snap-type: none;
}
@media (min-width: 600px) { body.pop.pop-pdp .pslider { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { body.pop.pop-pdp .pslider { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1050px) { body.pop.pop-pdp .pslider { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1200px) { body.pop.pop-pdp .pslider { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
body.pop.pop-pdp .sp-card { flex: none; width: auto; min-width: 0; max-width: none; gap: 0; }
body.pop.pop-pdp .sp-img { border-radius: var(--pop-r-lg); background: var(--pop-well); font-size: 12px; color: var(--pop-muted); }
body.pop.pop-pdp .sp-img img { color: transparent; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) { body.pop.pop-pdp .sp-card:hover .sp-img img { transform: scale(1.035); } }
body.pop.pop-pdp .sp-add { width: 44px; height: 44px; right: 8px; bottom: 8px; background: var(--pop-accent); color: var(--pop-on-accent); box-shadow: none; }
body.pop.pop-pdp .sp-add svg { width: 20px; height: 20px; }
body.pop.pop-pdp .sp-out { left: 8px; bottom: auto; top: 8px; border-radius: var(--pop-r-chip); background: var(--pop-white); color: var(--pop-red); font-weight: 600; }
body.pop.pop-pdp .sp-price { margin-top: 8px; font: 600 18px/22px var(--pop-font-display); letter-spacing: -.01em; }
body.pop.pop-pdp .sp-name { margin-top: 3px; font-size: 12px; line-height: 14px; min-height: 28px; font-weight: 400; color: #1a1a1a; }
body.pop.pop-pdp .sp-sold { align-self: flex-start; margin-top: 6px; padding: 3px 6px; border-radius: var(--pop-r-chip); background: var(--pop-well); color: var(--pop-black); font-size: 12px; line-height: 16px; font-weight: 400; opacity: 1; }

/* Breadcrumb (desktop, above the gallery) */
body.pop .pop-crumbs { display: none; }
body.pop .pop-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 16px auto 6px; padding: 0; font-size: 13px; color: var(--pop-muted); }
body.pop .pop-crumbs li { min-width: 0; }
body.pop .pop-crumbs li + li::before { content: "\203A"; margin-right: 6px; color: #b0b0b0; }
body.pop .pop-crumbs a { color: inherit; text-decoration: none; }
body.pop .pop-crumbs a:hover { color: var(--pop-black); text-decoration: underline; }
body.pop .pop-crumbs li[aria-current] { color: var(--pop-black); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 880px) { body.pop .pop-crumbs { display: block; } }

/* Sticky buy bar on phones */
body.pop.pop-pdp .stickybuy { background: var(--pop-white); border-top: 0; box-shadow: 0 -1px 0 #e6e6e6; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pop.pop-pdp .sb-price { font: 700 18px/1.15 var(--pop-font-display); color: var(--pop-black); }
body.pop.pop-pdp .stickybuy .btn { min-height: 48px; }

@media (min-width: 880px) {
	body.pop.pop-pdp .wrap { grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); column-gap: 40px; row-gap: 16px; padding-top: 8px; }
	body.pop.pop-pdp .gallery { margin: 0; }
	body.pop.pop-pdp .gtrack, body.pop.pop-pdp .hero { border-radius: var(--pop-r-lg); }
	body.pop.pop-pdp .gallery:has(.gthumbs) { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; }
	body.pop.pop-pdp .gallery:has(.gthumbs) .gtrack { grid-column: 2; grid-row: 1; }
	body.pop.pop-pdp .gthumbs {
		display: flex; flex-direction: column; grid-column: 1; grid-row: 1; gap: 10px; margin: 0; padding: 0;
		height: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
	}
	body.pop.pop-pdp .gthumbs::-webkit-scrollbar { display: none; }
	body.pop.pop-pdp .gthumb { flex: 0 0 88px; width: 88px; height: 88px; min-width: 0; border: 0; border-radius: var(--pop-r-md); background: var(--pop-well); }
	body.pop.pop-pdp .gthumb img { object-fit: cover; }
	body.pop.pop-pdp .gthumb.on { box-shadow: inset 0 0 0 2px var(--pop-black); }
	body.pop.pop-pdp .gdots { display: none; }
	body.pop.pop-pdp .pinfo-col { gap: 0; }
	body.pop.pop-pdp .pcard-buy h1, body.pop.pop-pdp h1#ptitle { font-size: 24px; }
	body.pop.pop-pdp .pcard-h, body.pop.pop-pdp .faqsec h2 { font-size: 24px; }
}
@media (min-width: 1200px) {
	body.pop.pop-pdp .wrap { column-gap: 56px; }
}

/* ==========================================================================================
 * Cart page (cart.php)
 * ======================================================================================== */

body.pop.pop-cart .wrap { max-width: calc(var(--pop-maxw) + 2 * var(--pop-g)); padding: 18px var(--pop-g) 40px; }
body.pop.pop-cart h1 { padding: 0; margin: 0 0 6px; font: 800 26px/1.15 var(--pop-font-display); letter-spacing: -.02em; }
body.pop.pop-cart .subhead { padding: 0; color: var(--pop-muted); font-weight: 400; font-size: 14px; }
body.pop.pop-cart h2 { font: 700 18px/1.25 var(--pop-font-display); }
body.pop.pop-cart #cart-items { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; }
body.pop.pop-cart .item { gap: 14px; padding: 16px 0; }
body.pop.pop-cart .item + .item { border-top: 1px solid #eee; }
body.pop.pop-cart .thumb { width: 88px; height: 88px; border-radius: var(--pop-r-md); background: var(--pop-well); }
body.pop.pop-cart .thumb img { object-fit: cover; }
body.pop.pop-cart .iname { font-size: 14px; font-weight: 500; line-height: 1.35; }
body.pop.pop-cart .ivar, body.pop.pop-cart .iunit { font-weight: 400; color: var(--pop-muted); }
body.pop.pop-cart .lprice { font: 700 16px/1.2 var(--pop-font-display); }
body.pop.pop-cart .stepper { height: 38px; padding: 0 3px; border: 0; border-radius: 999px; background: var(--pop-well); }
body.pop.pop-cart .stepper button { width: 32px; height: 32px; border-radius: 50%; }
body.pop.pop-cart .stepper button:hover { opacity: 1; background: var(--pop-well-hover); }
body.pop.pop-cart .stepper span { font-weight: 600; }
body.pop.pop-cart .rm { min-width: 32px; min-height: 32px; border-radius: 50%; background: var(--pop-well); color: var(--pop-black); }
body.pop.pop-cart .rm:hover { background: var(--pop-well-hover); color: var(--pop-black); }
body.pop.pop-cart .summary-card { background: var(--pop-well); border: 0; border-radius: var(--pop-r-lg); padding: 20px; margin: 0; }
body.pop.pop-cart .totals div { color: var(--pop-muted); font-weight: 400; }
body.pop.pop-cart .totals .grand { color: var(--pop-black); font: 700 18px/1.2 var(--pop-font-display); border-top-color: #e0e0e0; }
body.pop.pop-cart .btn {
	display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
	border: 0; border-radius: 999px !important; background: var(--pop-accent); color: var(--pop-on-accent);
	font: 600 16px/1 var(--pop-font-body); box-shadow: none;
}
body.pop.pop-cart .btn:hover { opacity: .88; }
/* cart.php shows the summary's own Checkout button on desktop only (phones use the sticky bar). */
@media (max-width: 899.98px) { body.pop.pop-cart .cart-side .btn.desk-only { display: none; } }
body.pop.pop-cart .sins-card { border: 0; border-radius: 18px; }
body.pop.pop-cart .empty .em { display: none; }
body.pop.pop-cart .empty h2 { font: 700 22px/1.2 var(--pop-font-display); }
body.pop.pop-cart .empty a { border-radius: 999px; background: var(--pop-accent); color: var(--pop-on-accent); font-weight: 600; }
body.pop.pop-cart .mobile-cta { background: var(--pop-white); border-top: 0; box-shadow: 0 -1px 0 #e6e6e6; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pop.pop-cart .mobile-cta .mc-total { font: 700 18px/1.15 var(--pop-font-display); }
body.pop.pop-cart .mobile-cta .btn { min-height: 48px; }
@media (max-width: 600px) {
	body.pop.pop-cart .wrap { padding-left: var(--pop-g); padding-right: var(--pop-g); }
	body.pop.pop-cart .card { margin-left: 0; margin-right: 0; }
	body.pop.pop-cart #cart-items { padding: 0; background: transparent; border-radius: 0; }
	body.pop.pop-cart .cart-grid { gap: 16px; }
}
@media (min-width: 900px) {
	body.pop.pop-cart .wrap { padding-top: 24px; }
	body.pop.pop-cart h1 { font-size: 30px; }
	body.pop.pop-cart .cart-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
	body.pop.pop-cart .cart-side { top: 16px; }
}

/* ==========================================================================================
 * Slide-in cart (parts/cart-ui.php) on Pop pages
 * ======================================================================================== */

body.pop .scart-sheet { font-family: var(--pop-font-body); }
body.pop .scart-title { font: 700 19px/1.2 var(--pop-font-display); letter-spacing: -.01em; }
body.pop .scart-x { background: var(--pop-well); color: var(--pop-black); }
body.pop .scart-thumb { width: 64px; height: 64px; border-radius: var(--pop-r-md); background: var(--pop-well); }
body.pop .scart-thumb img { object-fit: cover; }
body.pop .scart-name { font-size: 14px; font-weight: 500; }
body.pop .scart-lprice { font: 700 15px/1.2 var(--pop-font-display); }
body.pop .scart-stepper { background: var(--pop-well); }
body.pop .scart-rm { background: var(--pop-well); color: var(--pop-black); border-radius: 50%; }
body.pop .scart-sum .scart-grand { font: 700 17px/1.2 var(--pop-font-display); }
body.pop .scart-co {
	display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
	border-radius: 999px; background: var(--pop-accent); color: var(--pop-on-accent); font: 600 16px/1 var(--pop-font-body); box-shadow: none;
}
body.pop .scart-view { color: var(--pop-black); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Reduced motion ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	body.pop .pop-card__well img, body.pop .sp-img img, body.pop .pop-dot, body.pop .pop-btn { transition: none !important; }
	body.pop .pop-heart.is-pop svg { animation: none; }
	body.pop .pop-hero__track { scroll-behavior: auto; }
}
