/* =========================================================
   ALT LIGHTS PAGE STYLES (alt.html)
   Namespaced with "alt-" prefix, mirrors site theme
   ========================================================= */
:root {
    --alt-red: #ed3038;
    --alt-red-dark: #c91f27;
    --alt-dark: #17171a;
    --alt-text: #333333;
    --alt-muted: #6b6b6b;
    --alt-border: #e7e7e7;
    --alt-soft: #f7f7f7;
    --alt-white: #ffffff;
}

/* ---------- Banner ---------- */
.alt-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    padding: 70px 20px;
    background-image: url("../images/hero-banner-alt-new.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    text-align: center;
}
.alt-banner-inner { max-width: 760px; }
.alt-banner-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid var(--alt-red);
    border-radius: 30px;
    color: var(--alt-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.alt-banner-inner h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: .5px;
}
.alt-banner-inner p {
    margin: 0;
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- Overview ---------- */
.alt-overview-section { padding: 45px 0 35px; background: #fff; }
.alt-overview-section p {
    max-width: 900px;
    margin: 0 auto 26px;
    color: #4b4b4b;
    font-size: 15px;
    line-height: 1.85;
    text-align: center;
}
.alt-highlight-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.alt-highlight-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--alt-border);
    border-radius: 30px;
    background: var(--alt-soft);
    color: var(--alt-dark);
    font-size: 13px;
    font-weight: 600;
}
.alt-highlight-row i { color: var(--alt-red); }

/* ---------- Section title ---------- */
.alt-section-title {
    margin: 0 0 25px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}
.alt-section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--alt-red);
}

/* ---------- Catalog layout ---------- */
.alt-products-page { padding: 40px 0 55px; background: #fbfbfb; }
.alt-catalog-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- Filter sidebar ---------- */
.alt-filter-sidebar {
    position: sticky;
    top: 20px;
    padding: 22px 18px;
    border: 1px solid var(--alt-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.07);
}
.alt-filter-sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--alt-red);
}
.alt-filter-sidebar-head i { color: var(--alt-red); font-size: 20px; }
.alt-filter-sidebar-head h2 { margin: 0; font-size: 20px; }
.alt-filter-list {
    max-height: 620px;
    overflow-y: auto;
    padding-right: 4px;
}
.alt-filter-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 8px;
    padding: 11px 12px;
    border: 1px solid #ececec;
    border-radius: 7px;
    background: #fafafa;
    color: #2d2d2d;
    font-size: 13px;
    text-align: left;
    transition: .2s;
    cursor: pointer;
}
.alt-filter-button i { color: var(--alt-red); width: 16px; text-align: center; }
.alt-filter-button:hover,
.alt-filter-button:focus,
.alt-filter-button.active {
    border-color: var(--alt-red);
    background: var(--alt-red);
    color: #fff;
}
.alt-filter-button:hover i,
.alt-filter-button:focus i,
.alt-filter-button.active i { color: #fff; }
.alt-result-count {
    margin: 14px 0 0;
    color: var(--alt-muted);
    font-size: 12px;
    text-align: center;
}

/* ---------- Category blocks ---------- */
.alt-category-block {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--alt-border);
    scroll-margin-top: 90px;
}
.alt-category-block:last-child { border-bottom: none; margin-bottom: 0; }
.alt-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
    color: var(--alt-dark);
    font-size: 22px;
    font-weight: 700;
}
.alt-category-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--alt-red);
    color: #fff;
    font-size: 16px;
}
.alt-category-desc {
    margin: 0 0 22px;
    color: var(--alt-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 900px;
}

/* ---------- Spec card grid ---------- */
.alt-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.alt-spec-card {
    position: relative;
    overflow: hidden;
    padding: 0 18px 44px;
    border: 1px solid #e8e8e8;
    border-left: 4px solid var(--alt-red);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    transition: .2s;
    cursor: pointer;
}
.alt-spec-card:hover,
.alt-spec-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,.1);
    outline: none;
}
.alt-spec-card:after {
    content: "View Details \2192";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    color: var(--alt-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}
.alt-spec-photo {
    width: calc(100% + 36px);
    height: 168px;
    margin: 0 -18px 14px;
    overflow: hidden;
    background: #101010;
}
.alt-spec-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .35s;
}
.alt-spec-card:hover .alt-spec-photo img {
    transform: scale(1.06);
}
.alt-spec-card h4 {
    margin: 0 0 6px;
    color: var(--alt-dark);
    font-size: 16px;
    font-weight: 700;
}
.alt-spec-card > p {
    margin: 0 0 10px;
    color: var(--alt-red-dark);
    font-size: 13px;
    font-weight: 600;
}
.alt-spec-card > ul {
    display: none;
}
.alt-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 20px;
    background: var(--alt-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    vertical-align: middle;
}

.alt-empty-state { padding: 44px 20px; text-align: center; }
.alt-empty-state i { font-size: 30px; color: var(--alt-muted); margin-bottom: 10px; display: block; }

