/* Compare Page Styles - 1:1 Full-Width Match for Compare (1).png & Compare.png */

.compare-page-bg {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* Breadcrumb */
.compare-breadcrumb {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.compare-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.compare-breadcrumb a:hover {
    color: #0f172a;
}

.compare-title-row {
    margin-bottom: 2rem;
}

.compare-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.compare-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
}

.btn-compare-action {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-compare-action:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Unified Full-Width Compare Matrix Card */
.compare-matrix-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    width: 100%;
}

.compare-grid-header-full {
    display: grid;
    grid-template-columns: 260px repeat(3, 1fr);
    border-bottom: 1px solid #e2e8f0;
}

/* Standalone Sidebar Box inside Col 1 of Header */
.sidebar-compare-box-inner {
    padding: 1.5rem;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sidebar-compare-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.sidebar-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-item-row:last-child {
    border-bottom: none;
}

.sidebar-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-item-thumb {
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sidebar-remove-btn {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.sidebar-remove-btn:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.btn-add-product-dashed {
    width: 100%;
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.btn-add-product-dashed:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Product Cards in Grid Header */
.compare-prod-col {
    padding: 1.5rem;
    border-right: 1px solid #e2e8f0;
    position: relative;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.compare-prod-col:last-child {
    border-right: none;
}

.prod-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prod-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.prod-img-box {
    width: 100%;
    height: 180px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

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

.prod-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.prod-tag {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.prod-rating {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.prod-rating i {
    color: #f59e0b;
}

.prod-rating .reviews-count {
    color: #64748b;
    font-weight: 400;
    font-size: 12px;
}

.prod-price {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.btn-buy-now {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-buy-now:hover {
    background-color: #334155;
    color: #ffffff;
}

/* Full Width Specs Table Rows across 4 Columns */
.specs-section-header {
    background: #f8fafc;
    padding: 0.85rem 1.5rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.specs-row-4col {
    display: grid;
    grid-template-columns: 260px repeat(3, 1fr);
    border-bottom: 1px solid #e2e8f0;
    font-size: 13.5px;
    width: 100%;
}

.specs-row-4col:last-child {
    border-bottom: none;
}

.specs-label-col {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #475569;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
}

.specs-val-col {
    padding: 1rem 1.5rem;
    color: #0f172a;
    font-weight: 500;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specs-val-col:last-child {
    border-right: none;
}

.specs-val-col .check-icon {
    color: #16a34a;
    font-size: 16px;
}

.specs-val-col .dash-icon {
    color: #cbd5e1;
    font-size: 16px;
}

/* Expert Advice Banner Box below table */
.expert-advice-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.advice-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.advice-heading {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.advice-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 0;
}

.btn-compare-features {
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-compare-features:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-request-expert {
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-request-expert:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* Trust Features Row */
.trust-features-bar {
    background-color: #ffffff;
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    text-align: center;
    padding: 0 0.5rem;
}

.trust-item-icon {
    font-size: 1.75rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.trust-item-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.trust-item-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .compare-grid-header-full,
    .specs-row-4col {
        grid-template-columns: 180px repeat(3, minmax(220px, 1fr));
        overflow-x: auto;
    }

    .compare-matrix-card {
        overflow-x: auto;
    }
}