/* ==========================================================================
   SmartPik — main stylesheet
   Layout: target.com inspired ; brand: smartpik ; bilingual EN+BN
   ========================================================================== */

*,*::before,*::after { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--sp-bg);
	color: var(--sp-fg);
	font-family: var(--sp-font-body);
	font-size: var(--sp-fz-200);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sp-link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sp-font-display);
	font-weight: 700;
	color: var(--sp-ink);
	margin: 0 0 .4em;
	line-height: 1.15;
}

button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px;
	overflow: hidden;
}
.skip-link:focus {
	clip: auto;
	width: auto; height: auto;
	background: var(--sp-yellow);
	padding: 8px 12px;
	z-index: 1000;
}

.sp-shell {
	max-width: var(--sp-shell-max);
	margin: 0 auto;
	padding-left: var(--sp-shell-pad);
	padding-right: var(--sp-shell-pad);
}

/* ---------- Buttons ---------- */
.sp-btn {
	--bg: var(--sp-blue);
	--fg: var(--sp-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--bg);
	color: var(--fg) !important;
	border: 1px solid var(--bg);
	border-radius: var(--sp-r-pill);
	padding: 12px 22px;
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-150);
	letter-spacing: .01em;
	text-decoration: none !important;
	transition: transform .25s var(--sp-ease), box-shadow .25s var(--sp-ease), background .2s ease;
	white-space: nowrap;
}
.sp-btn:hover { transform: translateY(-1px); box-shadow: var(--sp-card-shadow-h); }
.sp-btn--lg { padding: 15px 28px; font-size: var(--sp-fz-200); }
.sp-btn--small { padding: 8px 14px; font-size: var(--sp-fz-100); }
.sp-btn--ghost { --bg: transparent; --fg: var(--sp-ink); border-color: var(--sp-ink); }
.sp-btn--ghost:hover { background: var(--sp-ink); color: var(--sp-white) !important; }
.sp-btn--navy { --bg: var(--sp-navy); --fg: var(--sp-white); border-color: var(--sp-navy); }
.sp-btn--coral { --bg: var(--sp-coral); --fg: var(--sp-white); border-color: var(--sp-coral); }

/* ---------- Eyebrows / pills ---------- */
.sp-eyebrow {
	display: inline-block;
	background: var(--sp-mint);
	color: var(--sp-navy);
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: var(--sp-fz-100);
	letter-spacing: .12em;
	padding: 6px 12px;
	border-radius: var(--sp-r-pill);
	text-transform: uppercase;
	margin-bottom: 12px;
}
.sp-eyebrow--coral { background: var(--sp-coral-soft); color: var(--sp-coral); }
.sp-eyebrow--mint  { background: var(--sp-mint); color: var(--sp-teal); }
.sp-eyebrow--inline { margin-bottom: 0; margin-right: 12px; }

.sp-section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.sp-section__title { font-size: var(--sp-fz-500); margin: 0 0 6px; }
.sp-section__sub   { color: var(--sp-fg-soft); margin: 0; font-size: var(--sp-fz-200); }
.sp-section__more  { color: var(--sp-blue); font-weight: 600; font-family: var(--sp-font-display); white-space: nowrap; }

/* ==========================================================================
   Utility bar + header
   ========================================================================== */
