/* ============================================================
   LoyaltyAV Rental — Custom Stylesheet
   Design reference: Professional AV rental (Queen City AV style)
   Framework: Bootstrap 5.3 + FontAwesome 6
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --primary:       #f4a100;   /* Gold/amber accent */
    --primary-dark:  #c17e00;
    --dark:          #0f1117;   /* Page background */
    --dark-2:        #161b26;   /* Cards */
    --dark-3:        #1e2535;   /* Header / surfaces */
    --dark-4:        #2a3248;   /* Borders / hover */
    --text:          #e2e8f0;
    --text-muted:    #8892a4;
    --white:         #ffffff;
    --success:       #22c55e;
    --radius:        10px;
    --radius-lg:     16px;
    --shadow:        0 4px 24px rgba(0,0,0,.45);
    --transition:    .2s ease;
    --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Light Mode Variables ──────────────────────────────────── */
[data-theme="light"] {
    --dark:       #f0f2f5;
    --dark-2:     #ffffff;
    --dark-3:     #e8eaed;
    --dark-4:     #ced4da;
    --text:       #1a1d23;
    --text-muted: #6c757d;
    --white:      #1a1d23;
    --shadow:     0 4px 24px rgba(0,0,0,.08);
}

[data-theme="light"] .hero-section {
    background:
        linear-gradient(135deg, rgba(240,242,245,.98) 0%, rgba(232,234,237,.95) 100%),
        url('/images/hero-bg.jpg') center/cover no-repeat;
}

[data-theme="light"] .hero-section::before {
    background: radial-gradient(ellipse at 70% 50%, rgba(244,161,0,.06) 0%, transparent 70%);
}

[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #e8eaed, #f0f2f5);
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

[data-theme="light"] .navbar-toggler-icon {
    filter: invert(1);
}

[data-theme="light"] .spec-table tr:hover td,
[data-theme="light"] .spec-table tr:hover th {
    background: rgba(0,0,0,.03);
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffd166; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { color: var(--white); font-weight: 700; }

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dark-3);
    border-bottom: 1px solid var(--dark-4);
    box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.site-header .navbar {
    padding: .75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--white) !important;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.3px;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.1rem;
}

.brand-accent { color: var(--primary); }

.site-header .nav-link {
    color: var(--text) !important;
    font-size: .9rem;
    font-weight: 500;
    padding: .5rem .9rem !important;
    border-radius: 6px;
    transition: all var(--transition);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--primary) !important;
    background: rgba(244,161,0,.08);
}

.site-header .dropdown-menu {
    background: var(--dark-3);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 220px;
    padding: .5rem;
}

.site-header .dropdown-item {
    color: var(--text);
    border-radius: 6px;
    font-size: .875rem;
    padding: .5rem .9rem;
    transition: all var(--transition);
}

.site-header .dropdown-item:hover {
    background: rgba(244,161,0,.1);
    color: var(--primary);
}

.site-header .dropdown-divider {
    border-color: var(--dark-4);
    margin: .25rem .5rem;
}

/* ── Rentals Mega Menu ─────────────────────────────────────────── */
.mega-nav-item { position: static; }

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-3);
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--dark-4);
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    z-index: 999;
    padding: 2rem 0 1.5rem;
}

.mega-menu.mega-open { display: block; }

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.75rem 2rem;
}

.mega-col-title {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: .95rem;
    color: var(--primary) !important;
    text-decoration: none;
    margin-bottom: .65rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--dark-4);
    transition: color var(--transition);
}
.mega-col-title:hover { color: var(--white) !important; }

.mega-links { list-style: none; padding: 0; margin: 0; }
.mega-links li + li { margin-top: .1rem; }
.mega-links a {
    color: var(--text);
    font-size: .82rem;
    text-decoration: none;
    display: block;
    padding: .28rem 0;
    transition: color var(--transition);
}
.mega-links a:hover { color: var(--primary); }
.mega-links a i { font-size: .65rem; opacity: .7; }

