/*
Theme Name: SoloPage
Theme URI: https://example.com/solopage
Author: SoloPage
Author URI: https://example.com
Description: A premium, Bangla-first single-product landing page theme built for Facebook Ads → landing page funnels. Fully editable from the Customizer (hero, benefits, showcase, features, how-to-use, product details, reviews, FAQ, final CTA, footer, colours). Optional inline WooCommerce order form (Cash on Delivery) with configurable product, delivery zones and live order summary — or link out to an existing WooCommerce / CartFlows checkout. Reusable for any single product — skincare, cosmetics, supplements, gadgets and more. Optimised for Bengali typography with the Hind Siliguri font.
Version: 1.1.3
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solopage
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
	--sp-primary: #1e2a8c;
	--sp-primary-dark: #131c66;
	--sp-accent: #f6b42c;
	--sp-cyan: #2bb8ef;
	--sp-ink: #10143a;
	--sp-soft: #f3f6fd;

	--sp-white: #ffffff;
	--sp-muted: #5c638a;
	--sp-line: #e6ebf5;
	--sp-warn: #e0533a;

	--sp-radius: 18px;
	--sp-radius-lg: 26px;
	--sp-pill: 999px;

	--sp-shadow-sm: 0 4px 18px rgba(16, 20, 58, .07);
	--sp-shadow: 0 18px 46px -18px rgba(30, 42, 140, .30);
	--sp-shadow-lg: 0 34px 80px -26px rgba(30, 42, 140, .50);

	--sp-container: 1180px;
	--sp-section-y: clamp(3.25rem, 7vw, 6rem);
	--sp-font: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =========================================================================
   2. Reset & base (Bangla-optimised typography)
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	margin: 0;
	font-family: var(--sp-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: var(--sp-ink);
	background: var(--sp-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sp-font);
	line-height: 1.35;
	font-weight: 700;
	overflow-wrap: break-word;
	word-break: normal;
}

p { overflow-wrap: break-word; }

:focus-visible {
	outline: 3px solid var(--sp-cyan);
	outline-offset: 2px;
	border-radius: 4px;
}

/* =========================================================================
   3. Utilities
   ========================================================================= */
.sp-container {
	width: 100%;
	max-width: var(--sp-container);
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 5vw, 2rem);
}

.sp-section { padding-block: var(--sp-section-y); }
.sp-section--soft { background: var(--sp-soft); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	position: absolute !important; word-wrap: normal !important;
}

.sp-skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: #fff; color: var(--sp-primary); font-weight: 600;
	padding: .75rem 1.1rem; border-radius: 0 0 10px 0;
}
.sp-skip:focus { left: 0; }

/* Icons */
.sp-icon { width: 1.5rem; height: 1.5rem; flex: none; display: inline-block; vertical-align: middle; }
.sp-icon--sm { width: 1.15rem; height: 1.15rem; }
.sp-icon--text { font-size: 1.4rem; line-height: 1; }

/* Eyebrow */
.sp-eyebrow {
	display: inline-flex; align-items: center; gap: .45rem;
	background: rgba(30, 42, 140, .08); color: var(--sp-primary);
	font-weight: 600; font-size: .88rem; line-height: 1.4;
	padding: .42rem .95rem; border-radius: var(--sp-pill);
}
.sp-eyebrow--light { background: rgba(255, 255, 255, .16); color: #fff; }
.sp-eyebrow--warn { background: rgba(224, 83, 58, .12); color: var(--sp-warn); }
.sp-eyebrow__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--sp-accent); }

/* Section head */
.sp-section__head { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.25rem); text-align: center; }
.sp-section__title { font-size: clamp(1.55rem, 4.5vw, 2.5rem); color: var(--sp-ink); margin: .5rem 0 0; }
.sp-section__title--left { text-align: left; }
.sp-section__sub { color: var(--sp-muted); font-size: clamp(1rem, 2.2vw, 1.12rem); margin: .85rem 0 0; }

/* Buttons */
.sp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.5rem; border: 1.5px solid transparent; border-radius: var(--sp-pill);
	font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	-webkit-appearance: none; appearance: none;
}
.sp-btn:hover { transform: translateY(-2px); }
.sp-btn--sm { padding: .6rem 1.1rem; font-size: .95rem; }
.sp-btn--lg { padding: .95rem 1.9rem; font-size: 1.08rem; }
.sp-btn--xl { padding: 1.1rem 2.4rem; font-size: 1.18rem; }

