/* ============================================================================
 * pp-shop-list.css
 *
 * Option C horizontal row card for the shop/category archive list. Replaces
 * the styling of the legacy .pp-shop-row layout in pp-shop.css (which still
 * loads first — this file declares pp-shop as a dependency in the mu-plugin
 * so it cascades correctly).
 *
 * Targets the dual-class wrapper rendered by woocommerce/content-product-row.php:
 *   <article class="pp-shop-list__row pp-shop-row pp-shop-list__row--cat-XYZ">
 *
 * Tokens per PP_TOKENS.md. Hex values inlined for portability (token vars are
 * not declared as :root custom props on archive pages right now).
 *
 * Hard constraints honoured:
 *   - Montserrat only.
 *   - No font-weight 700/800/900.
 *   - Add to Cart is SOLID #ef4444 with off-white #fafafa text.
 *   - Category pill uses CATEGORY-MATCHED tint background (--pp-{color}-tint).
 *   - All hex from PP_TOKENS.md, no invented values.
 * ============================================================================ */


/* === PAGE CANVAS ========================================================== */

/* Canvas is 1312px, owned by pp-shop.css (body.* .pp-shop lock) to match the
   Customizer "Width & Heading Consistency Pass v2" box (header .container,
   homepage inners, .pp-shop__grid — all 1312px !important in wp-custom-css).
   The old 1600px override here never won (the wp-custom-css !important rules
   beat it) and is removed so there's one owner of the cap. */


/* === LAYOUT ROOT ========================================================== */

/* The row container layout (flex row on desktop, flex-column stack on mobile)
   is owned by the legacy `.pp-shop .pp-shop__list .pp-shop-row` rules in
   pp-shop.css (specificity 0,3,0) and the global !important grid override in
   pp-mobile-fixes.css. We intentionally do NOT fight that here — a bare
   `.pp-shop-list__row` (0,1,0) keeps box-model styling (radius/border) without
   forcing display:grid, which would activate pp-mobile-fixes' minmax !important
   and collapse the info column to 0 on phones. The per-element styling below
   (.pp-shop-list__media / __body / __buy etc.) is what this file restyles. */
.pp-shop-list__row {
	margin: 0;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 16px;

	font-family: 'Montserrat', sans-serif;
	color: #343434;

	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.pp-shop-list__row:focus-visible {
	outline: 2px solid #1f9edb;
	outline-offset: 2px;
}

/* Container gap between cards — sits on the wrapping .pp-shop__list. */
.pp-shop .pp-shop__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}


/* === MEDIA COLUMN (image, heart, straddling pill) ======================== */

/* Left column: category pill centered directly above the image. */
.pp-shop-list__media-col {
	flex-shrink: 0;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.pp-shop-list__media {
	position: relative;
	width: 280px;
	aspect-ratio: 1 / 1;
	background: #FFFFFF; /* solid white so transparent + white-bg images read identically */
	box-sizing: border-box;
	overflow: hidden;
}
.pp-shop-list__media-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 22px; /* keep the vial off the cell edges */
	box-sizing: border-box;
	text-decoration: none;
}
.pp-shop-list__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* Wishlist heart — wraps the existing pp_render_wishlist_heart() button. */
.pp-shop-list__heart {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
}
.pp-shop-list__heart .pp-wishlist-btn {
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	background: #FFFFFF;
	border: 0.5px solid #E5E7EB;
	box-shadow: 0 1px 2px rgba(52, 52, 52, 0.05);
	color: #6B7280;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color 0.15s ease;
}
.pp-shop-list__heart .pp-wishlist-btn:hover,
.pp-shop-list__heart .pp-wishlist-btn--active {
	color: #ef4444;
}
.pp-shop-list__heart .pp-wishlist-btn svg {
	width: 16px;
	height: 16px;
}
.pp-shop-list__heart .pp-wishlist-btn--active svg {
	fill: currentColor;
}

/* Category pill — Option A: inline badge on its own line ABOVE the product
   name (no longer straddling the image). The badge box (white fill, 1.5px
   border, 6px radius, uppercase, 8/14 padding) is enforced by pp-mobile-fixes.css
   `!important` rules; here we only set placement + per-category border/text color. */
.pp-shop-list__pill {
	display: inline-flex;
	align-items: center;
	border: 1px solid #7ccf4a;
	color: #4e9c2a;
	font-family: 'Montserrat', sans-serif;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
}