.mega-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-4);
}

/* ── All-Categories page cards ─────────────────────────────── */
.all-cat-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    height: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.all-cat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(244,161,0,.12);
}
.all-cat-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .85rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--dark-4);
}
.all-cat-header a { color: inherit; text-decoration: none; }
.all-cat-header a:hover { color: var(--white); }
.all-cat-links { list-style: none; padding: 0; margin: 0; }
.all-cat-links li + li { margin-top: .2rem; }
.all-cat-links a {
    color: var(--text);
    font-size: .85rem;
    text-decoration: none;
    display: block;
    padding: .25rem 0;
    transition: color var(--transition);
}
.all-cat-links a:hover { color: var(--primary); }
.all-cat-links i { font-size: .65rem; opacity: .7; }

/* Quote button */
.btn-quote {
    background: var(--primary);
    color: #000;
    font-weight: 600;
    font-size: .875rem;
    padding: .5rem 1.1rem;
    border-radius: 8px;
    border: none;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.btn-quote:hover { background: #ffd166; color: #000; transform: translateY(-1px); }

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--dark-3);
}

/* ── MAIN CONTENT ──────────────────────────────────────────── */
.site-main { flex: 1; }

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
    position: relative;
    background:
        linear-gradient(135deg, rgba(10,12,18,.78) 0%, rgba(15,20,32,.65) 60%, rgba(10,12,18,.55) 100%),
        url('/images/hero-bg.jpg') center 40%/cover no-repeat;
    padding: 4rem 0 3.5rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(244,161,0,.12) 0%, transparent 65%);
}

[data-theme="light"] .hero-section {
    background:
        linear-gradient(135deg, rgba(10,12,18,.72) 0%, rgba(15,20,32,.60) 60%, rgba(10,12,18,.50) 100%),
        url('/images/hero-bg.jpg') center 40%/cover no-repeat !important;
}

.hero-overlay { display: none; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(244,161,0,.15);
    border: 1px solid rgba(244,161,0,.3);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    padding: .35rem .9rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin: .75rem 0 1.25rem;
    letter-spacing: -.5px;
    color: #fff !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.82) !important;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 { color: #fff !important; }

.hero-actions .btn { border-radius: 10px; }

/* ── USP STRIP ─────────────────────────────────────────────── */
.usp-strip {
    background: var(--dark-3);
    border-bottom: 1px solid var(--dark-4);
}

.usp-row { text-align: center; }

.usp-item {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-right: 1px solid var(--dark-4);
    transition: all var(--transition);
}

.usp-item:last-child { border-right: none; }
.usp-item:hover { color: var(--primary); }

.usp-item i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* ── SECTION UTILITIES ─────────────────────────────────────── */
.section-padded { padding: 4.5rem 0; }

.section-header .section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.3px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ── CATEGORY CARDS (homepage) ─────────────────────────────── */
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: all .25s ease;
    cursor: pointer;
    text-decoration: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244,161,0,.04), transparent);
    opacity: 0;
    transition: opacity .25s;
}

.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(244,161,0,.15);
}

.cat-card:hover::before { opacity: 1; }

.cat-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(244,161,0,.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all var(--transition);
}

.cat-card:hover .cat-card-icon {
    background: rgba(244,161,0,.22);
    transform: scale(1.08);
}

.cat-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .5rem;
}

.cat-card-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: .75rem;
    flex: 1;
}

.cat-card-sub-count {
    font-size: .75rem;
    color: var(--primary);
    font-weight: 600;
}

.cat-card-arrow {
    margin-top: 1rem;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: all var(--transition);
}