.sp-btn--accent { background: var(--sp-accent); color: #2a1e00; box-shadow: 0 12px 26px -10px rgba(246, 180, 44, .8); }
.sp-btn--accent:hover { background: #ffc94a; box-shadow: 0 16px 32px -10px rgba(246, 180, 44, .95); }
.sp-btn--primary { background: var(--sp-primary); color: #fff; }
.sp-btn--primary:hover { background: var(--sp-primary-dark); }
.sp-btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); }
.sp-btn--ghost:hover { background: rgba(255, 255, 255, .16); }

/* Stars */
.sp-stars { display: inline-flex; gap: .1rem; line-height: 0; }
.sp-star { width: 1.05rem; height: 1.05rem; fill: rgba(16, 20, 58, .16); }
.sp-star.is-on { fill: var(--sp-accent); }

/* Reveal on scroll (progressive: only hides when JS is active) */
.reveal { transition: opacity .6s ease, transform .6s ease; }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .sp-grid > *:nth-child(2) { transition-delay: .06s; }
html.js .sp-grid > *:nth-child(3) { transition-delay: .12s; }
html.js .sp-grid > *:nth-child(4) { transition-delay: .18s; }
html.js .sp-grid > *:nth-child(5) { transition-delay: .24s; }
html.js .sp-grid > *:nth-child(6) { transition-delay: .30s; }

/* Grid */
.sp-grid { display: grid; gap: clamp(1rem, 3vw, 1.6rem); grid-template-columns: 1fr; }

/* =========================================================================
   4. Header
   ========================================================================= */
.sp-topbar { background: var(--sp-primary-dark); color: #fff; }
.sp-topbar__text { margin: 0; text-align: center; font-size: .9rem; padding-block: .55rem; }

.sp-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sp-line);
	transition: box-shadow .3s ease;
}
.sp-header.is-stuck { box-shadow: var(--sp-shadow-sm); }
.sp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; position: relative; }

.sp-brand { display: flex; align-items: center; }
.sp-brand__name { font-weight: 700; font-size: 1.3rem; color: var(--sp-primary); text-decoration: none; }
.custom-logo-link { display: inline-flex; }
.custom-logo-link img { max-height: 48px; width: auto; }

.sp-nav { display: none; }
.sp-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.sp-menu a { display: block; text-decoration: none; color: var(--sp-ink); font-weight: 500; padding: .7rem .25rem; border-bottom: 1px solid var(--sp-line); }
.sp-menu a:hover { color: var(--sp-primary); }

.sp-header.is-open .sp-nav {
	display: block; position: absolute; top: 100%; left: 0; right: 0;
	background: #fff; box-shadow: var(--sp-shadow); border-bottom: 1px solid var(--sp-line);
	padding: .75rem clamp(1.1rem, 5vw, 2rem) 1.1rem;
}

.sp-header__actions { display: flex; align-items: center; gap: .55rem; }
.sp-header__cta { padding: .6rem 1.15rem; font-size: .95rem; }

.sp-navtoggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--sp-line);
	border-radius: 12px; cursor: pointer;
}
.sp-navtoggle__box { position: relative; width: 22px; height: 16px; }
.sp-navtoggle__bar, .sp-navtoggle__bar::before, .sp-navtoggle__bar::after {
	content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--sp-ink);
	border-radius: 2px; transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.sp-navtoggle__bar { top: 7px; }
.sp-navtoggle__bar::before { top: -7px; }
.sp-navtoggle__bar::after { top: 7px; }
.sp-header.is-open .sp-navtoggle__bar { background: transparent; }
.sp-header.is-open .sp-navtoggle__bar::before { top: 0; transform: rotate(45deg); background: var(--sp-primary); }
.sp-header.is-open .sp-navtoggle__bar::after { top: 0; transform: rotate(-45deg); background: var(--sp-primary); }

/* =========================================================================
   5. Hero
   ========================================================================= */
