/* ═══════════════════════════════════════════════════════
   Product storefront styles — v2 Redesign
   Loaded only on /s/ routes via @push('styles')
   ═══════════════════════════════════════════════════════ */

/* ─── Base tokens ─── */
:root {
    --sb-bg: #f7f6f3;
    --sb-card: #ffffff;
    --sb-text: #0f172a;
    --sb-text2: #475569;
    --sb-text3: #94a3b8;
    --sb-border: #e2e8f0;
    --sb-border-light: #f1f5f9;
}

/* ─── Page background (warmer than v1) ─── */
.v2-storefront-bg {
    background-color: var(--sb-bg) !important;
}

/* ═══════════════════════════════════════════════════════
   Student photo with glow ring (shared)
   ═══════════════════════════════════════════════════════ */
.student-photo-ring {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--team-pri), var(--team-dark));
    padding: 4px;
    display: inline-flex;
    flex-shrink: 0;
    box-sizing: border-box;
}
.student-photo-ring-inner {
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.student-photo-ring-inner img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}
.student-photo-ring--xl {
    width: 180px;
    height: 180px;
}
.student-photo-ring--lg {
    width: 150px;
    height: 150px;
}
.student-photo-ring--md {
    width: 72px;
    height: 72px;
}
@media (max-width: 991px) {
    .student-photo-ring--xl {
        width: 260px;
        height: 260px;
    }
    .student-photo-ring--lg {
        width: 130px;
        height: 130px;
    }
    .student-photo-ring--md {
        width: 56px;
        height: 56px;
    }
}

/* v2 glow effect on photo ring */
.v2-student-photo-ring {
    box-shadow: 0 0 30px 4px var(--team-glow), 0 0 60px 8px rgba(var(--team-glow), 0.1);
}


/* ═══════════════════════════════════════════════════════
   V2 Hero Banner
   ═══════════════════════════════════════════════════════ */
.v2-hero-banner {
    background: linear-gradient(160deg, #080c16 0%, #111827 50%, #0f1623 100%);
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 991px) {
    .v2-hero-banner {
        padding: 32px 16px 40px;
    }
}

/* Decorative radial glows */
.v2-hero-glow-primary {
    position: absolute;
    top: -20%;
    left: 18%;
    transform: translate(-50%, 0);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--team-glow) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}
.v2-hero-glow-secondary {
    position: absolute;
    bottom: -30%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,0,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}
@media (max-width: 991px) {
    .v2-hero-glow-primary {
        top: -10%;
        left: 50%;
        width: 400px;
        height: 400px;
    }
}

.v2-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
@media (max-width: 991px) {
    .v2-hero-inner {
        padding: 0;
    }
}

.v2-hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 44px;
}
@media (max-width: 991px) {
    .v2-hero-layout {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
}

/* Photo column */
.v2-hero-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.v2-hero-photo-name {
    margin-top: 14px;
    text-align: center;
}
.v2-hero-photo-name-text {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 991px) {
    .v2-hero-photo-name-text {
        font-size: 17px;
    }
}
.v2-hero-photo-team {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 3px;
}

/* Info column */
.v2-hero-info {
    flex: 1;
    min-width: 0;
}
@media (max-width: 991px) {
    .v2-hero-info {
        text-align: center;
        width: 100%;
    }
}
.v2-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
@media (max-width: 991px) {
    .v2-hero-title {
        font-size: 28px;
    }
}
.v2-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
@media (max-width: 991px) {
    .v2-hero-meta {
        justify-content: center;
    }
}
.v2-hero-meta-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.v2-hero-meta-dot {
    color: rgba(255,255,255,0.2);
}
.v2-hero-story {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 0 28px;
    max-width: 520px;
}
.v2-hero-story * {
    color: inherit !important;
}
@media (max-width: 991px) {
    .v2-hero-story {
        max-width: 100%;
    }
}

/* Progress bar (inside hero) */
.v2-hero-progress {
    margin-bottom: 28px;
    max-width: 500px;
}
@media (max-width: 991px) {
    .v2-hero-progress {
        max-width: 100%;
    }
}
.v2-hero-progress-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .v2-hero-progress-header {
        justify-content: center;
    }
}
.v2-hero-progress-raised {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
@media (max-width: 991px) {
    .v2-hero-progress-raised {
        font-size: 32px;
    }
}
.v2-hero-progress-label {
    font-size: 15px;
    color: rgba(255,255,255,0.4);
    align-self: flex-end;
    padding-bottom: 4px;
}
.v2-goal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(5,150,105,0.2);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(52,211,153,0.2);
}
.v2-hero-progress-goal {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
}
@media (max-width: 991px) {
    .v2-hero-progress-goal {
        text-align: center;
    }
}
.v2-hero-progress-bar {
    height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}
