/* Activity store — premium design (Figma: landing file ShJHhr4FYAJZsQqu8q8HGv, frames "Store · … (AR) · v2 Premium").
   Shared by activities.html, activity-detail.html and cart.html. RTL/LTR safe (logical properties).
   Values below are taken 1:1 from the Figma frames (px). */

:root {
    --sp-ink: #042F2E;
    --sp-ink-2: #115E59;
    --sp-teal: #14B8A6;
    --sp-teal-2: #2DD4BF;
    --sp-teal-100: #CCFBF1;
    --sp-teal-200: #99F6E4;
    --sp-teal-300: #5EEAD4;
    --sp-teal-700: #0F766E;
    --sp-teal-800: #115E59;
    --sp-amber: #FBBF24;
    --sp-amber-300: #FCD34D;
    --sp-amber-700: #B45309;
    --sp-amber-950: #451A03;
    --sp-radius: 20px;
    --sp-shadow: 0 12px 32px rgba(15, 23, 42, .06);
    --sp-grad-btn: linear-gradient(180deg, #2DD4BF 0%, #14B8A6 100%);
    --sp-grad-text: linear-gradient(90deg, #5EEAD4 0%, #99F6E4 50%, #FCD34D 100%);
    --sp-font: "BQ Riyal", 'Cairo', 'Tajawal', system-ui, sans-serif; /* BQ Riyal draws only U+20C1 (design-tokens.css) */
}

[v-cloak] { display: none !important; }

.sp-hero, .sp-body { font-family: var(--sp-font); }
.sp-i { width: 16px; height: 16px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.sp-hero :is(h1,h2,h3,h4,h5,h6), .sp-body :is(h1,h2,h3,h4,h5,h6) { font-family: var(--sp-font); }
html[dir="ltr"] .sp-flip { transform: scaleX(-1); }

/* ---------- Dark hero ---------- */
.sp-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 24px 0 80px;
    background-color: var(--sp-ink);
    background-image:
        radial-gradient(ellipse 450px 230px at 50% 0%, rgba(20, 184, 166, .38), transparent 100%),
        radial-gradient(ellipse 210px 150px at 100% 75%, rgba(245, 158, 11, .14), transparent 100%),
        radial-gradient(ellipse 190px 140px at 0% 80%, rgba(45, 212, 191, .14), transparent 100%),
        radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(2, 20, 19, .55) 100%),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: auto, auto, auto, auto, 96px 100%;
    background-position: 0 0, 0 0, 0 0, 0 0, 48px 0;
}
.sp-hero.sp-hero-compact { padding-bottom: 48px; }
.sp-hero::before, .sp-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}
.sp-hero::before {
    width: 900px; height: 460px;
    top: -120px; left: 50%; margin-left: -450px;
    background: rgba(20, 184, 166, .28);
}
.sp-hero::after {
    width: 420px; height: 300px;
    top: 320px; right: 0;
    background: rgba(245, 158, 11, .10);
}
.sp-hero > .container-lg { position: relative; z-index: 1; }