/* Per-category border/text colors (the white fill is forced by pp-mobile-fixes). */
.pp-shop-list__pill--healing {
	background: #EAF7DF;
	border-color: #7ccf4a;
	color: #4e9c2a;
}
.pp-shop-list__pill--brain {
	background: #E8F4FB;
	border-color: #0e6a99;
	color: #0e6a99;
}
.pp-shop-list__pill--weight {
	background: #FEEAD8;
	border-color: #f97316;
	color: #c2410c;
}
.pp-shop-list__pill--performance {
	background: #FDE8EA;
	border-color: #ef4444;
	color: #c0384a;
}
.pp-shop-list__pill--skin {
	background: #F1ECFB;
	border-color: #9b7aef;
	color: #5e3fb5;
}
.pp-shop-list__pill--immune {
	background: #EAF7DF;
	border-color: #7ccf4a;
	color: #4e9c2a;
}
.pp-shop-list__pill--supplies {
	background: #F3F4F6;
	border-color: #D1D5DB;
	color: #4B5563;
}


/* === INFO COLUMN ========================================================== */

.pp-shop-list__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 0;
	min-width: 0;
}

/* Name + reviews share one line, rating inline to the right of the name. */
.pp-shop-list__head {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}

.pp-shop-list__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.5px;
	line-height: 1.15;
	color: #343434;
}

.pp-shop-list__stars {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	color: #6B7280;
}
.pp-shop-list__stars-glyphs {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #E5E7EB;
	font-size: 14px;
	line-height: 1;
}
.pp-shop-list__star.is-on {
	color: #0e6a99;
}
.pp-shop-list__stars-num {
	font-weight: 600;
	color: #343434;
}
.pp-shop-list__stars--empty {
	font-style: italic;
	color: #6b7280;
}

.pp-shop-list__desc {
	margin: 10px 0 16px;
	max-width: 62ch;
	font-size: 14px;
	color: #6B7280;
	line-height: 1.5;

	/* Up to 3 lines, ellipsis on overflow. Blurb is capped at ~20 words on save
	   (pp-blurb.php), so 3 lines shows the whole thing. Empty descriptions
	   render no element. */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* === DOSAGE / STRENGTH PILLS ============================================= */

.pp-shop-list__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pp-shop-list__size {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border: 1px solid #D1D5DB;
	border-radius: 9999px;
	background: transparent;
	color: #4B5563;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.2px;
}
/* In stock, default/selected — solid subtle fill, stronger border. */
.pp-shop-list__size--selected {
	background: #F3F4F6;
	border-color: #9CA3AF;
	color: #343434;
}
/* Out of stock — struck-through, muted, not interactive. */
.pp-shop-list__size--oos {
	border-color: #E5E7EB;
	color: #9CA3AF;
	text-decoration: line-through;
	cursor: default;
}

.pp-shop-list__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: #6B7280;
}
.pp-shop-list__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.pp-shop-list__meta-item--oos {
	color: #c0384a;
}
.pp-shop-list__dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7ccf4a;
}
.pp-shop-list__meta-sep {
	display: inline-block;
	width: 1px;
	height: 14px;
	background: #E5E7EB;
}


/* === BUY COLUMN =========================================================== */

/* Buy row — the final element of the content column: price on the left,
   Add to Cart + Use Planner grouped on the right. Pinned to the column bottom. */
.pp-shop-list__buy {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;

	margin-top: auto;              /* push the action row to the bottom of the column */
	padding-top: 16px;
	border-top: 1px solid #F3F4F6; /* clean hairline above the actions */
}

.pp-shop-list__pricewrap {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
	margin-right: auto;            /* push the action buttons to the right */
}
.pp-shop-list__from {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #6b7280;
}
.pp-shop-list__price {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.6px;
	line-height: 1;
	color: #343434;
}
.pp-shop-list__cad {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: #6b7280;
}
.pp-shop-list__price .woocommerce-Price-amount {
	font: inherit;
	color: inherit;
}
.pp-shop-list__price del {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	margin-bottom: 2px;
}
.pp-shop-list__price ins {
	background: transparent;
	text-decoration: none;
}