/* ---------- Co-Brand Partners ---------- */
.alt-cobrand-section { padding: 55px 0; background: #101012; }
.alt-cobrand-section .alt-section-title { color: #fff; }
.alt-cobrand-intro {
    max-width: 820px;
    margin: 0 auto 34px;
    color: #b9b9bd;
    font-size: 14.5px;
    line-height: 1.8;
    text-align: center;
}
.alt-cobrand-groups {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}
.alt-cobrand-group {
    padding: 18px 14px;
    border: 1px solid #2c2c30;
    border-radius: 8px;
    background: #18181b;
    text-align: center;
}
.alt-cobrand-group h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}
.alt-cobrand-group h4 i { display: block; margin-bottom: 8px; color: var(--alt-red); font-size: 20px; }
.alt-cobrand-group p { margin: 0; color: #9a9aa0; font-size: 12px; line-height: 1.6; }
/* ---------- Logo slider ---------- */
.alt-logo-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 6px 0;
}
.alt-logo-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    white-space: nowrap;
}
.alt-logo-track-left { animation: alt-scroll-left 32s linear infinite; }
.alt-logo-track-right { animation: alt-scroll-right 32s linear infinite; margin-top: 20px; }
.alt-logo-slider:hover .alt-logo-track { animation-play-state: paused; }
.alt-logo-chip {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 78px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.alt-logo-chip img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.alt-logo-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    pointer-events: none;
    z-index: 2;
}
.alt-logo-fade-left { left: 0; background: linear-gradient(to right, #101012, transparent); }
.alt-logo-fade-right { right: 0; background: linear-gradient(to left, #101012, transparent); }

@keyframes alt-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes alt-scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ---------- Why choose / feature cards ---------- */
.alt-benefit-section { padding: 55px 0; background: #f8f8f8; }
.alt-faq-section { padding: 55px 0; background: #fff; }
.alt-equal-row { display: flex; flex-wrap: wrap; }
.alt-feature-card {
    height: 100%;
    margin-bottom: 24px;
    padding: 26px 24px;
    border: 1px solid #e9e9e9;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border-radius: 6px;
}
.alt-feature-card i {
    display: block;
    margin-bottom: 14px;
    color: var(--alt-red);
    font-size: 30px;
}
.alt-feature-card h3 { margin: 0 0 10px; font-size: 18px; }
.alt-feature-card p { margin: 0; color: #666; font-size: 13.5px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.alt-faq-section .panel-heading { padding: 0; background: #fff; }
.alt-faq-section .panel-title a {
    position: relative;
    display: block;
    padding: 17px 48px 17px 18px;
    color: #202020;
    text-decoration: none;
}
.alt-faq-section .panel-title a:after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    color: var(--alt-red);
    font-size: 22px;
    transform: translateY(-50%);
}
.alt-faq-section .panel-title a:not(.collapsed):after { content: "\2212"; }

/* ---------- Product detail popup ---------- */
body.alt-modal-open { overflow: hidden; }
.alt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10,10,12,.72);
}
.alt-modal-overlay.active { display: flex; }
.alt-modal {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.alt-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    line-height: 1;
    cursor: pointer;
}
.alt-modal-close i {
    display: block;
    font-size: 15px;
}
.alt-modal-close:hover { background: var(--alt-red); }
.alt-modal-photo {
    flex: 0 0 42%;
    max-width: 42%;
    min-height: 260px;
    background: #101010;
}
.alt-modal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.alt-modal-body { flex: 1; padding: 28px 26px; overflow-y: auto; max-height: 88vh; }
.alt-modal-body h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: var(--alt-dark); }
.alt-modal-tagline { margin: 0 0 16px; color: var(--alt-red-dark); font-size: 14px; font-weight: 600; }
.alt-modal-specs { margin: 0 0 26px; padding-left: 20px; color: #555; font-size: 14px; line-height: 2; }
.alt-modal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.alt-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .2s;
}
.alt-modal-btn-quote { background: #25D366; color: #fff; }
.alt-modal-btn-quote:hover { background: #1ebc59; color: #fff; }
.alt-modal-btn-contact { background: var(--alt-dark); color: #fff; }
.alt-modal-btn-contact:hover { background: var(--alt-red); color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
    .alt-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alt-cobrand-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .alt-catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
    .alt-banner { min-height: 400px; }
    .alt-banner-inner h1 { font-size: 32px; }
    .alt-cobrand-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alt-modal { max-width: 620px; }
}

@media (max-width: 767px) {
    .alt-banner {
        min-height: 340px;
        padding: 50px 16px;
        background-image: url("../images/hero-banner-alt-new.png");
        background-position: center 30%;
    }
    .alt-banner-inner h1 { font-size: 26px; }
    .alt-banner-inner p { font-size: 13.5px; }
    .alt-catalog-layout { display: block; padding: 0 12px; }
    .alt-filter-sidebar { position: static; margin-bottom: 22px; }
    .alt-filter-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        gap: 8px;
    }
    .alt-spec-grid { grid-template-columns: 1fr; }
    .alt-section-title { font-size: 24px; }
    .alt-category-title { font-size: 19px; }
    .alt-highlight-row span { font-size: 12px; padding: 8px 14px; }
    .alt-cobrand-groups { grid-template-columns: 1fr 1fr; }
    .alt-logo-chip { width: 118px; height: 62px; padding: 10px 14px; }
    .alt-logo-track { gap: 16px; }
    .alt-logo-track-right { margin-top: 14px; }
    .alt-logo-fade { width: 50px; }

    .alt-modal-overlay { padding: 0; align-items: flex-end; }
    .alt-modal {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
    }
    .alt-modal-photo {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: 42vh;
        max-height: 220px;
    }
    .alt-modal-close { top: 10px; right: 10px; }
    .alt-modal-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 20px 18px 24px;
        max-height: none;
    }
    .alt-modal-body h3 { font-size: 19px; }
    .alt-modal-tagline { font-size: 13px; }
    .alt-modal-specs { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
    .alt-modal-actions {
        position: sticky;
        bottom: 0;
        flex-direction: column;
        margin: 16px -18px -24px;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        box-shadow: 0 -8px 16px rgba(0,0,0,.06);
    }
    .alt-modal-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .alt-filter-list { grid-template-columns: 1fr; }
    .alt-banner-inner h1 { font-size: 22px; }
    .alt-cobrand-groups { grid-template-columns: 1fr; }
}
