/* ═══════════════════════════════════════════════════════════
   Summerland Plus Rewards — v4.4 (Ultra-Wide & Premium Hovers)
   Guest landing section (sg-)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Theme Safety ─── */
/* 
   The ::before pseudo-element creates full-width backgrounds.
   For it to bleed past the constrained theme containers, every 
   ancestor must have overflow:visible (their WIDTH stays unchanged).
*/
.loyalty-guest-page .main-page-wrapper,
.loyalty-guest-page #page,
.loyalty-guest-page .site-content,
.loyalty-guest-page #content,
.loyalty-guest-page .content-area,
.loyalty-guest-page #primary,
.loyalty-guest-page .wd-content-layout,
.loyalty-guest-page .content-layout-wrapper,
.loyalty-guest-page .entry-content,
.loyalty-guest-page .post-content {
    overflow: visible !important;
}

/* The loyalty wrapper itself must also be visible */
.sg, #slr-guest-page {
    overflow: visible !important;
    font-family: 'Inter', sans-serif;
}

/* Apply Inter throughout all loyalty page elements */
.sg * {
    font-family: 'Inter', sans-serif;
}

/* Remove Woodmart's default vertical padding on the content layout */
.loyalty-guest-page .wd-content-layout {
    padding-block: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Prevent horizontal scrollbar from the 100vw pseudo-element */
body.loyalty-guest-page {
    overflow-x: hidden;
}


:root {
    --sg-teal: #0E716C; 
    --sg-teal-dark: #074d49;
    --sg-teal-light: rgba(14,113,108,.06);
    --sg-mint: #eef7f6;
    --sg-gold: #c99300; 
    --sg-bg-light: #f8fbfb;
    --sg-bg-tint: #f2f6f5;
    --sg-charcoal: #111111;
    --sg-text: #222222;
    --sg-text-muted: #555555; 
    --sg-border: #e2e2e2;
    --sg-radius: 12px;
    --sg-radius-sm: 8px;
    --sg-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.sg { 
    font-family: 'Jost', -apple-system, sans-serif; 
    -webkit-font-smoothing: antialiased; 
    color: var(--sg-text);
    overflow-x: hidden; 
    width: 100%;
}

.sg-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section Shell ─── */
.sg-section {
    position: relative;
    z-index: 0;
}

/* ── Hero ─── */
.sg-hero {
    padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
    background: var(--sg-mint);
    text-align: center;
    position: relative;
    z-index: 0;
}

.sg-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--sg-mint);
    z-index: -1;
}

.sg-hero__content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sg-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sg-teal);
    padding: 12px 22px;
    background: rgba(255,255,255,0.85);
    border-radius: 100px;
    margin-bottom: 28px;
    border: 1px solid rgba(14,113,108,0.15);
}

.sg-hero__title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--sg-charcoal);
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
}

.sg-hero__title span { color: var(--sg-teal); }

.sg-hero__desc {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    color: var(--sg-text-muted);
    margin: 0 0 32px;
    max-width: 760px;
}

.sg-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.sg-hero__bonus {
    font-size: 14px;
    color: var(--sg-text-muted);
    font-weight: 500;
}

.sg-hero__bonus strong { color: var(--sg-teal); font-weight: 700; }

/* Standard button (keep for other sections) */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--sg-teal);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: none;
}

.sg-btn:hover {
    background: var(--sg-teal-dark) !important;
    color: #fff !important;
}

.sg-btn--secondary {
    background: #f1f1f1;
    color: #111;
}

.sg-btn--secondary:hover {
    background: #e0e0e0 !important;
}



/* ── Hero Dashboard Card ── */
.sg-hero__visual {
    width: 100%;
    max-width: 600px;
}

.sg-hero__dashboard {
    padding: 40px;
    background: #fff;
    border-radius: var(--sg-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--sg-border);
    text-align: left;
}

.sg-dash__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.sg-dash__pts {
    font-size: 48px;
    font-weight: 800;
    color: var(--sg-teal);
    margin-top: 4px;
}

.sg-dash__pts small {
    font-size: 14px;
    color: var(--sg-text-muted);
    font-weight: 600;
}

.sg-dash__stat {
    background: var(--sg-bg-light);
    padding: 16px;
    border-radius: var(--sg-radius-sm);
    text-align: center;
    border: 1px solid var(--sg-border);
}

.sg-dash__stat-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--sg-charcoal);
}

