/* ═══════════════════════════════════════════════════
   Storefront — Stage Lights theme (all public pages)
   ═══════════════════════════════════════════════════ */
body.storefront {
    --primary-color: #12203a;
    --primary-gradient: linear-gradient(135deg, #f5c97a, #d97706);
    --accent-color: #d97706;
    --bg-light: #f6f1e8;
    --bg-white: #fffdf8;
    --text-main: #0c1222;
    --text-muted: #6b7288;
    --border-color: rgba(18, 32, 58, 0.1);
    --shadow-premium: 0 18px 50px rgba(12, 18, 34, 0.12);
    --primary-glow: 0 0 20px rgba(217, 119, 6, 0.28);
    --glass-border: rgba(232, 184, 109, 0.22);

    --sc-navy: #12203a;
    --sc-ink: #0c1222;
    --sc-gold: #e8b86d;
    --sc-gold-hot: #f5c97a;
    --sc-amber: #d97706;
    --sc-cream: #f6f1e8;
    --sc-paper: #fffdf8;
    --sc-muted: #6b7288;
    --sc-line: rgba(18, 32, 58, 0.1);
    --sc-copper: #9a3412;

    --bs-primary: #12203a;
    --bs-primary-rgb: 18, 32, 58;
    --bs-link-color: #9a3412;
    --bs-link-hover-color: #12203a;

    background: var(--sc-cream);
    color: var(--sc-ink);
    font-family: Inter, sans-serif;
    font-size: 17px;
    line-height: 1.55;
}
body.storefront .small { font-size: 0.925rem !important; }
body.storefront .x-small { font-size: 0.78rem !important; }

body.storefront h1, body.storefront h2, body.storefront h3,
body.storefront h4, body.storefront h5, body.storefront h6 {
    font-family: Outfit, Inter, sans-serif;
    color: var(--sc-navy);
}

.sc-page { background: var(--sc-cream); color: var(--sc-ink); }
.sc-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────── */
body.storefront .btn-primary,
body.storefront .btn-warning {
    background: linear-gradient(135deg, #f5c97a, #d97706) !important;
    border: 0 !important;
    color: #1a1206 !important;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
}
body.storefront .btn-primary:hover,
body.storefront .btn-warning:hover {
    filter: brightness(1.05);
    color: #1a1206 !important;
}
body.storefront .btn-outline-primary,
body.storefront .btn-outline-dark {
    border: 1.5px solid var(--sc-navy) !important;
    color: var(--sc-navy) !important;
    background: #fff;
    font-weight: 700;
}
body.storefront .btn-outline-primary:hover {
    background: var(--sc-navy) !important;
    color: #fff !important;
}
body.storefront .text-primary { color: var(--sc-copper) !important; }
body.storefront .bg-primary { background-color: var(--sc-navy) !important; }
body.storefront .bg-primary-soft { background: rgba(232, 184, 109, 0.18) !important; }
body.storefront .form-control:focus,
body.storefront .form-select:focus {
    border-color: var(--sc-gold) !important;
    box-shadow: 0 0 0 4px rgba(232, 184, 109, 0.22) !important;
}
body.storefront .form-check-input:checked {
    background-color: var(--sc-navy) !important;
    border-color: var(--sc-navy) !important;
}

.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.sc-btn-gold {
    background: linear-gradient(135deg, #f5c97a, #d97706);
    color: #1a1206 !important;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.25);
}
.sc-btn-gold:hover { color: #1a1206 !important; filter: brightness(1.05); }
.sc-btn-navy { background: var(--sc-navy); color: #fff !important; }
.sc-btn-navy:hover { color: #fff !important; }
.sc-btn-ghost {
    background: rgba(255,255,255,.12);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.32);
}
.sc-btn-ghost:hover { color: #fff !important; background: rgba(255,255,255,.2); }
.sc-btn-line {
    background: #fff;
    border: 1.5px solid #d6d3c8;
    color: var(--sc-navy) !important;
}

/* ── Inner page hero ─────────────────────────────── */
.sc-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: grid;
    align-items: center;
    color: #fff;
    background: #070b14;
}
.sc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .42;
}
.sc-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(7,11,20,.92) 0%, rgba(18,32,58,.55) 70%, rgba(7,11,20,.75) 100%);
}
.sc-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0 64px;
}
.sc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sc-gold-hot);
    margin-bottom: 10px;
}
.sc-hero h1 {
    font-family: Outfit, Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    color: #fffdf8 !important;
    margin: 0 0 12px;
    max-width: 720px;
}
.sc-hero h1 em {
    font-style: normal;
    color: var(--sc-gold-hot);
}
.sc-hero p {
    color: rgba(255,255,255,.78) !important;
    max-width: 540px;
    margin: 0 0 22px;
    font-size: 1.1rem;
}
.sc-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Breadcrumb ──────────────────────────────────── */
.sc-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 18px 0 0;
    margin: 0;
    font-size: 14px;
}
.sc-crumb a { color: var(--sc-copper); text-decoration: none; font-weight: 600; }
.sc-crumb .active { color: var(--sc-muted); }
.sc-crumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #c4b8a4;
}