.sp-utility {
	background: var(--sp-navy);
	color: var(--sp-white);
	font-size: var(--sp-fz-100);
}
.sp-utility a { color: var(--sp-white); }
.sp-utility__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: var(--sp-utility-h);
	padding-top: 4px; padding-bottom: 4px;
}
.sp-utility__msg { opacity: .9; }
.sp-utility__list { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.sp-utility__list a:hover { color: var(--sp-yellow); text-decoration: none; }

@media (max-width: 768px) {
	.sp-utility__msg { display: none; }
	.sp-utility__inner { justify-content: flex-end; }
}

.sp-header {
	background: var(--sp-white);
	border-bottom: 1px solid var(--sp-border);
	position: sticky;
	top: 0;
	z-index: 50;
}
.sp-header__inner {
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center;
	gap: 18px;
	min-height: var(--sp-header-h);
}
.sp-header__menu {
	display: none;
	background: transparent;
	border: 0;
	color: var(--sp-ink);
	padding: 8px;
}
.sp-header__brand img { max-height: 44px; width: auto; }
.smartpik-logo { display: inline-block; }

.sp-search {
	display: flex;
	align-items: center;
	background: var(--sp-surface);
	border: 1px solid var(--sp-border);
	border-radius: var(--sp-r-pill);
	padding: 4px 8px 4px 18px;
	transition: border-color .2s, box-shadow .2s;
}
.sp-search:focus-within { border-color: var(--sp-blue); box-shadow: 0 0 0 4px rgba(26,87,255,.12); }
.sp-search input {
	flex: 1;
	background: transparent;
	border: 0;
	outline: 0;
	font: inherit;
	color: var(--sp-ink);
	padding: 10px 4px;
	min-width: 0;
}
.sp-search__btn {
	background: var(--sp-blue);
	color: var(--sp-white);
	border: 0;
	width: 40px; height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.sp-search__btn:hover { background: var(--sp-navy); }

.sp-header__actions { display: flex; align-items: center; gap: 22px; }
.sp-header__action {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: var(--sp-ink);
	font-size: var(--sp-fz-100);
	font-weight: 600;
}
.sp-header__action:hover { color: var(--sp-blue); text-decoration: none; }
.sp-header__action svg { width: 22px; height: 22px; }

.smartpik-cart {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: var(--sp-ink);
	font-size: var(--sp-fz-100);
	font-weight: 600;
}
.smartpik-cart:hover { color: var(--sp-blue); text-decoration: none; }
.smartpik-cart__count {
	position: absolute;
	top: -4px;
	right: -10px;
	background: var(--sp-coral);
	color: var(--sp-white);
	font-size: 11px;
	font-weight: 700;
	min-width: 18px; height: 18px;
	border-radius: 9999px;
	padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 1024px) {
	.sp-header__action span:not(.smartpik-cart__count) { display: none; }
	.smartpik-cart__label { display: none; }
}
@media (max-width: 768px) {
	.sp-header__menu { display: inline-flex; }
	.sp-header__inner { grid-template-columns: auto 1fr auto; }
	.sp-header__brand { justify-self: center; }
	.sp-search {
		grid-column: 1 / -1;
		order: 4;
		margin-bottom: 12px;
	}
}

/* Category nav */
.sp-catnav { background: var(--sp-white); border-bottom: 1px solid var(--sp-border); }
.sp-catnav__list {
	list-style: none;
	display: flex;
	gap: 6px;
	padding: 8px 0;
	margin: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.sp-catnav__list::-webkit-scrollbar { display: none; }
.sp-catnav__list a, .sp-catnav__item a {
	display: inline-block;
	color: var(--sp-ink);
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-150);
	padding: 8px 14px;
	border-radius: var(--sp-r-pill);
	white-space: nowrap;
	transition: background .2s, color .2s;
}
.sp-catnav__list a:hover { background: var(--sp-mint); color: var(--sp-navy); text-decoration: none; }
@media (max-width: 768px) { .sp-catnav { display: none; } }

/* Mobile drawer */
.sp-mobile-drawer {
	position: fixed; inset: 0;
	background: rgba(11,31,77,.45);
	z-index: 100;
	visibility: hidden;
	opacity: 0;
	transition: opacity .25s var(--sp-ease), visibility 0s linear .25s;
}
.sp-mobile-drawer.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.sp-mobile-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0;
	width: min(86vw, 380px);
	background: var(--sp-white);
	box-shadow: 18px 0 32px rgba(11,31,77,.18);
	transform: translateX(-100%);
	transition: transform .3s var(--sp-ease);
	padding: 18px;
	overflow-y: auto;
}
.sp-mobile-drawer.is-open .sp-mobile-drawer__panel { transform: translateX(0); }
.sp-mobile-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sp-mobile-drawer__close { background: transparent; border: 0; color: var(--sp-ink); }
.sp-mobile-drawer__list { list-style: none; padding: 0; margin: 0; }
.sp-mobile-drawer__list li { padding: 10px 0; border-bottom: 1px solid var(--sp-border); }
.sp-mobile-drawer__list a { color: var(--sp-ink); font-weight: 600; font-family: var(--sp-font-display); }

/* ==========================================================================
   Hero
   ========================================================================== */
.sp-hero {
	background: linear-gradient(135deg, #EAF2FF 0%, #F4F6FB 60%, #D7F4EE 100%);
	overflow: hidden;
}
.sp-hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: var(--sp-sp-8);
	align-items: center;
	padding: var(--sp-sp-9) 0;
}
.sp-hero__title {
	font-size: clamp(34px, 5.4vw, 68px);
	line-height: 1.05;
	margin: 0 0 18px;
	color: var(--sp-navy);
	letter-spacing: -0.01em;
}
.sp-hero__title-em {
	background: linear-gradient(90deg, var(--sp-blue), var(--sp-teal));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sp-hero__sub { font-size: var(--sp-fz-250); color: var(--sp-fg-soft); margin: 0 0 6px; max-width: 50ch; }
.sp-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.sp-hero__bullets { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--sp-fg-soft); font-size: var(--sp-fz-150); }
.sp-hero__bullets li { display: flex; align-items: center; gap: 8px; }

.sp-hero__visual { position: relative; }
.sp-hero__art {
	background: var(--sp-white);
	border-radius: var(--sp-r-xl);
	box-shadow: 0 30px 60px rgba(11,31,77,.18);
	padding: 28px;
	position: relative;
}
.sp-hero__art img {
	width: 100%;
	height: 460px;
	object-fit: contain;
}
.sp-hero__chip {
	position: absolute;
	left: 24px;
	bottom: 24px;
	background: var(--sp-navy);
	color: var(--sp-white);
	border-radius: var(--sp-r-lg, 16px);
	padding: 14px 20px 16px;
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 18px 32px rgba(11,31,77,.22);
	transition: transform .2s ease, box-shadow .2s ease;
	min-width: 200px;
}
.sp-hero__chip:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 22px 38px rgba(11,31,77,.28); }
.sp-hero__chip-badge {
	position: absolute;
	top: -10px;
	right: -10px;
	background: var(--sp-yellow);
	color: var(--sp-navy);
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .04em;
	padding: 6px 10px;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(11,31,77,.25);
}
.sp-hero__chip-eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(255,255,255,.72);
}
.sp-hero__chip-prices {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}
.sp-hero__chip-was .woocommerce-Price-amount {
	color: rgba(255,255,255,.55);
	text-decoration: line-through;
	font-size: var(--sp-fz-150);
	font-weight: 500;
}
.sp-hero__chip-now .woocommerce-Price-amount {
	color: var(--sp-yellow);
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: var(--sp-fz-300);
	letter-spacing: -.01em;
}
.sp-hero__chip-save {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255,255,255,.85);
	margin-top: 2px;
}

@media (max-width: 900px) {
	.sp-hero__inner { grid-template-columns: 1fr; padding: var(--sp-sp-8) 0; }
	.sp-hero__art img { height: 320px; }
}

/* ==========================================================================
   Category pills
   ========================================================================== */
.sp-pills { padding: var(--sp-sp-9) 0 var(--sp-sp-7); }
.sp-pills__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 14px;
}
.sp-pill__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 8px 4px 12px;
	color: var(--sp-ink);
	border-radius: var(--sp-r-md);
	transition: transform .2s var(--sp-ease);
}
.sp-pill__link:hover { transform: translateY(-3px); text-decoration: none; }
.sp-pill__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--sp-surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	border: 1px solid var(--sp-border);
}
.sp-pill__link:hover .sp-pill__icon { background: var(--sp-mint); border-color: var(--sp-teal); }
.sp-pill__label {
	display: block;
	text-align: center;
	line-height: 1.25;
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-100);
	color: var(--sp-ink);
	max-width: 96px;
}