.sp-hero { position: relative; background: linear-gradient(160deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%); color: #fff; overflow: hidden; }
.sp-hero__bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .9;
	background:
		radial-gradient(42% 55% at 88% 8%, rgba(43, 184, 239, .55), transparent 70%),
		radial-gradient(34% 46% at 6% 92%, rgba(246, 180, 44, .25), transparent 70%);
}
.sp-hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1fr; align-items: center;
	gap: clamp(2rem, 6vw, 3rem);
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4.5rem, 9vw, 7rem);
}
.sp-hero__content { max-width: 620px; }
.sp-hero__title { font-size: clamp(1.9rem, 6vw, 3.25rem); margin: 1rem 0 0; color: #fff; }
.sp-hero__sub { font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: rgba(255, 255, 255, .86); margin: 1rem 0 0; }
.sp-hero__highlights { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.sp-hero__highlights li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: #fff; }
.sp-hero__highlights .sp-icon { color: var(--sp-accent); }
.sp-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.sp-hero__note { display: inline-flex; align-items: center; gap: .5rem; margin: 1.1rem 0 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.sp-hero__note .sp-icon { color: var(--sp-cyan); }

.sp-hero__media { position: relative; display: flex; justify-content: center; align-items: center; margin-top: clamp(1rem, 5vw, 0); }
.sp-hero__glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(43, 184, 239, .85), transparent 68%); filter: blur(34px); z-index: 0; }
.sp-hero__card { position: relative; z-index: 1; width: 100%; max-width: 430px; background: #fff; border-radius: var(--sp-radius-lg); padding: clamp(1rem, 3vw, 1.6rem); box-shadow: var(--sp-shadow-lg); }
.sp-hero__img { width: 100%; height: auto; border-radius: calc(var(--sp-radius-lg) - 8px); }
.sp-hero__badge { position: absolute; z-index: 2; top: 6%; left: -2%; display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--sp-primary); font-weight: 600; font-size: .9rem; padding: .5rem .9rem; border-radius: var(--sp-pill); box-shadow: var(--sp-shadow); }
.sp-hero__badge .sp-icon { color: #14a86b; }
.sp-hero__rating { position: absolute; z-index: 2; bottom: 6%; right: -2%; display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--sp-ink); font-weight: 600; font-size: .88rem; padding: .5rem .85rem; border-radius: var(--sp-pill); box-shadow: var(--sp-shadow); }
.sp-hero__rating em { font-style: normal; }
.sp-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; color: var(--sp-white); }
.sp-hero__wave svg { display: block; width: 100%; height: clamp(42px, 6vw, 88px); }

/* =========================================================================
   6. Cards (problem + benefits)
   ========================================================================= */
.sp-card { background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); padding: clamp(1.4rem, 3vw, 1.9rem); box-shadow: var(--sp-shadow-sm); height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.sp-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow); }
.sp-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem; border-radius: 16px; margin-bottom: 1.1rem; }
.sp-card__icon .sp-icon { width: 1.7rem; height: 1.7rem; }
.sp-card__icon--grad { background: linear-gradient(140deg, var(--sp-primary), var(--sp-cyan)); color: #fff; }
.sp-card__icon--warn { background: rgba(224, 83, 58, .12); color: var(--sp-warn); }
.sp-card__title { font-size: 1.18rem; font-weight: 600; color: var(--sp-ink); margin: 0 0 .5rem; }
.sp-card__text { color: var(--sp-muted); margin: 0; }

/* =========================================================================
   7. Showcase
   ========================================================================= */
.sp-showcase__inner { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.sp-showcase__media { position: relative; }
.sp-showcase__glow { position: absolute; inset: 8% 6% auto auto; width: 62%; aspect-ratio: 1; background: radial-gradient(circle, rgba(43, 184, 239, .8), transparent 70%); filter: blur(42px); opacity: .4; z-index: 0; }
.sp-showcase__frame { position: relative; z-index: 1; background: linear-gradient(155deg, #fff, var(--sp-soft)); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--sp-shadow); }
.sp-showcase__img { width: 100%; border-radius: var(--sp-radius); }
.sp-showcase__text { color: var(--sp-muted); font-size: 1.06rem; margin: 1rem 0 0; }

.sp-checklist { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; gap: .85rem; }
.sp-checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--sp-ink); font-weight: 500; }
.sp-checklist__mark { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(43, 184, 239, .15); color: var(--sp-cyan); display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem; }
.sp-checklist__mark .sp-icon { width: 1rem; height: 1rem; }

/* =========================================================================
   8. Features
   ========================================================================= */
.sp-feature { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: clamp(1.2rem, 2.5vw, 1.5rem); box-shadow: var(--sp-shadow-sm); height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.sp-feature:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow); }
.sp-feature__icon { flex: none; width: 3rem; height: 3rem; border-radius: 14px; background: rgba(30, 42, 140, .08); color: var(--sp-primary); display: inline-flex; align-items: center; justify-content: center; }
.sp-feature__icon .sp-icon { width: 1.5rem; height: 1.5rem; }
.sp-feature__body { flex: 1 1 auto; min-width: 0; }
.sp-feature__title { font-size: 1.1rem; font-weight: 600; margin: 0 0 .35rem; color: var(--sp-ink); }
.sp-feature__text { color: var(--sp-muted); margin: 0; font-size: .98rem; }

/* Layout safety: let flex/grid children shrink so long strings wrap (Bangla-safe) */
.sp-card, .sp-feature, .sp-review, .sp-step, .sp-showcase__content, .sp-details__content { min-width: 0; }
.sp-checklist li, .sp-hero__highlights li, .sp-footer__contact li { min-width: 0; }
.sp-footer__contact a, .sp-review__text, .sp-acc__q { overflow-wrap: break-word; word-break: break-word; }

/* =========================================================================
   9. How to use (steps)
   ========================================================================= */
.sp-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; grid-template-columns: 1fr; gap: clamp(1.1rem, 3vw, 1.6rem); }
.sp-step { position: relative; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--sp-shadow-sm); }
.sp-step__num { display: block; font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--sp-accent); margin-bottom: .7rem; }
.sp-step__title { font-size: 1.15rem; font-weight: 600; margin: 0 0 .4rem; color: var(--sp-ink); }
.sp-step__text { color: var(--sp-muted); margin: 0; }