/* ── Search ──────────────────────────────────────── */
.sc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 999px;
    padding: 5px 6px 5px 18px;
    box-shadow: 0 10px 30px rgba(18,32,58,.06);
}
.sc-search input {
    border: 0;
    outline: none;
    flex: 1;
    min-width: 0;
    background: transparent;
    height: 44px;
    font-size: 16px;
}
.sc-search button {
    height: 44px;
    padding: 0 20px;
    font-size: 15px;
    border: 0;
    border-radius: 999px;
    background: var(--sc-navy);
    color: #fff;
    font-weight: 700;
}
.sc-filter-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--sc-line);
    background: #fff;
    color: var(--sc-navy);
    position: relative;
    font-size: 18px;
}

/* ── Cards / catalog ─────────────────────────────── */
.sc-panel {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
}
.sc-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 18px;
}
.sc-cat {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line);
    border-radius: 24px;
    padding: 20px 14px 18px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}
.sc-cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); color: inherit; }
.sc-cat-disc {
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    border: 1px solid rgba(18, 32, 58, 0.08);
}
.sc-cat-disc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sc-cat h3, .sc-cat h4 { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--sc-navy) !important; line-height: 1.3; }
.sc-cat.is-on { background: var(--sc-navy); }
.sc-cat.is-on h3, .sc-cat.is-on h4 { color: #fff !important; }

.sc-rent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.col-lg-9 .sc-rent-grid { grid-template-columns: repeat(3, 1fr); }
.sc-rent {
    background: var(--sc-paper);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--sc-line);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.sc-rent:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); }
.sc-rent-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    background: #fff;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.sc-rent-media img {
    position: absolute;
    top: 46px;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 62px);
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    z-index: 0;
}
.sc-pill {
    position: absolute; top: 12px; left: 12px;
    z-index: 2;
    background: var(--sc-navy); color: #fff;
    border-radius: 999px; font-size: 12px; font-weight: 700; padding: 5px 11px;
}
.sc-pill.out { background: #6b7280; }
.sc-pill.zero { left: auto; right: 12px; background: #92400e; }
.sc-rent-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.sc-rent-body h5 {
    font-size: 1.05rem; font-weight: 700; margin: 0 0 12px; min-height: 2.6em;
    color: var(--sc-navy) !important;
}
.sc-rent-body h5 a { color: inherit !important; text-decoration: none; }
.sc-price { font-family: Outfit, Inter, sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--sc-copper); }
.sc-price small { font-size: 13px; color: var(--sc-muted); font-weight: 600; }
.sc-rent-actions { display: flex; gap: 8px; margin-top: auto; }
.sc-rent-actions .sc-btn, .sc-rent-actions .hc-btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: 14px; height: auto; }