.v2-hero-progress-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--team-pri), var(--team-dark));
    width: 0%;
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 16px var(--team-glow), 0 2px 4px var(--team-glow);
}
.v2-hero-progress-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* CTA buttons */
.v2-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .v2-hero-actions {
        justify-content: center;
    }
}
.v2-hero-btn-primary {
    height: 48px;
    padding: 0 28px;
    border-radius: 12px;
    border: none;
    background: var(--team-pri);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--team-glow);
    transition: background 0.15s ease;
}
.v2-hero-btn-primary:hover {
    background: var(--team-dark);
    color: #fff;
}
.v2-hero-btn-share {
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.15s ease;
}
.v2-hero-btn-share:hover {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
}


/* ═══════════════════════════════════════════════════════
   V2 Activity Strip
   ═══════════════════════════════════════════════════════ */
.v2-activity-strip {
    background: var(--team-light);
    border-bottom: 1px solid var(--team-border);
    padding: 10px 24px;
}
@media (max-width: 991px) {
    .v2-activity-strip {
        padding: 10px 16px;
    }
}
.v2-activity-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--team-dark);
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .v2-activity-strip-inner {
        justify-content: center;
    }
}
.v2-activity-strip-dot {
    color: var(--team-pri);
    opacity: 0.5;
}
.v2-activity-strip-latest {
    font-weight: 500;
    opacity: 0.7;
}


/* ═══════════════════════════════════════════════════════
   V2 Main Content Layout
   ═══════════════════════════════════════════════════════ */
.v2-content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}
@media (max-width: 991px) {
    .v2-content-area {
        padding: 20px 16px;
    }
}
.v2-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}
@media (max-width: 991px) {
    .v2-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.v2-main-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}
@media (max-width: 991px) {
    .v2-main-col {
        gap: 20px;
    }
}
.v2-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Mobile social proof row */
.v2-social-proof-row {
    display: none;
}
@media (max-width: 991px) {
    .v2-social-proof-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
.v2-social-proof-card {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    padding: 16px;
    text-align: center;
}
.v2-social-proof-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--sb-text);
    margin-top: 6px;
}
.v2-social-proof-meta {
    font-size: 12px;
    color: var(--sb-text3);
    margin-top: 2px;
}


/* ═══════════════════════════════════════════════════════
   V2 Category Pills
   ═══════════════════════════════════════════════════════ */
.v2-cat-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .v2-cat-pills-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .v2-cat-pills-row::-webkit-scrollbar {
        display: none;
    }
}
.v2-cat-pills-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
@media (max-width: 991px) {
    .v2-cat-pills-wrap {
        flex-wrap: nowrap;
    }
}
.v2-cat-pill {
    height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    border: 2px solid var(--sb-border);
    background: var(--sb-card);
    color: var(--sb-text2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.v2-cat-pill:hover {
    border-color: #cbd5e1;
}
.v2-cat-pill.active {
    border-color: var(--team-pri);
    background: var(--team-light);
    color: var(--team-pri);
    font-weight: 700;
}
.v2-cat-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.v2-cat-pill-count {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 6px;
    background: var(--sb-border-light);
    color: var(--sb-text3);
}
.v2-cat-pill.active .v2-cat-pill-count {
    background: var(--team-pri);
    color: #fff;
}

/* Category search input */
.v2-cat-search {
    height: 38px;
    width: 200px;
    border-radius: 10px;
    border: 1px solid var(--sb-border);
    background: #f8fafc;
    padding: 0 12px 0 36px;
    font-size: 13px;
    font-family: inherit;
    color: var(--sb-text);
    outline: none;
    transition: border-color 0.15s ease;
}
.v2-cat-search:focus {
    border-color: var(--team-pri);
}
.v2-cat-search-wrap {
    position: relative;
    flex-shrink: 0;
}
@media (max-width: 991px) {
    .v2-cat-search-wrap {
        display: none;
    }
}
.v2-cat-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Section headings */
.v2-section-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--sb-text);
}
@media (max-width: 991px) {
    .v2-section-heading {
        font-size: 20px;
    }
}