/* ── Sections ─── */
.sg-section { padding: clamp(40px, 6vw, 100px) 0; }
.sg-section--tint { background: var(--sg-bg-light); }
.sg-section--sand { background: var(--sg-bg-tint); }

/* Full-width tint/sand backgrounds */
.sg-section--tint::before,
.sg-section--sand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
}
.sg-section--tint::before { background: var(--sg-bg-light); }
.sg-section--sand::before { background: var(--sg-bg-tint); }

.sg-section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(28px, 4vw, 48px);
}

.sg-section__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--sg-charcoal);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}

.sg-section__sub {
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--sg-text-muted);
    line-height: 1.5;
}

/* ── Steps Grid ─── */
.sg-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 767px) {
    .sg-steps { grid-template-columns: repeat(2, 1fr); }
}
/* Stays 2 columns on small phones */

.sg-step {
    background: #f5f5f5;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px) clamp(24px, 3vw, 40px);
    border-radius: 16px;
    text-align: center;
    border: none;
}

.sg-step__icon {
    width: 72px;
    height: 72px;
    background: var(--sg-mint);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--sg-teal);
}

.sg-step__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--sg-teal);
}

.sg-step__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sg-charcoal);
    margin: 0 0 12px;
}

.sg-step__text {
    font-size: 15px;
    color: var(--sg-text-muted);
    line-height: 1.6;
    margin: 0;
}



/* ── Earn Ways Grid ─── */
.sg-ways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 767px) {
    .sg-ways { grid-template-columns: repeat(2, 1fr); }
}
/* Stays 2 columns even on small phones */

.sg-way {
    background: #fff;
    border-radius: var(--sg-radius);
    padding: clamp(28px, 3vw, 48px) clamp(20px, 2.5vw, 32px);
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 20px;
    border: 1px solid var(--sg-border);
    transition: border-color 0.2s ease;
}

.sg-way:hover {
    border-color: var(--sg-teal);
}

.sg-way__icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.sg-way__icon-box svg {
    width: 100%;
    height: 100%;
}

.sg-way__label { 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--sg-teal);
    line-height: 1.2;
}

.sg-way__desc { 
    font-size: 14px; 
    color: var(--sg-text-muted); 
    line-height: 1.4;
    margin: 0;
}

.sg-way__pts { display: none; } /* Points are now part of the desc or separate in this layout */

/* ── Product Grid ─── */
.sg-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 24px);
}

@media (max-width: 1023px) {
    .sg-prod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .sg-prod-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Stays 2 columns even on small phones */
.sg-fprod {
    background: #fff;
    border-radius: var(--sg-radius-sm); 
    padding: 20px;
    display: flex; 
    flex-direction: column; 
    gap: 12px;
    border: 1px solid var(--sg-border);
    text-align: center;
}

.sg-fprod:hover {
    border-color: var(--sg-teal);
}

.sg-fprod__img-box {
    width: 100%; 
    aspect-ratio: 1; 
    overflow: hidden;
    margin-bottom: 8px;
    background: #fff;
}

.sg-fprod__img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sg-fprod__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--sg-charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.sg-fprod__pts { 
    font-size: 15px; 
    color: var(--sg-teal); 
    font-weight: 800; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sg-fprod__icon { width: 14px !important; height: 14px !important; }

.sg-fprod__btn {
    margin-top: 8px;
    padding: 10px;
    font-size: 13px;
}

/* ── Tier Cards ─── */
/* ── Tier Slider ─── */
.sg-tier-slider {
    position: relative;
}

.sg-tier-track {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px; /* prevent clipping of card shadows */
}

.sg-tier-track::-webkit-scrollbar { display: none; }

/* On desktop: 3 cards fill the row naturally */
.sg-tier {
    flex: 0 0 calc((100% - clamp(16px, 2vw, 24px) * 2) / 3);
    scroll-snap-align: center;
    background: #fff;
    border-radius: var(--sg-radius);
    overflow: hidden;
    border: 1px solid var(--sg-border);
    transition: border-color 0.2s ease;
    min-width: 0;
}

.sg-tier:hover {
    border-color: var(--sg-teal);
}

/* On tablet: show ~1.1 cards to hint at scrollability */
@media (max-width: 900px) {
    .sg-tier {
        flex: 0 0 calc(80% - 12px);
    }
}

@media (max-width: 600px) {
    .sg-tier {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
}

.sg-tier__head { padding: 40px 24px; text-align: center; border-bottom: 1px solid var(--sg-border); background: #fafafa; }
.sg-tier__name { font-size: 28px; font-weight: 800; margin-bottom: 8px; display: block; }
.sg-tier__req { font-size: 14px; color: var(--sg-text-muted); font-weight: 600; display: block; }

.sg-tier__body { padding: 32px 24px; }
.sg-tier__body li { font-size: 14px; padding: 10px 0; padding-left: 24px; position: relative; color: var(--sg-text); line-height: 1.4; }
.sg-tier__body li::before { content: '•'; position: absolute; left: 0; color: var(--sg-teal); font-weight: 900; font-size: 20px; top: 6px; }

.sg-tier__bday { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sg-border); margin-bottom: 12px; font-size: 14px; color: var(--sg-text-muted); }
.sg-tier__bday strong { color: var(--sg-teal); font-weight: 700; }

/* Controls */
.sg-tier-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.sg-tier-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--sg-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--sg-charcoal);
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s;
}

.sg-tier-btn:hover {
    border-color: var(--sg-teal);
    color: var(--sg-teal);
}

.sg-tier-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sg-tier-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.sg-tier-dot--active {
    background: var(--sg-teal);
    transform: scale(1.3);
}

/* Hide controls on desktop where all cards are visible */
@media (min-width: 901px) {
    .sg-tier-controls { display: none; }
}

/* Active tier highlight (logged-in view) */
.sg-tier--active {
    border-color: var(--sg-teal) !important;
    box-shadow: 0 0 0 2px rgba(14,113,108,0.15);
}

.sg-tier__current-badge {
    display: inline-block;
    background: var(--sg-teal);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
}

/* Dashboard tabs anchor offset */
#slr-dashboard-tabs {
    scroll-margin-top: 80px;
    padding-top: 48px;
}