/* =========================================================================
   10. Details / ingredients
   ========================================================================= */
.sp-details__inner { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.sp-details__frame { background: linear-gradient(155deg, #fff, #eef3fd); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--sp-shadow); }
.sp-details__img { width: 100%; border-radius: var(--sp-radius); }
.sp-details__rich { color: var(--sp-muted); font-size: 1.05rem; }
.sp-details__rich p { margin: 0 0 1rem; }
.sp-details__rich p:last-child { margin-bottom: 0; }
.sp-specs { margin: 1.6rem 0 0; border-top: 1px solid var(--sp-line); }
.sp-specs__row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--sp-line); }
.sp-specs__row dt { color: var(--sp-muted); font-weight: 500; margin: 0; }
.sp-specs__row dd { margin: 0; color: var(--sp-ink); font-weight: 600; text-align: right; }

/* =========================================================================
   11. Reviews
   ========================================================================= */
.sp-reviews__summary { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-pill); padding: .5rem 1.1rem; box-shadow: var(--sp-shadow-sm); font-weight: 600; color: var(--sp-ink); }
.sp-review { position: relative; display: flex; flex-direction: column; gap: .55rem; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--sp-shadow-sm); height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.sp-review:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow); }
.sp-review__quote { position: absolute; top: 1.1rem; right: 1.35rem; color: rgba(30, 42, 140, .09); }
.sp-review__quote .sp-icon { width: 2.6rem; height: 2.6rem; }
.sp-review__text { color: var(--sp-ink); margin: 0; flex: 1 1 auto; }
.sp-review__author { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.sp-avatar { flex: none; width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; }
.sp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp-avatar--initial { background: linear-gradient(140deg, var(--sp-primary), var(--sp-cyan)); color: #fff; font-weight: 700; font-size: 1.25rem; }
.sp-review__meta { display: flex; flex-direction: column; line-height: 1.3; }
.sp-review__name { font-weight: 600; color: var(--sp-ink); }
.sp-review__loc { color: var(--sp-muted); font-size: .9rem; }

/* =========================================================================
   12. FAQ accordion
   ========================================================================= */
.sp-accordion { max-width: 820px; margin: 0 auto; display: grid; gap: .85rem; }
.sp-acc { background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-sm); overflow: hidden; }
.sp-acc__h { margin: 0; font-size: 1.05rem; }
.sp-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; padding: 1.15rem clamp(1.1rem, 3vw, 1.5rem); text-align: left; cursor: pointer; color: var(--sp-ink); font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.sp-acc__q { flex: 1; }
.sp-acc__ico { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(30, 42, 140, .08); color: var(--sp-primary); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease, background .3s ease, color .3s ease; }
.sp-acc.is-open .sp-acc__ico { transform: rotate(45deg); background: var(--sp-primary); color: #fff; }
.sp-acc__panel { padding: 0 clamp(1.1rem, 3vw, 1.5rem); }
.sp-acc__a { padding-bottom: 1.2rem; color: var(--sp-muted); }
.sp-acc__a p { margin: 0 0 .75rem; }
.sp-acc__a p:last-child { margin-bottom: 0; }
html.js .sp-acc__panel { display: none; }
html.js .sp-acc.is-open .sp-acc__panel { display: block; animation: sp-acc-in .28s ease; }
@keyframes sp-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   13. Final CTA
   ========================================================================= */
.sp-cta { position: relative; overflow: hidden; text-align: center; background: linear-gradient(160deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%); color: #fff; }
.sp-cta__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 60% at 85% 10%, rgba(43, 184, 239, .5), transparent 70%), radial-gradient(40% 60% at 10% 90%, rgba(246, 180, 44, .28), transparent 70%); }
.sp-cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.sp-cta__title { font-size: clamp(1.8rem, 5vw, 2.75rem); margin: .5rem 0 0; color: #fff; }
.sp-cta__sub { color: rgba(255, 255, 255, .85); font-size: clamp(1rem, 2.4vw, 1.15rem); margin: 0; max-width: 580px; }
.sp-cta__panel { width: 100%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--sp-radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sp-offer { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.sp-offer__price { display: flex; align-items: baseline; gap: .75rem; }
.sp-offer__now { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 700; color: #fff; }
.sp-offer__old { font-size: 1.25rem; color: rgba(255, 255, 255, .6); text-decoration: line-through; }
.sp-offer__note { display: inline-flex; align-items: center; gap: .5rem; margin: 0; color: rgba(255, 255, 255, .85); }
.sp-offer__note .sp-icon { color: var(--sp-cyan); }
.sp-cta__custom { width: 100%; text-align: left; color: #fff; }
.sp-cta__custom :where(h1, h2, h3, h4) { color: #fff; }
.sp-cta__custom a:not(.sp-btn) { color: var(--sp-accent); }
.sp-cta__custom input, .sp-cta__custom textarea, .sp-cta__custom select {
	width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .95); color: var(--sp-ink); font-family: inherit; font-size: 1rem; margin-bottom: .75rem;
}
.sp-cta__custom button, .sp-cta__custom input[type="submit"] {
	background: var(--sp-accent); color: #2a1e00; border: 0; border-radius: var(--sp-pill);
	padding: .9rem 1.9rem; font-weight: 600; font-size: 1.05rem; cursor: pointer; font-family: inherit;
}
.sp-cta__badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 1.75rem; margin: 0; padding: 0; }
.sp-cta__badges li { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .92); font-weight: 500; }
.sp-cta__badges .sp-icon { color: var(--sp-accent); }

/* =========================================================================
   14. Footer
   ========================================================================= */
.sp-footer { background: var(--sp-primary-dark); color: rgba(255, 255, 255, .8); }
.sp-footer__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); padding-block: clamp(2.5rem, 6vw, 4rem); }
.sp-footer__name { font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none; }
.sp-footer__logo .custom-logo-link img { max-height: 54px; }
.sp-footer__about { margin: 1rem 0 0; max-width: 40ch; line-height: 1.8; }
.sp-footer__title { color: #fff; font-size: 1.05rem; font-weight: 600; margin: 0 0 1rem; }
.sp-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sp-footer__menu a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s ease; }
.sp-footer__menu a:hover { color: #fff; }
.sp-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.sp-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.sp-footer__contact a { color: inherit; text-decoration: none; }
.sp-footer__contact a:hover { color: #fff; }
.sp-footer__contact .sp-icon { color: var(--sp-cyan); margin-top: .2rem; flex: none; }
.sp-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.sp-social__link { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .25s ease, transform .25s ease, color .25s ease; }
.sp-social__link:hover { background: var(--sp-accent); color: #2a1e00; transform: translateY(-3px); }
.sp-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); }
.sp-footer__copy { margin: 0; padding-block: 1.25rem; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* =========================================================================
   15. Generic pages / posts (page.php, single.php, index.php)
   ========================================================================= */
.sp-page { max-width: 820px; padding-block: clamp(2.5rem, 6vw, 4rem); }
.sp-entry__title { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--sp-ink); }
.sp-entry__meta { color: var(--sp-muted); margin: .3rem 0 0; }
.sp-entry__thumb { margin: 1.5rem 0; }
.sp-entry__thumb img { border-radius: var(--sp-radius); width: 100%; }
.sp-entry__content { margin-top: 1.5rem; }
.sp-entry__content > * { margin-block: 0 1.15rem; }
.sp-entry__content a { color: var(--sp-primary); }
.sp-entry__content img { border-radius: var(--sp-radius); }
.sp-entry__content h2, .sp-entry__content h3 { margin-top: 2rem; color: var(--sp-ink); }
.sp-entry__content blockquote { margin: 1.5rem 0; padding: .5rem 1.25rem; border-left: 4px solid var(--sp-accent); background: var(--sp-soft); border-radius: 0 12px 12px 0; }
.sp-entry__foot { margin-top: 2rem; color: var(--sp-muted); }

.sp-postlist { display: grid; gap: clamp(1.25rem, 3vw, 1.75rem); }
.sp-post { display: grid; grid-template-columns: 1fr; gap: 1rem; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius-lg); padding: 1.25rem; box-shadow: var(--sp-shadow-sm); }
.sp-post__thumb img { border-radius: var(--sp-radius); width: 100%; }
.sp-post__title { font-size: 1.3rem; margin: 0 0 .4rem; }
.sp-post__title a { color: var(--sp-ink); text-decoration: none; }
.sp-post__title a:hover { color: var(--sp-primary); }
.sp-post__meta { color: var(--sp-muted); font-size: .9rem; margin: 0 0 .5rem; }
.sp-post__excerpt { color: var(--sp-muted); }
.sp-post__body { display: flex; flex-direction: column; align-items: flex-start; }

.sp-noresults { text-align: center; color: var(--sp-muted); padding-block: 3rem; }

.navigation { margin-top: 2.5rem; }
.navigation .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .6rem; border-radius: 10px; border: 1px solid var(--sp-line); background: #fff; color: var(--sp-ink); text-decoration: none; }
.page-numbers.current { background: var(--sp-primary); color: #fff; border-color: var(--sp-primary); }
.sp-linkpages { margin-top: 1.5rem; font-weight: 600; }
.post-navigation { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sp-line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.post-navigation a { color: var(--sp-primary); text-decoration: none; }

/* WP core alignment helpers for editor content */
.aligncenter { margin-inline: auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--sp-muted); font-size: .9rem; text-align: center; }

/* =========================================================================
   16. Responsive
   ========================================================================= */
@media (min-width: 600px) {
	.sp-grid--3, .sp-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.sp-steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.sp-post { grid-template-columns: 240px 1fr; align-items: center; }
}

@media (min-width: 900px) {
	.sp-showcase__inner { grid-template-columns: 1fr 1fr; }
	.sp-details__inner { grid-template-columns: .9fr 1.1fr; }
	.sp-footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (min-width: 992px) {
	.sp-hero__inner { grid-template-columns: 1.05fr .95fr; }
	.sp-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.sp-grid--4 { grid-template-columns: repeat(4, 1fr); }

	/* Desktop navigation */
	.sp-navtoggle { display: none; }
	.sp-nav { display: block; }
	.sp-menu { flex-direction: row; align-items: center; gap: clamp(1rem, 2vw, 1.85rem); }
	.sp-menu a { padding: .4rem 0; border-bottom: 0; position: relative; }
	.sp-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--sp-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
	.sp-menu a:hover::after { transform: scaleX(1); }
}

/* =========================================================================
   17. Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js .reveal { opacity: 1; transform: none; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
}

/* =========================================================================
   18. Inline WooCommerce order form (sp-cta--order)
   ========================================================================= */
.sp-cta--order .sp-cta__inner { max-width: 1120px; }

/* In order mode the panel is just a transparent wrapper; the white cards
   inside carry the surface, so the form reads clearly on the blue gradient. */
.sp-cta__panel--order {
	background: transparent;
	border: 0;
	padding: 0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* Mobile-first: single column. Source order = product, info, delivery,
   summary, submit — enforced with `order` so it holds on small screens. */
.sp-order {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: left;
}
.sp-order__col { display: contents; }
.sp-order-product  { order: 1; }
.sp-order-info     { order: 2; }
.sp-order-delivery { order: 3; }
.sp-order-summary  { order: 4; }
.sp-order-submit   { order: 5; }

.sp-order__card {
	background: var(--sp-white);
	color: var(--sp-ink);
	border-radius: var(--sp-radius);
	padding: clamp(1.1rem, 3vw, 1.5rem);
	box-shadow: var(--sp-shadow-sm);
	text-align: left;
}
.sp-order__legend {
	display: flex; align-items: center; gap: .4rem;
	font-size: 1.08rem; font-weight: 700; margin: 0 0 .9rem; color: var(--sp-ink);
}
.sp-req { color: var(--sp-warn); }
.sp-opt { color: var(--sp-muted); font-weight: 500; font-size: .85rem; }

/* Fields */
.sp-field { margin-bottom: 1rem; }
.sp-field:last-child { margin-bottom: 0; }
.sp-field > label {
	display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--sp-ink);
}
.sp-field input,
.sp-field textarea {
	width: 100%; font-family: inherit; font-size: 1rem; color: var(--sp-ink);
	padding: .8rem .95rem; border: 1.5px solid var(--sp-line); border-radius: 12px;
	background: var(--sp-white);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.sp-field input:focus,
.sp-field textarea:focus {
	outline: none; border-color: var(--sp-primary); box-shadow: 0 0 0 3px rgba(30, 42, 140, .12);
}
.sp-field textarea { resize: vertical; min-height: 88px; }
.sp-field__error { display: none; margin-top: .4rem; color: var(--sp-warn); font-size: .85rem; font-weight: 500; }
.sp-field__error.is-visible { display: block; }

/* Delivery selectable cards */
.sp-delivery { display: grid; gap: .7rem; }
.sp-delivery__opt { position: relative; display: block; cursor: pointer; }
.sp-delivery__opt input {
	position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer;
}
.sp-delivery__box {
	display: flex; align-items: center; gap: .75rem;
	border: 1.5px solid var(--sp-line); border-radius: 14px; padding: .85rem 1rem;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sp-delivery__opt:hover .sp-delivery__box { border-color: var(--sp-cyan); }
.sp-delivery__tick {
	position: relative; width: 1.25rem; height: 1.25rem; flex: none;
	border: 2px solid var(--sp-line); border-radius: 50%; transition: border-color .2s ease;
}
.sp-delivery__name { font-weight: 600; }
.sp-delivery__charge { margin-left: auto; font-weight: 700; color: var(--sp-primary); }
.sp-delivery__opt.is-selected .sp-delivery__box,
.sp-delivery__opt input:focus-visible + .sp-delivery__box {
	border-color: var(--sp-primary); background: rgba(30, 42, 140, .04); box-shadow: 0 0 0 3px rgba(30, 42, 140, .10);
}
.sp-delivery__opt.is-selected .sp-delivery__tick { border-color: var(--sp-primary); }
.sp-delivery__opt.is-selected .sp-delivery__tick::after {
	content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sp-primary);
}

/* Product card */
.sp-order-product { display: flex; gap: 1rem; align-items: center; }
.sp-order-product__media {
	width: 96px; height: 96px; flex: none; border-radius: 14px; overflow: hidden; background: var(--sp-soft);
}
.sp-order-product__media img { width: 100%; height: 100%; object-fit: cover; }
.sp-order-product__body { flex: 1 1 auto; min-width: 0; }
.sp-order-product__title { font-size: 1.05rem; margin: 0 0 .35rem; color: var(--sp-ink); }
.sp-order-product__price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .7rem; }
.sp-order-product__now { font-size: 1.35rem; font-weight: 700; color: var(--sp-primary); }
.sp-order-product__old { color: var(--sp-muted); text-decoration: line-through; font-size: .95rem; }

/* Quantity stepper */
.sp-qty {
	display: inline-flex; align-items: center;
	border: 1.5px solid var(--sp-line); border-radius: var(--sp-pill); overflow: hidden;
}
.sp-qty__btn {
	width: 2.5rem; height: 2.5rem; border: 0; background: var(--sp-soft); color: var(--sp-primary);
	font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.sp-qty__btn:hover { background: #e7ecfa; }
.sp-qty__input {
	width: 3rem; text-align: center; border: 0; background: var(--sp-white);
	font-family: inherit; font-size: 1.1rem; font-weight: 700; color: var(--sp-ink); cursor: default;
}
.sp-qty__input:focus { outline: none; }

/* Order summary */
.sp-order-summary__row {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: .5rem 0; color: var(--sp-ink);
}
.sp-order-summary__row + .sp-order-summary__row { border-top: 1px dashed var(--sp-line); }
.sp-order-summary__row--total {
	border-top: 2px solid var(--sp-line); margin-top: .25rem; padding-top: .8rem;
	font-size: 1.15rem; font-weight: 700;
}
.sp-order-summary__row--total span:last-child { color: var(--sp-primary); }

/* Submit block */
.sp-order-submit { display: flex; flex-direction: column; gap: .9rem; }
.sp-order-cod {
	display: flex; align-items: flex-start; gap: .6rem;
	background: rgba(43, 184, 239, .10); border: 1px solid rgba(43, 184, 239, .30);
	border-radius: 14px; padding: .8rem 1rem; color: var(--sp-ink); font-size: .95rem;
}
.sp-order-cod .sp-icon { color: var(--sp-primary); flex: none; margin-top: .15rem; }
.sp-order__confirm { width: 100%; }
.sp-order__confirm[disabled] { cursor: not-allowed; transform: none; }
.sp-order__confirm.is-loading { cursor: progress; }
.sp-order__spinner {
	display: none; width: 1.15rem; height: 1.15rem; margin-left: .1rem;
	border: 2.5px solid rgba(42, 30, 0, .3); border-top-color: #2a1e00; border-radius: 50%;
	animation: sp-spin .7s linear infinite;
}
.sp-order__confirm.is-loading .sp-order__spinner { display: inline-block; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-order__feedback {
	display: none; margin: 0; padding: .7rem .9rem; border-radius: 12px;
	background: rgba(224, 83, 58, .95); color: #fff; font-size: .92rem; font-weight: 500; text-align: center;
}
.sp-order__feedback.is-visible { display: block; }
.sp-order__secure {
	display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0;
	color: var(--sp-muted); font-size: .85rem;
}
.sp-order__secure .sp-icon { color: var(--sp-primary); }

/* Success */
.sp-order-success {
	max-width: 520px; margin: 0 auto; background: var(--sp-white); color: var(--sp-ink);
	border-radius: var(--sp-radius-lg); padding: clamp(1.6rem, 5vw, 2.6rem);
	text-align: center; box-shadow: var(--sp-shadow);
}
.sp-order-success__icon { font-size: 3rem; line-height: 1; }
.sp-order-success__title { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: .6rem 0 .5rem; color: var(--sp-primary); }
.sp-order-success__msg { color: var(--sp-muted); margin: 0 0 1rem; }
.sp-order-success__meta {
	display: inline-block; background: var(--sp-soft); border-radius: 12px;
	padding: .6rem 1rem; margin: 0; font-weight: 700; color: var(--sp-ink);
}
.sp-order-success__statusline { margin: .65rem 0 0; color: var(--sp-muted); font-size: .9rem; }
.sp-order-success__statusline strong { display: inline-flex; padding: .18rem .6rem; border-radius: var(--sp-pill); background: rgba(30, 42, 140, .09); color: var(--sp-primary); }
.sp-order-receipt { display: grid; gap: 1rem; margin-top: 1.35rem; text-align: left; }
.sp-order-receipt__section { overflow: hidden; border: 1px solid var(--sp-line); border-radius: 14px; background: #fff; }
.sp-order-receipt__title { margin: 0; padding: .8rem 1rem; background: var(--sp-soft); color: var(--sp-primary); font-size: .95rem; letter-spacing: .01em; }
.sp-order-receipt__list { margin: 0; padding: .15rem 1rem; }
.sp-order-receipt__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--sp-line); }
.sp-order-receipt__row:last-child { border-bottom: 0; }
.sp-order-receipt__row dt { color: var(--sp-muted); font-size: .9rem; }
.sp-order-receipt__row dd { margin: 0; color: var(--sp-ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.sp-order-receipt__row--stack { display: block; }
.sp-order-receipt__row--stack dd { margin-top: .35rem; text-align: left; line-height: 1.55; }
.sp-order-receipt__row--total { margin: .2rem -1rem 0; padding: .9rem 1rem; border-top: 2px solid var(--sp-line); border-bottom: 0; background: rgba(30, 42, 140, .045); font-size: 1.13rem; }
.sp-order-receipt__row--total dd { color: var(--sp-primary); font-size: 1.28rem; }
.sp-order-receipt__footer { margin: 0; padding: .85rem 1rem; border-radius: 12px; background: rgba(43, 184, 239, .10); color: var(--sp-ink); font-size: .9rem; line-height: 1.55; }

/* Desktop: two columns — left = info + delivery, right = product + summary + submit */
@media (min-width: 920px) {
	.sp-order {
		display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start;
	}
	.sp-order__col { display: flex; flex-direction: column; gap: 1.25rem; }
	.sp-order-product,
	.sp-order-info,
	.sp-order-delivery,
	.sp-order-summary,
	.sp-order-submit { order: 0; }
}
