/* ==========================================================================

   Wellspring — Federal hemp restriction campaign

   Two scopes in one file:
     .wb-hub        the /hemp-ban/ page
     .wb-pdp-strip  the countdown strip on affected product pages
     .wb-ban-pdp    body class on affected products — pack-row overrides only

   ========================================================================== */

.wb-hub {
	--wb-pine: #192c27;
	--wb-leaf: #62b414;
	--wb-alert: #b5322a;
	--wb-alert-soft: #f7e4e2;
	--wb-amber: #d98218;
	--wb-amber-soft: #fdf3e3;
	--wb-ink: #434f58;
	--wb-slate: #5c6b66;
	--wb-line: #e4e8e1;
	--wb-mist: #f6f8f5;

	color: var(--wb-ink);
	background: #fff;
}

.wb-hub * {
	box-sizing: border-box;
}

/* --- hero --------------------------------------------------------------- */

.wb-hero {
	position: relative;
	padding: 3rem 2.5rem 2.5rem;
	color: #fff;
	background:
		radial-gradient(120% 90% at 85% 0%, rgba(181, 50, 42, .38) 0%, rgba(181, 50, 42, 0) 55%),
		radial-gradient(80% 70% at 0% 100%, rgba(98, 180, 20, .18) 0%, rgba(98, 180, 20, 0) 60%),
		var(--wb-pine);
	border-bottom: 4px solid var(--wb-alert);
}

.wb-hero-k {
	margin: 0 0 .6rem;
	font-size: .625rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #f0b7ad;
}

.wb-hero h1 {
	margin: 0 0 .85rem;
	max-width: 20ch;
	font-size: clamp(1.8rem, 4.2vw, 2.6rem);
	line-height: 1.06;
	letter-spacing: -.02em;
	font-weight: 800;
	color: #fff;
}

.wb-hero-p {
	margin: 0;
	max-width: 70ch;
	font-size: .95rem;
	line-height: 1.65;
	color: #cbd8d2;
}

.wb-hero-p strong {
	color: #fff;
}

/* countdown */

.wb-count {
	display: flex;
	flex-wrap: wrap;
	gap: .9rem;
	margin-top: 1.6rem;
}

.wb-count-box {
	flex: 1 1 240px;
	padding: 1rem 1.1rem 1.05rem;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .16);
	border-left-width: 4px;
	border-radius: .6rem;
}

.wb-count-box-main {
	border-left-color: var(--wb-alert);
	background: rgba(181, 50, 42, .22);
}

.wb-count-box-early {
	border-left-color: var(--wb-amber);
	background: rgba(217, 130, 24, .16);
}

.wb-count-box b {
	display: inline-block;
	font-size: 2.6rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.03em;
	color: #fff;
	vertical-align: bottom;
}

.wb-count-box span {
	display: inline-block;
	margin-left: .45rem;
	font-size: .6rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: #cbd8d2;
	vertical-align: bottom;
	padding-bottom: .3rem;
}

.wb-count-box em {
	display: block;
	margin-top: .5rem;
	font-style: normal;
	font-size: .74rem;
	line-height: 1.45;
	color: #e4ece8;
}

/* buttons */

.wb-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-top: 1.5rem;
}

.wb-btn {
	display: inline-block;
	padding: .7rem 1.35rem;
	font-size: .82rem;
	font-weight: 800;
	text-decoration: none;
	border-radius: .5rem;
	transition: filter .16s, background .16s, border-color .16s;
}

.wb-btn-solid {
	color: #fff;
	background: var(--wb-leaf);
	border: 1px solid var(--wb-leaf);
}

.wb-btn-solid:hover {
	filter: brightness(1.08);
	color: #fff;
}

.wb-btn-ghost {
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .4);
}

.wb-btn-ghost:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, .08);
}

/* --- body --------------------------------------------------------------- */

.wb-body {
	padding: 1.9rem 2.5rem 2.6rem;
}

.wb-sec {
	margin-bottom: 2.4rem;
}

