/* ===========================
   COMPARATOR — Technical Precision Design
   =========================== */

.cmp-page {
    --cmp-accent: #6366f1;
    --cmp-accent-light: #818cf8;
    --cmp-accent-glow: rgba(99, 102, 241, 0.15);
    --cmp-surface: rgba(255, 255, 255, 0.025);
    --cmp-border: rgba(255, 255, 255, 0.06);
    --cmp-text: #ffffff;
    --cmp-text-muted: rgba(255, 255, 255, 0.5);
    --cmp-text-dim: rgba(255, 255, 255, 0.3);
    --cmp-success: #34d399;
    --cmp-panel-a: #6366f1;
    --cmp-panel-b: #f59e0b;
    --cmp-radius: 16px;
    --cmp-radius-sm: 10px;
    --cmp-radius-xs: 6px;

    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    min-height: 100vh;
    font-family: inherit;
}

/* ===========================
   HERO SECTION
   =========================== */

.cmp-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.cmp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
}

.cmp-hero-glow {
    display: none;
}

.cmp-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cmp-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
    color: #ffffff;
}

.cmp-hero-sub {
    font-size: 1.05rem;
    color: #71717a;
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ===========================
   CATEGORY FILTERS
   =========================== */

.cmp-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.cmp-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #71717a;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cmp-filter img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.cmp-filter:hover {
    color: #a1a1aa;
    border-color: rgba(255, 255, 255, 0.12);
}

.cmp-filter:hover img {
    opacity: 0.7;
}

.cmp-filter.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(129, 140, 248, 0.1));
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.cmp-filter.active img {
    opacity: 1;
}

/* ===========================
   ARENA / PANELS SECTION
   =========================== */

.cmp-arena {
    margin-bottom: 40px;
}

.cmp-panels {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

.cmp-panel {
    background: var(--cmp-surface);
    border: 1px solid var(--cmp-border);
    border-radius: var(--cmp-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: clamp(450px, 55vh, 600px);
    transition: border-color 0.3s ease;
}

.cmp-panel:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Divider */
.cmp-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(12px, 2vw, 24px);
    gap: 12px;
}

.cmp-divider-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, var(--cmp-border), transparent);
}

.cmp-divider-badge {
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--cmp-text-dim);
    padding: 8px 6px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

/* Panel header */
.cmp-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-panel-badge {
    width: 32px;
    height: 32px;
    border-radius: var(--cmp-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.cmp-panel-badge--a {
    background: rgba(99, 102, 241, 0.12);
    color: var(--cmp-accent-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.cmp-panel-badge--b {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.cmp-panel-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--cmp-radius-xs);
    transition: all 0.25s ease;
}

.cmp-panel-search:focus-within {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.03);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.05);
}

.cmp-panel-search i {
    color: var(--cmp-text-dim);
    font-size: 16px;
    flex-shrink: 0;
}

.cmp-panel-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--cmp-text);
    font-size: 13px;
    font-family: inherit;
    font-weight: 400;
}

.cmp-panel-search input::placeholder {
    color: var(--cmp-text-dim);
}

/* Panel grid */
.cmp-panel-grid {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

.cmp-panel-grid::-webkit-scrollbar {
    width: 6px;
}

.cmp-panel-grid::-webkit-scrollbar-track {
    background: transparent;
}

.cmp-panel-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.cmp-grid-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--cmp-accent);
    font-size: 28px;
}

.cmp-grid-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--cmp-text-dim);
    font-size: 13px;
    gap: 8px;
}

/* ===========================
   COMPONENT CARDS
   =========================== */

.cmp-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--cmp-radius-sm);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.cmp-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.cmp-card--selected {
    background: var(--cmp-accent-glow);
    border-color: rgba(99, 102, 241, 0.25);
}

.cmp-card--selected:hover {
    background: rgba(99, 102, 241, 0.12);
}

.cmp-card--selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--cmp-accent);
    border-radius: 0 2px 2px 0;
}

.cmp-card-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--cmp-radius-xs);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    flex-shrink: 0;
}