/* Dashboard section heading */
#slr-dashboard-tabs .sd-tabs {
    border-top: 1px solid #e9ecef;
}



.sg-container {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ── FAQ Section ─── */
/* ── FAQ Section ─── */
.sg-faq-section {
    padding: 80px 0 100px;
    background: #fff;
}

/* Two-part header */
.sg-faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.sg-faq__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--sg-teal);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.sg-faq__title {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

/* Accordion list — no card, just dividers */
.sg-faq {
    max-width: 780px;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-top: 1px solid #e5e5e5;
}

.sg-faq__item {
    border-bottom: 1px solid #e5e5e5;
    background: transparent;
}

.slr-faq__question {
    width: 100%;
    padding: 24px 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0;
}

.slr-faq__question:hover {
    color: var(--sg-teal);
}

/* Chevron icon */
.slr-faq__question::after {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.25s ease;
}

.slr-faq__question[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.slr-faq__question[aria-expanded="true"] {
    color: var(--sg-teal);
}

.slr-faq__answer {
    display: none;
    padding: 0 0 24px;
}

.slr-faq__answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.slr-faq__answer.slr-open {
    display: block;
}



/* ── Final CTA ─── */
.sg-final-section {
    padding: clamp(48px, 7vw, 100px) 0;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 0;
}

.sg-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--sg-teal);
    z-index: -1;
}

.sg-final { 
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sg-final h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; margin-bottom: 16px; color: #fff; letter-spacing: -0.02em; overflow-wrap: break-word; }
.sg-final p { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.sg-final .sg-btn { background: #fff; color: var(--sg-teal); }
.sg-final .sg-btn:hover { background: var(--sg-mint); color: var(--sg-teal); }

/* ── Mobile Sticky CTA ── */
.sg-sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 15px rgba(0,0,0,0.12);
    z-index: 100; display: none; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--sg-border);
}

.sg-sticky-cta.is-active { display: flex; }

/* ── Responsive ─── */
/* Grids now use auto-fill minmax() — no breakpoints needed for grid columns. */
/* Typography uses clamp() — no breakpoints needed for type. */
/* Only page-level structural changes remain here. */

/* Stack hero buttons on narrow screens */
@media (max-width: 500px) {
    .sg-hero__actions {
        flex-direction: column;
        width: 100%;
    }
    .sg-hero__actions .sg-btn {
        width: 100%;
        justify-content: center;
    }
    .sg-container {
        padding-inline: 16px;
    }
}

/* Anchor scroll offset for sticky header (adjust 80px to actual header height) */
#slr-earn, #slr-products, #slr-tiers, #slr-faq {
    scroll-margin-top: 80px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .slr-faq__question::after {
        transition: none;
    }
    .sg-way, .sg-fprod, .sg-tier {
        transition: none;
    }
}