.wb-sec-hd {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.wb-sh {
	margin: 0 0 .3rem;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--wb-alert);
}

.wb-ss {
	margin: 0 0 1.1rem;
	max-width: 78ch;
	font-size: .85rem;
	line-height: 1.6;
	color: var(--wb-slate);
}

.wb-count-pill {
	padding: .12rem .55rem;
	font-size: .66rem;
	font-weight: 800;
	color: #fff;
	background: var(--wb-alert);
	border-radius: 999px;
}

.wb-count-pill-big {
	font-size: .74rem;
	padding: .18rem .65rem;
}

/* --- what is changing --------------------------------------------------- */

.wb-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: .8rem;
}

.wb-fact {
	padding: 1rem 1.05rem;
	background: var(--wb-mist);
	border: 1px solid var(--wb-line);
	border-top: 3px solid var(--wb-pine);
	border-radius: .55rem;
}

.wb-fact b {
	display: block;
	margin-bottom: .4rem;
	font-size: .92rem;
	font-weight: 800;
	color: var(--wb-pine);
}

.wb-fact p {
	margin: 0;
	font-size: .8rem;
	line-height: 1.55;
	color: var(--wb-slate);
}

.wb-fact-alert {
	background: var(--wb-amber-soft);
	border-top-color: var(--wb-amber);
	border-color: #f0dcc0;
}

.wb-fact-alert b {
	color: #8a5210;
}

/* --- bulk tiers --------------------------------------------------------- */