/* Add to Cart — SOLID red fill per the BUTTON RULE, off-white text. */
.pp-shop-list__atc {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;

	width: auto;
	height: 52px;
	padding: 0 28px;
	white-space: nowrap;

	background-color: #ef4444;
	color: #fafafa;
	border: 0;
	border-radius: 12px;

	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;

	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.18);
	cursor: pointer;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.pp-shop-list__atc:hover,
.pp-shop-list__atc:focus {
	background-color: #dc2626;
	color: #fafafa;
	text-decoration: none;
}
.pp-shop-list__atc:active {
	background-color: #b91c1c;
}
.pp-shop-list__atc-icon {
	color: inherit;
}
/* ── Smart-button states ─────────────────────────────────────────────────
 * --select : multi-size in stock → outlined red (white bg), links to PDP.
 * --notify : out of stock → quiet grey outline, opens the Notify Me modal.
 * box-sizing keeps the 1.5px border from growing past the solid button's 52px.
 * These come after the base .pp-shop-list__atc rules so they win on cascade. */
.pp-shop-list__atc--select {
	background-color: #ffffff;
	color: #ef4444;
	border: 1.5px solid #ef4444;
	box-shadow: none;
	box-sizing: border-box;
}
.pp-shop-list__atc--select:hover,
.pp-shop-list__atc--select:focus {
	background-color: #fef2f2;
	color: #dc2626;
	border-color: #dc2626;
}
.pp-shop-list__atc--select:active {
	background-color: #fee2e2;
}
.pp-shop-list__atc-arrow {
	font-size: 16px;
	line-height: 1;
}

.pp-shop-list__atc--notify {
	background-color: #ffffff;
	color: #6b7280;
	border: 1.5px solid #d1d5db;
	box-shadow: none;
	box-sizing: border-box;
}
.pp-shop-list__atc--notify:hover,
.pp-shop-list__atc--notify:focus {
	background-color: #f9fafb;
	color: #374151;
	border-color: #9ca3af;
}
/* Notified state — after submit: greyed/green, disabled, can't re-open. */
.pp-shop-list__atc--notify.is-notified {
	background-color: #f3f4f6;
	color: #4e9c2a;
	border-color: #cbd5e1;
	cursor: default;
	pointer-events: none;
}
.pp-shop-list__atc--notify.is-notified svg {
	color: #4e9c2a;
}

/* ── Notify Me modal (shared, responsive) ──────────────────────────────────
 * Desktop: centered popup. Mobile (≤600px): docks as a bottom sheet that
 * slides up from the bottom, so it sits above the on-screen keyboard. Markup
 * is rendered once in the footer by pp-notify-me.php. */
.pp-notify-modal[hidden] { display: none; }
.pp-notify-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Montserrat', sans-serif;
}
.pp-notify-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}
.pp-notify-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	margin: 20px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 26px 24px 24px;
	box-sizing: border-box;
}
.pp-notify-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	background: none;
	color: #9ca3af;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}
