/* ============================================================
   PRODUCTS PAGE — products.css
   ============================================================ */

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

/* ─── SIDEBAR ─────────────────────────────────────────────────── */
.products-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.products-sidebar h3 {
    padding: 20px 24px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    padding: 8px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    flex-shrink: 0;
}

.sidebar-link:hover {
    color: var(--primary);
    background: rgba(10, 61, 98, 0.04);
    border-left-color: var(--primary);
}

.sidebar-link.active {
    color: var(--primary);
    background: rgba(10, 61, 98, 0.07);
    border-left-color: var(--accent);
    font-weight: 600;
}

.sidebar-link.active i {
    color: var(--accent);
}

.sidebar-cta {
    margin: 8px;
    padding: 20px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    color: white;
    text-align: center;
    font-size: 0.88rem;
}

.sidebar-cta i {
    font-size: 1.8rem;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.sidebar-cta strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* ─── PRODUCT SECTIONS ───────────────────────────────────────── */
.prod-section {
    scroll-margin-top: calc(var(--header-h) + 32px);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.prod-section:last-of-type {
    border-bottom: none;
}

.prod-section-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.prod-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(10, 61, 98, 0.25);
}

.prod-section-header h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.prod-section-header p {
    font-size: 0.95rem;
    color: var(--text-mid);
}

.prod-img-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 28px;
    height: 220px;
    box-shadow: var(--shadow-sm);
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prod-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.prod-feature-card {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.prod-feature-card:hover {
    border-color: var(--accent);
    background: rgba(240, 165, 0, 0.04);
    box-shadow: var(--shadow-sm);
}

.prod-feature-card>i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.prod-feature-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.prod-feature-card p {
    font-size: 0.83rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ─── QUOTE CTA ──────────────────────────────────────────────── */
.products-quote-cta {
    display: flex;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    margin-top: 48px;
    color: white;
    flex-wrap: wrap;
}

.products-quote-cta>i {
    font-size: 2.4rem;
    color: var(--accent);
    flex-shrink: 0;
}

.products-quote-cta>div {
    flex: 1;
    min-width: 200px;
}

.products-quote-cta h3 {
    color: white;
    margin-bottom: 6px;
}

.products-quote-cta p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: relative;
        top: auto;
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .products-sidebar h3 {
        display: none;
    }

    .sidebar-nav {
        display: flex;
        padding: 8px;
        flex-wrap: nowrap;
    }

    .sidebar-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 16px;
    }

    .sidebar-link:hover,
    .sidebar-link.active {
        border-left: none;
        border-bottom-color: var(--accent);
    }

    .sidebar-cta {
        display: none;
    }
}

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

    .prod-section-header {
        flex-direction: column;
    }

    .products-quote-cta {
        flex-direction: column;
        text-align: center;
    }
}
/* --- DEALING BRANDS --------------------------------------------- */
.inline-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.inline-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--accent);
}

.brands {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 60px 0;
}

.brands-header {
    text-align: center;
    margin-bottom: 40px;
}

.brands-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.brands-header h2 span {
    color: var(--accent);
}

.brand-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.brand-track-container::before,
.brand-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.brand-track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.brand-track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scrollBrands 40s linear infinite reverse;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-item {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 20px));
    }
}