.cat-card:hover .cat-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-step {
    padding: 2rem 1.5rem;
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.how-step-num {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(244,161,0,.06);
    line-height: 1;
    user-select: none;
}

.how-step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.how-step-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.how-step-desc  { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #1a1f2e, #232938);
    border-top: 1px solid var(--dark-4);
    border-bottom: 1px solid var(--dark-4);
    padding: 5rem 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.cta-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ── PAGE BANNER (image header) ────────────────────────────── */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,12,18,.72) 0%, rgba(15,20,32,.55) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 .4rem;
    letter-spacing: -.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.page-banner-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

/* Search icon-only nav link */
.nav-search-icon {
    padding: .5rem .65rem !important;
    font-size: 1rem;
}

/* ── OUR WORK gallery ─────────────────────────────────────────── */
.our-work-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.our-work-card:hover {
    transform: translateY(-3px);
    border-color: rgba(244,161,0,.5);
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
[data-theme="light"] .our-work-card {
    background: #fff;
    border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .our-work-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.our-work-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-3);
}
.our-work-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.our-work-card:hover .our-work-img-wrap img {
    transform: scale(1.04);
}

.our-work-caption {
    padding: .9rem 1rem 1.1rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

/* ── PAGE HEADER ───────────────────────────────────────────── */
.page-header {
    background: var(--dark-3);
    border-bottom: 1px solid var(--dark-4);
    padding: 2.5rem 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.page-subtitle { color: var(--text-muted); margin: 0; }
.page-subtitle strong { color: var(--text); font-weight: 600; }

.page-title-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 1.85rem;
    padding: 0 .65rem;
    margin-left: .65rem;
    background: rgba(244, 161, 0, .14);
    color: var(--primary);
    border: 1px solid rgba(244, 161, 0, .35);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    vertical-align: middle;
}

.page-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(244,161,0,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
    content: "›";
}

.breadcrumb-light .breadcrumb-item a {
    color: var(--text-muted);
    font-size: .85rem;
}

.breadcrumb-light .breadcrumb-item.active {
    color: var(--text);
    font-size: .85rem;
}

/* ── CATEGORY MENU STRIP ───────────────────────────────────── */
.category-menu-strip {
    background: var(--dark-3);
    border-bottom: 1px solid var(--dark-4);
    padding: .75rem 0;
}

.category-menu-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-bottom: 2px;
}

@media (max-width: 576px) {
    .category-menu-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .category-menu-scroll::-webkit-scrollbar { height: 4px; }
    .category-menu-scroll::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 2px; }
}

.cat-menu-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
    padding: .45rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}

.cat-menu-item:hover { color: var(--primary); background: rgba(244,161,0,.07); }

.cat-menu-item.active {
    color: #000;
    background: var(--primary);
    border-color: var(--primary);
}

.cat-count {
    background: rgba(255,255,255,.15);
    border-radius: 12px;
    font-size: .7rem;
    padding: .1rem .45rem;
}

.cat-menu-item.active .cat-count {
    background: rgba(0,0,0,.2);
}

/* ── SUBCATEGORY CARDS ─────────────────────────────────────── */
.subcat-card {
    display: flex;
    align-items: center;
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    padding: .85rem 1.1rem;
    text-decoration: none;
    transition: all var(--transition);
    gap: .5rem;
}

.subcat-card:hover {
    border-color: var(--primary);
    background: rgba(244,161,0,.05);
    transform: translateX(3px);
}

.subcat-name {
    flex: 1;
    color: var(--text);
    font-weight: 500;
    font-size: .9rem;
}

.subcat-count {
    font-size: .75rem;
    color: var(--text-muted);
    background: var(--dark-4);
    padding: .15rem .5rem;
    border-radius: 8px;
}

.subcat-arrow { color: var(--primary); opacity: .5; font-size: .75rem; }

/* ── PRODUCT GRID ──────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* ── PRODUCT CARD ──────────────────────────────────────────── */
.product-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
    position: relative;
}

.product-card:hover {
    border-color: rgba(244,161,0,.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

.product-card.in-quote {
    border-color: var(--success);
}

.product-card-img-link {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-3);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .5rem;
    transition: transform .35s ease;
}

.product-card:hover .product-card-img { transform: scale(1.04); }

.product-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-3);
}