/* ═══════════════════════════════════════════════════════
   V2 Product Cards
   ═══════════════════════════════════════════════════════ */
.v2-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 991px) {
    .v2-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    /* Small catalogs (≤5 products, class set server-side): one full-width
       card per row on mobile — matches the full-width digital card look. */
    .v2-products-grid--single {
        grid-template-columns: 1fr;
    }
}
/* Desktop, small catalogs (≤5 products): full-width horizontal "list" cards —
   image left, details right — matching the full-width digital card's split
   layout instead of stranding one narrow card in the 3-up grid. */
@media (min-width: 992px) {
    .v2-products-grid--single {
        grid-template-columns: 1fr;
    }
    .v2-products-grid--single .v2-product-card:not(.v2-product-card-digital) {
        display: grid;
        grid-template-columns: 320px 1fr;
    }
    .v2-products-grid--single .v2-product-card:not(.v2-product-card-digital) .v2-product-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 28px;
    }
    .v2-products-grid--single .v2-product-card:not(.v2-product-card-digital) .v2-product-card-footer {
        justify-content: flex-start;
        gap: 20px;
    }
}
.v2-product-card {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.v2-product-card.v2-product-card-active {
    border-color: var(--team-border);
    box-shadow: 0 0 0 1px var(--team-border);
}
.v2-product-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1f5f9;
}
.v2-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.v2-product-card-body {
    padding: 14px 18px 16px;
}
@media (max-width: 991px) {
    .v2-product-card-body {
        padding: 12px 14px 14px;
    }
}
.v2-product-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v2-product-card-desc {
    font-size: 14px;
    color: var(--sb-text);
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v2-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
@media (max-width: 991px) {
    .v2-product-card-footer {
        flex-wrap: wrap;
    }
    .v2-product-card-footer .add_shopping-cart {
        flex-basis: 100%;
        text-align: center;
        margin-top: 4px;
    }
}
.v2-product-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--team-pri);
}
.v2-product-card-add {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: none;
    background: var(--team-pri);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s ease;
}
.v2-product-card-add:hover {
    background: var(--team-dark);
}

/* Digital product card (spans full grid width) */
.v2-product-card-digital {
    grid-column: 1 / -1;
}

/* Out of stock badge */
.v2-product-card-img .out-stock {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    padding: 9px;
    color: #fff;
    width: 100%;
    text-align: center;
    line-height: normal;
    background: #00000080;
}

/* Quantity stepper */
.v2-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--team-pri);
    border-radius: 8px;
    overflow: hidden;
}
.v2-qty-stepper-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--team-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.1s ease;
}
.v2-qty-stepper-btn:hover {
    background: var(--team-border);
}
.v2-qty-stepper-btn svg {
    color: var(--team-pri);
}
.v2-qty-stepper-count {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--team-pri);
    background: #fff;
}
@media (max-width: 991px) {
    .v2-qty-stepper-btn {
        width: 36px;
        height: 36px;
    }
    .v2-qty-stepper-count {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}


/* ═══════════════════════════════════════════════════════
   V2 Donation Section
   ═══════════════════════════════════════════════════════ */
.v2-donation {
    background: var(--team-light);
    border-radius: 16px;
    border: 1px solid var(--team-border);
    padding: 28px;
}
@media (max-width: 991px) {
    .v2-donation {
        padding: 24px 16px;
    }
}
.v2-donation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.v2-donation-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--team-pri);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v2-donation-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sb-text);
}
.v2-donation-subtitle {
    font-size: 12px;
    color: var(--sb-text3);
}
.v2-donation-input-wrap {
    position: relative;
    margin-bottom: 14px;
}
.v2-donation-dollar {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--sb-text3);
    pointer-events: none;
}
.v2-donation-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--sb-text3, #9ca3af);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.v2-donation-clear.is-visible {
    display: flex;
}
.v2-donation-clear:hover {
    background: var(--sb-text, #374151);
}
.v2-donation-clear:focus-visible {
    outline: 2px solid var(--team-pri);
    outline-offset: 2px;
}
.v2-donation-input-wrap.has-value .v2-donation-input {
    padding-right: 44px;
}
.v2-donation-input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 36px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--team-border);
    border-radius: 12px;
    font-family: inherit;
    background: #fff;
    color: var(--sb-text);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.v2-donation-input:focus {
    border-color: var(--team-pri);
}
.v2-donation-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.v2-donation-chip {
    height: 44px;
    border-radius: 10px;
    border: 2px solid var(--team-border);
    background: #fff;
    color: var(--sb-text);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.v2-donation-chip:hover {
    border-color: var(--team-pri);
}
.v2-donation-chip.active {
    border-color: var(--team-pri);
    background: var(--team-pri);
    color: #fff;
}
.v2-donation-add-btn {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--team-pri);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    transition: background 0.15s ease;
}
.v2-donation-add-btn:hover:not(:disabled) {
    background: var(--team-dark);
}
.v2-donation-add-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