.wb-bulk {
	padding: 1.35rem 1.5rem 1.4rem;
	background: linear-gradient(180deg, #f4faf0 0%, #eef6e7 100%);
	border: 1px solid #cfe0b8;
	border-left: 4px solid var(--wb-leaf);
	border-radius: .6rem;
}

.wb-bulk .wb-sh {
	color: #3d7a12;
}

.wb-tiers {
	width: 100%;
	max-width: 32rem;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid #cfddc0;
	border-radius: .5rem;
	overflow: hidden;
}

.wb-tiers tr + tr th,
.wb-tiers tr + tr td {
	border-top: 1px solid #eaf1e2;
}

.wb-tiers th,
.wb-tiers td {
	padding: .6rem .85rem;
	text-align: left;
	font-size: .85rem;
	vertical-align: middle;
	border-left: none;
	border-right: none;
}

.wb-tiers th {
	font-weight: 700;
	color: var(--wb-pine);
	background: #fbfdf9;
}

.wb-tiers td {
	color: #3d7a12;
}

.wb-tiers td b {
	font-size: .95rem;
	font-weight: 800;
}

.wb-bulk-note {
	margin: .85rem 0 0;
	font-size: .78rem;
	line-height: 1.55;
	color: var(--wb-slate);
}

/* --- inline bulk-quantity stepper on /hemp-ban/ product cards ------------ */

.wb-qty-wrap {
	margin: 6px 0 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.wb-qty-pill-row {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
	width: 100%;
}

/* Red savings pill sitting proudly above the quantity box - matching the Wellspring badge style */
.wb-qty-tag {
	display: inline-flex;
	align-items: center;
	padding: 2.5px 9px;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.25;
	color: #ffffff;
	background: #b91c1c;
	border: 1px solid rgba(185, 28, 28, 0.4);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(185, 28, 28, 0.2);
}

.wb-qty {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wb-qty-lbl {
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wsc-slate, #5c6b66);
}

/* Single unified capsule matching .wsc_mc_stepper in the site's minicart */
.wb-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid #d5e0d9;
	border-radius: 7px;
	background: #ffffff;
	overflow: hidden;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.wb-qty-stepper:focus-within {
	border-color: #62b414;
}

.wb-qty-btn {
	width: 25px;
	height: 24px;
	flex: 0 0 25px;
	padding: 0;
	border: none;
	background: transparent;
	color: #192c27;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, color 0.15s ease;
}

.wb-qty-btn:hover {
	background: #f4f7f5;
	color: #62b414;
}

.wb-qty-btn:active {
	background: #e2ebe5;
}

/* Compact input field inline with style guide */
.wb-qty-val {
	width: 28px;
	height: 24px;
	padding: 0;
	text-align: center;
	border: none;
	border-left: 1px solid #eef2ef;
	border-right: 1px solid #eef2ef;
	background: transparent;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #192c27;
	-moz-appearance: textfield;
	box-sizing: border-box;
}

.wb-qty-val::-webkit-inner-spin-button,
.wb-qty-val::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wb-qty-val:focus {
	outline: none;
	background: #fafdff;
}

/* --- archive grid ------------------------------------------------------- */

.wb-group {
	margin-bottom: 2rem;
}

/* Suppress Subscribe & Save checkbox pill on /hemp-ban/ product cards */
.wb-hub .wsc_card_sub_wrap {
	display: none !important;
}

/*
 * Product cards are the site's shared component (templates/product-card.php),
 * laid out with the same .wshd_prodgrid grid used by [wsc_home_products].
 * wellspring-home.css owns the grid; these rules only rein it in for this
 * page's two-column countdown layout widths.
 */
.wb-hub .wshd_prodgrid.wb-archive-grid {
	gap: 16px;
}

.wb-faq .wsfq-item:last-child {
	margin-bottom: 0;
}

/* --- footer ------------------------------------------------------------- */

.wb-foot {
	padding-top: 1.3rem;
	border-top: 1px solid var(--wb-line);
}

.wb-foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin-bottom: .9rem;
}

.wb-foot-links a {
	font-size: .8rem;
	font-weight: 600;
	color: #3f504a;
	text-decoration: none;
}

.wb-foot-links a:hover {
	color: var(--wb-alert);
}

.wb-disclaimer {
	margin: 0;
	max-width: 80ch;
	font-size: .72rem;
	line-height: 1.6;
	color: #7d8a84;
}

.wb-visuallyhidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- product-page countdown strip --------------------------------------- */

@property --wsh-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

@keyframes wsh-spin {
	to { --wsh-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
	.wb-pdp-strip {
		animation: none;
	}
}


.wb-pdp-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem .9rem;
	margin: 0 0 14px;
	padding: .7rem .9rem;
	border: 4px solid transparent;
	border-radius: 12px;
	background:
		linear-gradient(90deg, #b5322a 0%, #8f2620 100%) padding-box,
		conic-gradient(from var(--wsh-angle), #7f1d1d 0deg, #7f1d1d 240deg, #a11a14 262deg, #2f8f4e 300deg, #14532d 330deg, #7f1d1d 360deg) border-box;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	animation: wsh-spin 6s linear infinite;
}

.wb-pdp-strip-k {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #ffd9d4;
}

.wb-pdp-strip-t {
	font-weight: 800;
}

.wb-pdp-strip-s {
	font-size: 12px;
	color: #ffe2de;
}

.wb-pdp-strip-a {
	margin-left: auto;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	text-decoration: underline;
	white-space: nowrap;
}

.wb-pdp-strip-a:hover {
	color: #ffe2de;
}

/* --- affected-product pack row: 4 tiles instead of 3 -------------------- */

.wb-ban-pdp .wsc_bb_packs_row {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --- responsive --------------------------------------------------------- */

@media (max-width: 1023px) {

	/* Match the catalogue's tablet/mobile product grid (see wellspring-genre.css). */
	.wb-hub .wshd_prodgrid.wb-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
	}
}

@media (max-width: 900px) {

	.wb-hero,
	.wb-body {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.wb-facts {
		grid-template-columns: 1fr;
	}

	.wb-pdp-strip-a {
		margin-left: 0;
	}
}

@media (max-width: 560px) {

	.wb-hero {
		padding-top: 2.25rem;
	}

	.wb-count-box b {
		font-size: 2.1rem;
	}

	.wb-bulk {
		padding: 1.1rem 1rem 1.15rem;
	}

	.wb-ban-pdp .wsc_bb_packs_row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wb-hub .wshd_prodgrid.wb-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.wb-btn {
		transition: none;
	}
}