/* Touch device: larger tap targets, remove hover-only border effects */
@media (hover: none) {
    .sg-way:hover,
    .sg-fprod:hover,
    .sg-tier:hover {
        border-color: var(--sg-border);
    }
    .slr-faq__question:hover {
        color: #1a1a1a;
    }
}

/* Ultra-wide: prevent content from stretching too far */
@media (min-width: 1920px) {
    .sg-container {
        max-width: 1440px;
    }
}

.sg-reveal { opacity: 1 !important; transform: none !important; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD v3 — Award-winning
   ═══════════════════════════════════════════════════════════ */

.sd { max-width: 1330px; margin: 0 auto; padding: 0 20px; font-family: 'Inter', -apple-system, sans-serif; }

/* ── Hero Bento ─── */
.sd-hero {
    display: grid; grid-template-columns: 1fr 300px; grid-template-rows: auto auto;
    gap: 12px; margin-bottom: 8px;
}
.sd-hero__wallet {
    grid-column: 1; grid-row: 1 / 3; padding: 36px 32px;
    background: linear-gradient(135deg, #0d3d3a 0%, #10847E 60%, #1aada5 100%);
    border-radius: 16px; color: #fff; position: relative; overflow: hidden;
}
.sd-hero__wallet::after {
    content: ''; position: absolute; top: -40%; right: -20%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(253,182,2,.15) 0%, transparent 70%);
}
.sd-hero__wallet-top { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; position: relative; z-index: 1; }
.sd-hero__logo { filter: brightness(10); }
.sd-hero__wallet-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.sd-hero__balance {
    font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
    margin-bottom: 6px; position: relative; z-index: 1;
}
.sd-hero__cash { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 24px; position: relative; z-index: 1; }
.sd-hero__cash strong { color: #FDB602; }
.sd-hero__wallet-actions { display: flex; gap: 8px; position: relative; z-index: 1; }
.sd-hero__pending {
    position: absolute; top: 16px; right: 16px;
    font-size: 11px; background: rgba(253,182,2,.2); color: #FDB602;
    padding: 3px 10px; border-radius: 4px; font-weight: 600; z-index: 1;
}

.sd-hero__tier {
    grid-column: 2; grid-row: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #f8f9fa; border-radius: 16px; padding: 20px;
    min-width: 0; overflow: hidden;
}
.sd-hero__ring-wrap { position: relative; width: 90px !important; height: 90px !important; min-width: 90px; max-width: 90px; margin-bottom: 10px; }
.sd-hero__ring { width: 90px !important; height: 90px !important; max-width: 90px !important; display: block; }
.sd-hero__ring-fill { transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1); }
.sd-hero__ring-inner {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.sd-hero__ring-pct { font-size: 20px; font-weight: 800; color: var(--slr-charcoal); }
.sd-hero__tier-info { text-align: center; }
.sd-hero__tier-name { display: block; font-size: 14px; font-weight: 700; color: var(--slr-charcoal); }
.sd-hero__tier-sub { font-size: 11px; color: #6c757d; }

.sd-hero__quick { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 8px; }
.sd-quick {
    background: #fff; border: 1px solid #e9ecef; border-radius: 12px;
    padding: 14px 16px; text-decoration: none; color: inherit; display: block;
}
.sd-quick--accent { background: #fffbeb; border-color: rgba(253,182,2,.2); }
.sd-quick__label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #6c757d; font-weight: 700; margin-bottom: 4px; }
.sd-quick__value { display: block; font-size: 15px; font-weight: 700; color: var(--slr-charcoal); }
.sd-quick__desc { display: block; font-size: 13px; color: #495057; margin-bottom: 4px; }
.sd-quick__bar { height: 3px; background: #e9ecef; border-radius: 2px; margin: 8px 0 4px; overflow: hidden; }
.sd-quick__bar > div { height: 100%; background: linear-gradient(90deg, #10847E, #FDB602); border-radius: 2px; }
.sd-quick__hint { font-size: 10px; color: #6c757d; }

/* ── CTAs ─── */
.sd-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
    font-family: inherit; cursor: pointer; text-decoration: none; border: none;
    transition: opacity 150ms ease;
}
.sd-cta:hover { opacity: .85; }
.sd-cta--light { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(4px); }
.sd-cta--light:hover { background: rgba(255,255,255,.25); }
.sd-cta--ghost { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); }
.sd-cta--small { padding: 7px 14px; font-size: 12px; background: var(--slr-teal); color: #fff; }
.sd-cta--small:hover { background: #0d6f6a; }
.sd-cta--block { display: block; width: 100%; text-align: center; }
.sd-link { font-size: 13px; font-weight: 600; color: var(--slr-teal); text-decoration: none; background: none; border: none; cursor: pointer; font-family: inherit; }
.sd-link:hover { text-decoration: underline; }
.sd-muted { font-size: 12px; color: #6c757d; }

/* ── Tabs with ink ─── */
.sd-tabs {
    display: flex; gap: 0; border-bottom: 1px solid #e9ecef;
    position: sticky; top: 0; z-index: 50; background: #fff;
    overflow-x: auto; scrollbar-width: none;
    position: relative;
    justify-content: center;
}
.sd-tabs::-webkit-scrollbar { display: none; }
.sd-tabs__link {
    padding: 20px 24px; font-size: 14px; font-weight: 600;
    color: #adb5bd; text-decoration: none; white-space: nowrap;
    font-family: inherit; transition: color 200ms ease;
}
.sd-tabs__link:hover { color: #495057; }
.sd-tabs__link--on { color: var(--slr-charcoal); }
.sd-tabs__ink {
    position: absolute; bottom: 0; height: 2px;
    background: var(--slr-teal); border-radius: 2px 2px 0 0;
    transition: left 300ms cubic-bezier(.4,0,.2,1), width 300ms cubic-bezier(.4,0,.2,1);
}

/* ── Panes ─── */
.sd-pane { display: none; padding: 40px 24px 60px; }
.sd-pane--on { display: block; }
.sd-heading { font-size: 16px; font-weight: 700; color: var(--slr-charcoal); margin: 0 0 20px; }

/* ── Tags ─── */
.sd-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.sd-tag--processing { background: #fff3cd; color: #856404; }
.sd-tag--completed { background: #d4edda; color: #155724; }
.sd-tag--on-hold,.sd-tag--pending { background: #e9ecef; color: #495057; }
.sd-tag--cancelled,.sd-tag--refunded { background: #f8d7da; color: #721c24; }
.sd-tag--shipped { background: #cce5ff; color: #004085; }
.sd-tag--available { background: #d4edda; color: #155724; }
.sd-tag--redeemed { background: #cce5ff; color: #004085; }
.sd-tag--reversed,.sd-tag--expired { background: #f8d7da; color: #721c24; }

/* ── Bento (overview) ─── */
.sd-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.sd-bento__card { background: #f2f6f5; border-radius: 16px; padding: 32px 28px; text-align: center; }
.sd-bento__card--wide { grid-column: 1 / -1; }
.sd-bento__card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #6c757d; font-weight: 700; margin: 0 0 18px; }
.sd-earn-row { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; font-size: 16px; color: #495057; }
.sd-earn-row__mult { font-size: 32px; font-weight: 800; color: var(--slr-teal); min-width: 60px; }
.sd-stat { display: flex; flex-direction: column; align-items: center; }
.sd-stat__num { font-size: 38px; font-weight: 800; color: var(--slr-charcoal); letter-spacing: -.02em; }
.sd-stat__label { font-size: 12px; color: #6c757d; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ── Rewards ─── */
.sd-rewards { border-top: 1px solid #e9ecef; }
.sd-rw { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f1f3f5; }
.sd-rw__info strong { font-size: 14px; display: block; margin-bottom: 2px; }
.sd-rw__cost { font-size: 12px; color: #6c757d; display: inline-flex; align-items: center; gap: 4px; }
.sd-rw__lock { font-size: 12px; color: #adb5bd; }
.sd-prodgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sd-prod { border: 1px solid #e9ecef; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sd-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sd-prod__name { font-size: 12px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-prod__pts { font-size: 11px; color: var(--slr-teal); font-weight: 700; }

/* ── Orders ─── */
.sd-order { border: 1px solid #e9ecef; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.sd-order__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #f8f9fa; border-bottom: 1px solid #e9ecef; }
.sd-order__id { font-size: 14px; font-weight: 700; }
.sd-order__head time { font-size: 12px; color: #6c757d; margin-left: 10px; }
.sd-order__items { padding: 14px 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.sd-order__item { display: flex; align-items: center; gap: 10px; }
.sd-order__item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; border: 1px solid #e9ecef; }
.sd-order__item-name { font-size: 13px; display: block; }
.sd-order__item-qty { font-size: 11px; color: #6c757d; }
.sd-order__foot { display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-top: 1px solid #e9ecef; font-size: 13px; }
.sd-order__total { font-weight: 700; }
.sd-order__pts { color: #FDB602; font-weight: 700; font-size: 12px; }

/* ── Tracking ─── */
.sd-track { border: 1px solid #e9ecef; border-radius: 12px; padding: 20px; margin-bottom: 12px; }
.sd-track__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sd-track__carrier { font-size: 12px; color: #6c757d; margin: 0 0 16px; }
.sd-timeline { display: flex; margin-bottom: 16px; }
.sd-timeline__step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.sd-timeline__dot { width: 10px; height: 10px; border-radius: 50%; background: #dee2e6; position: relative; z-index: 2; }
.is-done .sd-timeline__dot { background: var(--slr-teal); }
.is-now .sd-timeline__dot { background: #fff; border: 3px solid var(--slr-teal); box-shadow: 0 0 0 3px rgba(16,132,126,.12); }
.sd-timeline__step span { font-size: 10px; color: #adb5bd; text-align: center; }
.is-done span,.is-now span { color: var(--slr-charcoal); font-weight: 600; }
.sd-timeline__step:not(:last-child)::after { content:''; position: absolute; top: 5px; left: 50%; width: 100%; height: 2px; background: #dee2e6; z-index: 1; }
.is-done:not(:last-child)::after { background: var(--slr-teal); }

/* ── Buy Again ─── */
.sd-bagrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sd-bacard { border: 1px solid #e9ecef; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sd-bacard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sd-bacard__name { font-size: 12px; font-weight: 500; color: var(--slr-charcoal); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-bacard__name:hover { color: var(--slr-teal); }
.sd-bacard__row { display: flex; justify-content: space-between; align-items: center; }
.sd-bacard__price { font-size: 14px; font-weight: 700; }
.sd-bacard__pts { font-size: 11px; color: var(--slr-teal); font-weight: 600; }

/* ── Activity Ledger ─── */
.sd-ledger { width: 100%; border-collapse: collapse; }
.sd-ledger thead { border-bottom: 2px solid #212529; }
.sd-ledger th { text-align: left; padding: 10px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #6c757d; font-weight: 700; }
.sd-ledger td { padding: 11px 12px; border-bottom: 1px solid #f1f3f5; font-size: 13px; }
.sd-ledger__pts { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }
.is-earn { color: var(--slr-teal); }
.is-burn { color: #dc3545; }
.sd-ledger__date { color: #6c757d; font-size: 12px; }

/* ── Account ─── */
.sd-accgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sd-accbox { padding: 18px; border: 1px solid #e9ecef; border-radius: 12px; }
.sd-accbox h4 { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #6c757d; font-weight: 700; margin: 0 0 12px; }
.sd-accbox dl { margin: 0; }
.sd-accbox dt { font-size: 11px; color: #adb5bd; margin-top: 8px; }
.sd-accbox dt:first-of-type { margin-top: 0; }
.sd-accbox dd { font-size: 14px; font-weight: 600; color: var(--slr-charcoal); margin: 2px 0 0; }
.sd-accbox p { font-size: 13px; color: #495057; margin: 0 0 10px; }
.sd-ref { display: flex; align-items: center; gap: 8px; background: #f8f9fa; padding: 10px 14px; border-radius: 8px; }
.sd-ref code { flex: 1; font-size: 16px; font-weight: 800; color: var(--slr-teal); letter-spacing: .06em; background: none; }
.sd-bday { display: flex; gap: 6px; align-items: center; }
.sd-bday select { padding: 7px 10px; border: 1px solid #ced4da; border-radius: 6px; font-size: 13px; }
.sd-nil { text-align: center; padding: 44px 20px; color: #6c757d; }
.sd-nil p { margin: 0 0 14px; }

/* ── Responsive ─── */
@media (max-width: 768px) {
    .sd-hero { grid-template-columns: 1fr; }
    .sd-hero__wallet { grid-row: auto; }
    .sd-hero__balance { font-size: 40px; }
    .sd-hero__quick { flex-direction: row; overflow-x: auto; }
    .sd-quick { min-width: 200px; flex-shrink: 0; }
    .sd-bento { grid-template-columns: 1fr; }
    .sd-prodgrid { grid-template-columns: repeat(2, 1fr); }
    .sd-bagrid { grid-template-columns: repeat(2, 1fr); }
    .sd-accgrid { grid-template-columns: 1fr; }
    .sd-order__items { flex-direction: column; }
    .sd-order__foot { flex-wrap: wrap; }
    .sd-tabs__link { padding: 14px 14px; font-size: 12px; }
    .sd-ledger th, .sd-ledger td { padding: 8px 8px; font-size: 12px; }
}