.badge-unavailable {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.7);
    color: var(--text-muted);
    font-size: .7rem;
    padding: .25rem .6rem;
    border-radius: 6px;
    font-weight: 600;
}

.badge-in-quote {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success);
    color: #fff;
    font-size: .7rem;
    padding: .25rem .6rem;
    border-radius: 6px;
    font-weight: 600;
}

.product-card-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-cat {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: .4rem;
}

.product-card-name {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .3rem;
    line-height: 1.35;
}

.product-card-name a {
    color: var(--white);
    text-decoration: none;
}

.product-card-name a:hover { color: var(--primary); }

.product-card-brand {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.product-card-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: .75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    margin-top: auto;
}

.product-card-price { display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }

.price-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.price-unit {
    font-size: .8rem;
    color: var(--text-muted);
}

.price-weekly {
    font-size: .75rem;
    color: var(--text-muted);
    margin-left: auto;
    background: var(--dark-4);
    padding: .1rem .45rem;
    border-radius: 5px;
}

/* ── PRODUCT DETAIL ────────────────────────────────────────── */
.product-gallery {}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-2);
    aspect-ratio: 4/3;
    margin-bottom: .75rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.gallery-thumbs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--dark-4);
    cursor: pointer;
    padding: 0;
    background: none;
    transition: all var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-img-placeholder {
    aspect-ratio: 4/3;
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-cat { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: .75rem; }
.product-detail-cat a { color: var(--primary); }

.product-detail-name {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.product-detail-brand { color: var(--text-muted); margin-bottom: .25rem; font-size: .9rem; }
.product-detail-sku   { margin-bottom: .75rem; }

.product-detail-pricing {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    margin: 1.25rem 0;
}

.pricing-daily { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .25rem; }

.price-big {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.price-period { font-size: 1rem; color: var(--text-muted); }

.pricing-weekly { font-size: .9rem; }

.detail-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .75rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--dark-4);
}

.product-description-html { color: var(--text); line-height: 1.7; }
.product-description-html h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.5rem 0 .65rem;
}
.product-description-html h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.1rem 0 .5rem;
}
.product-description-html p { margin-bottom: 1rem; }
.product-description-html ul {
    margin: 0 0 1rem 0;
    padding-left: 1.25rem;
}
.product-description-html li { margin-bottom: .3rem; }
.product-description-html strong { color: var(--text); font-weight: 600; }
.product-description-html a { color: var(--primary); }
.product-description-html a:hover { text-decoration: underline; }
.product-description-html blockquote {
    border-left: 3px solid var(--primary);
    padding: .25rem 0 .25rem 1rem;
    color: var(--text-muted);
    margin: 1rem 0;
}
.product-description-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.product-description-html th,
.product-description-html td {
    border: 1px solid var(--dark-4);
    padding: .5rem .75rem;
    text-align: left;
}
.product-description-html thead th { background: var(--dark-3); }

.spec-table { color: var(--text); font-size: .875rem; }
.spec-table th { color: var(--text-muted); font-weight: 600; width: 40%; padding: .5rem .75rem; border-color: var(--dark-4); }
.spec-table td { padding: .5rem .75rem; border-color: var(--dark-4); }
.spec-table tr:hover td, .spec-table tr:hover th { background: rgba(255,255,255,.03); }

/* ── QUOTE SIDEBAR ─────────────────────────────────────────── */
.quote-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    backdrop-filter: blur(2px);
}

.quote-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.quote-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 95vw;
    background: var(--dark-2);
    border-left: 1px solid var(--dark-4);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,.5);
}

.quote-sidebar.open { transform: translateX(0); }

.qs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--dark-4);
    background: var(--dark-3);
    flex-shrink: 0;
}

.qs-header h5 { font-size: 1rem; color: var(--white); }

.qs-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--dark-4) transparent;
}

.qs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    height: 100%;
}

.qs-items { list-style: none; padding: 0; margin: 0; }

.qs-item {
    display: flex;
    gap: .85rem;
    padding: .85rem;
    background: var(--dark-3);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    margin-bottom: .6rem;
    position: relative;
}

