/* ==========================================================================
   SlimePack Distro
   Smoke-shop counter: white catalogue, grape-purple hero/footer, flavor-tinted
   product tiles, slime-green drip as the one signature element.
   ========================================================================== */

@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
	--grape: #1d0b33;
	--grape-2: #2a1247;
	--grape-3: #3d1d66;
	--ink: #1d0b33;
	--ink-soft: #5b4d6e;
	--paper: #ffffff;
	--shelf: #f5f2f9;
	--line: #e4dded;
	--slime: #79f03c;
	--slime-deep: #4cc71a;
	--pink: #ff2d87;
	--razz: #2563ff;
	--mango: #ffb020;
	--mint: #19d3a2;
	--purple: #a855f7;
	--tag: #ffe14d;
	--danger: #e5193f;
	--telegram: #2aabee;
	--discord: #5865f2;

	--display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

	--max: 1280px;
	--r-tile: 14px;
	--r-btn: 10px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.sp-locked { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 5.5vw + 1rem, 5.4rem); }
h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); }
h3 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--razz); outline-offset: 2px; }
::selection { background: var(--slime); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 10000; top: 8px; left: 8px; padding: 10px 16px; background: var(--slime); color: var(--ink); font-weight: 800; }

.sp-container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sp-main { min-height: 40vh; }
.sp-link { color: var(--razz); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sp-link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.sp-btn,
.button, a.button, button.button, input.button, #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px; border-radius: var(--r-btn); border: 2px solid transparent;
	font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
	background: var(--ink); color: #fff; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.sp-btn:active, .button:active { transform: translateY(1px); }
.sp-btn svg { width: 18px; height: 18px; flex: none; }
.button:hover { background: var(--grape-3); color: #fff; }
.sp-btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.sp-btn--slime,
.button.alt, .single_add_to_cart_button, .checkout-button, #place_order {
	background: var(--slime); color: var(--ink); border-color: var(--slime);
	box-shadow: 0 4px 0 var(--slime-deep);
}
.sp-btn--slime:hover, .button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover { background: #8dff55; color: var(--ink); }
.sp-btn--dark { background: var(--ink); color: #fff; }
.sp-btn--dark:hover { background: var(--grape-3); color: #fff; }
.sp-btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.sp-btn--outline:hover { background: var(--ink); color: #fff; }
.sp-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.sp-btn--outline-light:hover { border-color: #fff; }
.sp-btn--telegram { background: var(--telegram); color: #fff; }
.sp-btn--discord { background: var(--discord); color: #fff; }
.sp-btn--telegram:hover, .sp-btn--discord:hover { filter: brightness(1.08); color: #fff; }
.button:disabled, .button.disabled { opacity: .45; cursor: not-allowed; }
.button.loading { opacity: .7; pointer-events: none; }
.button.added::after { content: " ✓"; }
.added_to_cart { display: block; margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--razz); text-align: center; }

.sp-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-contact--hero .sp-btn { min-height: 56px; }
.sp-contact--dock { flex-direction: column; align-items: flex-end; }
.sp-contact--dock .sp-btn { box-shadow: 0 8px 24px rgba(29, 11, 51, .25); }

/* ---------- Ticker ---------- */
.sp-ticker { background: var(--slime); color: var(--ink); overflow: hidden; font-weight: 800; font-size: .85rem; }
.sp-ticker__track { display: flex; width: max-content; animation: sp-ticker 40s linear infinite; }
.sp-ticker:hover .sp-ticker__track { animation-play-state: paused; }
.sp-ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.sp-ticker__list li { padding: 9px 28px; white-space: nowrap; position: relative; }
.sp-ticker__list li::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); }
@keyframes sp-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.sp-ticker__track { width: auto; }
	.sp-ticker__list[aria-hidden] { display: none; }
	.sp-ticker__list { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Header ---------- */
.sp-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-bar .sp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sp-header { top: 46px; } }
.sp-header__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.sp-logo { flex: none; }
.sp-logo a { text-decoration: none; display: block; }
.sp-logo img { max-height: 52px; width: auto; }
.sp-wordmark { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; position: relative; }
.sp-wordmark__main {
	font: 400 2rem/1 var(--display); text-transform: uppercase; color: var(--ink); position: relative; letter-spacing: .01em;
}
/* Slime drips hanging off the wordmark */
.sp-wordmark__main::after {
	content: ""; position: absolute; left: 6%; right: 18%; bottom: -9px; height: 12px;
	background: url("../img/drip.svg") center top / 100% 100% no-repeat;
}
.sp-wordmark__sub {
	font: 800 .7rem/1 var(--body); color: var(--ink); background: var(--slime);
	padding: 4px 6px; border-radius: 4px; transform: translateY(-4px) rotate(-3deg);
}

.sp-header__search { flex: 1; max-width: 560px; }
.sp-header__search form { display: flex; position: relative; }
.sp-header__search input[type=search] {
	width: 100%; height: 48px; padding: 0 110px 0 18px; border-radius: var(--r-btn);
	border: 2px solid var(--ink); background: var(--paper); font: inherit; color: var(--ink);
}
.sp-header__search input[type=search]:focus { outline: none; box-shadow: 0 0 0 4px rgba(121, 240, 60, .55); }
.sp-header__search button {
	position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 18px; border-radius: 7px; border: 0;
	background: var(--ink); color: #fff; font: 600 .9rem var(--body); cursor: pointer;
}

.sp-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sp-icon-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: var(--r-btn);
	background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: none; font: 600 .92rem var(--body);
}
.sp-icon-btn:hover { background: var(--shelf); }
.sp-icon-btn svg { width: 24px; height: 24px; }
.sp-menu-toggle { display: none; padding: 0 8px; }

.sp-cart-link {
	display: inline-flex; align-items: center; gap: 16px; height: 50px; padding: 0 16px 0 12px;
	border-radius: var(--r-btn); background: var(--ink); color: #fff; text-decoration: none;
}
.sp-cart-link:hover { background: var(--grape-3); color: #fff; }
.sp-cart-link__icon { position: relative; display: inline-flex; }
.sp-cart-link__icon svg { width: 24px; height: 24px; }
.sp-cart-count {
	position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--slime); color: var(--ink);
	font: 800 .72rem/20px var(--body); text-align: center;
}
.sp-cart-count.is-empty { display: none; }
.sp-cart-link__text { display: flex; flex-direction: column; line-height: 1.1; }
.sp-cart-link__label { font-size: .72rem; opacity: .7; }
.sp-cart-link__total { font-weight: 800; font-size: .95rem; }
.sp-cart-link.is-bumped .sp-cart-count { animation: sp-bump .45s var(--ease); }
@keyframes sp-bump { 40% { transform: scale(1.5); } }

.sp-nav { border-top: 1px solid var(--line); }
.sp-nav__list { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sp-nav__list > li { position: relative; }
.sp-nav__list a { display: block; padding: 13px 14px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.sp-nav__list a:hover, .sp-nav__list .current-menu-item > a, .sp-nav__list .current-product_cat-ancestor > a { border-bottom-color: var(--slime); }
.sp-nav__deals a { color: var(--pink); }
.sp-nav__right { margin-left: auto; }
.sp-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 5; min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 var(--r-tile) var(--r-tile);
	box-shadow: 0 16px 32px rgba(29, 11, 51, .12); display: none;
}
.sp-nav__list li:hover > .sub-menu, .sp-nav__list li:focus-within > .sub-menu { display: block; }
.sp-nav__list .sub-menu a { border: 0; padding: 10px 12px; border-radius: 8px; }
.sp-nav__list .sub-menu a:hover { background: var(--shelf); }

@media (max-width: 960px) {
	.sp-header__bar { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; min-height: 0; }
	.sp-menu-toggle { display: inline-flex; }
	.sp-logo { margin-right: auto; }
	.sp-wordmark__main { font-size: 1.6rem; }
	.sp-header__search { order: 5; flex-basis: 100%; max-width: none; }
	.sp-icon-btn__label, .sp-cart-link__text { display: none; }
	.sp-cart-link { padding: 0 14px; height: 46px; }
	.sp-nav { display: none; border-top: 1px solid var(--line); }
	.sp-nav.is-open { display: block; }
	.sp-nav__list { flex-direction: column; padding-block: 8px; }
	.sp-nav__list a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
	.sp-nav__right { margin-left: 0; }
	.sp-nav__list .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; }
}

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search],
input[type=number], input[type=url], input[type=date], textarea, select,
.select2-container--default .select2-selection--single {
	width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-btn);
	background: var(--paper); color: var(--ink); border: 2px solid var(--line); font: inherit;
}
textarea { min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(121, 240, 60, .5); }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 1.6; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-results__option--highlighted { background: var(--ink) !important; }
label { font-weight: 600; font-size: .92rem; }
.required { color: var(--danger); text-decoration: none; border: 0; }

/* ---------- Hero ---------- */
.sp-hero { position: relative; background: var(--grape); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.sp-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.sp-hero__title { color: #fff; margin-bottom: 20px; max-width: 9ch; line-height: .95; }
.sp-hero__text { font-size: 1.15rem; color: #d9cdea; max-width: 46ch; margin-bottom: 32px; }
.sp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sp-hero__media img { width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.sp-drip {
	/* Top 20% of the SVG is the solid band; overlap it onto the hero edge so no seam shows. */
	position: absolute; left: 0; right: 0; top: calc(100% - 13px); height: 64px; z-index: 2; pointer-events: none;
	background: url("../img/drip.svg") left top / 1200px 100% repeat-x;
}
@media (max-width: 860px) {
	.sp-hero__inner { grid-template-columns: 1fr; }
	.sp-hero__media { order: -1; max-width: 300px; }
	.sp-hero__title { max-width: none; font-size: clamp(2.8rem, 12vw, 4rem); }
	.sp-drip { top: calc(100% - 9px); height: 46px; background-size: 800px 100%; }
}

/* ---------- Sections ---------- */
.sp-section { padding: clamp(48px, 6vw, 80px) 0; }
.sp-section--tight { padding-block: clamp(36px, 4vw, 56px); }
.sp-hero + .sp-section { padding-top: clamp(72px, 8vw, 104px); }
.sp-section--shelf { background: var(--shelf); }
.sp-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sp-section__head .sp-section__title { margin: 0; }
.sp-section__title { margin-bottom: 24px; }
.sp-empty { color: var(--ink-soft); font-size: 1.05rem; }

/* Flavor tints (rotating palette for categories) */
.sp-tint-0 { --tint: var(--pink); } .sp-tint-1 { --tint: var(--razz); } .sp-tint-2 { --tint: var(--mango); }
.sp-tint-3 { --tint: var(--mint); } .sp-tint-4 { --tint: var(--purple); } .sp-tint-5 { --tint: #ff5a36; }

/* Categories */
.sp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.sp-cat {
	display: grid; grid-template-rows: auto auto auto; text-decoration: none; color: var(--ink);
	border-radius: var(--r-tile); padding: 14px; background: color-mix(in srgb, var(--tint) 14%, #fff);
	border: 2px solid transparent; transition: border-color .15s;
}
.sp-cat:hover { border-color: var(--tint); }
.sp-cat__img { aspect-ratio: 1; display: block; margin-bottom: 10px; }
.sp-cat__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s var(--ease); }
.sp-cat:hover .sp-cat__img img { transform: translateY(-6px) rotate(-3deg); }
.sp-cat__name { font: 400 1.35rem/1.05 var(--display); text-transform: uppercase; }
.sp-cat__count { font-size: .85rem; color: var(--ink-soft); }

/* Promos */
.sp-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-promo { position: relative; overflow: hidden; border-radius: var(--r-tile); padding: clamp(28px, 4vw, 44px); min-height: 240px; display: flex; flex-direction: column; align-items: flex-start; }
.sp-promo p { max-width: 36ch; font-size: 1.05rem; }
.sp-promo .sp-btn { margin-top: auto; }
.sp-promo__title { font-size: clamp(2rem, 2.6vw + 1rem, 3.2rem); max-width: 12ch; margin-bottom: 12px; }
.sp-promo--1 { background: var(--pink); color: #fff; }
.sp-promo--1 .sp-btn { background: #fff; color: var(--ink); }
.sp-promo--2 { background: var(--mango); color: var(--ink); }
/* Diagonal stripe corner, like shelf deal labels */
.sp-promo::after {
	content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
	background: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 12px, transparent 12px 24px);
}
@media (max-width: 760px) { .sp-promos { grid-template-columns: 1fr; } }

/* Trust row */
.sp-trust { background: var(--grape); color: #fff; padding: 28px 0; }
.sp-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sp-trust__item { display: flex; gap: 14px; align-items: center; }
.sp-trust__item svg { width: 34px; height: 34px; flex: none; color: var(--slime); }
.sp-trust__item strong { display: block; font-weight: 800; }
.sp-trust__item span { font-size: .88rem; color: #cbbde0; }
@media (max-width: 860px) { .sp-trust__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sp-trust__grid { grid-template-columns: 1fr; } }

/* Visit */
.sp-visit { padding: clamp(48px, 6vw, 80px) 0; }
.sp-visit__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sp-visit__addr { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.sp-visit__note { color: var(--ink-soft); margin-top: 20px; }
.sp-hours { margin: 20px 0 0; display: grid; gap: 4px; max-width: 340px; }
.sp-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.sp-hours dt { font-weight: 600; }
.sp-hours dd { margin: 0; color: var(--ink-soft); }
.sp-visit__map { border-radius: var(--r-tile); overflow: hidden; border: 2px solid var(--ink); }
.sp-visit__map iframe { width: 100%; height: 400px; border: 0; }
@media (max-width: 860px) { .sp-visit__grid { grid-template-columns: 1fr; } .sp-visit__map iframe { height: 300px; } }

/* Admin-only setup box */
.sp-setup { border: 3px dashed var(--line); border-radius: var(--r-tile); padding: clamp(24px, 4vw, 40px); background: var(--shelf); max-width: 720px; }
.sp-setup__title { font: 400 1.6rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.sp-setup__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Generic pages ---------- */
.sp-page { padding-block: 40px 80px; }
.sp-page--narrow { max-width: 820px; }
.sp-page__head { margin-bottom: 28px; }
.sp-prose { max-width: 72ch; }
.sp-page--wc .sp-prose { max-width: none; }
.sp-prose a { color: var(--razz); }
.sp-prose img { border-radius: var(--r-tile); }
.sp-feature img { border-radius: var(--r-tile); margin-bottom: 28px; }
.sp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sp-card { background: var(--shelf); border-radius: var(--r-tile); overflow: hidden; }
.sp-card__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sp-card__body { padding: 18px; }
.sp-card__title { font-size: 1.15rem; }
.sp-card__title a { text-decoration: none; }
.sp-muted { color: var(--ink-soft); }
.sp-404 { text-align: center; padding-block: 80px; display: grid; justify-items: center; gap: 8px; }
.sp-404__code { font: 400 clamp(6rem, 20vw, 12rem)/1 var(--display); color: var(--slime); -webkit-text-stroke: 3px var(--ink); margin: 0; }
.sp-404 form { width: min(480px, 100%); margin: 16px 0; display: flex; gap: 8px; }
.sp-searchform, .woocommerce-product-search { display: flex; gap: 8px; }
.nav-links, .woocommerce-pagination ul { display: flex; gap: 6px; margin-top: 32px; flex-wrap: wrap; list-style: none; padding: 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-btn); border: 2px solid var(--line); text-decoration: none; font-weight: 600; }
.page-numbers.current, a.page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Footer ---------- */
.sp-footer { background: var(--grape); color: #d9cdea; }
.sp-footer a { color: #fff; text-decoration: none; }
.sp-footer a:hover { text-decoration: underline; }
.sp-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.sp-footer .sp-wordmark__main { color: #fff; }
.sp-footer__brand p { margin: 18px 0 0; max-width: 34ch; }
.sp-footer__brand .sp-contact { margin-top: 24px; }
.sp-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.sp-footer__menu { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.sp-footer__warning { background: #fff; color: var(--ink); }
.sp-footer__warning p { margin: 0; padding: 14px 0; font-weight: 800; font-size: .92rem; border: 0; }
.sp-footer__legal { padding: 18px 0; font-size: .85rem; }
.sp-footer__legal .sp-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.sp-footer__legal p { margin: 0; }
@media (max-width: 860px) { .sp-footer__grid { grid-template-columns: 1fr 1fr; } .sp-footer__brand { grid-column: 1 / -1; } }

/* ---------- Floating dock ---------- */
.sp-dock { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sp-dock__toggle {
	display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--slime); color: var(--ink); font: 800 .95rem var(--body);
	box-shadow: 0 4px 0 var(--slime-deep), 0 12px 28px rgba(29, 11, 51, .3);
}
.sp-dock__toggle svg { width: 24px; height: 24px; }
.sp-dock__menu:not([hidden]) { animation: sp-pop .2s var(--ease); }
@keyframes sp-pop { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 600px) { .sp-dock__label { display: none; } .sp-dock__toggle { width: 56px; padding: 0; justify-content: center; } }

.sp-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70;
	background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-btn);
	font-weight: 600; box-shadow: 0 12px 28px rgba(29, 11, 51, .3);
}

/* ---------- Age gate ---------- */
.sp-agegate { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: var(--grape); color: #fff; }
.sp-agegate[hidden] { display: none; }
.sp-agegate__box { width: min(480px, 100%); text-align: center; }
.sp-agegate__logo .sp-wordmark__main { color: #fff; font-size: 2.4rem; }
.sp-agegate__box > .sp-agegate__big { font: 400 clamp(6rem, 22vw, 10rem)/1 var(--display); color: var(--slime); margin: 24px 0 8px; }
.sp-agegate__box > p { color: #d9cdea; }
.sp-agegate__actions { display: flex; gap: 10px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.sp-agegate__actions .sp-btn { min-height: 54px; padding: 0 26px; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.sp-shop { padding-block: 28px 80px; }
.sp-shop.has-sidebar { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.sp-shop__sidebar { position: sticky; top: 150px; display: grid; gap: 24px; }
.sp-shop__sidebar .widget-title { font-size: .95rem; margin-bottom: 10px; }
.sp-shop__sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sp-shop__sidebar a { text-decoration: none; }
@media (max-width: 960px) { .sp-shop.has-sidebar { grid-template-columns: 1fr; } .sp-shop__sidebar { position: static; } }

.woocommerce-breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.woocommerce-breadcrumb a { color: var(--ink-soft); }
.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce-products-header__title { margin-bottom: 4px; }
.term-description { color: var(--ink-soft); max-width: 70ch; }
.woocommerce-result-count { color: var(--ink-soft); font-size: .9rem; margin: 10px 0 20px; float: left; }
.woocommerce-ordering { float: right; margin-bottom: 20px; }
.woocommerce-ordering select { width: auto; min-height: 42px; padding: 6px 12px; }

/* Product grid */
ul.products {
	clear: both; list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px;
}
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none !important; }
@media (max-width: 1024px) { ul.products, ul.products[class*=columns-] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { ul.products, ul.products[class*=columns-] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

ul.products li.product { display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important; position: relative; }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--ink); }
.sp-card__media {
	position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-tile); overflow: hidden; margin-bottom: 12px;
	background: color-mix(in srgb, var(--tint, #ff2d87) 16%, #fff);
}
.sp-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s var(--ease); }
ul.products li.product:hover .sp-card__media img { transform: scale(1.06) rotate(-2deg); }
.sp-card__cat { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px; }
ul.products li.product .woocommerce-loop-product__title { font: 600 1rem/1.3 var(--body); text-transform: none; letter-spacing: 0; margin: 0 0 6px; }
ul.products li.product .price { display: block; margin-bottom: 12px; }
ul.products li.product .star-rating { margin-bottom: 6px; }
ul.products li.product .button { width: 100%; margin-top: auto; }

/* Stickers (badges) */
.sp-sticker {
	position: absolute; z-index: 2; display: inline-block; padding: 5px 9px; border-radius: 6px;
	font: 800 .74rem/1.1 var(--body); letter-spacing: .01em;
}
.sp-sticker--badge { top: 10px; left: 10px; background: var(--ink); color: #fff; }
.sp-sticker--sale { top: 10px; right: 10px; background: var(--tag); color: var(--ink); transform: rotate(4deg); box-shadow: 2px 2px 0 var(--ink); }
.sp-sticker--out { bottom: 10px; left: 10px; background: #fff; color: var(--danger); border: 2px solid var(--danger); }
.sp-sticker--inline { position: static; margin-bottom: 12px; }

.price { color: var(--ink); font: 400 1.4rem/1 var(--display); letter-spacing: .01em; }
.price del { color: var(--ink-soft); font-size: .8em; margin-right: 6px; opacity: .7; }
.price ins { text-decoration: none; color: var(--pink); }
.woocommerce-Price-currencySymbol { font-size: .8em; vertical-align: .1em; }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); position: relative; }
.single-product div.product > .onsale { position: absolute; top: 14px; left: 14px; right: auto; z-index: 5; }
/* Neutralise woocommerce-layout.css floats/widths inside our grid */
.single-product div.product div.images,
.single-product div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
.sp-gallery .zoomImg { background: #fff; }
.sp-gallery { position: relative; }
.sp-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.sp-gallery .woocommerce-product-gallery__image { background: color-mix(in srgb, var(--tint, #ff2d87) 16%, #fff); border-radius: var(--r-tile); overflow: hidden; }
.sp-gallery .flex-viewport { border-radius: var(--r-tile); }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger > * { display: none; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.flex-control-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.flex-control-thumbs img { border-radius: 8px; opacity: .6; cursor: pointer; background: var(--shelf); }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; outline: 2px solid var(--ink); }
.single-product .product_title { font-size: clamp(2rem, 2.4vw + 1rem, 3rem); margin-bottom: 12px; }
.single-product .summary .price { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.woocommerce-product-details__short-description { color: var(--ink-soft); font-size: 1.05rem; }
form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 24px 0; }
form.cart.variations_form { display: block; }
form.cart table.variations { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
form.cart table.variations th, form.cart table.variations td { display: block; text-align: left; padding: 4px 0; }
.reset_variations { font-size: .85rem; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.quantity .qty { width: 88px; text-align: center; min-height: 56px; border-color: var(--ink); font-weight: 800; }
.single_add_to_cart_button { min-height: 56px !important; padding: 0 36px !important; font-size: 1.05rem !important; flex: 1; max-width: 360px; }
.sp-promise { list-style: none; padding: 16px 0; margin: 0 0 20px; display: grid; gap: 10px; border-block: 1px solid var(--line); }
.sp-promise li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.sp-promise svg { width: 22px; height: 22px; flex: none; color: var(--slime-deep); }
.product_meta { font-size: .88rem; color: var(--ink-soft); display: grid; gap: 4px; }
.stock { font-weight: 700; }
.stock.in-stock { color: #1f8a3a; }
.stock.out-of-stock { color: var(--danger); }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 16px; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--line); }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font-weight: 600; text-decoration: none; color: var(--ink-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-color: var(--slime); }
.woocommerce-Tabs-panel { max-width: 72ch; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.related, .upsells { grid-column: 1 / -1; margin-top: 32px; }
@media (max-width: 860px) { .single-product div.product { grid-template-columns: 1fr; } }

/* Tables (cart, orders) */
table.shop_table { width: 100%; border-collapse: collapse; }
table.shop_table th, table.shop_table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table thead th { font-size: .85rem; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
table.cart img { width: 80px; border-radius: 10px; background: var(--shelf); }
table.cart .product-name a { font-weight: 600; text-decoration: none; }
table.cart .product-remove a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--shelf); color: var(--danger) !important; font-size: 1.3rem; text-decoration: none; }
table.cart td.actions { padding-top: 20px; border: 0; }
table.cart td.actions > .button { float: right; }
.coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.coupon input { width: 190px; }
.cart-collaterals { margin-top: 32px; display: flex; justify-content: flex-end; }
.cart_totals { width: min(440px, 100%); background: var(--shelf); border-radius: var(--r-tile); padding: 24px; }
.cart_totals h2 { font-size: 1.8rem; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; }
.cart_totals .order-total .amount { font: 400 1.6rem var(--display); }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 58px; margin-top: 16px; font-size: 1.1rem; }
@media (max-width: 720px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
	table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; text-align: right; border: 0; padding: 8px 0; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--ink-soft); text-align: left; }
	table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.actions::before, table.shop_table_responsive td.product-thumbnail::before { display: none; }
	table.cart td.actions { flex-direction: column; }
	table.cart td.actions > .button { float: none; width: 100%; }
}

/* Checkout (classic) */
form.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 40px; align-items: start; }
form.checkout > * { grid-column: 1; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
form.checkout #order_review { grid-column: 2; grid-row: 2 / span 4; position: sticky; top: 150px; background: var(--shelf); border-radius: var(--r-tile); padding: 24px; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; margin-bottom: 24px; }
.form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.form-row-first, .form-row-last { width: calc(50% - 7px); display: inline-flex; vertical-align: top; }
.form-row-first { margin-right: 14px; }
.woocommerce-checkout-payment { margin-top: 16px; }
.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.wc_payment_method { background: #fff; border: 2px solid var(--line); border-radius: var(--r-btn); padding: 12px 14px; }
.payment_box { font-size: .9rem; color: var(--ink-soft); padding-top: 8px; }
#place_order { width: 100%; min-height: 58px; font-size: 1.1rem; }
.sp-age-confirm label { flex-direction: row; display: flex; gap: 10px; align-items: flex-start; font-weight: 800; }
.sp-age-confirm input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; }
.woocommerce-terms-and-conditions-wrapper { margin: 12px 0; font-size: .9rem; }
@media (max-width: 900px) {
	form.checkout { grid-template-columns: 1fr; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.form-row-first, .form-row-last { width: 100%; margin-right: 0; }
}

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r-btn);
	background: var(--shelf); border-left: 5px solid var(--slime-deep);
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.woocommerce-error { border-left-color: var(--danger); display: block; background: #fff0f3; }
.woocommerce-info { border-left-color: var(--razz); }
.woocommerce-message .button { order: 2; }
.woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* My account */
.woocommerce-account.logged-in .sp-prose > .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; border-radius: var(--r-btn); font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--shelf); }
.woocommerce-MyAccount-navigation .is-active a { box-shadow: inset 4px 0 0 var(--slime); }
.u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.u-column1, .u-column2 { background: var(--shelf); border-radius: var(--r-tile); padding: 28px; }
.woocommerce-form-login, .woocommerce-form-register { max-width: 520px; }
@media (max-width: 760px) { .woocommerce-account.logged-in .sp-prose > .woocommerce, .u-columns { grid-template-columns: 1fr; } }

/* Woo blocks (block cart / checkout) */
.wc-block-components-button:not(.is-link) { border-radius: var(--r-btn) !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--slime) !important; color: var(--ink) !important; box-shadow: 0 4px 0 var(--slime-deep); min-height: 56px; font-weight: 800 !important;
}
.wc-block-components-product-badge { border-radius: 6px !important; }

/* Star rating (Woo icon font) */
.star-rating { overflow: hidden; position: relative; height: 1em; line-height: 1; font-size: .9em; width: 5.4em; font-family: star; }
.star-rating::before { content: "\73\73\73\73\73"; color: var(--line); float: left; top: 0; left: 0; position: absolute; }
.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.star-rating span::before { content: "\53\53\53\53\53"; top: 0; position: absolute; left: 0; color: var(--mango); }