.cmp-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmp-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cmp-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cmp-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cmp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.cmp-card-detail {
    font-size: 11.5px;
    color: var(--cmp-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===========================
   SPECS COMPARISON
   =========================== */

.cmp-specs {
    background: var(--cmp-surface);
    border: 1px solid var(--cmp-border);
    border-radius: var(--cmp-radius);
    overflow: hidden;
    margin-bottom: 40px;
    animation: cmpSlideIn 0.4s ease;
}

@keyframes cmpSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Versus header */
.cmp-specs-versus {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: clamp(20px, 3vw, 32px);
    border-bottom: 1px solid var(--cmp-border);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
}

.cmp-vs-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cmp-vs-item--link {
    text-decoration: none;
    transition: opacity 0.2s;
}

.cmp-vs-item--link:hover {
    text-decoration: none;
}

.cmp-vs-item--link:hover {
    opacity: 0.8;
}

.cmp-vs-item--link:hover .cmp-vs-item-name {
    color: var(--cmp-accent-light);
}

.cmp-vs-item-link-icon {
    font-size: 12px;
    color: var(--cmp-text-dim);
    margin-left: 4px;
    vertical-align: middle;
    transition: color 0.2s;
}

.cmp-vs-item--link:hover .cmp-vs-item-link-icon {
    color: var(--cmp-accent-light);
}

.cmp-vs-item:last-child {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.cmp-vs-item img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: var(--cmp-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    flex-shrink: 0;
    border: 1px solid var(--cmp-border);
}

.cmp-vs-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cmp-vs-item:last-child .cmp-vs-item-info {
    text-align: right;
}

.cmp-vs-item-name {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmp-vs-item-detail {
    font-size: 12px;
    color: var(--cmp-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmp-vs-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cmp-accent), #4f46e5);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3), 0 0 0 4px rgba(99, 102, 241, 0.08);
    flex-shrink: 0;
}

/* Price comparison */
.cmp-prices {
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-prices-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-prices-header h2 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmp-prices-header h2 i {
    color: var(--cmp-accent-light);
    font-size: 18px;
}

.cmp-prices-body {
    padding: 4px 0;
}

.cmp-prices-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: background 0.15s;
}

.cmp-prices-row:last-child {
    border-bottom: none;
}

.cmp-prices-row:not(.cmp-prices-row--head):hover {
    background: rgba(255, 255, 255, 0.015);
}

.cmp-prices-row--head {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-prices-row--head .cmp-prices-cell {
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    color: var(--cmp-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cmp-prices-cell {
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-text-muted);
    padding: 0 12px;
}

.cmp-prices-cell--left {
    text-align: right;
}

.cmp-prices-cell--right {
    text-align: left;
}

.cmp-prices-cell--seller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    padding: 0 16px;
}

.cmp-prices-cell--seller img {
    height: 16px;
    width: auto;
    opacity: 0.65;
    flex-shrink: 0;
}

.cmp-prices-cell--seller span {
    font-size: 12px;
    font-weight: 500;
    color: var(--cmp-text-dim);
}

.cmp-prices-link {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.cmp-prices-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.cmp-prices-winner {
    color: var(--cmp-success);
}

/* ===========================
   PRICE HISTORY CHARTS
   =========================== */

.cmp-charts {
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-charts-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-charts-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmp-charts-header h2 i {
    color: var(--cmp-accent-light);
    font-size: 18px;
}

.cmp-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cmp-chart-panel {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmp-chart-panel:first-child {
    border-right: 1px solid var(--cmp-border);
}

.cmp-chart-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cmp-chart-panel-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cmp-text);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmp-chart-sellers {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.cmp-chart-seller-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.cmp-chart-seller-btn img {
    height: 14px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.cmp-chart-seller-btn:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.cmp-chart-seller-btn:hover img {
    opacity: 0.8;
}

.cmp-chart-seller-btn.active {
    background: var(--cmp-accent-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.cmp-chart-seller-btn.active img {
    opacity: 1;
}

.cmp-chart-canvas-wrap {
    position: relative;
    height: 200px;
}

.cmp-chart-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.cmp-chart-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.cmp-chart-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.cmp-chart-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cmp-text-dim);
}

.cmp-chart-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--cmp-text-muted);
}

.cmp-chart-stat-value.stat-low {
    color: var(--cmp-success);
}

.cmp-chart-stat-value.stat-high {
    color: #f87171;
}

.cmp-chart-nodata {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--cmp-text-dim);
    font-size: 13px;
}

@media (max-width: 900px) {
    .cmp-charts-grid {
        grid-template-columns: 1fr;
    }

    .cmp-chart-panel:first-child {
        border-right: none;
        border-bottom: 1px solid var(--cmp-border);
    }
}

@media (max-width: 600px) {
    .cmp-chart-panel {
        padding: 16px;
    }

    .cmp-chart-canvas-wrap {
        height: 160px;
    }

    .cmp-chart-stats {
        gap: 8px;
    }

    .cmp-chart-stat-value {
        font-size: 12px;
    }

    .cmp-charts-header {
        padding: 16px;
    }
}

/* Specs header & table */
.cmp-specs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cmp-border);
}

.cmp-specs-header h2 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmp-specs-header h2 i {
    color: var(--cmp-accent-light);
    font-size: 18px;
}

.cmp-swap-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--cmp-radius-xs);
    border: 1px solid var(--cmp-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--cmp-text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.cmp-swap-btn i {
    font-size: 16px;
}

.cmp-swap-btn:hover {
    background: var(--cmp-accent-glow);
    border-color: rgba(99, 102, 241, 0.2);
    color: var(--cmp-accent-light);
}

.cmp-specs-table {
    padding: 4px 0;
}

.cmp-spec-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    transition: background 0.15s;
}

.cmp-spec-row:last-child {
    border-bottom: none;
}

.cmp-spec-row:hover {
    background: rgba(255, 255, 255, 0.015);
}

.cmp-spec-row.cmp-spec-price {
    background: rgba(99, 102, 241, 0.04);
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}

.cmp-spec-val {
    font-size: 13px;
    color: var(--cmp-text-muted);
    font-weight: 500;
    padding: 0 12px;
}

.cmp-spec-val:first-child {
    text-align: right;
}

.cmp-spec-val:last-child {
    text-align: left;
}

.cmp-spec-val.cmp-winner {
    color: var(--cmp-success);
    font-weight: 600;
}

.cmp-spec-label {
    font-family: inherit;
    font-size: 10.5px;
    color: var(--cmp-text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    min-width: 120px;
    padding: 0 8px;
}

/* ===========================
   RESPONSIVE — Fluid & Precise
   =========================== */

@media (max-width: 1200px) {
    .cmp-panels {
        gap: 0;
    }

    .cmp-vs-item img {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 1024px) {
    .cmp-specs-versus {
        gap: 16px;
        padding: 24px 20px;
    }

    .cmp-vs-item img {
        width: 120px;
        height: 120px;
    }

    .cmp-vs-item-name {
        font-size: 13px;
    }

    .cmp-vs-badge {
        width: 40px;
        height: 40px;
        font-size: 11px;
    }

    .cmp-spec-label {
        min-width: 100px;
    }
}

@media (max-width: 900px) {
    .cmp-panels {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cmp-divider {
        flex-direction: row;
        padding: clamp(12px, 2vw, 20px) 0;
    }

    .cmp-divider-line {
        width: auto;
        height: 1px;
        flex: 1;
        background: linear-gradient(to right, transparent, var(--cmp-border), transparent);
    }

    .cmp-divider-badge {
        writing-mode: horizontal-tb;
        padding: 6px 16px;
        font-size: 10px;
    }

    .cmp-panel {
        min-height: 380px;
    }

    .cmp-specs-versus {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .cmp-vs-item {
        justify-content: center;
    }

    .cmp-vs-item:last-child {
        justify-content: center;
    }

    .cmp-vs-item:last-child .cmp-vs-item-info {
        text-align: left;
    }

    .cmp-vs-item img {
        width: 100px;
        height: 100px;
    }

    .cmp-vs-badge {
        margin: 0 auto;
        width: 36px;
        height: 36px;
        font-size: 10px;
    }

    .cmp-spec-label {
        min-width: 80px;
        font-size: 10px;
    }

    .cmp-prices-cell--seller {
        min-width: 110px;
    }
}

@media (max-width: 600px) {
    .cmp-hero {
        padding: 90px 0 32px;
    }

    .cmp-hero-content {
        margin-bottom: 24px;
    }

    .cmp-toggle-btn {
        padding: 10px 20px;
        font-size: 12px;
        gap: 8px;
    }

    .cmp-toggle-icon {
        width: 20px;
        height: 20px;
    }

    .cmp-toggle-icon img {
        width: 16px;
        height: 16px;
    }

    .cmp-panel-head {
        padding: 14px 14px;
        gap: 10px;
    }

    .cmp-panel-badge {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .cmp-panel-search {
        padding: 8px 12px;
    }

    .cmp-panel-grid {
        padding: 8px;
        gap: 2px;
    }

    .cmp-card {
        padding: 10px 12px;
        gap: 12px;
    }

    .cmp-card-img {
        width: 60px;
        height: 60px;
    }

    .cmp-card-name {
        font-size: 12.5px;
    }

    .cmp-card-price {
        font-size: 13px;
    }

    .cmp-specs {
        border-radius: 12px;
        margin-bottom: 28px;
    }

    .cmp-specs-header,
    .cmp-prices-header {
        padding: 16px 16px;
    }

    .cmp-spec-row,
    .cmp-prices-row {
        padding: 12px 16px;
    }

    .cmp-spec-val,
    .cmp-prices-cell {
        font-size: 12px;
        padding: 0 8px;
    }

    .cmp-prices-cell--seller {
        min-width: 90px;
        gap: 6px;
    }

    .cmp-prices-cell--seller img {
        height: 14px;
    }

    .cmp-prices-cell--seller span {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .cmp-toggle-label {
        display: none;
    }

    .cmp-toggle-btn {
        padding: 10px 20px;
    }

    .cmp-toggle-icon img {
        width: 22px;
        height: 22px;
    }

    .cmp-spec-row {
        grid-template-columns: 1fr 60px 1fr;
    }

    .cmp-spec-label {
        min-width: unset;
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .cmp-spec-val {
        font-size: 11px;
        padding: 0 4px;
    }

    .cmp-prices-row {
        grid-template-columns: 1fr 70px 1fr;
    }

    .cmp-prices-cell {
        font-size: 11px;
        padding: 0 4px;
    }

    .cmp-prices-cell--seller {
        min-width: unset;
        padding: 0 4px;
    }

    .cmp-prices-cell--seller img {
        display: none;
    }

    .cmp-prices-cell--seller span {
        font-size: 10px;
    }

    .cmp-card-img {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 340px) {
    .cmp-page {
        padding: 0 10px;
    }

    .cmp-panel-head {
        padding: 12px 10px;
    }

    .cmp-card {
        padding: 8px;
        gap: 8px;
    }

    .cmp-card-img {
        width: 44px;
        height: 44px;
    }

    .cmp-card-name {
        font-size: 11.5px;
    }

    .cmp-card-detail {
        font-size: 10px;
    }
}