.qs-item-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--dark-4);
}

.qs-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.qs-item-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qs-item-info { flex: 1; min-width: 0; }

.qs-item-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qs-item-price { font-size: .75rem; }

.qs-item-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    align-items: flex-end;
}

.qs-field {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    flex: 1 1 110px;
    min-width: 0;
}

.qs-field-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    margin: 0;
}

.qs-stepper {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--dark-4);
    border-radius: 6px;
    overflow: hidden;
    background: var(--dark-3);
    height: 30px;
}
[data-theme="light"] .qs-stepper {
    background: #fff;
    border-color: rgba(0,0,0,.15);
}

.qs-stepper-btn {
    width: 28px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    padding: 0;
    line-height: 1;
    transition: all var(--transition);
}
.qs-stepper-btn:hover:not(:disabled) { background: rgba(244,161,0,.15); color: var(--primary); }
.qs-stepper-btn:disabled { opacity: .35; cursor: not-allowed; }

.qs-stepper-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid var(--dark-4);
    border-right: 1px solid var(--dark-4);
    background: transparent;
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    padding: 0 .15rem;
    -moz-appearance: textfield;
}
[data-theme="light"] .qs-stepper-input { color: #1a1d23; border-color: rgba(0,0,0,.1); }
.qs-stepper-input::-webkit-outer-spin-button,
.qs-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qs-stepper-input:focus { outline: none; background: rgba(244,161,0,.08); }

.qs-item-remove {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: .25rem;
    border-radius: 4px;
    transition: all var(--transition);
    font-size: .9rem;
}

.qs-item-remove:hover { color: #ef4444; background: rgba(239,68,68,.1); }

.qs-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem .85rem;
    border-top: 1px solid var(--dark-4);
    margin-top: .5rem;
}

.qs-footer {
    padding: 1rem;
    border-top: 1px solid var(--dark-4);
    background: var(--dark-3);
    flex-shrink: 0;
}

/* Floating quote FAB */
.quote-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(244,161,0,.45);
    transition: all var(--transition);
    animation: fabPop .3s cubic-bezier(.175,.885,.32,1.275);
}

.quote-fab:hover { background: #ffd166; transform: scale(1.08); }

.quote-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--dark);
}

@keyframes fabPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ── QUOTE PAGE ────────────────────────────────────────────── */
.quote-form-card,
.quote-summary-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.quote-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-4);
}

/* Form inputs dark theme */
.form-control, .form-select {
    background: var(--dark-3) !important;
    border-color: var(--dark-4) !important;
    color: var(--text) !important;
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(244,161,0,.15) !important;
}

.form-control::placeholder { color: var(--text-muted) !important; }

.form-label { font-size: .85rem; font-weight: 500; color: var(--text-muted); margin-bottom: .35rem; }

.quote-summary-list { list-style: none; padding: 0; margin: 0; }

.quote-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
    border-bottom: 1px solid var(--dark-4);
}

.qsi-name { font-size: .875rem; font-weight: 600; }
.qsi-detail { font-size: .78rem; }
.qsi-actions { display: flex; align-items: center; }
.qsi-total { font-size: .9rem; }

.quote-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0;
    margin-top: .5rem;
}

/* Quote success */
.quote-success {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 560px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1.5rem;
    animation: successPop .5s cubic-bezier(.175,.885,.32,1.275);
}

@keyframes successPop {
    from { transform: scale(0) rotate(-30deg); }
    to   { transform: scale(1) rotate(0); }
}