/* ═══════════════════════════════════════════════════════
   V2 Comments Section
   ═══════════════════════════════════════════════════════ */
.v2-comments-card {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    padding: 24px 28px;
}
@media (max-width: 767px) {
    .v2-comments-card {
        padding: 20px 16px;
    }
}
.v2-comments-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--sb-text);
    margin: 0 0 18px;
}
.v2-comment-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
}
.v2-comment-item + .v2-comment-item {
    border-top: 1px solid var(--sb-border-light);
}
.v2-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--sb-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--sb-text3);
    flex-shrink: 0;
}
.v2-comment-body {
    flex: 1;
    min-width: 0;
}
.v2-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}
.v2-comment-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--sb-text);
}
.v2-comment-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--team-pri);
}
.v2-comment-text {
    font-size: 13px;
    color: var(--sb-text2);
    line-height: 1.5;
    margin: 0;
}
.v2-comment-time {
    font-size: 11px;
    color: var(--sb-text3);
    margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════
   V2 Top Supporter Card
   ═══════════════════════════════════════════════════════ */
.v2-top-supporter {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v2-top-supporter-glow {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246,192,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.v2-top-supporter-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--sb-text3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    position: relative;
}
.v2-top-supporter-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--sb-text);
    margin-bottom: 4px;
}
.v2-top-supporter-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--sb-text3);
}
.v2-top-supporter-amount {
    font-weight: 700;
    color: var(--team-pri);
}


/* ═══════════════════════════════════════════════════════
   V2 Recent Supporters Card
   ═══════════════════════════════════════════════════════ */
.v2-recent-supporters {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    padding: 20px;
}
.v2-recent-supporters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.v2-recent-supporters-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-text);
}
.v2-recent-supporters-count {
    font-size: 12px;
    color: var(--sb-text3);
    font-weight: 600;
}
.v2-supporter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
}
.v2-supporter-item + .v2-supporter-item {
    border-top: 1px solid var(--sb-border-light);
}
.v2-supporter-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--team-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--team-pri);
}
.v2-supporter-info {
    flex: 1;
    min-width: 0;
}
.v2-supporter-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--sb-text);
}
.v2-supporter-time {
    font-size: 12px;
    color: var(--sb-text3);
}
.v2-supporter-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-text);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════
   V2 Share Card
   ═══════════════════════════════════════════════════════ */
.v2-share-card {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    padding: 20px;
}
.v2-share-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: 12px;
}

/* Share card (shared partial on product storefront) */
.v2-sidebar-col .donation-sidebar-card,
.v2-main-col .donation-sidebar-card {
    background: var(--sb-card);
    border-radius: 16px;
    border: 1px solid var(--sb-border);
    padding: 20px;
}
.v2-sidebar-col .donation-sidebar-heading,
.v2-main-col .donation-sidebar-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: 14px;
}
.v2-sidebar-col .donation-share-grid,
.v2-main-col .donation-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.v2-sidebar-col .donation-share-btn,
.v2-main-col .donation-share-btn {
    min-width: 0;
    height: 52px;
    padding: 0 10px;
    border: 1px solid var(--sb-border);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.v2-sidebar-col .donation-share-btn svg,
.v2-main-col .donation-share-btn svg {
    flex-shrink: 0;
}
.v2-sidebar-col .donation-share-btn:hover,
.v2-main-col .donation-share-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
}
/* Brand-color the share icons (svg uses currentColor; this overrides the dark button color
   for the icon only, labels stay dark) so they're instantly recognizable. */