/* ── Artist cards ────────────────────────────────── */
body.storefront .artist-card-horizontal {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line);
    border-radius: 26px;
    overflow: hidden;
}
body.storefront .artist-card-horizontal:hover {
    border-color: var(--sc-gold);
    box-shadow: var(--shadow-premium);
}
body.storefront .artist-name a,
body.storefront .artist-name { color: var(--sc-navy) !important; }
body.storefront .view-profile-btn {
    color: var(--sc-navy) !important;
    border-color: var(--sc-navy) !important;
}
body.storefront .view-profile-btn:hover {
    background: var(--sc-navy) !important;
    color: #fff !important;
}
body.storefront .current-price { color: var(--sc-copper) !important; }
body.storefront .cat-card {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line);
    border-radius: 20px;
    padding: 18px 12px;
    text-align: center;
    transition: .2s;
}
body.storefront .cat-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
body.storefront .cat-card:hover,
body.storefront .cat-card.active-border {
    border-color: var(--sc-gold);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}
body.storefront .cat-icon-wrap {
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto 14px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(18, 32, 58, 0.08);
}
body.storefront .cat-icon-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.storefront .filter-sidebar,
body.storefront .filter-sidebar-wrapper {
    background: var(--sc-paper) !important;
    border: 1px solid var(--sc-line) !important;
    border-radius: 24px !important;
}

/* ── Detail pages ────────────────────────────────── */
body.storefront .light-theme-detail,
body.storefront .page-main-wrap,
body.storefront .cart-page,
body.storefront .section-padding.bg-light,
body.storefront .section-padding.bg-white {
    background: var(--sc-cream) !important;
}
body.storefront .section-card,
body.storefront .booking-card,
body.storefront .info-card {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line);
    border-radius: 24px;
}
body.storefront .plan-card-light {
    background: #f6f1e8;
    border: 1px solid var(--sc-line);
    border-radius: 16px;
}
body.storefront .plan-card-light.active,
body.storefront .rental-tab-btn.active {
    border-color: var(--sc-gold) !important;
    background: #fff8ec !important;
    color: var(--sc-navy) !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}