/* ── SEARCH PAGE ───────────────────────────────────────────── */
.search-bar-row {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

/* ── SKELETON LOADING ──────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--dark-3) 25%, var(--dark-4) 50%, var(--dark-3) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

.cat-card-skeleton   { height: 220px; }
.product-card-skeleton { height: 340px; }

@keyframes shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark-3);
    border-top: 1px solid var(--dark-4);
    padding: 3.5rem 0 1.5rem;
    margin-top: auto;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.footer-heading {
    color: var(--primary);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: .5rem; }
.footer-links a  { color: var(--text-muted); font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { color: var(--text-muted); font-size: .875rem; margin-bottom: .6rem; }
.footer-contact i  { color: var(--primary); }

.footer-divider { border-color: var(--dark-4); margin: 2rem 0 1.5rem; }

.social-links { display: flex; gap: .75rem; justify-content: flex-end; }
.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-4);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.social-links a:hover { background: var(--primary); color: #000; }

/* ── CONTACT PAGE ──────────────────────────────────────────── */
.contact-form-card,
.contact-info-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
}

.contact-form-title,
.contact-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--dark-4);
}

.contact-field-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: .4rem;
}

.contact-required { color: #ef4444; }

.contact-field-error {
    font-size: .75rem;
    color: #ef4444;
    margin-top: .3rem;
}

.contact-field-hint {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: .3rem;
}

.contact-form-error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.3);
    border-radius: var(--radius);
    color: #fca5a5;
    padding: .65rem .9rem;
    font-size: .85rem;
    margin-bottom: 1.1rem;
}

.contact-phone-row {
    display: flex;
    gap: .5rem;
}