/* ---------- Store nav (Figma Store/Nav 232:2739) ---------- */
.sp-nav {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding-block: 10px; padding-inline: 24px 12px;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sp-nav a { text-decoration: none; }
.sp-nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; }
.sp-nav-mark {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #2DD4BF 0%, #0F766E 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
    color: #fff; font-size: 20px; font-weight: 700; line-height: 1;
}
.sp-nav-logo {
    height: 44px; max-width: 160px; flex-shrink: 0; padding: 4px 8px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center; background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.sp-nav-logo img { max-height: 36px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.sp-nav-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.sp-nav-name b { font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-nav-name small { font-size: 12px; font-weight: 400; color: rgba(153,246,228,.8); white-space: nowrap; }
.sp-nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.sp-nav-links a { font-size: 15px; font-weight: 500; line-height: 1.5; color: rgba(204,251,241,.75); white-space: nowrap; transition: color .15s; }
.sp-nav-links a:hover, .sp-nav-links a.is-current { color: #fff; }
.sp-nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sp-nav-lang { padding: 10px 12px; font-size: 13px; font-weight: 600; line-height: 1; color: #99F6E4; }
.sp-nav-lang:hover { color: #fff; }
.sp-nav-cart {
    position: relative; width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
    transition: background .15s;
}
.sp-nav-cart:hover { background: rgba(255,255,255,.14); color: #fff; }
.sp-nav-cart .sp-i { width: 20px; height: 20px; }
.sp-nav-badge {
    position: absolute; top: -4px; inset-inline-start: -4px;
    min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #FBBF24; border: 2px solid #042F2E; box-sizing: content-box;
    color: #451A03; font-size: 11px; font-weight: 700; line-height: 1;
}
.sp-nav-account {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border-radius: 999px; padding: 10px 18px;
    font-size: 13px; font-weight: 600; line-height: 1.2; color: #042F2E; white-space: nowrap;
}
.sp-nav-account:hover { background: #CCFBF1; color: #042F2E; }
.sp-nav-toggle {
    display: none; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; cursor: pointer;
}
.sp-nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.sp-nav.is-open .sp-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sp-nav.is-open .sp-nav-toggle span:nth-child(2) { opacity: 0; }
.sp-nav.is-open .sp-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sp-nav a:focus-visible, .sp-nav-toggle:focus-visible { outline: 2px solid #5EEAD4; outline-offset: 2px; }

@media (max-width: 991.98px) {
    .sp-nav { flex-wrap: wrap; border-radius: 24px; padding-inline: 16px 10px; }
    .sp-nav-toggle { display: inline-flex; }
    .sp-nav-links {
        display: none; order: 3; flex-basis: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px;
    }
    .sp-nav.is-open .sp-nav-links { display: flex; }
    .sp-nav-links a { display: block; padding: 10px 4px; }
}
@media (max-width: 575.98px) {
    .sp-nav-name small { display: none; }
    .sp-nav { flex-wrap: nowrap; gap: 8px; }
    .sp-nav.is-open { flex-wrap: wrap; }
    .sp-nav-brand { flex: 1 1 auto; }
    .sp-nav-lang { padding: 10px 6px; }
    .sp-nav-logo { max-width: 96px; }
    .sp-nav-account { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .sp-nav-account span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.sp-hero-content {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
    text-align: center;
    max-width: 779px; margin: 64px auto 0;
}

.sp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(94,234,212,.3);
    border-radius: 999px;
    padding-block: 6px; padding-inline: 6px 14px;
    font-size: 13px; line-height: 1.6; font-weight: 400;
    color: var(--sp-teal-100);
}
.sp-eyebrow-chip {
    background: var(--sp-amber); color: var(--sp-amber-950);
    border-radius: 999px; padding: 4px 10px;
    font-size: 12px; line-height: 1.4; font-weight: 500;
}

.sp-title {
    font-weight: 700;
    font-size: 60px;
    line-height: 1.25;
    letter-spacing: -.6px;
    color: #fff;
    margin: 0;
}
.sp-title .sp-grad {
    display: block;
    background: var(--sp-grad-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.sp-sub { color: rgba(204, 251, 241, .75); font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0; }

/* Glass search: [query ........ | stage ▾ | (search)] */
.sp-search {
    display: flex; align-items: center; gap: 16px;
    width: 100%; max-width: 760px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    padding-block: 8px; padding-inline: 20px 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sp-search label { margin: 0; }
.sp-search-query { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; cursor: text; }
.sp-search-query .sp-i { width: 20px; height: 20px; color: var(--sp-teal-300); }
.sp-search input {
    flex: 1; min-width: 0;
    background: transparent; border: 0; outline: 0;
    color: #fff; font-size: 15px; line-height: 1.5; padding: 0;
}
.sp-search input::placeholder { color: rgba(204,251,241,.6); }
.sp-search input::-webkit-search-cancel-button { filter: invert(1); }
.sp-search-select { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sp-search-select[hidden] { display: none; }
.sp-search-select select {
    -webkit-appearance: none; appearance: none;
    background: transparent; border: 0; outline: 0; cursor: pointer;
    color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5;
    max-width: 180px; text-overflow: ellipsis;
}
.sp-search-select select option { color: #0F172A; }
.sp-search-select .sp-i { color: var(--sp-teal-200); pointer-events: none; }
.sp-search-divider { width: 1px; height: 28px; background: rgba(255,255,255,.16); flex-shrink: 0; }
.sp-search-select[hidden] + .sp-search-divider { display: none; }
.sp-search .sp-btn { padding: 14px 24px; font-size: 15px; font-weight: 600; border-radius: 14px; }
.sp-search .sp-btn .sp-i { width: 18px; height: 18px; }

/* Category pills on dark (with count badges) */
.sp-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sp-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: var(--sp-teal-100);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px; line-height: 1.4; font-weight: 500;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
.sp-pill b {
    background: rgba(255,255,255,.1); color: var(--sp-teal-200);
    border-radius: 999px; padding: 1px 7px;
    font-size: 11px; line-height: 1.4; font-weight: 500;
}
.sp-pill:hover { background: rgba(255,255,255,.12); color: #fff; }
.sp-pill.active { background: #fff; border-color: #fff; color: var(--sp-ink); font-weight: 600; }
.sp-pill.active b { background: var(--sp-teal-100); color: var(--sp-teal-800); }

/* Breadcrumb (detail / cart headers) */
.sp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 13px; color: rgba(204,251,241,.65); margin-top: 40px; }
.sp-crumbs a { color: rgba(204,251,241,.85); }
.sp-crumbs a:hover { color: #fff; }
.sp-crumbs .sep { opacity: .5; }
.sp-h1 { font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 40px); line-height: 1.3; letter-spacing: -.4px; color: #fff; margin: 12px 0 8px; }
.sp-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: rgba(204,251,241,.75); font-size: 14px; }
.sp-meta i, .sp-meta .sp-i { color: var(--sp-teal-300); margin-inline-end: .35rem; }

/* ---------- Buttons ---------- */
.sp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 14px;
    padding: 12px 20px;
    font-weight: 600; font-size: 15px; line-height: 1.4;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.sp-btn-primary {
    background: var(--sp-grad-btn);
    color: var(--sp-ink) !important;
    box-shadow: 0 10px 30px rgba(45,212,191,.4), inset 0 1px 0 rgba(255,255,255,.35);
}
.sp-btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(45,212,191,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.sp-btn-dark { background: var(--sp-teal-700); color: #fff !important; }
.sp-btn-dark:hover:not(:disabled) { background: var(--sp-ink-2); }
.sp-btn-ghost { background: var(--color-bg-surface); color: var(--color-text-primary) !important; border: 1px solid var(--color-border-strong); }
.sp-btn-ghost:hover:not(:disabled) { border-color: var(--color-primary-default); color: var(--color-primary-default) !important; }
.sp-btn:disabled, .sp-btn.disabled {
    background: var(--color-bg-muted); color: var(--color-text-disabled) !important;
    box-shadow: none; cursor: not-allowed; transform: none;
}
.sp-btn-block { display: flex; width: 100%; }

/* ---------- Light section ---------- */
.sp-body { background: var(--color-bg-subtle); padding: 64px 0 80px; }

.sp-toolbar {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 32px;
}
.sp-toolbar-title { display: flex; flex-direction: column; gap: 6px; }
.sp-toolbar h2 { font-size: 26px; line-height: 1.4; font-weight: 600; color: var(--color-text-primary); margin: 0; }
.sp-toolbar .sp-count { color: var(--color-text-secondary); font-size: 13px; line-height: 1.6; }
.sp-toolbar-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.sp-seg {
    display: inline-flex; gap: 4px;
    background: var(--color-bg-muted);
    border-radius: 12px; padding: 4px;
}
.sp-seg a {
    border-radius: 9px; padding: 8px 14px;
    font-size: 13px; line-height: 1.4; font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none !important;
}
.sp-seg a:hover { color: var(--color-text-primary); }
.sp-seg a.active { background: var(--color-bg-surface); color: var(--color-text-primary); font-weight: 600; box-shadow: 0 1px 3px rgba(15,23,42,.1); }

.sp-sort {
    position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-default);
    border-radius: 12px; padding: 10px 14px; cursor: pointer;
}
.sp-sort .sp-i { color: var(--color-text-secondary); pointer-events: none; }
.sp-sort select {
    -webkit-appearance: none; appearance: none; border: 0; outline: 0; background: transparent; cursor: pointer;
    font: inherit; font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--color-text-primary); padding: 0;
}

/* ---------- Activity card (Figma component "Store/Activity card" 232:2840) ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 991.98px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } }

.sp-card {
    display: flex; flex-direction: column; height: 100%;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-default);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,.10); }

.sp-cover {
    position: relative; height: 196px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
/* decorative glow + two rings (left side of the cover, as in Figma) */
.sp-cover::before, .sp-cover::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
    border: 1.5px solid rgba(255,255,255,.16);
}
.sp-cover::before { width: 300px; height: 300px; left: -120px; top: 40px; box-shadow: 0 0 0 0 transparent; }
.sp-cover::after  { width: 200px; height: 200px; left: -70px;  top: 90px; }
.sp-cover-teal  { background: radial-gradient(circle 120px at 75% -10px, rgba(255,255,255,.28), transparent 100%), linear-gradient(90deg, #0F766E, #2DD4BF); }
.sp-cover-amber { background: radial-gradient(circle 120px at 75% -10px, rgba(255,255,255,.28), transparent 100%), linear-gradient(90deg, #B45309, #FBBF24); }
.sp-cover-blue  { background: radial-gradient(circle 120px at 75% -10px, rgba(255,255,255,.28), transparent 100%), linear-gradient(90deg, #1D4ED8, #60A5FA); }
.sp-cover-dark  { background: radial-gradient(circle 120px at 75% -10px, rgba(255,255,255,.18), transparent 100%), linear-gradient(90deg, #042F2E, #14B8A6); }
.sp-cover-lime  { background: radial-gradient(circle 120px at 75% -10px, rgba(255,255,255,.28), transparent 100%), linear-gradient(90deg, #0F766E, #FBBF24); }
.sp-cover-slate { background: radial-gradient(circle 120px at 75% -10px, rgba(255,255,255,.22), transparent 100%), linear-gradient(90deg, #1E293B, #64748B); }
.sp-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; font-size: .8rem; color: transparent; z-index: 0; }
.sp-glyph { width: 64px; height: 64px; color: rgba(255,255,255,.95); stroke-width: 1.5; }
.sp-chip {
    position: absolute; top: 16px; z-index: 1;
    display: inline-flex; align-items: center; gap: 4px;
    border-radius: 999px; padding: 5px 10px;
    font-size: 12px; line-height: 1.4;
}
.sp-chip .sp-i { width: 12px; height: 12px; }
.sp-chip-type {
    inset-inline-start: 16px; font-weight: 500;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); color: #fff;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sp-chip-sale { inset-inline-end: 16px; background: var(--sp-amber); color: var(--sp-amber-950); font-weight: 600; }

.sp-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px; }
.sp-cat { color: var(--color-primary-default); font-size: 12px; line-height: 1.4; font-weight: 600; }
.sp-card-title { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 0; }
.sp-card-title a { color: var(--color-text-primary); text-decoration: none; }
.sp-card-title a:hover { color: var(--color-primary-default); }
.sp-card-desc {
    color: var(--color-text-secondary); font-size: 13px; line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--color-text-secondary); font-size: 12px; line-height: 1.4; font-weight: 500; }
.sp-card-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.sp-card-meta .sp-i { color: var(--color-text-secondary); }

/* Seats */
.sp-seats { display: flex; flex-direction: column; gap: 8px; }
.sp-seats-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.4; font-weight: 500; color: var(--color-text-secondary); }
.sp-seats.low .sp-seats-left { color: var(--sp-amber-700); }
.sp-seats.ok .sp-seats-left { color: #15803D; }
.sp-seats.full .sp-seats-left { color: #B91C1C; }
.sp-bar { height: 6px; border-radius: 999px; background: var(--color-bg-muted); overflow: hidden; }
.sp-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2DD4BF, #0F766E); }
html[dir="ltr"] .sp-bar > span { background: linear-gradient(270deg, #2DD4BF, #0F766E); }
.sp-seats.full .sp-bar > span { background: #B91C1C; }

.sp-card-foot {
    margin-top: auto; padding-top: 16px;
    border-top: 1px solid var(--color-border-default);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.sp-price { font-size: 22px; font-weight: 700; color: var(--color-text-primary); line-height: 1.3; }
.sp-price small { font-size: 13px; font-weight: 400; color: var(--color-text-secondary); }
.sp-price-old { font-size: 12px; line-height: 1.4; color: var(--color-text-disabled); text-decoration: line-through; }
.sp-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--sp-teal-700); color: #fff !important;
    border-radius: 12px; padding: 10px 16px;
    font-size: 13px; line-height: 1.4; font-weight: 600; white-space: nowrap;
    text-decoration: none !important; transition: background .15s;
}
.sp-cta:hover { background: var(--sp-ink-2); }
.sp-cta.disabled { background: var(--color-bg-muted); color: var(--color-text-disabled) !important; cursor: not-allowed; }

.sp-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.sp-more {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-strong);
    border-radius: 14px; padding: 14px 28px; cursor: pointer;
    font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--color-text-primary);
}
.sp-more[hidden] { display: none; }
.sp-more .sp-i { width: 18px; height: 18px; }
.sp-more:hover { border-color: var(--color-primary-default); color: var(--color-primary-default); }

.sp-empty {
    text-align: center; padding: 4rem 1rem;
    background: var(--color-bg-surface); border: 1px dashed var(--color-border-strong); border-radius: var(--sp-radius);
    color: var(--color-text-secondary);
}
.sp-empty i { font-size: 3rem; color: var(--color-border-strong); display: block; margin-bottom: 1rem; }

/* How-it-works (dark) */
.sp-how {
    position: relative; overflow: hidden;
    margin-top: 56px;
    background: linear-gradient(180deg, #042F2E 0%, #115E59 100%);
    border: 1px solid rgba(94,234,212,.35);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(4,47,46,.25);
    color: #fff; padding: 56px 56px 48px;
}
.sp-how::before {
    content: ''; position: absolute; pointer-events: none;
    width: 520px; height: 320px; top: -120px; left: -120px; border-radius: 50%;
    background: rgba(45,212,191,.22); filter: blur(70px);
}
.sp-how > * { position: relative; }
.sp-how-eyebrow {
    display: inline-block; background: rgba(255,255,255,.1); color: var(--sp-teal-200);
    border-radius: 999px; padding: 6px 14px; font-size: 12px; line-height: 1.4; font-weight: 500;
}
.sp-how h3 { font-weight: 700; font-size: 36px; line-height: 1.3; margin: 10px 0 40px; color: #fff; }
.sp-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 330px)); justify-content: space-between; gap: 32px; }
.sp-step { display: flex; flex-direction: column; gap: 12px; }
.sp-step b {
    width: 48px; height: 48px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(94,234,212,.3);
    color: var(--sp-amber-300); font-size: 20px; font-weight: 700; line-height: 1;
}
.sp-step h4 { font-size: 20px; line-height: 1.45; font-weight: 600; color: #fff; margin: 0; }
.sp-step p { font-size: 15px; line-height: 1.65; color: rgba(204,251,241,.7); margin: 0; }
.sp-trust {
    display: flex; flex-wrap: wrap; gap: 12px 32px;
    border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 40px;
}
.sp-trust span { display: inline-flex; align-items: center; gap: 8px; color: rgba(204,251,241,.85); font-size: 14px; line-height: 1.5; font-weight: 500; }
.sp-trust .sp-i { width: 18px; height: 18px; color: var(--sp-teal-300); }

@media (max-width: 767.98px) {
    .sp-hero-content { margin-top: 40px; gap: 18px; }
    .sp-title { font-size: 36px; }
    .sp-sub { font-size: 16px; }
    .sp-search { flex-wrap: wrap; padding: 8px; gap: 8px; }
    .sp-search-query { flex-basis: 100%; padding: 8px 12px; }
    .sp-search-divider { display: none; }
    .sp-search-select { flex: 1; padding: 0 12px; }
    .sp-search .sp-btn { flex: 1; }
    .sp-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; padding-bottom: 4px; }
    .sp-pill { flex-shrink: 0; }
    .sp-how { padding: 32px 24px; }
    .sp-how h3 { font-size: 26px; margin-bottom: 28px; }
    .sp-how-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- Detail + cart (Figma 239:3059, 242:3181) ---------- */

/* Compact header: breadcrumb, title, meta (aligned to the start) */
.sp-head { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; }
.sp-head .sp-crumbs { margin: 0; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(204,251,241,.7); }
.sp-head .sp-crumbs a { color: rgba(204,251,241,.7); }
.sp-head .sp-crumbs a:hover { color: #fff; }
.sp-head .sp-crumbs .sp-i { width: 14px; height: 14px; }
.sp-head .sp-crumbs #heroCatWrap:not(.d-none) { display: inline-flex; align-items: center; gap: 10px; }
.sp-head .sp-crumbs .current { color: #fff; font-weight: 500; }
.sp-head .sp-h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; min-height: 1.25em; }
.sp-head .sp-meta { gap: 8px 20px; font-size: 14px; line-height: 1.5; color: rgba(204,251,241,.8); }
.sp-head .sp-meta > span:not(.d-none) { display: inline-flex; align-items: center; gap: 6px; }
.sp-head .sp-meta .sp-i { margin: 0; color: rgba(204,251,241,.8); }
.sp-head-split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sp-head-text { display: flex; flex-direction: column; gap: 8px; }
.sp-head-sub { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(204,251,241,.75); min-height: 1.5em; }

.sp-steps { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.sp-steps .st { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(153,246,228,.7); }
.sp-steps .st b {
    width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    color: var(--sp-teal-200); font-size: 14px; font-weight: 700;
}
.sp-steps .st.is-current { color: #fff; font-weight: 600; }
.sp-steps .st.is-current b { background: #fff; border-color: #fff; color: var(--sp-ink); }
.sp-steps .line { width: 56px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.2); }

/* Two-column layout: content 776 + aside 400 */
.sp-body.sp-body-detail { padding: 40px 0 96px; }
.sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.sp-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sp-aside { position: sticky; top: 24px; }
@media (max-width: 1199.98px) { .sp-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-width: 991.98px) {
    .sp-layout { grid-template-columns: minmax(0, 1fr); }
    .sp-aside { position: static; }
}
.sp-grow { flex: 1 1 auto; }

/* Gallery */
.sp-gallery { display: flex; flex-direction: column; gap: 12px; }
.sp-gallery-main {
    position: relative; height: 400px; border-radius: 24px; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(90deg, #0F766E, #2DD4BF);
    color: #fff;
}
.sp-gallery-main::before, .sp-gallery-main::after {
    content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%; z-index: -1; pointer-events: none;
    transform: translate(-50%, -50%);
}
.sp-gallery-main::before { width: 420px; height: 420px; border: 1.5px solid rgba(255,255,255,.16); outline: 1.5px solid rgba(255,255,255,.1); outline-offset: 48px; }
.sp-gallery-main::after { width: 340px; height: 340px; border: 1.5px solid rgba(255,255,255,.12); }
.sp-gallery-main.has-img::before, .sp-gallery-main.has-img::after { display: none; }
.sp-gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.sp-gallery-glyph { width: 120px; height: 120px; color: #fff; stroke-width: 1.5; }
.sp-gchip {
    position: absolute; top: 20px; display: inline-flex; align-items: center; gap: 6px;
    border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 1.4;
}
.sp-gchip .sp-i { width: 14px; height: 14px; }
.sp-gchip-type {
    inset-inline-start: 20px; font-weight: 500; color: #fff;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sp-gchip-sale { inset-inline-end: 20px; font-weight: 600; background: var(--sp-amber); color: var(--sp-amber-950); }
.sp-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.9); color: var(--sp-ink); cursor: pointer;
}
.sp-gallery-nav .sp-i { width: 20px; height: 20px; }
.sp-gallery-nav.prev { inset-inline-start: 16px; }
.sp-gallery-nav.next { inset-inline-end: 16px; }
.sp-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sp-thumb {
    height: 96px; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer;
    border: 2px solid transparent; background: var(--color-bg-muted);
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb.active { border-color: var(--sp-teal-700); }

/* Panels */
.sp-panel {
    display: flex; flex-direction: column; gap: 18px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-default);
    border-radius: 24px; padding: 28px;
    box-shadow: var(--sp-shadow);
}
.sp-panel.sp-panel-tight { gap: 4px; }
.sp-panel-title { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--color-text-primary); }
.sp-panel-tight .sp-panel-title { margin-bottom: 14px; }
.sp-desc { margin: 0; font-size: 16px; line-height: 1.8; color: var(--color-text-secondary); }
.sp-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: 999px;
    padding: 6px 12px; font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--color-text-primary);
}
.sp-tag .sp-i { color: var(--sp-teal-700); }

/* "What's included": list items become check rows in two columns */
.sp-included { font-size: 15px; line-height: 1.5; color: var(--color-text-primary); }
.sp-included > :last-child { margin-bottom: 0; }
.sp-included p { color: var(--color-text-secondary); line-height: 1.8; }
.sp-included ul, .sp-included ol {
    list-style: none; margin: 0 0 1rem; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px;
}
.sp-included li { position: relative; padding-inline-start: 34px; min-height: 24px; display: flex; align-items: center; }
.sp-included li::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 0;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--sp-teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 575.98px) { .sp-included ul, .sp-included ol { grid-template-columns: minmax(0, 1fr); } }

/* Schedule rows */
.sp-srow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--color-border-default); }
.sp-panel-title + .sp-srow { border-top: 0; }
.sp-sicon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--sp-teal-100); color: var(--sp-teal-700);
}
.sp-sicon .sp-i { width: 20px; height: 20px; }
.sp-slabel { font-size: 15px; line-height: 1.5; color: var(--color-text-secondary); }
.sp-svalue { margin-inline-start: auto; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--color-text-primary); text-align: end; }

/* Purchase / summary card */
.sp-buy {
    display: flex; flex-direction: column; gap: 20px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-default);
    border-radius: 24px; padding: 28px;
    box-shadow: 0 24px 60px rgba(15,23,42,.1);
}
.sp-divider { height: 1px; background: var(--color-border-default); }
.sp-buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.sp-buy-amount { font-size: 40px; line-height: 1.1; font-weight: 700; color: var(--color-text-primary); }
.sp-buy-amount small { font-size: 18px; font-weight: 600; }
.sp-buy-per { font-size: 15px; color: var(--color-text-secondary); }
.sp-buy-old { font-size: 16px; color: #94A3B8; }
.sp-save {
    align-self: center; border-radius: 999px; padding: 4px 10px;
    background: #DCFCE7; color: #15803D; font-size: 12px; line-height: 1.4; font-weight: 600;
}
.sp-field { display: flex; flex-direction: column; gap: 10px; }
.sp-field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sp-label { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--color-text-secondary); }
.sp-link {
    display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; cursor: pointer;
    font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--sp-teal-700);
}
.sp-link .sp-i { width: 14px; height: 14px; }
.sp-link:hover { text-decoration: underline; }

.sp-plans { display: flex; flex-direction: column; gap: 10px; }
.sp-plan {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 14px 16px; border-radius: 14px; text-align: start;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-default);
    font: inherit; color: var(--color-text-primary); cursor: pointer;
    transition: border-color .15s, background .15s;
}
.sp-plan:hover:not(:disabled) { border-color: var(--sp-teal-700); }
.sp-plan:disabled { cursor: default; }
.sp-plan.selected { background: var(--sp-teal-100); border: 1.5px solid var(--sp-teal-700); padding: 13.5px 15.5px; }
.sp-radio {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    background: #fff; border: 1.5px solid #CBD5E1; position: relative;
}
.sp-plan.selected .sp-radio { background: var(--sp-teal-700); border-color: var(--sp-teal-700); }
.sp-plan.selected .sp-radio::after { content: ''; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.sp-plan-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sp-plan-name { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.sp-plan-badge { border-radius: 999px; padding: 2px 8px; background: #FEF3C7; color: #92400E; font-size: 11px; line-height: 1.4; font-weight: 500; }
.sp-plan-terms { font-size: 12px; line-height: 1.5; color: var(--color-text-secondary); }
.sp-plan-price { flex-shrink: 0; font-size: 16px; line-height: 1.4; font-weight: 700; white-space: nowrap; }
.sp-plan-price small { font-size: 12px; font-weight: 600; }

.sp-students { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.sp-student {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--color-border-strong); border-radius: 12px; padding: 12px 14px;
    background: var(--color-bg-surface);
}
.sp-student:focus-within { border-color: var(--sp-teal-700); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.sp-student input {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0;
    font: inherit; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--color-text-primary);
}
.sp-student input::placeholder { color: var(--color-text-secondary); font-weight: 400; }
.sp-student label.error, .sp-students label.error { display: none !important; }
.sp-student input.error { color: #B91C1C; }
.sp-student-x {
    width: 28px; height: 28px; flex-shrink: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; color: var(--color-text-secondary);
}
.sp-student-x:hover { background: var(--color-bg-muted); color: #B91C1C; }
.sp-avatar {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #FEF3C7; color: #92400E; font-size: 14px; font-weight: 700; line-height: 1;
}
.sp-avatar-lg { width: 40px; height: 40px; font-size: 16px; }

.sp-buy-seats { display: flex; flex-direction: column; gap: 8px; }
.sp-buy-seats-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--color-text-secondary); }
.sp-buy-seats-head strong { color: var(--sp-amber-700); font-weight: 600; }
.sp-buy-bar { height: 8px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.sp-buy-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(270deg, #F59E0B, #FBBF24); }
html[dir="ltr"] .sp-buy-bar > span { background: linear-gradient(90deg, #F59E0B, #FBBF24); }

.sp-due {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #F8FAFC; border-radius: 12px; padding: 14px 16px;
}
.sp-due-title { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--color-text-primary); }
.sp-due-sub { font-size: 12px; line-height: 1.5; color: var(--color-text-secondary); margin-top: 2px; }
.sp-due-amount { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--color-text-primary); white-space: nowrap; }
.sp-due-amount small { font-size: 13px; font-weight: 600; }

.sp-actions { display: flex; flex-direction: column; gap: 10px; }
.sp-btn .sp-i { width: 20px; height: 20px; }
.sp-btn-lg { padding: 16px 24px; border-radius: 14px; font-size: 16px; }
.sp-btn-sm { padding: 12px 18px; border-radius: 12px; font-size: 14px; }
.sp-btn-primary { box-shadow: 0 10px 30px rgba(20,184,166,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.sp-btn-ink { background: var(--sp-ink); color: #fff !important; }
.sp-btn-ink.sp-btn-lg { padding: 15px 24px; }
.sp-btn-ink .sp-i { width: 18px; height: 18px; }
.sp-btn-ink:hover:not(:disabled) { background: var(--sp-ink-2); }
.sp-btn-outline {
    background: var(--color-bg-surface); color: var(--color-text-primary) !important;
    border: 1px solid var(--color-border-strong); border-radius: 14px; padding: 13px 20px; font-size: 15px; font-weight: 500;
}
.sp-btn-outline:hover:not(:disabled) { border-color: var(--sp-teal-700); color: var(--sp-teal-700) !important; }
.sp-btn-outline .sp-i { width: 18px; height: 18px; }

.sp-notice {
    display: flex; align-items: center; gap: 8px;
    border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 500;
    background: #FEF3C7; color: #92400E;
}
.sp-notice.danger { background: #FEE2E2; color: #B91C1C; }

.sp-wa {
    display: flex; align-items: center; gap: 12px;
    background: #DCFCE7; border-radius: 14px; padding: 12px 14px;
    color: var(--color-text-primary) !important; text-decoration: none !important;
}
.sp-wa:hover { background: #BBF7D0; }
.sp-wa > .sp-i { width: 16px; height: 16px; color: #15803D; }
.sp-wa-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #15803D; color: #fff;
}
.sp-wa-icon .sp-i { width: 18px; height: 18px; }
.sp-wa-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-wa-text strong { font-size: 14px; line-height: 1.4; font-weight: 500; }
.sp-wa-text small { font-size: 12px; line-height: 1.4; color: #15803D; }

.sp-buy-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 12px; line-height: 1.5; color: var(--color-text-secondary); }
.sp-buy-trust > span { display: inline-flex; align-items: center; gap: 6px; }
.sp-buy-trust .sp-i { width: 14px; height: 14px; }

/* Cart: student group card */
.sp-group {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-default);
    border-radius: 24px; padding: 24px 28px 12px;
    box-shadow: var(--sp-shadow);
}
.sp-group-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border-default); }
.sp-group-name { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--color-text-primary); }
.sp-count-badge { border-radius: 999px; padding: 3px 10px; background: var(--sp-teal-100); color: var(--sp-teal-700); font-size: 12px; line-height: 1.4; font-weight: 500; }

.sp-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.sp-item + .sp-item { border-top: 1px solid var(--color-border-default); }
.sp-item-thumb {
    position: relative; width: 96px; height: 96px; border-radius: 16px; flex-shrink: 0; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.sp-item-thumb.sp-cover::before, .sp-item-thumb.sp-cover::after { display: none; }
.sp-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-item-thumb .sp-i { width: 36px; height: 36px; stroke-width: 1.6; }
.sp-item-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sp-item-cat { font-size: 12px; line-height: 1.4; font-weight: 500; color: var(--sp-teal-700); }
.sp-item-title { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--color-text-primary); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chip-s {
    display: inline-flex; align-items: center; gap: 4px;
    border-radius: 999px; padding: 3px 10px; font-size: 12px; line-height: 1.4; font-weight: 500;
}
.sp-chip-s .sp-i { width: 12px; height: 12px; }
.sp-chip-s.plan { background: var(--sp-teal-100); color: var(--sp-teal-700); }
.sp-chip-s.muted { background: #F1F5F9; color: var(--color-text-secondary); }
.sp-chip-s.sale { background: #FEF3C7; color: #92400E; }
.sp-chip-s.ok { background: #DCFCE7; color: #15803D; }
.sp-item-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex-shrink: 0; white-space: nowrap; }
.sp-item-price strong { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--color-text-primary); }
.sp-item-price strong small { font-size: 13px; font-weight: 600; }
.sp-item-per { font-size: 12px; line-height: 1.4; color: var(--color-text-secondary); }
.sp-item-old { font-size: 13px; line-height: 1.4; color: #94A3B8; }
.sp-trash {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-default); color: #DC2626;
}
.sp-trash .sp-i { width: 18px; height: 18px; }
.sp-trash:hover { background: #FEF2F2; border-color: #FCA5A5; }
.sp-back {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    font-size: 14px; font-weight: 500; color: var(--sp-teal-700) !important;
}

/* Cart: summary */
.sp-coupon-wrap { display: flex; flex-direction: column; gap: 10px; }
.sp-coupon { display: flex; gap: 8px; }
.sp-coupon-input {
    flex: 1 1 auto; min-width: 0; margin: 0; display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--color-border-strong); border-radius: 12px; padding: 12px 14px; cursor: text;
    background: var(--color-bg-surface);
}
.sp-coupon-input:focus-within { border-color: var(--sp-teal-700); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.sp-coupon-input .sp-i { width: 18px; height: 18px; color: var(--color-text-secondary); }
.sp-coupon-input input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0; font: inherit; font-size: 14px; color: var(--color-text-primary); }
.sp-coupon-chip {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
    border-radius: 999px; padding: 6px 8px 6px 12px; background: #DCFCE7; color: #15803D;
    font-size: 12px; line-height: 1.4; font-weight: 600;
}
html[dir="rtl"] .sp-coupon-chip { padding: 6px 12px 6px 8px; }
.sp-coupon-chip .sp-i { width: 14px; height: 14px; }
.sp-coupon-x {
    width: 20px; height: 20px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.7); color: #15803D;
}
.sp-coupon-x .sp-i { width: 12px; height: 12px; }
.sp-sum { display: flex; flex-direction: column; gap: 12px; }
.sp-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--color-text-secondary); }
.sp-sum-row > span:last-child { font-weight: 500; color: var(--color-text-primary); white-space: nowrap; }
.sp-sum-row.discount > span:last-child { color: #15803D; }
.sp-sum-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp-sum-total-label { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--color-text-primary); }
.sp-sum-total-sub { font-size: 12px; line-height: 1.5; color: var(--color-text-secondary); }
.sp-sum-total strong { font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--color-text-primary); white-space: nowrap; }
.sp-sum-total strong small { font-size: 16px; font-weight: 600; }
.sp-info {
    display: flex; align-items: flex-start; gap: 10px;
    background: #F8FAFC; border-radius: 12px; padding: 12px 14px;
    font-size: 13px; line-height: 1.6; color: var(--color-text-secondary);
}
.sp-info .sp-i { color: var(--sp-teal-700); margin-top: 2px; }
.sp-check { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 13px; line-height: 1.5; }
.sp-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sp-check-box {
    width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--color-border-strong); background: #fff; color: transparent;
}
.sp-check-box .sp-i { width: 14px; height: 14px; }
.sp-check input:checked + .sp-check-box { background: var(--sp-teal-700); border-color: var(--sp-teal-700); color: #fff; }
.sp-check input:focus-visible + .sp-check-box { box-shadow: 0 0 0 3px rgba(20,184,166,.3); }
.sp-check a { color: var(--color-text-primary); }
.sp-paychips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sp-paychips span {
    border: 1px solid var(--color-border-default); border-radius: 8px; padding: 4px 10px;
    font-size: 11px; line-height: 1.4; font-weight: 500; color: var(--color-text-secondary);
}

/* Phone modal */
.sp-modal .modal-content { border: 0; border-radius: 24px; box-shadow: 0 24px 60px rgba(15,23,42,.2); font-family: var(--sp-font); }
.sp-modal .modal-body { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 28px 28px; text-align: center; }
.sp-wa-icon-lg { width: 56px; height: 56px; border-radius: 16px; }
.sp-wa-icon-lg .sp-i { width: 28px; height: 28px; }
.sp-modal form { width: 100%; }
.sp-input {
    display: block; width: 100%; border: 1px solid var(--color-border-strong); border-radius: 12px; padding: 12px 14px;
    font: inherit; font-size: 15px; color: var(--color-text-primary); background: var(--color-bg-surface); outline: 0;
}
.sp-input:focus { border-color: var(--sp-teal-700); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.sp-modal label.error { display: block; margin-top: 6px; font-size: 12px; color: #B91C1C; }
.sp-modal-actions { display: flex; gap: 10px; justify-content: center; }

.sp-empty-icon { width: 56px; height: 56px; color: var(--color-border-strong); display: block; margin: 0 auto 1rem; }
.sp-loading { text-align: center; padding: 4rem 0; color: var(--color-primary-default); font-size: 2rem; }

/* Mobile */
@media (max-width: 767.98px) {
    .sp-gallery-main { height: 260px; }
    .sp-gallery-glyph { width: 88px; height: 88px; }
    .sp-steps .line { width: 24px; }
}
@media (max-width: 575.98px) {
    .sp-body.sp-body-detail { padding: 24px 0 64px; }
    .sp-panel, .sp-buy { padding: 20px; border-radius: 20px; }
    .sp-group { padding: 20px 16px 8px; border-radius: 20px; }
    .sp-buy-amount { font-size: 32px; }
    .sp-thumbs { gap: 8px; }
    .sp-thumb { height: 64px; border-radius: 12px; }
    .sp-item { flex-wrap: wrap; gap: 12px; }
    .sp-item-thumb { width: 64px; height: 64px; border-radius: 12px; }
    .sp-item-thumb .sp-i { width: 28px; height: 28px; }
    .sp-item-info { flex-basis: calc(100% - 76px); }
    .sp-item-price { flex-direction: row; align-items: baseline; gap: 8px; flex: 1 1 auto; padding-inline-start: 76px; }
    .sp-item-title { font-size: 16px; }
    .sp-steps .st { font-size: 12px; gap: 6px; }
    .sp-steps .st b { width: 28px; height: 28px; font-size: 12px; }
    .sp-steps { gap: 8px; }
    .sp-steps .line { width: 16px; }
}

/* ---------- Groups browser + payment result ---------- */
.sp-pills.sp-pills-start { justify-content: flex-start; margin-top: 8px; }
button.sp-pill { cursor: pointer; font-family: inherit; }
.sp-seg button {
    border: 0; background: transparent; cursor: pointer; font-family: inherit;
    border-radius: 9px; padding: 8px 14px;
    font-size: 13px; line-height: 1.4; font-weight: 500;
    color: var(--color-text-secondary);
}
.sp-seg button:hover { color: var(--color-text-primary); }
.sp-seg button.active { background: var(--color-bg-surface); color: var(--color-text-primary); font-weight: 600; box-shadow: 0 1px 3px rgba(15,23,42,.1); }

.sp-steps .st.is-done { color: var(--sp-teal-100); }
.sp-steps .st.is-done b { background: var(--sp-teal-2); border-color: var(--sp-teal-2); color: var(--sp-ink); }
.sp-steps .st b .sp-i { width: 14px; height: 14px; }

.sp-result {
    max-width: 560px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-default, #E2E8F0);
    border-radius: 24px; padding: 40px 32px; box-shadow: var(--sp-shadow);
}
.sp-result-icon {
    width: 72px; height: 72px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.sp-result-icon .sp-i { width: 32px; height: 32px; }
.sp-result-icon.ok { background: #DCFCE7; color: #15803D; box-shadow: 0 0 0 8px rgba(22,163,74,.08); }
.sp-result-icon.err { background: #FEE2E2; color: #B91C1C; box-shadow: 0 0 0 8px rgba(220,38,38,.08); }
.sp-result-title { margin: 8px 0 0; font-size: 24px; line-height: 1.35; font-weight: 700; color: var(--color-text-primary); }
.sp-result-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--color-text-secondary); }
.sp-result-ref {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
    background: var(--color-bg-subtle); border-radius: 12px; padding: 12px 16px;
    font-size: 13px; color: var(--color-text-secondary);
}
.sp-result-ref b { font-size: 14px; color: var(--color-text-primary); font-weight: 600; word-break: break-all; }
.sp-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; margin-top: 8px; }
.sp-result-actions .sp-btn { flex: 1 1 auto; white-space: nowrap; }
.sp-result .sp-buy-trust { margin-top: 4px; }
@media (max-width: 575.98px) { .sp-result { padding: 32px 20px; } }

/* ---------- Contact page ---------- */
.sp-contact-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
    max-width: 960px; margin: 0 auto 24px;
}
.sp-contact-card {
    display: flex; align-items: center; gap: 16px; min-width: 0;
    background: var(--color-bg-surface); border: 1px solid var(--color-border-default, #E2E8F0);
    border-radius: 20px; padding: 20px; box-shadow: var(--sp-shadow);
    color: var(--color-text-primary); text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.sp-contact-card:hover, a.sp-contact-card:focus-visible {
    color: var(--color-text-primary); text-decoration: none;
    transform: translateY(-2px); border-color: var(--sp-teal-2, #14B8A6);
}
.sp-contact-card.is-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0F766E, #134E4A); border-color: transparent; color: #fff;
}
.sp-contact-card.is-featured:hover, .sp-contact-card.is-featured:focus-visible { color: #fff; }
.sp-contact-card.is-featured small { color: rgba(255,255,255,.75); }
.sp-contact-icon {
    flex: none; width: 48px; height: 48px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #CCFBF1; color: #0F766E;
}
.sp-contact-icon .sp-i { width: 22px; height: 22px; }
.sp-contact-icon.wa { background: #25D366; color: #fff; }
.sp-contact-icon.ig { background: rgba(225,48,108,.12); color: #E1306C; }
.sp-contact-icon.x  { background: #F1F5F9; color: #0F172A; }
.sp-contact-icon.fb { background: rgba(24,119,242,.12); color: #1877F2; }
.sp-contact-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sp-contact-body b { font-size: 16px; font-weight: 600; }
.sp-contact-body small {
    font-size: 14px; color: var(--color-text-secondary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
[dir="rtl"] .sp-contact-body small[dir="ltr"] { text-align: right; }
.sp-contact-go { flex: none; opacity: .6; }
.sp-contact-go .sp-i { width: 18px; height: 18px; }
.sp-contact-address { grid-column: 1 / -1; align-items: flex-start; }
.sp-contact-address small { white-space: normal; }
.sp-contact-map {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
    font-size: 14px; font-weight: 600; color: var(--sp-teal-2, #0F766E);
}
.sp-contact-map .sp-i { width: 14px; height: 14px; }
.sp-contact-grid .sp-empty { grid-column: 1 / -1; }
.sp-contact-grid + .sp-back { display: flex; justify-content: center; max-width: 960px; margin: 0 auto; }
@media (max-width: 575.98px) { .sp-contact-grid { grid-template-columns: 1fr; } .sp-contact-card { padding: 16px; } }
