/**
 * Phase 4 batch A: the guide pages (Comfort Guide, Sleep Position, Weight Guide, Mattress Sizes, Let's Guide You,
 * All FAQs, Mattress Prices). Loaded on those templates only (winco_pg_a_enqueue()). Every word and picture is page
 * content (R11): one Group block per section, class winco-pg-sec and winco-pg-sec--<name>; this file only dresses
 * them. Phone first (T19), 44px tap targets, Arial only (R17), no sideways scroll.
 */

/* The tokens also on the plain banner: it prints before <main class="winco-pg"> (winco_pg_a_render()), so without
   them its dark background was unset and the white title vanished on white (cold review 049). */
.winco-pg,
.winco-pg-plainhero {
	--pg-dark: #0d0d0f;
	--pg-dark-2: #1b1b1e;
	--pg-accent: #ff3a52;
	--pg-soft-red: #fff1f2;
	--pg-gap: 48px;
}

.winco-pg {
	counter-reset: pg-feel pg-weight pg-factor pg-choice pg-tip;
	overflow-x: clip;
	color: var(--winco-ink);
}

.winco-pg p {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.65;
}

.winco-pg img {
	display: block;
	width: 100%;
	height: auto;
}

.winco-pg figure {
	margin: 0;
}

/* Page links in red; the shared product card (the live grid on Mattress Sizes) keeps its own colours. */
.winco-pg a:where(:not([class*="winco-product-card"])) {
	color: var(--winco-red);
}

.winco-pg h2 {
	margin: 0 0 14px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.winco-pg h3 {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

/* ---- Sections and containers ---- */

.winco-pg-sec {
	padding: var(--pg-gap) 0;
}

.winco-pg-sec--pale {
	background: var(--winco-pale);
}

.winco-pg-sec--dark,
.winco-pg-sec--video {
	background: var(--pg-dark);
	color: #fff;
}

.winco-pg-sec--dark h2,
.winco-pg-sec--dark h3,
.winco-pg-sec--video h2 {
	color: #fff;
}

.winco-pg-sec--red {
	background: var(--winco-red);
	color: #fff;
}

.winco-pg-sec--tight {
	padding: 22px 0;
	border-bottom: 1px solid var(--winco-rule);
}

.winco-pg-wrap {
	width: 100%;
	max-width: var(--winco-content);
	margin: 0 auto;
	padding: 0 var(--winco-gutter);
}

.winco-pg-head {
	max-width: 46em;
	margin: 0 0 26px;
}

/* All FAQs: each topic's heading centred over its question list. */
.winco-pg-sec--group .winco-pg-head,
.winco-pg-head--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.winco-pg-head > p:last-child {
	margin-bottom: 0;
}

.winco-pg-eyebrow {
	margin: 0 0 10px !important;
	color: var(--winco-red);
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3 !important;
	text-transform: uppercase;
}

.winco-pg-sec--dark .winco-pg-eyebrow {
	color: var(--pg-accent);
}

.winco-pg-prose {
	max-width: 46em;
}

.winco-pg-lead p {
	font-size: 19px;
	line-height: 1.55;
}

.winco-pg-center {
	margin-top: 26px;
	text-align: center;
}

/* ---- Buttons (links only; never a global button rule, doc 07 section 4) ---- */

.winco-pg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border: 2px solid var(--winco-red);
	border-radius: 999px;
	background: var(--winco-red);
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background var(--winco-ease), border-color var(--winco-ease), color var(--winco-ease);
}

.winco-pg-btn:hover {
	border-color: var(--winco-red-dark);
	background: var(--winco-red-dark);
}

.winco-pg-btn--light {
	border-color: #fff;
	background: #fff;
	color: var(--winco-red) !important;
}

.winco-pg-btn--light:hover {
	border-color: #fff;
	background: var(--pg-soft-red);
}

.winco-pg-btn--small {
	min-height: 44px;
	padding: 0 18px;
	font-size: 14px;
}

.winco-pg-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

/* ---- Pictures ---- */

.winco-pg-fig img {
	border-radius: 10px;
}

.winco-pg-fig--scale {
	padding: 14px;
	border: 1px solid var(--winco-rule);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(13, 13, 15, 0.07);
}

.winco-pg-fig--scale img {
	border-radius: 6px;
}

.winco-pg-fig--feel img,
.winco-pg-fig--split img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: 0 16px 40px rgba(13, 13, 15, 0.14);
}