@media (max-width: 1100px) { .sp-pills__list { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px)  { .sp-pills__list { grid-template-columns: repeat(4, 1fr); gap: 8px; } .sp-pill__icon { width: 56px; height: 56px; font-size: 22px; } }

/* ==========================================================================
   Deal tiles
   ========================================================================== */
.sp-tiles { padding: var(--sp-sp-7) 0; }
.sp-tiles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.sp-tile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	border-radius: var(--sp-r-lg);
	padding: 28px;
	min-height: 220px;
	background: var(--sp-surface);
	color: var(--sp-ink);
	transition: transform .25s var(--sp-ease), box-shadow .25s var(--sp-ease);
	overflow: hidden;
	position: relative;
}
.sp-tile:hover { transform: translateY(-3px); box-shadow: var(--sp-card-shadow-h); text-decoration: none; }
.sp-tile__eyebrow { font-size: var(--sp-fz-150); font-weight: 600; opacity: .8; }
.sp-tile__big { font-family: var(--sp-font-display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.sp-tile__caption { font-size: var(--sp-fz-200); }
.sp-tile__cta { margin-top: auto; font-weight: 700; font-family: var(--sp-font-display); }

.sp-tile--sky  { background: linear-gradient(135deg, #E0EBFF, #CADCFF); color: var(--sp-navy); }
.sp-tile--mint { background: linear-gradient(135deg, var(--sp-mint), #B6EAE0); color: var(--sp-navy); }
.sp-tile--navy { background: linear-gradient(135deg, var(--sp-navy), #19306E); color: var(--sp-white); }
.sp-tile--navy .sp-tile__cta { color: var(--sp-yellow); }

@media (max-width: 900px) { .sp-tiles__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Bundle spotlight
   ========================================================================== */
.sp-bundle { padding: var(--sp-sp-9) 0; }
.sp-bundle__inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: var(--sp-sp-8);
	align-items: center;
	background: linear-gradient(135deg, #FFF, var(--sp-mint));
	border-radius: var(--sp-r-xl);
	padding: clamp(28px, 4vw, 56px);
	border: 1px solid #CFEDE6;
}
.sp-bundle__main .sp-section__title { font-size: clamp(28px, 3.6vw, 44px); }
.sp-bundle__desc { color: var(--sp-fg-soft); font-size: var(--sp-fz-200); max-width: 56ch; }
.sp-bundle__price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; font-family: var(--sp-font-display); }
.sp-bundle__price .woocommerce-Price-amount { font-size: var(--sp-fz-450); color: var(--sp-navy); font-weight: 700; }
.sp-bundle__price del { color: var(--sp-fg-muted); font-size: var(--sp-fz-200); }
.sp-bundle__save {
	background: var(--sp-coral);
	color: var(--sp-white);
	font-weight: 700;
	font-size: var(--sp-fz-150);
	padding: 6px 14px;
	border-radius: var(--sp-r-pill);
}
.sp-bundle__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.sp-bundle__aside { display: grid; gap: 16px; }
.sp-bundle__hero-img {
	background: var(--sp-white);
	border-radius: var(--sp-r-lg);
	padding: 18px;
	box-shadow: var(--sp-card-shadow);
}
.sp-bundle__hero-img img { width: 100%; height: 360px; object-fit: contain; }
.sp-bundle__items {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
}
.sp-bundle__item { display: flex; }
.sp-bundle__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	background: var(--sp-white);
	border-radius: var(--sp-r-md);
	padding: 14px 10px 12px;
	text-align: center;
	color: var(--sp-ink);
	box-shadow: var(--sp-card-shadow);
	transition: transform .2s var(--sp-ease);
}
.sp-bundle__item a:hover { transform: translateY(-2px); text-decoration: none; }
.sp-bundle__item img {
	height: 90px;
	width: 100%;
	max-width: 110px;
	object-fit: contain;
	flex-shrink: 0;
}
.sp-bundle__item-name {
	font-size: var(--sp-fz-100);
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 900px) {
	.sp-bundle__inner { grid-template-columns: 1fr; }
	.sp-bundle__hero-img img { height: 240px; }
}

/* ==========================================================================
   Carousel
   ========================================================================== */
.sp-carousel { padding: var(--sp-sp-8) 0; }
.sp-carousel__viewport { position: relative; }
.sp-carousel__track {
	list-style: none;
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 4px 4px 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.sp-carousel__track::-webkit-scrollbar { height: 8px; }
.sp-carousel__track::-webkit-scrollbar-thumb { background: var(--sp-stroke); border-radius: 999px; }
.sp-carousel__item { flex: 0 0 calc((100% - 18px*3) / 4); scroll-snap-align: start; }
@media (max-width: 1100px) { .sp-carousel__item { flex-basis: calc((100% - 18px*2) / 3); } }
@media (max-width: 768px)  { .sp-carousel__item { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 480px)  { .sp-carousel__item { flex-basis: 78%; } }

.sp-carousel__nav {
	position: absolute;
	top: 35%;
	background: var(--sp-white);
	border: 1px solid var(--sp-border);
	width: 44px; height: 44px;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--sp-ink);
	font-size: 18px;
	box-shadow: var(--sp-card-shadow);
	z-index: 5;
	transition: transform .2s var(--sp-ease);
}
.sp-carousel__nav:hover { transform: scale(1.06); }
.sp-carousel__nav--prev { left: -10px; }
.sp-carousel__nav--next { right: -10px; }
@media (max-width: 768px) { .sp-carousel__nav { display: none; } }

/* Product card */
.sp-card {
	display: flex;
	flex-direction: column;
	background: var(--sp-card-bg);
	border-radius: var(--sp-r-md);
	overflow: hidden;
	box-shadow: var(--sp-card-shadow);
	transition: transform .25s var(--sp-ease), box-shadow .25s var(--sp-ease);
	height: 100%;
}
.sp-card:hover { transform: translateY(-3px); box-shadow: var(--sp-card-shadow-h); }
.sp-card__media {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--sp-surface);
}
.sp-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .35s var(--sp-ease); }
.sp-card:hover .sp-card__media img { transform: scale(1.04); }
.sp-card__badge {
	position: absolute;
	top: 10px; left: 10px;
	background: var(--sp-coral);
	color: var(--sp-white);
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: var(--sp-fz-100);
	letter-spacing: .04em;
	padding: 4px 10px;
	border-radius: var(--sp-r-pill);
}
.sp-card__badge--bundle    { background: var(--sp-teal); }
.sp-card__badge--exclusive { background: var(--sp-coral); }
.sp-card__badge--sale      { background: var(--sp-yellow); color: var(--sp-navy); }
.sp-card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sp-card__title {
	color: var(--sp-ink);
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-150);
	line-height: 1.35;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sp-card__price { font-family: var(--sp-font-display); font-weight: 700; color: var(--sp-navy); font-size: var(--sp-fz-200); }
.sp-card__price del { color: var(--sp-fg-muted); font-weight: 500; margin-right: 6px; }
.sp-card .sp-btn { margin-top: auto; align-self: stretch; }
.sp-card__media-wrap {
	position: relative;
	border-top-left-radius: var(--sp-r-md);
	border-top-right-radius: var(--sp-r-md);
	overflow: hidden;
}
/* When the share menu is open, let it escape the media-wrap *and* the card. */
.sp-card.is-share-open { overflow: visible; position: relative; z-index: 5; }
.sp-card.is-share-open .sp-card__media-wrap { overflow: visible; }

/* Cute floating share button — sits opposite the badge in top-right of the media area. */
.sp-share {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
}
.sp-share__trigger {
	width: 36px;
	height: 36px;
	border-radius: var(--sp-r-pill);
	border: 0;
	background: rgba(255, 255, 255, .92);
	color: var(--sp-navy);
	box-shadow: 0 2px 8px rgba(11, 31, 77, .08), 0 0 0 1px rgba(11, 31, 77, .04);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transform: translateY(-3px) scale(.92);
	transition: opacity .2s var(--sp-ease), transform .2s var(--sp-ease), background-color .2s var(--sp-ease), color .2s var(--sp-ease);
	padding: 0;
}
.sp-card:hover .sp-share__trigger,
.sp-share__trigger:focus-visible,
.sp-share.is-open .sp-share__trigger {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.sp-share__trigger:hover { background: var(--sp-coral); color: var(--sp-white); }
.sp-share__trigger:focus-visible { outline: 2px solid var(--sp-navy); outline-offset: 2px; }
.sp-share.is-open .sp-share__trigger { background: var(--sp-coral); color: var(--sp-white); }

/* On touch devices the hover-to-reveal pattern fails — keep it visible but soft. */
@media (hover: none) {
	.sp-share__trigger { opacity: 1; transform: none; background: rgba(255, 255, 255, .82); }
}

.sp-share__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 168px;
	padding: 6px;
	background: var(--sp-white, #fff);
	border-radius: var(--sp-r-md);
	box-shadow: 0 14px 32px rgba(11, 31, 77, .14), 0 2px 6px rgba(11, 31, 77, .08);
	display: flex;
	flex-direction: column;
	gap: 2px;
	transform-origin: top right;
	animation: sp-share-pop .16s var(--sp-ease);
}
.sp-share__menu[hidden] { display: none; }
@keyframes sp-share-pop {
	from { opacity: 0; transform: translateY(-4px) scale(.96); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sp-share__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: var(--sp-r-sm);
	border: 0;
	background: transparent;
	font: inherit;
	font-size: var(--sp-fz-100);
	color: var(--sp-ink);
	text-decoration: none;
	cursor: pointer;
	width: 100%;
	text-align: left;
	transition: background-color .15s var(--sp-ease), color .15s var(--sp-ease);
}
.sp-share__opt:hover,
.sp-share__opt:focus-visible {
	background: var(--sp-surface, #F5F7FB);
	color: var(--sp-navy);
	text-decoration: none;
	outline: none;
}
.sp-share__opt svg { flex: 0 0 auto; }
.sp-share__opt--wa svg { color: #25D366; }
.sp-share__opt--fb svg { color: #1877F2; }
.sp-share__opt--ms svg { color: #0084FF; }
.sp-share__opt--copy svg { color: var(--sp-navy); }
.sp-share__opt.is-copied .sp-share__opt-label { color: var(--sp-teal); font-weight: 600; }

/* ==========================================================================
   Exclusive deals grid
   ========================================================================== */
.sp-exclusive { padding: var(--sp-sp-9) 0; background: linear-gradient(180deg, var(--sp-coral-soft), #FFF); }
.sp-exclusive__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}
@media (max-width: 1100px) { .sp-exclusive__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .sp-exclusive__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Stories
   ========================================================================== */
.sp-stories { padding: var(--sp-sp-9) 0; background: var(--sp-surface); }
.sp-stories__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.sp-story__link {
	display: block;
	background: var(--sp-white);
	border-radius: var(--sp-r-lg);
	overflow: hidden;
	color: var(--sp-ink);
	box-shadow: var(--sp-card-shadow);
	transition: transform .25s var(--sp-ease), box-shadow .25s var(--sp-ease);
}
.sp-story__link:hover { transform: translateY(-3px); box-shadow: var(--sp-card-shadow-h); text-decoration: none; }
.sp-story__media {
	display: block;
	aspect-ratio: 4 / 5;
	background-size: cover;
	background-position: center;
	background-color: var(--sp-mint);
}
.sp-story__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.sp-story__title { font-family: var(--sp-font-display); font-weight: 700; font-size: var(--sp-fz-300); }
.sp-story__excerpt { color: var(--sp-fg-soft); font-size: var(--sp-fz-150); line-height: 1.45; }
.sp-story__chip { align-self: flex-start; background: var(--sp-mint); color: var(--sp-navy); border-radius: var(--sp-r-pill); padding: 4px 12px; font-size: var(--sp-fz-100); font-weight: 600; margin-top: 6px; }

@media (max-width: 900px) { .sp-stories__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sp-stories__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Promo band
   ========================================================================== */
.sp-band { padding: var(--sp-sp-8) 0; }
.sp-band__inner {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	background: var(--sp-yellow);
	color: var(--sp-navy);
	border-radius: var(--sp-r-lg);
	padding: clamp(20px, 3vw, 36px);
	flex-wrap: wrap;
}
.sp-band--navy   .sp-band__inner { background: var(--sp-navy);   color: var(--sp-white); }
.sp-band--mint   .sp-band__inner { background: var(--sp-mint);   color: var(--sp-navy); }
.sp-band--coral  .sp-band__inner { background: var(--sp-coral);  color: var(--sp-white); }
.sp-band__title  { font-size: clamp(22px, 2.4vw, 32px); margin: 0; max-width: 70%; color: inherit; }

/* Force heading colour to inherit from band tone (h2 default would be ink) */
.sp-band--navy   .sp-band__inner,
.sp-band--navy   .sp-band__title,
.sp-band--navy   .sp-eyebrow--inline { color: var(--sp-white) !important; }
.sp-band--coral  .sp-band__inner,
.sp-band--coral  .sp-band__title    { color: var(--sp-white) !important; }
.sp-band--yellow .sp-band__title,
.sp-band--mint   .sp-band__title    { color: var(--sp-navy)  !important; }

.sp-band--navy   .sp-eyebrow--inline { background: rgba(255,255,255,.14); color: var(--sp-white); }
.sp-band--navy .sp-btn   { --bg: var(--sp-yellow); --fg: var(--sp-navy); border-color: var(--sp-yellow); }
.sp-band--coral .sp-btn  { --bg: var(--sp-white); --fg: var(--sp-coral); border-color: var(--sp-white); }
.sp-band--yellow .sp-btn { --bg: var(--sp-navy); --fg: var(--sp-white); border-color: var(--sp-navy); }
.sp-band--mint .sp-btn   { --bg: var(--sp-navy); --fg: var(--sp-white); border-color: var(--sp-navy); }

/* ==========================================================================
   Trust band + footer
   ========================================================================== */
.sp-trust-band {
	padding: var(--sp-sp-7) 0;
	background: var(--sp-surface);
	border-top: 1px solid var(--sp-border);
}
.sp-trust-band__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.sp-trust-band__item {
	display: flex;
	gap: 14px;
	align-items: center;
}
.sp-trust-band__item svg { color: var(--sp-blue); flex-shrink: 0; }
.sp-trust-band__item strong { display: block; font-family: var(--sp-font-display); }
.sp-trust-band__item span { color: var(--sp-fg-muted); font-size: var(--sp-fz-150); }
@media (max-width: 768px) { .sp-trust-band__inner { grid-template-columns: 1fr 1fr; } }

.sp-footer {
	background: var(--sp-navy);
	color: var(--sp-white);
	padding-top: var(--sp-sp-9);
}
.sp-footer a { color: var(--sp-white); }
.sp-footer a:hover { color: var(--sp-yellow); text-decoration: none; }
.sp-footer__columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
	gap: 28px;
	padding-bottom: var(--sp-sp-8);
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.sp-footer__brand .smartpik-logo img { max-height: 52px; width: auto; display: block; }
.sp-footer__tagline { color: rgba(255,255,255,.85); margin: 8px 0; }
.sp-footer__tagline--sub { color: rgba(255,255,255,.7); font-size: var(--sp-fz-150); }
.sp-footer__contact { color: rgba(255,255,255,.85); margin: 14px 0 0; font-size: var(--sp-fz-150); }
.sp-footer__title { font-family: var(--sp-font-display); font-size: var(--sp-fz-200); margin: 0 0 14px; color: var(--sp-white); }
.sp-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--sp-fz-150); }
.sp-footer__list li { line-height: 1.4; }
.sp-newsletter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-newsletter input {
	flex: 1; min-width: 180px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	color: var(--sp-white);
	border-radius: var(--sp-r-pill);
	padding: 12px 16px;
	font: inherit;
}
.sp-newsletter input::placeholder { color: rgba(255,255,255,.6); }
.sp-newsletter .sp-btn { --bg: var(--sp-yellow); --fg: var(--sp-navy); border-color: var(--sp-yellow); }
.sp-newsletter__msg { display: block; width: 100%; color: var(--sp-mint); font-size: var(--sp-fz-100); margin-top: 6px; }
.sp-social { display: flex; gap: 10px; margin-top: 8px; }
.sp-social a {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: var(--sp-fz-100);
}
.sp-footer__bottom { padding: 18px 0; }
.sp-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--sp-fz-100); color: rgba(255,255,255,.7); }
.sp-footer__pay strong { color: var(--sp-yellow); }
.sp-footer__pay .muted { opacity: .7; }

@media (max-width: 1024px) { .sp-footer__columns { grid-template-columns: 1.3fr 1fr 1fr; } .sp-footer__newsletter { grid-column: 1 / -1; } }
@media (max-width: 600px)  { .sp-footer__columns { grid-template-columns: 1fr 1fr; } .sp-footer__brand, .sp-footer__newsletter { grid-column: 1 / -1; } }

/* ==========================================================================
   Misc pages
   ========================================================================== */
.sp-main { padding: 0 0 var(--sp-sp-9); }
.sp-main--page, .sp-main--single, .sp-main--blog {
	padding: var(--sp-sp-8) 0 var(--sp-sp-9);
}

/* Constrained reading column for single posts / stories (page.php uses sp-doc) */
.sp-post {
	max-width: 760px;
	margin: 0 auto;
	background: var(--sp-white);
	border-radius: var(--sp-r-lg);
	padding: clamp(24px, 4vw, 56px);
	box-shadow: var(--sp-card-shadow);
}
.sp-page-head { text-align: center; margin-bottom: var(--sp-sp-7); }
.sp-page-head__title {
	font-size: clamp(30px, 4vw, 48px);
	margin: 0 auto;
	color: var(--sp-navy);
}
.sp-meta { color: var(--sp-fg-muted); font-size: var(--sp-fz-150); margin-top: 6px; }

.sp-page-body {
	font-size: var(--sp-fz-200);
	line-height: 1.75;
	color: var(--sp-fg-soft);
}
.sp-page-body > * + * { margin-top: 1em; }
.sp-page-body p { margin: 0 0 1em; }
.sp-page-body h2 { font-size: var(--sp-fz-400); margin-top: 1.4em; color: var(--sp-ink); }
.sp-page-body h3 { font-size: var(--sp-fz-300); margin-top: 1.2em; color: var(--sp-ink); }
.sp-page-body h4 { font-size: var(--sp-fz-250); margin-top: 1.1em; color: var(--sp-ink); }
.sp-page-body ul, .sp-page-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.sp-page-body li { margin-bottom: 6px; }
.sp-page-body a { color: var(--sp-blue); }
.sp-page-body a:hover { text-decoration: underline; }
.sp-page-body blockquote {
	border-left: 4px solid var(--sp-blue);
	background: var(--sp-surface);
	padding: 14px 18px;
	margin: 1.2em 0;
	border-radius: 0 var(--sp-r-md) var(--sp-r-md) 0;
	font-style: italic;
}
.sp-page-body img { border-radius: var(--sp-r-md); margin: 1em auto; }
.sp-page-body table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.sp-page-body th, .sp-page-body td { border: 1px solid var(--sp-border); padding: 10px 12px; text-align: left; }
.sp-page-body th { background: var(--sp-surface); }
.sp-page-body hr { border: 0; border-top: 1px solid var(--sp-border); margin: 2em 0; }
.sp-page-body code { background: var(--sp-surface); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }

/* Polished Gutenberg buttons inside doc/page bodies. The default
   `.sp-page-body a { color: var(--sp-blue); }` rule was overriding
   button text color, making white-on-coloured buttons illegible
   (blue text on a blue/teal pill). Force white text on filled
   buttons, give them a real CTA shape, and add a hover lift. */
.sp-page-body .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.4em 0;
}
.sp-page-body .wp-block-button { margin: 0; }
.sp-page-body .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 14px 26px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: #fff !important;
	background: var(--sp-blue);
	text-decoration: none;
	border: 0;
	box-shadow: 0 6px 18px rgba(0, 24, 48, 0.12);
	transition: transform .15s var(--sp-ease, ease), box-shadow .15s var(--sp-ease, ease), filter .15s var(--sp-ease, ease);
}
.sp-page-body .wp-block-button__link:hover,
.sp-page-body .wp-block-button__link:focus-visible {
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 12px 24px rgba(0, 24, 48, 0.18);
}
.sp-page-body .wp-block-button.is-style-outline > .wp-block-button__link,
.sp-page-body .wp-block-button__link.is-style-outline {
	background: transparent;
	color: var(--sp-blue) !important;
	border: 2px solid currentColor;
	box-shadow: none;
}
.sp-page-body .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.sp-page-body .wp-block-button__link.is-style-outline:hover {
	background: var(--sp-blue);
	color: #fff !important;
}

.sp-post__hero {
	margin: 0 0 var(--sp-sp-6);
	border-radius: var(--sp-r-md);
	overflow: hidden;
}
.sp-post__hero img { width: 100%; height: auto; display: block; }
.sp-story-link { margin-top: var(--sp-sp-7); padding-top: var(--sp-sp-6); border-top: 1px solid var(--sp-border); }
.sp-story-link h3 { margin: 0 0 14px; font-size: var(--sp-fz-300); }
.sp-story-link .sp-card { max-width: 320px; }
.sp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .sp-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sp-blog-grid { grid-template-columns: 1fr; } }
.sp-blog-card { background: var(--sp-white); border-radius: var(--sp-r-md); box-shadow: var(--sp-card-shadow); overflow: hidden; }
.sp-blog-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sp-blog-card__body { padding: 18px; }
.sp-blog-card__title { font-size: var(--sp-fz-300); margin: 0 0 8px; }

.sp-404 { text-align: center; padding: var(--sp-sp-10) 0; }

/* Flash message after add-to-cart */
.sp-flash {
	display: flex; align-items: center; gap: 14px;
	background: var(--sp-mint);
	border: 1px solid var(--sp-teal);
	color: var(--sp-navy);
	padding: 14px 18px;
	border-radius: var(--sp-r-md);
	margin: 18px 0;
}

/* Add-to-cart button: loading + success states.
   `loading` is the class WooCommerce's wc-add-to-cart.js toggles natively;
   `is-loading` / `is-added` are ours. Style both the same so the spinner
   always renders even when the AJAX response arrives faster than our hooks. */
.sp-add-to-cart { position: relative; transition: background .2s var(--sp-ease), color .2s var(--sp-ease), border-color .2s var(--sp-ease); }
.sp-add-to-cart.is-loading,
.sp-add-to-cart.loading { pointer-events: none; opacity: .9; }
.sp-add-to-cart.is-loading .sp-add-to-cart__label,
.sp-add-to-cart.loading .sp-add-to-cart__label { visibility: hidden; }
.sp-add-to-cart.is-loading::after,
.sp-add-to-cart.loading::after {
	content: ''; position: absolute; left: 50%; top: 50%;
	width: 18px; height: 18px; margin: -9px 0 0 -9px;
	border-radius: 50%;
	border: 2px solid currentColor; border-top-color: transparent;
	animation: sp-spin .7s linear infinite;
}
.sp-add-to-cart.is-added {
	background: var(--sp-teal) !important;
	border-color: var(--sp-teal) !important;
	color: var(--sp-white) !important;
}
.sp-add-to-cart.is-added .sp-add-to-cart__label { visibility: visible; }
.sp-add-to-cart.is-added .sp-add-to-cart__label::before {
	content: '✓ '; font-weight: 700;
}
/* Suppress WC's default "View cart" link that gets injected next to the button. */
.sp-card .added_to_cart.wc-forward { display: none !important; }
@keyframes sp-spin { to { transform: rotate(360deg); } }

/* Toast container — top-center under the sticky header, away from the
   WhatsApp widget bottom-right. */
.sp-toast-stack {
	position: fixed;
	z-index: 9999;
	top: 100px; left: 50%;
	transform: translateX(-50%);
	display: flex; flex-direction: column; gap: 12px;
	pointer-events: none;
	width: min(440px, calc(100vw - 32px));
}
.sp-toast {
	pointer-events: auto;
	display: flex; align-items: flex-start; gap: 14px;
	background: var(--sp-white);
	color: var(--sp-navy);
	border: 1px solid rgba(0,0,0,.06);
	border-top: 4px solid var(--sp-teal);
	border-radius: var(--sp-r-md);
	box-shadow: 0 18px 48px rgba(13, 30, 60, .22);
	padding: 16px 18px;
	font-family: var(--sp-font-body);
	font-size: var(--sp-fz-150);
	transform: translateY(-24px) scale(.98);
	opacity: 0;
	transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .25s var(--sp-ease);
}
.sp-toast.is-visible { transform: translateY(0) scale(1); opacity: 1; }
.sp-toast.is-leaving { transform: translateY(-16px) scale(.98); opacity: 0; }
.sp-toast__icon {
	flex: 0 0 40px; width: 40px; height: 40px;
	display: grid; place-items: center;
	background: var(--sp-mint);
	color: var(--sp-teal);
	border-radius: 50%;
	font-size: 22px; font-weight: 700;
	box-shadow: 0 0 0 4px rgba(20, 184, 166, .12);
}
.sp-toast__body { flex: 1; min-width: 0; }
.sp-toast__title { font-family: var(--sp-font-display); font-weight: 700; color: var(--sp-navy); line-height: 1.2; font-size: var(--sp-fz-200); }
.sp-toast__msg { color: var(--sp-fg-soft); font-size: var(--sp-fz-100); margin-top: 4px; line-height: 1.4; word-wrap: break-word; }
.sp-toast__cta {
	margin-top: 10px; display: inline-flex; align-items: center; gap: 6px;
	color: var(--sp-teal); font-weight: 700; font-size: var(--sp-fz-100);
	text-decoration: none;
	border: 1px solid var(--sp-teal);
	padding: 6px 12px;
	border-radius: var(--sp-r-pill);
	transition: background .15s var(--sp-ease), color .15s var(--sp-ease);
}
.sp-toast__cta:hover { background: var(--sp-teal); color: var(--sp-white); text-decoration: none; }
.sp-toast__close {
	flex: 0 0 auto;
	background: transparent; border: 0; cursor: pointer;
	color: var(--sp-fg-muted); font-size: 20px; line-height: 1;
	padding: 2px 6px; border-radius: 4px;
}
.sp-toast__close:hover { color: var(--sp-navy); background: rgba(0,0,0,.04); }
.sp-toast--error { border-top-color: var(--sp-coral); }
.sp-toast--error .sp-toast__icon { background: #fde7e3; color: var(--sp-coral); box-shadow: 0 0 0 4px rgba(244, 81, 30, .12); }

@media (max-width: 540px) {
	.sp-toast-stack { top: 76px; }
	.sp-toast { padding: 14px; }
}

/* Cart count pulse when updated */
.smartpik-cart__count.is-bumped { animation: sp-bump .45s var(--sp-ease); }
@keyframes sp-bump {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.35); }
	100% { transform: scale(1); }
}

/* WooCommerce transactional pages — clean container, no doc chrome */
.sp-wc-page { padding: var(--sp-sp-8) 0 var(--sp-sp-9); }
.sp-wc-page__head { margin-bottom: var(--sp-sp-7); }
.sp-wc-page__title {
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: clamp(30px, 4vw, 48px);
	color: var(--sp-navy);
	margin: 0;
}

/* ==========================================================================
   Document layout — Help / Company / policy pages (page.php)
   Hero band + breadcrumb + auto TOC sidebar + WhatsApp help card.
   Replaces the old narrow white-card-on-empty-shell look so content feels
   anchored instead of floating in side margins.
   ========================================================================== */
.sp-doc { color: var(--sp-fg-soft); }

/* Hero band ---------------------------------------------------------------- */
.sp-doc-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 480px at 88% -10%, rgba(63,134,255,.55), transparent 60%),
		radial-gradient(900px 440px at 8% 110%, rgba(31,182,168,.35), transparent 65%),
		linear-gradient(135deg, #07153A 0%, #0B1F4D 55%, #143A9C 100%);
	color: var(--sp-white);
	padding: clamp(48px, 9vw, 110px) 0 clamp(96px, 12vw, 160px);
	margin-bottom: -64px; /* lift content cards into the hero band */
}
.sp-doc-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.sp-doc-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; }
.sp-doc-hero__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .55;
}
.sp-doc-hero__blob--a { width: 420px; height: 420px; top: -120px; right: -80px; background: var(--sp-blue); }
.sp-doc-hero__blob--b { width: 320px; height: 320px; bottom: -100px; left: -60px; background: var(--sp-teal); }
.sp-doc-hero__blob--c { width: 220px; height: 220px; top: 30%; left: 45%; background: var(--sp-drop); opacity: .35; }
.sp-doc-hero__inner { position: relative; z-index: 1; }
.sp-doc-hero__crumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	font-size: var(--sp-fz-150);
	color: rgba(255,255,255,.72);
	margin: 0 0 18px;
}
.sp-doc-hero__crumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.sp-doc-hero__crumb a:hover { color: var(--sp-white); text-decoration: underline; }
.sp-doc-hero__crumb span[aria-hidden] { opacity: .5; }
.sp-doc-hero__eyebrow {
	display: inline-block;
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-100);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sp-yellow);
	background: rgba(255, 212, 0, .10);
	border: 1px solid rgba(255, 212, 0, .28);
	border-radius: var(--sp-r-pill);
	padding: 6px 14px;
	margin: 0 0 22px;
}
.sp-doc-hero__title {
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: clamp(36px, 5.6vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
	max-width: 18ch;
	color: var(--sp-white);
}
.sp-doc-hero__meta {
	margin: 0;
	font-size: var(--sp-fz-150);
	color: rgba(255,255,255,.7);
}

/* Body grid: TOC + content ------------------------------------------------- */
.sp-doc-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
	padding-top: var(--sp-sp-8);
	padding-bottom: var(--sp-sp-9);
}
.sp-doc-aside {
	position: sticky;
	top: calc(var(--sp-header-h) + 16px);
	display: grid;
	gap: 18px;
	align-self: start;
}
.sp-doc-content {
	background: var(--sp-white);
	border-radius: var(--sp-r-lg);
	padding: clamp(28px, 4vw, 56px);
	box-shadow: var(--sp-card-shadow);
	border: 1px solid var(--sp-border);
	max-width: 78ch;
}
.sp-doc-content > :first-child { margin-top: 0; }

/* Wider line measure for prose, but keep readable */
.sp-doc-content.sp-page-body { font-size: clamp(15px, 1.05vw, 17px); }

/* Pretty drop-cap on the first paragraph of the EN section */
.sp-doc-content > .lang-en > .wp-block-paragraph:first-of-type::first-letter,
.sp-doc-content > .lang-en > p:first-of-type::first-letter {
	float: left;
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: 3.2em;
	line-height: .9;
	color: var(--sp-blue);
	margin: 6px 12px 0 0;
}

/* Bilingual (lang-en + lang-bn) groups in policy content */
.sp-doc-content .lang-en,
.sp-doc-content .lang-bn { padding: 0; }
.sp-doc-content .lang-bn { font-family: 'Noto Sans Bengali', var(--sp-font-body); }
.sp-doc-content .wp-block-separator,
.sp-doc-content hr {
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--sp-border) 22%, var(--sp-border) 78%, transparent);
	margin: var(--sp-sp-8) 0;
}