.pp-notify-modal__close:hover { color: #343434; background: #f3f4f6; }
.pp-notify-modal__title {
	margin: 0 28px 6px 0;
	font-size: 19px;
	font-weight: 600;
	color: #343434;
	line-height: 1.25;
}
.pp-notify-modal__sub {
	margin: 0 0 18px;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.45;
}
.pp-notify-modal__form { display: flex; flex-direction: column; gap: 10px; }
.pp-notify-modal__input {
	height: 50px;
	padding: 0 16px;
	border: 1.5px solid #d1d5db;
	border-radius: 12px;
	font: inherit;
	font-size: 15px;
	color: #343434;
	box-sizing: border-box;
}
.pp-notify-modal__input:focus { outline: none; border-color: #1f9edb; }
.pp-notify-modal__input.is-error { border-color: #dc2626; }
.pp-notify-modal__submit {
	height: 50px;
	border: 0;
	border-radius: 12px;
	background: #ef4444;
	color: #fafafa;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}
.pp-notify-modal__submit:hover { background: #dc2626; }
.pp-notify-modal__submit:disabled { opacity: 0.6; cursor: default; }
.pp-notify-modal__msg { margin: 2px 0 0; font-size: 13px; font-weight: 500; min-height: 1em; }
.pp-notify-modal__msg.is-error { color: #dc2626; }
.pp-notify-modal__msg.is-ok { color: #4e9c2a; }

@media (max-width: 600px) {
	.pp-notify-modal { align-items: flex-end; }
	.pp-notify-modal__panel {
		max-width: none;
		width: 100%;
		margin: 0;
		border-radius: 18px 18px 0 0;
		padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
		animation: pp-notify-up 0.22s ease;
	}
}
@keyframes pp-notify-up {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

/* Use Peptide Planner — quiet secondary link, sits left under the stock line. */
.pp-shop-list__planner {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;

	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #0e6a99;
	text-decoration: none;

	transition: color 0.15s ease;
}
.pp-shop-list__planner:hover,
.pp-shop-list__planner:focus {
	color: #0e6a99;
	text-decoration: none;
}
.pp-shop-list__planner-icon {
	flex-shrink: 0;
}
.pp-shop-list__planner-arrow {
	font-size: 13px;
	line-height: 1;
}


/* === RESPONSIVE — stack below 768px ====================================== */

@media (max-width: 768px) {
	/* The row stacks via the legacy `.pp-shop-row { flex-direction:column }`
	   rule in pp-shop.css. We only adjust the stacked per-element styling. */
	/* 2026-06-09 mobile audit: the media column kept align-self:flex-start
	   from the desktop row layout, pinning the chip + image to the left of
	   the stacked card (17px left vs 78px right at 375). Center it. */
	.pp-shop-list__media-col {
		align-self: center;
	}
	.pp-shop-list__media {
		width: 100%;
		max-width: 240px;
		margin: 0 auto;
	}
	.pp-shop-list__title {
		font-size: 22px;
	}

	/* Buy row stacks: price on its own line, then full-width Add to Cart. */
	.pp-shop-list__buy {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.pp-shop-list__pricewrap {
		margin-right: 0;
	}
	.pp-shop-list__atc {
		width: 100%;
	}
}


/* ============================================================================
 * SHOP-ROW LAYOUT REUSED ON HOMEPAGE / PDP — 2 across (Most Popular, Related)
 * pp-shop-list.css is enqueued on the homepage + single product (functions.php),
 * so the bare .pp-shop-list__* child styles above apply. The horizontal flex
 * (normally from the shop-scoped .pp-shop .pp-shop__list .pp-shop-row rule, which
 * does not reach these pages) is replicated here, scoped to the .pp-rowcards grid.
 * ============================================================================ */
.pp-rowcards {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}
.pp-rowcards .pp-shop-list__row {
	display: flex;
	align-items: stretch; /* body fills full card height so the buy area can pin to bottom */
	gap: 28px;
	padding: 22px;
	min-width: 0;
}
/* Equal-height cards across a row: grid cells stretch by default; the body is a
   flex column (base rule) and its buy area has margin-top:auto, so the button
   pins to the card bottom and lines up across the row. */
/* Bigger focal image, sized as a proportion of the card (not a fixed px) so it's
   prominent on the wide homepage grid AND scales down on the narrower PDP related
   grid without cramping the info column. Scoped to .pp-rowcards — the /shop
   archive rows keep their own 280px media. */
.pp-rowcards .pp-shop-list__media-col {
	flex: 0 0 48%;
	max-width: 320px;
}
.pp-rowcards .pp-shop-list__media {
	width: 100%;
}
/* Stack the buy area: price line on top, the Add to Cart pill below, pinned to
   the card bottom (margin-top:auto inherited from the base .pp-shop-list__buy).
   A touch more breathing room above the button. */
.pp-rowcards .pp-shop-list__buy {
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.pp-rowcards .pp-shop-list__pricewrap { margin-right: 0; }
/* Card layout has room for a multi-line hook; let the description wrap so the
   whole sentence shows. /shop archive's single-line ellipsis is unaffected.
   2026-06-09 mobile audit: overflow:visible alone PAINTED the 3-line-clamped
   box's hidden lines over the stock row below (Cagrilintide related card at
   375). The clamp itself has to come off too — a plain block grows the card
   instead of overlapping it. */
.pp-rowcards .pp-shop-list__desc {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	max-width: none;
	display: block;
	-webkit-line-clamp: none;
	line-clamp: none;
}
/* Outline pill — four solid-red buttons in the 2x2 grid read as too much red.
   Dark label + dark cart icon, thin red border, white fill; content-sized and
   left-aligned (not full-width). Fills red on hover/focus for the affordance. */
.pp-rowcards .pp-shop-list__atc {
	width: auto;
	align-self: flex-start;
	height: 46px;
	padding: 0 22px;
	background-color: #fff;
	color: #343434;
	border: 1.5px solid #ef4444;
	box-shadow: none;
}
.pp-rowcards .pp-shop-list__atc:hover,
.pp-rowcards .pp-shop-list__atc:focus {
	background-color: #ef4444;
	color: #fafafa;
	box-shadow: none;
}

@media (max-width: 1024px) {
	.pp-rowcards .pp-shop-list__row { gap: 20px; padding: 18px; }
}

/* Mobile: one across, row stacks (image on top, centered), full-width buy. */
@media (max-width: 768px) {
	.pp-rowcards { grid-template-columns: 1fr; gap: 12px; }
	.pp-rowcards .pp-shop-list__row { flex-direction: column; align-items: stretch; gap: 16px; }
	.pp-rowcards .pp-shop-list__media-col { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
	.pp-rowcards .pp-shop-list__media { width: 100%; max-width: none; }
	/* Full-width Add to Cart on mobile (1-across) reads cleanly. */
	.pp-rowcards .pp-shop-list__buy { align-items: stretch; }
	.pp-rowcards .pp-shop-list__atc { width: 100%; }
}

/* ===================================================================
   THE DROP — clearance treatment on shop-list cards (DESIGN.md §5b).
   Normal card layout, plus: a light-red border, a red "THE DROP" badge
   under the category pill, a save-% flag on the image, and a low-stock
   "Only N left" note. The struck-through price is carried by WC's own
   sale price HTML, so it needs no extra rule here.
   =================================================================== */
/* The legacy `.pp-shop .pp-shop__list .pp-shop-row` rule in pp-shop.css sets a
   1px grey border at specificity 0,3,0, which outranks a bare `--drop` class
   (0,1,0). !important is the reliable way to win across every card context
   (shop archive, category, search, home/related grids). */
.pp-shop-list__row--drop {
	position: relative;
	border: 2px solid #fca5a5 !important;
	margin-top: 22px; /* room for the ribbon straddling the top edge */
}

/* "THE DROP" ribbon — straddles the top edge of the card, centered. */
.pp-shop-list__drop-ribbon {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	padding: 6px 28px;
	border-radius: 999px;
	background: #ef4444;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 3px 8px rgba(239, 68, 68, 0.35);
}

/* Save-% flag, top-right of the image (the wishlist heart owns top-left). */
.pp-shop-list__drop-save {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	padding: 4px 9px;
	border-radius: 999px;
	background: #ef4444;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* THE DROP scarcity meter — full-width segment bar (battery style). */
.pp-shop-list__drop-sc {
	margin: 2px 0 4px;
}
.pp-shop-list__drop-segs {
	display: flex;
	gap: 5px;
	width: 100%;
}
.pp-shop-list__drop-segs i {
	flex: 1;
	height: 10px;
	border-radius: 5px;
	background: #e5e7eb;
}
.pp-shop-list__drop-segs i.is-on {
	background: #2b6cb0;
}
.pp-shop-list__drop-sc-label {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	color: #2b6cb0;
}
/* Low stock (<= 3 left) — switch the meter to urgent red. */
.pp-shop-list__drop-sc.is-low .pp-shop-list__drop-segs i.is-on {
	background: #b91c1c;
}
.pp-shop-list__drop-sc.is-low .pp-shop-list__drop-sc-label {
	color: #b91c1c;
}

/* Out-of-stock fallback pill (shown when the Notify Me modal system isn't present). */
.pp-shop-list__atc--oos {
	background-color: #f3f4f6;
	color: #9ca3af;
	border: 1.5px solid #e5e7eb;
	box-shadow: none;
	box-sizing: border-box;
	cursor: default;
	pointer-events: none;
}

/* Sold-out card (owner call 2026-06-11): whole row dims hard so OOS reads at a
   glance, but stays fully clickable through to the PDP (data-href row link +
   Notify Me both keep working — no pointer-events change). Hover/focus lifts
   the dim so the card doesn't feel disabled while you're on it. These rows
   also sort last via the pp-shop-oos-last mu-plugin. */
.pp-shop-list__row--soldout {
	opacity: 0.5;
	transition: opacity 0.2s ease;
}
.pp-shop-list__row--soldout:hover,
.pp-shop-list__row--soldout:focus-within {
	opacity: 0.9;
}
