﻿

/* =========================================================
   SEARCH RESULTS HEADER
========================================================= */
.search-results-header {
    background: linear-gradient(180deg, #f0f5fb 0%, #e8eef6 100%);
    border-bottom: 1px solid #d4dce8;
    padding: 1.5rem 0 1.25rem;
}

.search-results-meta {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.search-results-icon {
    font-size: 2rem;
    color: #4a73a8;
    flex-shrink: 0;
}

.search-results-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #17263a;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.search-results-query {
    color: var(--cs-blue);
}

.search-results-count {
    font-size: 0.95rem;
    color: #5a6e85;
    font-weight: 600;
    margin: 0;
}

/* =========================================================
   LISTING PAGE
========================================================= */
.listing-section {
    padding-bottom: 2rem;
}

.listing-controls {
    border-bottom: 1px solid var(--cs-border);
    border-top: 1px solid var(--cs-border);
    background: #fff;
}

.results-count,
.sort-wrap,
.view-controls {
    min-height: 72px;
    display: flex;
    align-items: center;
}

.results-count {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0 1.25rem 0 0;
}

.sort-wrap {
    gap: 0.75rem;
    border-left: 1px solid var(--cs-border);
    border-right: 1px solid var(--cs-border);
    padding: 0 1rem;
}

    .sort-wrap label {
        font-size: 1.1rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .sort-wrap .form-select {
        max-width: 220px;
        border: none;
        box-shadow: none;
        font-size: 1rem;
    }

.view-controls {
    justify-content: flex-end;
    gap: 0;
    padding-left: 1rem;
}

.view-btn,
.text-control {
    border: 1px solid var(--cs-border);
    border-radius: 0;
    background: #fff;
    min-width: 44px;
    min-height: 38px;
    color: #526275;
    font-weight: 700;
}

    .view-btn.active {
        color: var(--cs-blue);
        background: #f4f8ff;
    }

.text-control {
    padding: 0.45rem 0.85rem;
}

.filter-sidebar {
    border-right: 1px solid var(--cs-border);
    padding: 1rem 1.25rem 0 0;
}

.filter-header {
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #edf1f4;
}

    .filter-header h2 {
        font-size: 2rem;
        font-weight: 800;
        margin: 0;
    }

.compare-link {
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    color: #f28a18;
}

.filter-group {
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #edf1f4;
}

    .filter-group h3 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 0.9rem;
        color: #1c2a3f;
    }

.form-check {
    margin-bottom: 0.65rem;
}

.form-check-input {
    border-radius: 2px;
}

.form-check-label {
    color: #465466;
    font-size: 1rem;
}

.btn-reset {
    margin-top: 1.25rem;
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    border-radius: 2px;
    border: none;
    font-weight: 800;
    padding: 0.85rem 1rem;
}

    .btn-reset:hover {
        color: #fff;
        background: var(--cs-blue-dark);
    }

.secure-card {
    margin-top: 2rem;
    border: 1px solid #dfe4ea;
    background: linear-gradient(180deg, #fbfcfe 0%, #f1f4f8 100%);
}

.secure-card-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #103a78;
    line-height: 1.15;
    padding: 1rem;
    border-bottom: 1px solid #dfe4ea;
}

.secure-list {
    padding: 1rem;
}

.secure-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #143e7b;
    font-weight: 800;
    margin-bottom: 1rem;
}

    .secure-item:last-child {
        margin-bottom: 0;
    }

    .secure-item i {
        font-size: 1.8rem;
    }

.products-wrap {
    padding-left: 1rem;
}


.product-card {
    padding: 1.2rem;
    height: 100%;
    background: #fff;
    box-shadow: none;
}

.product-image-wrap {
    position: relative;
    margin-bottom: 0.9rem;
}

.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image-link .product-image {
    transition: transform 0.4s ease;
}

.product-image-link:hover .product-image {
    transform: scale(1.06);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 40, 95, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-link:hover .product-image-overlay {
    opacity: 1;
}

.product-image-overlay span {
    background: rgba(255, 255, 255, 0.96);
    color: #0f63c9;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.5rem 1.1rem;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.product-image-link:hover .product-image-overlay span {
    transform: translateY(0);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border: 1px solid #e3e7ec;
}

.product-image-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d8dee6;
    min-width: 44px;
    padding: 0.3rem 0.55rem;
    font-weight: 800;
    color: #4a5768;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.product-seat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.6rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

    .product-seat-badge.lounger {
        background: #0f63c9;
        color: #fff;
    }

    .product-seat-badge.bench {
        background: #eef2f7;
        color: #2f3f55;
        border: 1px solid #d9e0e8;
    }

.product-model-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7787;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1c4d90;
    margin-bottom: 0.55rem;
}

.product-rating {
    margin-bottom: 0.8rem;
}

.stars {
    color: var(--cs-gold);
    letter-spacing: 1px;
    font-size: 0.95rem;
    margin-right: 0.3rem;
}