/* Anchored h2 ids — leave space for sticky header on jump */
.sp-doc-content h2 { scroll-margin-top: calc(var(--sp-header-h) + 24px); position: relative; }
.sp-doc-content h2::before {
	content: "";
	display: block;
	width: 36px; height: 3px;
	background: var(--sp-blue);
	border-radius: var(--sp-r-pill);
	margin-bottom: 10px;
}

/* TOC ---------------------------------------------------------------------- */
.sp-doc-toc {
	background: var(--sp-white);
	border: 1px solid var(--sp-border);
	border-radius: var(--sp-r-lg);
	padding: 22px 22px 18px;
	box-shadow: var(--sp-card-shadow);
}
.sp-doc-toc__title {
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: var(--sp-fz-100);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sp-fg-muted);
	margin: 0 0 12px;
}
.sp-doc-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
	counter-reset: sp-toc;
}
.sp-doc-toc__list a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 9px 10px;
	border-radius: var(--sp-r-sm);
	color: var(--sp-fg-soft);
	font-size: var(--sp-fz-150);
	line-height: 1.45;
	text-decoration: none;
	transition: background .2s var(--sp-ease), color .2s var(--sp-ease), transform .2s var(--sp-ease);
}
.sp-doc-toc__num {
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .08em;
	color: var(--sp-fg-muted);
	min-width: 22px;
	flex: 0 0 auto;
}
.sp-doc-toc__text { flex: 1 1 auto; }
.sp-doc-toc__list a:hover {
	background: var(--sp-surface);
	color: var(--sp-navy);
}
.sp-doc-toc__list a:hover .sp-doc-toc__num { color: var(--sp-blue); }
.sp-doc-toc__list a.is-active {
	background: linear-gradient(135deg, rgba(26,87,255,.08), rgba(31,182,168,.08));
	color: var(--sp-navy);
	font-weight: 600;
}
.sp-doc-toc__list a.is-active .sp-doc-toc__num { color: var(--sp-blue); }