.contact-country-select {
    width: 105px !important;
    flex-shrink: 0;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

.contact-submit-btn {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: .75rem;
}

/* Underline-only input style */
.contact-underline {
    border: none !important;
    border-bottom: 1px solid var(--dark-4) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
}

.contact-underline:focus {
    border-bottom-color: var(--primary) !important;
    box-shadow: none !important;
}

.contact-underline.is-invalid {
    border-bottom-color: #ef4444 !important;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    background: rgba(244,161,0,.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: .9rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    margin-bottom: .15rem;
}

.contact-info-value {
    font-size: .9rem;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

a.contact-info-value:hover { color: var(--primary); }

.contact-success {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

/* ── ABOUT PAGE ────────────────────────────────────────────── */
.about-intro-heading {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-top: 1rem;
}

.about-service-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.about-service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 28px rgba(244,161,0,.12);
}

.about-service-icon {
    width: 54px;
    height: 54px;
    background: rgba(244,161,0,.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.about-service-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .6rem;
}

.about-service-desc {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.about-service-link {
    font-size: .825rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
    transition: color var(--transition);
}

.about-service-link:hover { color: #ffd166; }

.about-value-section {
    background: var(--dark-3);
    border-top: 1px solid var(--dark-4);
    border-bottom: 1px solid var(--dark-4);
    padding: 4rem 0;
}

.about-value-icon {
    width: 80px;
    height: 80px;
    background: rgba(244,161,0,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto;
}

.about-value-heading {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: .75rem;
    color: var(--white);
}

.about-value-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.about-savings-badge {
    background: rgba(244,161,0,.12);
    border: 2px solid rgba(244,161,0,.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: inline-block;
}

.about-savings-pct {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.about-savings-label {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: .35rem;
    line-height: 1.4;
}

/* ── THEME TOGGLE BUTTON ───────────────────────────────────── */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--dark-4);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: .9rem;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: rgba(244,161,0,.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* ── UTILITIES ─────────────────────────────────────────────── */

/* Override Bootstrap text-muted to use our theme-aware variable */
.text-muted { color: var(--text-muted) !important; }

.btn-warning {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000;
    font-weight: 600;
}

.btn-warning:hover, .btn-warning:focus {
    background-color: #ffd166;
    border-color: #ffd166;
    color: #000;
}

.text-warning { color: var(--primary) !important; }

/* Bootstrap dark overrides */
.bg-body-secondary { background: var(--dark-3) !important; }
.border-top        { border-color: var(--dark-4) !important; }

/* Input group dark */
.input-group-text {
    background: var(--dark-3);
    border-color: var(--dark-4);
    color: var(--text-muted);
}

/* Checkbox */
.form-check-input {
    background-color: var(--dark-3);
    border-color: var(--dark-4);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Alert dark */
.alert-info {
    background: rgba(59,130,246,.1);
    border-color: rgba(59,130,246,.3);
    color: #93c5fd;
}

.alert-danger {
    background: rgba(239,68,68,.1);
    border-color: rgba(239,68,68,.3);
    color: #fca5a5;
}

/* Table dark */
.table { color: var(--text); }
.table > :not(caption) > * > * { background: transparent; }

/* ── STOCK CALENDAR ─────────────────────────────────────────── */
.stock-calendar {
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: 12px;
    padding: 1rem 1.1rem 1.15rem;
}
[data-theme="light"] .stock-calendar {
    background: #fff;
    border-color: rgba(0,0,0,.12);
}

.sc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: .72rem;
    color: var(--text-muted);
    margin-bottom: .9rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--dark-4);
}
[data-theme="light"] .sc-legend { border-color: rgba(0,0,0,.08); }
.sc-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: .25rem;
    vertical-align: -2px;
}
.sc-swatch.sc-avail   { background: rgba(34,197,94,.35);  border: 1px solid rgba(34,197,94,.55); }
.sc-swatch.sc-limited { background: rgba(245,158,11,.35); border: 1px solid rgba(245,158,11,.55); }
.sc-swatch.sc-full    { background: rgba(239,68,68,.35);  border: 1px solid rgba(239,68,68,.55); }
.sc-swatch.sc-sel     { background: var(--primary); }

.sc-loading {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .875rem;
}

.sc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.sc-month {}

.sc-header {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
    margin-bottom: .6rem;
}

.sc-nav {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--dark-4);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .75rem;
    transition: all .15s;
}
.sc-nav:hover { color: var(--primary); border-color: var(--primary); }
.sc-nav-placeholder { border-color: transparent; pointer-events: none; }
[data-theme="light"] .sc-nav { border-color: rgba(0,0,0,.12); }

.sc-title {
    font-weight: 700;
    font-size: .95rem;
    text-align: center;
    color: var(--white);
}
[data-theme="light"] .sc-title { color: #1a1d23; }

.sc-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    text-align: center;
    padding: .35rem 0;
}

.sc-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.sc-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid transparent;
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: all .12s;
    padding: 0;
    position: relative;
}
[data-theme="light"] .sc-day { color: #1a1d23; }

.sc-day.sc-blank { cursor: default; pointer-events: none; }

.sc-day.sc-avail   { background: rgba(34,197,94,.12);  border-color: rgba(34,197,94,.25); }
.sc-day.sc-avail:hover { background: rgba(34,197,94,.25); border-color: rgba(34,197,94,.6); }

.sc-day.sc-limited { background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.3);  color: #fbbf24; }
.sc-day.sc-limited:hover { background: rgba(245,158,11,.3); border-color: rgba(245,158,11,.6); }

.sc-day.sc-full,
.sc-day.sc-past {
    background: rgba(239,68,68,.08);
    border-color: rgba(239,68,68,.15);
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: .55;
}
.sc-day.sc-past {
    background: transparent;
    border-color: transparent;
    text-decoration: none;
}

.sc-day.sc-in-range {
    background: rgba(244,161,0,.22) !important;
    border-color: rgba(244,161,0,.45) !important;
    color: var(--white) !important;
}
[data-theme="light"] .sc-day.sc-in-range { color: #1a1d23 !important; }

.sc-day.sc-range-start,
.sc-day.sc-range-end {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(244,161,0,.35);
}

.sc-summary {
    margin-top: 1rem;
    padding: .7rem .9rem;
    background: rgba(244,161,0,.08);
    border: 1px solid rgba(244,161,0,.25);
    border-radius: 8px;
    font-size: .85rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.sc-summary-hint {
    background: var(--dark-3);
    border-color: var(--dark-4);
    color: var(--text-muted);
}
[data-theme="light"] .sc-summary-hint {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
}

.sc-clear {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--dark-4);
    color: var(--text-muted);
    font-size: .72rem;
    padding: .25rem .55rem;
    border-radius: 6px;
    cursor: pointer;
}
.sc-clear:hover { color: #ef4444; border-color: #ef4444; }

@media (max-width: 640px) {
    .sc-grid { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section   { padding: 3.5rem 0 3rem; }
    .section-padded { padding: 3rem 0; }
    .product-grid   { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
    .quote-sidebar  { width: 100%; }
    .usp-item       { padding: 1rem .5rem; font-size: .78rem; }
    .how-step       { padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .price-amount { font-size: 1.2rem; }
}

/* ── Pagination & Results bar (shared) ────────────────────── */
.qc-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .9rem 1.1rem;
    margin-bottom: 1.5rem;
    background: var(--dark-2);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
}

.qc-results-summary {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.qc-results-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 1.75rem;
    padding: 0 .55rem;
    background: rgba(244, 161, 0, .14);
    color: var(--primary);
    border: 1px solid rgba(244, 161, 0, .35);
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
}

.qc-results-label { color: var(--text); }
.qc-results-label strong { color: var(--primary); font-weight: 600; }

.qc-results-empty { color: var(--text-muted); font-style: italic; }

.qc-results-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--dark-4);
    margin: 0 .55rem;
    vertical-align: middle;
}

.qc-results-range { color: var(--text-muted); font-size: .85rem; }
.qc-results-range strong { color: var(--text); font-weight: 600; }

.qc-page-size {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.qc-page-size-label {
    margin: 0;
    font-size: .8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.qc-page-size-group {
    display: inline-flex;
    background: var(--dark);
    border: 1px solid var(--dark-4);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.qc-page-size-btn {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 500;
    padding: .35rem .7rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    min-width: 2.5rem;
}

.qc-page-size-btn:hover {
    color: var(--text);
    background: var(--dark-3);
}

.qc-page-size-btn.is-active {
    background: var(--primary);
    color: #1a1d23;
    font-weight: 700;
}

.qc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.qc-page-numbers {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: 0 .25rem;
}

.qc-page-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .8rem;
    background: var(--dark-2);
    color: var(--text);
    border: 1px solid var(--dark-4);
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition),
                border-color var(--transition), color var(--transition),
                box-shadow var(--transition);
    line-height: 1;
}

.qc-page-btn:hover:not(:disabled):not(.is-active) {
    background: var(--dark-3);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.qc-page-btn:active:not(:disabled) { transform: translateY(0); }

.qc-page-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.qc-page-num { padding: 0; }

.qc-page-num.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #1a1d23;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(244, 161, 0, .35);
    cursor: default;
}

.qc-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 2.5rem;
    color: var(--text-muted);
    user-select: none;
}

.qc-page-nav-label { font-size: .85rem; }

.qc-pagination-meta {
    text-align: center;
    margin-top: .9rem;
    font-size: .82rem;
    color: var(--text-muted);
}
.qc-pagination-meta strong { color: var(--text); font-weight: 600; }

@media (max-width: 576px) {
    .qc-page-nav-label { display: none; }
    .qc-page-edge { display: none; }
    .qc-page-btn {
        min-width: 2.25rem;
        height: 2.25rem;
        padding: 0 .55rem;
        font-size: .85rem;
    }
    .qc-results-bar { padding: .7rem .85rem; }
    .qc-page-size-label { display: none; }
}

/* ── View All button (Featured Equipment, etc.) ───────────── */
.view-all-btn {
    gap: .55rem;
    padding: .5rem 1.1rem;
    font-weight: 600;
    line-height: 1;
    border-width: 1px;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), box-shadow var(--transition);
}

.view-all-btn .view-all-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    line-height: 1;
    height: 1em;
    position: relative;
    top: 1px;
    transition: transform var(--transition);
}

.view-all-btn:hover .view-all-arrow,
.view-all-btn:focus .view-all-arrow {
    transform: translateX(3px);
}