.reviews {
    color: #24508f;
    font-weight: 700;
}

.product-pricing {
    margin-bottom: 0.8rem;
}

.product-price-original {
    font-size: 0.95rem;
    font-weight: 700;
    color: #7d8896;
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-price-discounted {
    font-size: 1.2rem;
    font-weight: 900;
    color: #131f31;
}

.product-discount-badge {
    display: inline-flex;
    align-items: center;
    background: #e9f3ff;
    color: #0f4d98;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    line-height: 1;
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f4f7fb;
    border: 1px solid #e1e6ec;
    padding: 0.35rem 0.6rem;
    font-size: 0.9rem;
    color: #2f3f55;
    font-weight: 700;
    border-radius: 2px;
}

    .meta-item i {
        font-size: 0.9rem;
        color: #0f5bb7;
    }

    .meta-item strong {
        font-weight: 900;
        color: #131f31;
    }

.product-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.7rem;
}

.btn-details {
    background: linear-gradient(180deg, #0f63c9 0%, #0053b0 100%);
    color: #fff;
    border-radius: 2px;
    font-weight: 800;
    border: none;
    padding: 0.8rem 1.2rem;
    min-width: 145px;
}

    .btn-details:hover {
        color: #fff;
        background: var(--cs-blue-dark);
    }

.product-compare {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #47586b;
    margin-top: 0.5rem;
}

/* ── Compare pill button ── */
.compare-toggle {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}

    .compare-toggle input {
        display: none;
    }

.compare-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .compare-pill i {
        font-size: 0.78rem;
        transition: transform 0.25s ease;
    }

.compare-toggle:hover .compare-pill {
    border-color: #0052a6;
    color: #0052a6;
    background: #eff6ff;
    box-shadow: 0 2px 8px rgba(0,82,166,.12);
}

.compare-toggle input:checked ~ .compare-pill {
    border-color: #0052a6;
    background: #0052a6;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,82,166,.3);
    transform: scale(1.05);
}

    .compare-toggle input:checked ~ .compare-pill i {
        transform: rotate(360deg);
    }

@keyframes comparePop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.15); }
    70%  { transform: scale(0.97); }
    100% { transform: scale(1.05); }
}

.compare-toggle input:checked ~ .compare-pill {
    animation: comparePop 0.3s ease forwards;
}

.pagination-wrap {
    padding: 1.5rem 0;
}

.pagination .page-link {
    border-radius: 0;
    color: #33465e;
    border: 1px solid #dbe1e8;
    padding: 0.7rem 1rem;
    font-weight: 700;
}

.pagination .page-item.active .page-link {
    background: #cfd9ee;
    color: #12376f;
    border-color: #cfd9ee;
}

.pagination .muted-link {
    color: #8a97a8;
}

.checkout-strip {
    border-top: 1px solid #e5eaf0;
    background: linear-gradient(180deg, #f9fbfd 0%, #f3f6f9 100%);
    padding: 1rem 0 1.5rem;
}

.checkout-strip-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .checkout-strip-title .line {
        flex: 1;
        height: 1px;
        background: #cfd8e4;
    }

    .checkout-strip-title .label {
        font-size: 1.15rem;
        font-weight: 900;
        color: #0f3f81;
        white-space: nowrap;
    }

        .checkout-strip-title .label i {
            margin-right: 0.4rem;
        }

.checkout-strip-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #133f7f;
    font-weight: 800;
    font-size: 1rem;
}

    .checkout-pill i {
        font-size: 1.6rem;
    }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (min-width: 1200px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 1199.98px) {
    .nav-icon-link {
        align-items: flex-start;
    }

    .main-menu .nav-link.active::after,
    .main-menu .nav-link:hover::after {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .page-title {
        font-size: 2.35rem;
    }

    .listing-controls {
        padding: 0.75rem 0;
    }

    .results-count,
    .sort-wrap,
    .view-controls {
        min-height: auto;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .sort-wrap {
        border-left: none;
        border-right: none;
        padding-left: 0;
    }

    .view-controls {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-left: 0;
    }

    .products-wrap {
        padding-left: 0;
    }

    .product-col:nth-child(3n) {
        border-right: 1px solid var(--cs-border);
    }

    .product-col:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 2rem;
    }

    .product-col,
    .product-col:nth-child(2n),
    .product-col:nth-child(3n) {
        border-right: none;
    }

    .product-image {
        height: 220px;
    }

    .product-actions,
    .product-compare {
        justify-content: flex-start;
    }

    .checkout-strip-title {
        flex-direction: column;
        gap: 0.5rem;
    }

        .checkout-strip-title .line {
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .search-form .form-control {
        min-height: 48px;
    }

    .search-form .btn-search {
        min-width: 56px;
    }

    .results-count {
        font-size: 1rem;
    }

    .product-card {
        padding: 1rem;
    }
}


.random {
    background-color: red;
    color: green;
}