/* Help card ---------------------------------------------------------------- */
.sp-doc-help {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, #0B1F4D 0%, #1A57FF 100%);
	color: var(--sp-white);
	border-radius: var(--sp-r-lg);
	padding: 24px;
	box-shadow: var(--sp-card-shadow);
}
.sp-doc-help::after {
	content: "";
	position: absolute;
	top: -40px; right: -40px;
	width: 160px; height: 160px;
	background: radial-gradient(circle, rgba(255,212,0,.35), transparent 65%);
	pointer-events: none;
}
.sp-doc-help__icon {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: var(--sp-yellow);
	margin-bottom: 12px;
}
.sp-doc-help__eyebrow {
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-100);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
	margin: 0 0 4px;
}
.sp-doc-help__title {
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: var(--sp-fz-300);
	margin: 0 0 8px;
	color: var(--sp-white);
}
.sp-doc-help__copy {
	font-size: var(--sp-fz-150);
	line-height: 1.55;
	color: rgba(255,255,255,.78);
	margin: 0 0 16px;
}
.sp-doc-help__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--sp-yellow);
	color: var(--sp-navy);
	border-radius: var(--sp-r-pill);
	padding: 11px 18px;
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: var(--sp-fz-150);
	text-decoration: none;
	transition: transform .2s var(--sp-ease), box-shadow .2s;
}
.sp-doc-help__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,212,0,.32); }
.sp-doc-help__alt {
	display: block;
	margin-top: 12px;
	color: rgba(255,255,255,.78);
	font-size: var(--sp-fz-150);
	text-decoration: none;
}
.sp-doc-help__alt:hover { color: var(--sp-white); text-decoration: underline; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1024px) {
	.sp-doc-grid { grid-template-columns: 1fr; }
	.sp-doc-aside {
		position: static;
		grid-template-columns: 1fr 1fr;
		display: grid;
		gap: 18px;
	}
}
@media (max-width: 700px) {
	.sp-doc-aside { grid-template-columns: 1fr; }
	.sp-doc-hero { padding: 56px 0 80px; }
	.sp-doc-content > .lang-en > p:first-of-type::first-letter,
	.sp-doc-content > .lang-en > .wp-block-paragraph:first-of-type::first-letter { font-size: 2.6em; }
}
