 .compare-page {
    
    background: #f5f5f7;
    min-height: 100vh;
    padding: 32px 16px;
    color: #1a1a2e;
}

.compare-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

/* ── TOP PANEL ── */
.compare-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
    padding: 32px 28px 0 28px;
    align-items: center;
}

.compare-intro h1 {
    
    font-size: 30px;
    line-height: 1.2;
    color: #0f0f1a;
    margin-bottom: 12px;
}

.compare-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.55;
    max-width: 330px;
}

/* ── PRODUCT CARD ── */
.product-card {
    padding: 20px 16px 0 16px;
    text-align: center;
    border-left: 1px solid #eee;
    position: relative;
}

.product-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
}

/* Real bag images via inline SVG silhouettes */
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SVG bag placeholders styled to match the screenshot colours */
.bag-svg {
    display: block;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    color: #0f0f1a;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    min-height: 48px;
}

 

 

.card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.compare-page .btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002AC4;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 9.91px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 22px;
    cursor: pointer;
    min-width: 124px;
    height: 43.88px;
    transition: background .2s, transform .18s;
}

.compare-page .btn-buy:hover {
    background: #002AC4;
    color: #fff;
    transform: scale(1.04);
}

.icon-btn-2 {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.icon-btn-2:hover {
    background: #f0f0f0;
}

.icon-btn-2 svg {
    width: 14px;
    height: 14px;
    stroke: #555;
    fill: none;
    stroke-width: 2;
}

.icon-btn-2 i {
    font-size: 14px;
    color: #555;
    line-height: 1;
}

.compare-empty-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── DIVIDER ── */
.compare-divider {
    height: 1px;
    background: #ececec;
    margin: 0 28px;
}

/* ── TABLE SECTION ── */
.compare-table-wrap {
    padding: 0 28px 28px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 13px 10px;
    text-align: left;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.compare-table th {
    color: #aaa;
    font-weight: 500;
    width: 260px;
    min-width: 120px;
}

.compare-table td {
    color: #333;
    font-weight: 500;
    border-left: 1px solid #f0f0f0;
    text-align: center;
}

/* Star ratings */
.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
}

.stars .star {
    color: #f4b400;
    font-size: 1.4rem;
}

.stars .count {
    color: #999;
    margin-left: 4px;
    font-size: 12px;
}

/* Price */
.price-link {
    color: #3b5bdb;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
}

.price-link:hover {
    text-decoration: underline;
}

/* Stock badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.badge.in {
    background: #e6f4ea;
    color: #2e7d32;
}

.badge.out {
    background: #fdecea;
    color: #c62828;
}
.btn-buy--2{
    display: flex;
    gap: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .compare-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
    }

    .compare-intro {
        grid-column: 1 / -1;
        margin-bottom: 20px;
        border-left: none;
    }

    .compare-intro p {
        max-width: 100%;
    }

    .product-card {
        border-left: 1px solid #eee;
    }

    .product-card:first-of-type {
        border-left: none;
    }

    .compare-table th {
        width: 110px;
        min-width: 80px;
    }
     .compare-table-wrap {
        padding: 0 8px 20px;
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    .compare-page {
        padding: 16px 8px;
    }

    .compare-top {
        grid-template-columns: 1fr;
        padding: 20px 16px 0;
    }

    .compare-intro {
        margin-bottom: 12px;
    }

    .compare-intro h1 {
        font-size: 1.5rem;
    }

    .product-card {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .compare-divider {
        margin: 0 16px;
    }

   

    .compare-table {
        min-width: 480px;
    }
}

 