.donation-share-btn.share-email svg { color: #EA4335; }
.donation-share-btn.share-facebook svg { color: #1877F2; }
.donation-share-btn.share-whatsapp svg { color: #25D366; }
.donation-share-btn.share-x svg { color: #000000; }


/* ═══════════════════════════════════════════════════════
   V2 Cart Bar
   ═══════════════════════════════════════════════════════ */
.v2-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--sb-border);
    padding: 12px 24px;
    display: none;
}
@media (max-width: 767px) {
    .v2-cart-bar {
        padding: 10px 16px;
    }
}
.v2-cart-bar.visible {
    display: block;
}
.v2-cart-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.v2-cart-bar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.v2-cart-bar-label {
    display: block;
    font-size: 12px;
    color: var(--sb-text3);
}
.v2-cart-bar-summary {
    font-size: 16px;
    font-weight: 700;
    color: var(--sb-text);
}
.v2-cart-bar-btn {
    height: 44px;
    padding: 0 28px;
    border-radius: 10px;
    border: none;
    background: var(--team-pri);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 12px var(--team-glow);
    transition: background 0.15s ease;
}
.v2-cart-bar-btn:hover {
    background: var(--team-dark);
}


/* ═══════════════════════════════════════════════════════
   Confirmation page (product-success) — PRESERVED FROM V1
   ═══════════════════════════════════════════════════════ */
.confirmation-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}
.confirmation-success-hero {
    text-align: center;
    padding: 36px 40px;
}
@media (max-width: 767px) {
    .confirmation-success-hero {
        padding: 28px 20px;
    }
}
.confirmation-thank-you {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}
@media (max-width: 767px) {
    .confirmation-thank-you {
        font-size: 20px;
    }
}
.confirmation-message {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .confirmation-message {
        font-size: 14px;
    }
}
.confirmation-order-id {
    font-size: 13px;
    color: #94a3b8;
}
.confirmation-order-id strong {
    font-weight: 600;
    color: #0f172a;
}
.confirmation-comment-card {
    padding: 24px 28px;
}
@media (max-width: 767px) {
    .confirmation-comment-card {
        padding: 20px 16px;
    }
}
.confirmation-comment-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}
.confirmation-textarea {
    width: 100%;
    height: 90px;
    padding: 14px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    resize: none;
    outline: none;
    line-height: 1.6;
}
.confirmation-textarea:focus {
    border-color: var(--accent-pri);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.confirmation-btn-primary {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--accent-pri);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.confirmation-btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
}
.confirmation-btn-outline {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease;
}
.confirmation-btn-outline:hover {
    border-color: #cbd5e1;
    color: #475569;
}
.confirmation-order-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
@media (max-width: 767px) {
    .confirmation-order-toggle {
        padding: 16px;
    }
}
.confirmation-order-toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}
.confirmation-order-toggle-total {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.confirmation-order-chevron {
    transition: transform 0.2s ease;
    color: #94a3b8;
}
.confirmation-order-chevron.open {
    transform: rotate(180deg);
}
.confirmation-order-body {
    padding: 0 24px 20px;
    border-top: 1px solid #f1f5f9;
}
@media (max-width: 767px) {
    .confirmation-order-body {
        padding: 0 16px 16px;
    }
}
.confirmation-order-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}
.confirmation-order-row-label {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}
.confirmation-order-row-value {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}
.confirmation-order-total-row {
    border-bottom: none;
    border-top: 2px solid #e2e8f0;
    margin-top: 4px;
    padding-top: 12px;
}
.confirmation-order-total-row .confirmation-order-row-label,
.confirmation-order-total-row .confirmation-order-row-value {
    font-size: 14px;
    font-weight: 700;
}
.confirmation-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.confirmation-product-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.confirmation-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.confirmation-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}
.confirmation-product-meta {
    font-size: 11px;
    color: #94a3b8;
}
.confirmation-product-price {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-left: auto;
    flex-shrink: 0;
}

/* ═══ Vendor Selection ═══ */
.v2-vendor-selected-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    margin-bottom: 12px;
    background: var(--team-light);
    border: 1px solid var(--team-border);
    border-radius: 8px;
}
.vendor-select-btn {
    border: 1px solid #e2e8f0;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.vendor-select-btn:hover {
    border-color: var(--team-pri);
    box-shadow: 0 0 0 1px var(--team-pri);
}