/* A chart picture carries its own words: shown whole, never cropped. */
.winco-pg-sec--dims .winco-pg-fig--split img {
	aspect-ratio: 5 / 2;
	object-fit: contain;
	background: #fff;
}

/* ---- Two-column blocks (phone: stacked) ---- */

.winco-pg-intro,
.winco-pg-feel,
.winco-pg-split,
.winco-pg-video,
.winco-pg-cta {
	display: grid;
	gap: 26px;
	align-items: center;
}

.winco-pg-intro__text > p:last-child {
	margin-bottom: 0;
}

/* Comfort Guide: three feels, numbered. */

.winco-pg-feel {
	counter-increment: pg-feel;
}

.winco-pg-feel__body h2::before {
	content: counter(pg-feel, decimal-leading-zero);
	display: block;
	margin-bottom: 6px;
	color: var(--winco-red);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.winco-pg-who {
	margin: 22px 0;
	padding: 16px 18px;
	border-left: 5px solid var(--winco-red);
	border-radius: 0 8px 8px 0;
	background: var(--pg-soft-red);
}

.winco-pg-who h3 {
	margin: 0 0 6px;
	color: var(--winco-red);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.winco-pg-who p {
	margin: 0 0 4px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.winco-pg-who p:last-child {
	margin-bottom: 0;
}

.winco-pg-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.winco-pg-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.winco-pg-video__text p {
	color: #dfe0e3;
}

/* Sleep Position: the four sleepers as picture tiles, then one split per sleeper. */

.winco-pg-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.winco-pg-tile {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 12px 12px 14px;
	border: 1px solid var(--winco-rule);
	border-radius: 12px;
	background: #fff;
	color: var(--winco-ink) !important;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: transform var(--winco-ease), box-shadow var(--winco-ease), border-color var(--winco-ease);
}

.winco-pg-tile:hover {
	border-color: var(--winco-red);
	box-shadow: 0 12px 28px rgba(13, 13, 15, 0.12);
	transform: translateY(-3px);
}

.winco-pg-fig--tile img {
	aspect-ratio: 1;
	border-radius: 8px;
	object-fit: cover;
}

.winco-pg-tile span {
	display: block;
	min-height: 44px;
	line-height: 1.25;
}

.winco-pg-split {
	scroll-margin-top: 90px;
}

/* Weight Guide: three weight bands, then the chart. */

.winco-pg-weights {
	display: grid;
	gap: 14px;
	margin-top: 22px;
}

.winco-pg-weightcard {
	counter-increment: pg-weight;
	position: relative;
	padding: 24px 20px 14px 20px;
	border-top: 5px solid var(--winco-red);
	border-radius: 4px 4px 8px 8px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(13, 13, 15, 0.09);
}

.winco-pg-weightcard::before {
	content: counter(pg-weight, decimal-leading-zero);
	display: block;
	margin-bottom: 8px;
	color: var(--winco-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.winco-pg-weightcard p {
	font-size: 17px;
}

.winco-pg-flow p {
	display: inline;
}

.winco-pg-flow p + p::before {
	content: " ";
}

.winco-pg-fig--plus img {
	max-width: 420px;
	margin: 0 auto;
	border-radius: 0;
}

.winco-pg-tabletitle {
	margin: 34px 0 14px;
	color: var(--winco-red);
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.winco-pg-cta {
	padding: 4px 0;
}

.winco-pg-cta__body h2 {
	font-size: 28px;
}

.winco-pg-cta__body p {
	max-width: 34em;
	color: inherit;
}

.winco-pg-fig--cta img {
	max-width: 280px;
	margin: 0 auto;
	border-radius: 0;
}

/* ---- Tables: stacked cards on a phone, real tables from 768px ---- */

.winco-pg-tablewrap {
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(13, 13, 15, 0.1);
}

.winco-pg-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.winco-pg-table thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.winco-pg-table tr {
	display: grid;
	gap: 0;
	padding: 6px 0;
	border-bottom: 1px solid var(--winco-rule);
}

.winco-pg-table tr:last-child {
	border-bottom: 0;
}

.winco-pg-table td {
	/* Phone: one row per cell, the column label above its value; the value flows as text (links and the "|"
	   between them stay on one line), whatever the length of the label. */
	display: block;
	padding: 7px 16px;
	line-height: 1.45;
}

.winco-pg-table td::before {
	content: attr(data-label);
	display: block;
	margin-bottom: 2px;
	color: var(--winco-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.winco-pg-table td:first-child {
	padding-top: 12px;
	font-size: 18px;
	font-weight: 700;
}

.winco-pg-table td.winco-pg-go {
	display: block;
	padding: 7px 16px 12px;
}

.winco-pg-table td.winco-pg-go::before {
	content: none;
}

/* The live price tables hold one value per cell: label left, value right on one line. */
.winco-pg-table--prices td,
.winco-pg-table--size td,
.winco-pg-table--budget td {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.winco-pg-table--prices td::before,
.winco-pg-table--size td::before,
.winco-pg-table--budget td::before {
	margin-bottom: 0;
}

/* Phone tap targets (44 px) for the links inside the tables. */
.winco-pg-table td a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	vertical-align: middle;
}

.winco-pg-name {
	color: var(--winco-ink) !important;
	font-weight: 700;
	text-decoration: none;
}

.winco-pg-name:hover {
	color: var(--winco-red) !important;
	text-decoration: underline;
}

.winco-pg-live {
	color: var(--winco-red);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.winco-pg-live--none {
	color: #b3b5b9;
	font-weight: 400;
}

/* Tier pills by price order (1 = the cheapest tier on the page), not by tier name (R11). */
.winco-pg-tier {
	display: inline-block;
	padding: 3px 11px;
	border-radius: 999px;
	background: #eceef1;
	color: #3b3e43;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.winco-pg-tier--1 {
	background: #e6f4ec;
	color: #17653c;
}

.winco-pg-tier--2 {
	background: #e8effb;
	color: #1d4a9a;
}

.winco-pg-tier--3 {
	background: #f1e9fc;
	color: #6a2fb5;
}

.winco-pg-tier--4 {
	background: #fdf0dc;
	color: #965a05;
}

.winco-pg-shortcode {
	margin-bottom: 14px;
}

/* ---- FAQ: details cards ---- */

.winco-pg-faq {
	display: grid;
	gap: 10px;
	max-width: 56em;
	margin: 0 auto;
}

.winco-pg-q {
	border: 1px solid var(--winco-rule);
	border-radius: 10px;
	background: #fff;
	transition: border-color var(--winco-ease), box-shadow var(--winco-ease);
}

.winco-pg-q[open] {
	border-color: var(--winco-red);
	box-shadow: 0 8px 24px rgba(214, 9, 36, 0.1);
}

.winco-pg-q summary {
	position: relative;
	display: block;
	min-height: 56px;
	padding: 15px 56px 15px 18px;
	cursor: pointer;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
}

.winco-pg-q summary::-webkit-details-marker {
	display: none;
}

.winco-pg-q summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 12px;
	display: grid;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	place-items: center;
	border-radius: 50%;
	background: var(--winco-pale);
	color: var(--winco-red);
	font-size: 22px;
	line-height: 1;
	transition: transform var(--winco-ease), background var(--winco-ease), color var(--winco-ease);
}

.winco-pg-q[open] summary::after {
	background: var(--winco-red);
	color: #fff;
	transform: rotate(45deg);
}

.winco-pg-a {
	padding: 0 18px 8px;
}

.winco-pg-a p,
.winco-pg-a li {
	font-size: 16px;
}

.winco-pg-a ul,
.winco-pg-a ol {
	margin: 0 0 14px;
	padding-left: 22px;
}

.winco-pg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.winco-pg-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--winco-rule);
	border-radius: 999px;
	background: #fff;
	color: var(--winco-ink) !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background var(--winco-ease), border-color var(--winco-ease), color var(--winco-ease);
}

.winco-pg-chip:hover {
	border-color: var(--winco-red);
	background: var(--winco-red);
	color: #fff !important;
}

.winco-pg-h2-lead {
	display: block;
	margin-bottom: 8px;
	color: var(--winco-red);
	font-size: 13px;
	letter-spacing: 0.16em;
}

.winco-pg-sec--group h2[id] {
	scroll-margin-top: 90px;
}

/* ---- Let's Guide You: firmness cards, size cards ---- */

.winco-pg-firms {
	display: grid;
	gap: 16px;
}

.winco-pg-firm {
	overflow: hidden;
	border: 1px solid var(--winco-rule);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(13, 13, 15, 0.08);
}

.winco-pg-firm header {
	padding: 18px 20px;
	background: #ffe3e6;
}

.winco-pg-firm--2 header {
	background: #ffc7ce;
}

.winco-pg-firm--3 header {
	background: #ff8e9c;
}

.winco-pg-firm--4 header {
	background: var(--winco-red);
	color: #fff;
}

.winco-pg-firm__kicker {
	margin: 0 0 2px !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	opacity: 0.7;
	text-transform: uppercase;
}

.winco-pg-firm h3 {
	margin: 0 0 12px;
	font-size: 28px;
	letter-spacing: -0.02em;
}

.winco-pg-scale {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: 14px;
	font-weight: 700;
}

.winco-pg-scale__label {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.winco-pg-scale__n {
	font-size: 20px;
}

.winco-pg-pips {
	display: flex;
	flex: 1 1 100%;
	gap: 4px;
}

.winco-pg-pips i {
	flex: 1;
	height: 8px;
	border-radius: 4px;
	background: rgba(13, 13, 15, 0.14);
}

.winco-pg-pips i.on {
	background: var(--pg-dark);
}

.winco-pg-firm--4 .winco-pg-pips i {
	background: rgba(255, 255, 255, 0.35);
}

.winco-pg-firm--4 .winco-pg-pips i.on {
	background: #fff;
}

.winco-pg-firm dl {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 18px 20px 20px;
}

.winco-pg-spec dt {
	margin: 0 0 2px;
	color: var(--winco-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.winco-pg-spec dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
}

.winco-pg-sizes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.winco-pg-size {
	padding: 12px 12px 8px;
	border: 1px solid var(--winco-rule);
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

.winco-pg-size p {
	margin: 0 0 4px;
	font-size: 15px;
	line-height: 1.4;
}

.winco-pg-size h3 {
	margin: 10px 0 6px;
	color: var(--winco-red);
	font-size: 19px;
	text-transform: uppercase;
}

.winco-pg-size .winco-pg-fig img {
	max-height: 140px;
	object-fit: contain;
	border-radius: 0;
}

.winco-pg-fig--measure {
	grid-column: 1 / -1;
	max-width: 480px;
	margin: 28px auto 0;
}

.winco-pg-fig--measure img {
	border-radius: 0;
}

/* ---- Mattress Sizes ---- */

.winco-pg-playcard {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 16px 44px rgba(13, 13, 15, 0.18);
}

.winco-pg-playcard img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.winco-pg-playcard:hover img {
	transform: scale(1.04);
}

.winco-pg-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 50%;
	background: var(--winco-red);
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.35);
}

.winco-pg-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -13px 0 0 -9px;
	border-style: solid;
	border-width: 13px 0 13px 22px;
	border-color: transparent transparent transparent #fff;
}

.winco-pg-swap {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 22px 0;
	padding: 18px;
	border-radius: 12px;
	background: var(--pg-dark);
	color: #fff;
}

.winco-pg-swap__badge {
	display: grid;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: var(--winco-red);
	font-size: 26px;
	font-weight: 700;
}

.winco-pg-swap p {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.5;
}

.winco-pg-swap__eyebrow {
	color: var(--pg-accent);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.winco-pg-swap__title {
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.25 !important;
}

.winco-pg-swap__body {
	color: #d6d7da;
}

.winco-pg-swap__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff !important;
	font-weight: 700;
}

.winco-pg-choices {
	display: grid;
	gap: 14px;
}

.winco-pg-choice {
	counter-increment: pg-choice;
	padding: 22px 20px 12px;
	border: 1px solid var(--winco-rule);
	border-radius: 12px;
	background: #fff;
}

.winco-pg-choice h3 {
	text-transform: capitalize;
}

.winco-pg-choice h3::before {
	content: counter(pg-choice);
	display: grid;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	place-items: center;
	border-radius: 50%;
	background: var(--winco-red);
	color: #fff;
	font-size: 18px;
}

.winco-pg-choice p {
	font-size: 16px;
}

.winco-pg-sec--range ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.winco-pg-sec--range ul.products > li {
	margin: 0;
	min-width: 0;
}

.winco-pg-custom {
	display: grid;
	gap: 28px;
}

.winco-pg-tips {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.winco-pg-tips li {
	counter-increment: pg-tip;
	position: relative;
	padding: 16px 16px 6px 62px;
	border: 1px solid var(--winco-rule);
	border-radius: 10px;
	background: #fff;
}

.winco-pg-tips li::before {
	content: counter(pg-tip);
	position: absolute;
	top: 14px;
	left: 14px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: var(--pg-dark);
	color: #fff;
	font-weight: 700;
}

.winco-pg-tips h3 {
	margin: 0 0 6px;
	font-size: 18px;
}

.winco-pg-tips p {
	font-size: 16px;
}

.winco-pg-custom__side {
	display: grid;
	gap: 18px;
}

.winco-pg-cta--small {
	padding: 24px 20px;
	border-radius: 12px;
	background: var(--winco-red);
	color: #fff;
}

.winco-pg-cta--small .winco-pg-btn {
	border-color: #fff;
	background: #fff;
	color: var(--winco-red) !important;
}

/* ---- Mattress Prices in Nigeria ---- */

.winco-pg-sec--hero {
	padding: 40px 0 8px;
	background: var(--pg-dark);
}

.winco-pg-pricehero {
	position: relative;
	margin-bottom: -1px;
	padding: 26px 0 36px;
	color: #fff;
}

.winco-pg-pricehero h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(34px, 9vw, 64px);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.winco-pg-pricehero__lead {
	max-width: 36em;
	color: #e4e5e7;
	font-size: 19px !important;
	line-height: 1.55 !important;
}

.winco-pg-pricehero__lead .winco-pg-live,
.winco-pg-pricehero strong {
	color: #fff;
}

.winco-pg-pricehero__lead .winco-pg-live {
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--winco-red);
}

.winco-pg-livetag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px !important;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	color: #fff;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3 !important;
	text-transform: uppercase;
}

.winco-pg-dot {
	position: relative;
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--pg-accent);
}

.winco-pg-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--pg-accent);
	animation: winco-pg-pulse 1.8s ease-out infinite;
}

@keyframes winco-pg-pulse {
	from {
		opacity: 0.7;
		transform: scale(1);
	}

	to {
		opacity: 0;
		transform: scale(3);
	}
}

.winco-pg-sec--answer {
	padding-top: 0;
	background: linear-gradient(var(--pg-dark) 0 56px, #fff 56px);
}

.winco-pg-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}

.winco-pg-stat {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 18px 14px;
	border-top: 5px solid var(--winco-red);
	border-radius: 4px 4px 10px 10px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(13, 13, 15, 0.16);
}

.winco-pg-stat b {
	color: var(--winco-red);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

.winco-pg-stat b .winco-pg-live {
	color: inherit;
	font-size: inherit;
	white-space: normal;
}

.winco-pg-stat > span {
	color: var(--winco-muted);
	font-size: 14px;
	line-height: 1.35;
}

.winco-pg-quick {
	margin: 0 !important;
	padding: 18px 20px;
	border-left: 5px solid var(--winco-red);
	border-radius: 0 10px 10px 0;
	background: var(--pg-soft-red);
}

.winco-pg-quick strong:first-child {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
}

.winco-pg-sec--all .winco-pg-head h2,
.winco-pg-sec--size .winco-pg-head h2,
.winco-pg-sec--budget .winco-pg-head h2 {
	padding-bottom: 10px;
	border-bottom: 3px solid var(--winco-red);
}

.winco-pg-orthobox ul {
	display: grid;
	gap: 12px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.winco-pg-orthobox li {
	padding: 16px 18px;
	border-left: 5px solid var(--winco-red);
	border-radius: 0 10px 10px 0;
	background: var(--pg-dark-2);
	font-size: 17px;
	line-height: 1.5;
}

.winco-pg-orthobox li .winco-pg-live {
	color: #fff;
	font-size: 22px;
}

.winco-pg-orthobox a {
	color: #ff8e9c;
}

/* A link closing a price row ("View full price list"): a 44 px tall tap area inside the row's own padding; nothing
   visible moves (brief 057 B2). */
.winco-pg-orthobox li > a {
	position: relative;
}

.winco-pg-orthobox li > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 44px;
	transform: translateY(-50%);
}

.winco-pg-orthobox p {
	color: #dfe0e3;
}

.winco-pg-factors,
.winco-pg-bands {
	display: grid;
	gap: 14px;
}

.winco-pg-factor {
	counter-increment: pg-factor;
	padding: 22px 20px 10px;
	border-top: 5px solid var(--winco-red);
	border-radius: 4px 4px 10px 10px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(13, 13, 15, 0.08);
}

.winco-pg-factor h3::before {
	content: counter(pg-factor, decimal-leading-zero);
	display: block;
	margin-bottom: 6px;
	color: var(--winco-red);
	font-size: 13px;
	letter-spacing: 0.2em;
}

.winco-pg-factor p,
.winco-pg-factor li {
	font-size: 16px;
}

.winco-pg-factor ul {
	margin: 0 0 14px;
	padding-left: 20px;
}

.winco-pg-band {
	padding: 20px;
	border: 1px solid var(--winco-rule);
	border-radius: 12px;
	background: #fff;
	transition: border-color var(--winco-ease), box-shadow var(--winco-ease);
}

.winco-pg-band:hover {
	border-color: var(--winco-red);
	box-shadow: 0 12px 30px rgba(13, 13, 15, 0.1);
}

.winco-pg-band__label {
	display: inline-block;
	margin-bottom: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--pg-soft-red);
	color: var(--winco-red);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.winco-pg-band__label .winco-pg-live {
	font-size: inherit;
}

.winco-pg-band p {
	font-size: 16px;
}

.winco-pg-trial {
	max-width: 46em;
}

.winco-pg-checks ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.winco-pg-checks li {
	position: relative;
	padding: 14px 16px 14px 54px;
	border: 1px solid var(--winco-rule);
	border-radius: 10px;
	background: #fff;
	font-size: 17px;
	line-height: 1.5;
}

.winco-pg-checks li::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 14px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--winco-red);
}

.winco-pg-checks li::after {
	content: "";
	position: absolute;
	top: 20px;
	left: 22px;
	width: 7px;
	height: 12px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.winco-pg-sec--order .winco-pg-cta__body h2 {
	color: #fff;
}

.winco-pg-help {
	max-width: 46em;
	margin: 0 auto 22px;
	padding: 28px 22px;
	border-radius: 14px;
	background: var(--winco-pale);
	text-align: center;
}

.winco-pg-note {
	max-width: 46em;
	margin: 0 auto !important;
	color: var(--winco-muted);
	font-size: 14px !important;
	text-align: center;
}

/* ---- The plain banner (a page without a featured picture) ---- */

.winco-pg-plainhero {
	padding: 44px 0 48px;
	background: var(--pg-dark);
	color: #fff;
}

.winco-pg-plainhero__inner {
	width: 100%;
	max-width: var(--winco-content);
	margin: 0 auto;
	padding: 0 var(--winco-gutter);
}

.winco-pg-plainhero h1 {
	margin: 0;
	font-size: clamp(34px, 9vw, 72px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

/* ---- Wider screens ---- */

@media (min-width: 640px) {
	.winco-pg-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.winco-pg-sizes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.winco-pg-sec--range ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.winco-pg-stat b {
		font-size: 34px;
	}
}

@media (min-width: 768px) {
	.winco-pg {
		--pg-gap: 72px;
	}

	.winco-pg h2 {
		font-size: 40px;
	}

	.winco-pg-eyebrow {
		font-size: 14px !important;
	}

	.winco-pg-weights,
	.winco-pg-factors,
	.winco-pg-bands,
	.winco-pg-choices,
	.winco-pg-firms {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.winco-pg-table thead {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
	}

	.winco-pg-table thead tr {
		background: var(--winco-red);
		color: #fff;
	}

	.winco-pg-table tr {
		display: table-row;
		padding: 0;
	}

	.winco-pg-table th {
		padding: 15px 16px;
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-align: left;
		text-transform: uppercase;
	}

	.winco-pg-table th a {
		color: #fff;
		text-decoration: none;
	}

	.winco-pg-table td {
		display: table-cell;
		padding: 14px 16px;
		vertical-align: middle;
	}

	.winco-pg-table td a {
		display: inline;
		min-height: 0;
	}

	.winco-pg-table td::before {
		content: none;
	}

	.winco-pg-table td:first-child {
		padding-top: 14px;
		font-size: 16px;
	}

	.winco-pg-table tbody tr:nth-child(even) {
		background: #fdf5f5;
	}

	.winco-pg-table tbody tr:hover {
		background: #fbe9eb;
	}

	.winco-pg-num {
		text-align: right !important;
	}

	.winco-pg-table td.winco-pg-go {
		display: table-cell;
		padding: 14px 16px;
		text-align: right;
	}

	.winco-pg-table--sizes td:first-child,
	.winco-pg-table--weight td:first-child {
		font-weight: 700;
	}

	.winco-pg-table--sizes td,
	.winco-pg-table--weight td {
		font-size: 15px;
	}

	.winco-pg-tablewrap {
		overflow-x: auto;
	}

	.winco-pg-split,
	.winco-pg-feel,
	.winco-pg-intro,
	.winco-pg-video,
	.winco-pg-cta {
		gap: 48px;
	}

	.winco-pg-pricehero {
		padding-bottom: 52px;
	}

	.winco-pg-orthobox ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.winco-pg-custom {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
		gap: 48px;
		align-items: start;
	}

	.winco-pg-swap {
		padding: 22px;
	}
}

@media (min-width: 960px) {
	.winco-pg-intro,
	.winco-pg-feel,
	.winco-pg-split,
	.winco-pg-video,
	.winco-pg-cta {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.winco-pg-feel--medium .winco-pg-fig,
	.winco-pg-split--flip .winco-pg-fig {
		order: 2;
	}

	/* Weight Guide: the picture sits beside the heading and the lead; the three weight cards run full width below. */
	.winco-pg-intro--weight {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		column-gap: 48px;
		row-gap: 0;
	}

	.winco-pg-intro--weight > .winco-pg-intro__text {
		display: contents;
	}

	.winco-pg-intro--weight > .winco-pg-intro__text > h2 {
		grid-column: 1;
		grid-row: 1;
		align-self: end;
	}

	.winco-pg-intro--weight .winco-pg-lead {
		grid-column: 1;
		grid-row: 2;
		align-self: start;
	}

	.winco-pg-intro--weight > .winco-pg-fig--plus {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.winco-pg-intro--weight .winco-pg-weights {
		grid-column: 1 / -1;
		grid-row: 3;
		margin-top: 40px;
	}

	.winco-pg-weights {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.winco-pg-weightcard {
		padding: 24px 18px 10px;
	}

	.winco-pg-weights .winco-pg-weightcard p {
		font-size: 16px;
	}

	.winco-pg-factors,
	.winco-pg-choices {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.winco-pg-choices {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.winco-pg-bands {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.winco-pg-firms {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.winco-pg-sizes {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.winco-pg-sec--range ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.winco-pg-intro--sizes {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* The four price boxes sit in one row from 1024 px; below that two by two, so
   a six-figure price with kobo at 34 px is never cut (QA 2 096 F3). */
@media (min-width: 1024px) {
	.winco-pg-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.winco-pg-dot::after {
		animation: none;
	}

	.winco-pg-tile,
	.winco-pg-playcard img {
		transition: none;
	}
}

/* The size guide's pillow section (brief 118): each pillow's options and their sizes, from the products. */
/* Brief 120: the pillow cards count from 1 (they carried on from the "How to Choose" cards: 5, 6, 7). */
.winco-pg-sec--pillows {
	counter-reset: pg-choice;
}

.winco-pg-pillow-sizes {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: 16px;
}

.winco-pg-pillow-sizes li {
	padding: 6px 0;
	border-bottom: 1px solid var(--winco-rule);
}

.winco-pg-pillow-sizes li:last-child {
	border-bottom: 0;
}