body.storefront .btn-main-rent {
    background: linear-gradient(135deg, #f5c97a, #d97706) !important;
    color: #1a1206 !important;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}
body.storefront .deposit-badge {
    background: #fff8ec;
    color: #92400e;
    border-color: #f5c97a;
}
body.storefront .thumb-btn.active { border-color: var(--sc-gold) !important; }
body.storefront .share-btn:hover,
body.storefront .image-share-btn:hover { color: var(--sc-amber) !important; border-color: var(--sc-gold) !important; }

/* ── About / contact / policy restyle ────────────── */
body.storefront .about-hero-overlay,
body.storefront .page-hero-overlay,
body.storefront .policy-hero-overlay {
    background: linear-gradient(135deg, rgba(7,11,20,.9) 0%, rgba(18,32,58,.72) 55%, rgba(7,11,20,.88) 100%) !important;
}
body.storefront .about-hero-wave svg path,
body.storefront .page-hero-wave svg path,
body.storefront .policy-wave svg path { fill: #f6f1e8 !important; }
body.storefront .about-eyebrow,
body.storefront .page-hero-badge,
body.storefront .policy-badge,
body.storefront .section-eyebrow {
    color: var(--sc-amber) !important;
    background: rgba(232, 184, 109, 0.14) !important;
    border-color: rgba(232, 184, 109, 0.35) !important;
}
body.storefront .about-gradient-text,
body.storefront .page-hero-gradient,
body.storefront .gradient-text {
    background: none !important;
    -webkit-text-fill-color: #f5c97a !important;
    color: #f5c97a !important;
}
body.storefront .about-hero-title,
body.storefront .page-hero-title,
body.storefront .policy-title { color: #fffdf8 !important; }
body.storefront .about-split-section,
body.storefront .about-values-section,
body.storefront .about-timeline-section,
body.storefront .policy-content-wrapper,
body.storefront .bg-light {
    background: var(--sc-cream) !important;
}
body.storefront .about-stats-section {
    background: #101827 !important;
}
body.storefront .about-stat-card,
body.storefront .value-card,
body.storefront .timeline-content,
body.storefront .policy-card,
body.storefront .contact-info-item,
body.storefront .sticky-sidebar {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line);
    border-radius: 22px;
}
body.storefront .about-cta-banner {
    background: linear-gradient(135deg, #12203a, #0d1526) !important;
    border-radius: 28px;
}
body.storefront .sidebar-nav a.active,
body.storefront .sidebar-nav a:hover { color: var(--sc-amber) !important; }
body.storefront .policy-hero {
    background: #070b14 !important;
}
body.storefront .about-feature-icon {
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 18px;
}
body.storefront .about-feature-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}
body.storefront .about-feature-item h5 { margin: 0 0 4px; font-size: 1.08rem; }
body.storefront .about-feature-item p { margin: 0; color: var(--sc-muted); font-size: 15px; }
body.storefront .hover-primary:hover { color: #9a3412 !important; }

/* ── Cart / partner / modal ──────────────────────── */
body.storefront .cart-page .card,
body.storefront .modal-content {
    background: var(--sc-paper);
    border-radius: 24px !important;
}
body.storefront .sc-rent-media,
body.storefront .hc-rent-media { background: #fff; }
body.storefront .sc-rent-media img,
body.storefront .hc-rent-media img {
    object-fit: contain !important;
    top: 46px !important;
    height: calc(100% - 62px) !important;
    z-index: 0;
}
body.storefront .sc-pill,
body.storefront .hc-pill { z-index: 2; }
body.storefront .instrument-card {
    background: var(--sc-paper);
    border: 1px solid var(--sc-line) !important;
    border-radius: 26px !important;
    overflow: hidden;
}
body.storefront .step-indicator.active {
    background: linear-gradient(135deg, #f5c97a, #d97706) !important;
    color: #1a1206 !important;
    border-color: #d97706 !important;
}
body.storefront .block-num,
body.storefront .policy-card .block-num {
    background: #12203a !important;
    color: #f5c97a !important;
}

/* ── Empty / headings ────────────────────────────── */
.sc-head { margin-bottom: 28px; }
.sc-head h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); font-weight: 800; margin: 0 0 8px; }
.sc-head h2 em { font-style: normal; color: var(--sc-copper); }
.sc-head p { color: var(--sc-muted); margin: 0; font-size: 1.05rem; }
body.storefront .browse-section-heading { font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.35; }
body.storefront .section-eyebrow { font-size: 13px; }

/* ── Filter sidebar ─────────────────────────────── */
body.storefront .filter-sidebar-content h5 { font-size: 1.2rem !important; }
body.storefront .filter-sidebar-content .form-label { font-size: 12px !important; }
body.storefront .filter-sidebar-content .form-check-label { font-size: 15px !important; }
body.storefront .filter-sidebar-content .bg-primary-soft { padding: 8px 10px !important; }
body.storefront .filter-sidebar-content .fa-filter { font-size: 15px !important; }
body.storefront .custom-radio .form-check-input { width: 1.2em; height: 1.2em; }
body.storefront .custom-mini-switch .form-check-input { width: 2.4em; height: 1.2em; }

@media (max-width: 991.98px) {
    .sc-rent-grid, .col-lg-9 .sc-rent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sc-hero-inner { padding: 52px 0 44px; }
    .sc-rent-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sc-rent-body h5 { min-height: 0; font-size: .95rem; }
    .sc-cat h3, .sc-cat h4 { font-size: .95rem; }
}
