/* 
 * Custom Specs Page Styles 
 * Version: 2.0 (Refactored for cleanliness, modularity, and aesthetics)
 */

/* =========================================
   1. Module Variables & Config
   ========================================= */
.cb-specs-container {
    /* Local scoped variables for easy maintenance */
    --sp-gap-xs: 8px;
    --sp-gap-sm: 16px;
    --sp-gap-md: 24px;
    --sp-gap-lg: 32px;
    --sp-gap-xl: 48px;

    --sp-radius-sm: 8px;
    --sp-radius-md: 16px;
    --sp-radius-lg: 24px;

    --sp-shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --sp-shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --sp-shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1);

    --sp-color-bg: #ffffff;
    --sp-color-bg-alt: #f8fafc;
    --sp-color-border: #e2e8f0;
    --sp-color-text-main: #0f172a;
    --sp-color-text-muted: #64748b;
    --sp-color-primary: var(--cb-color-primary, #4f46e5);
    --sp-color-success: #10b981;
    --sp-color-danger: #ef4444;

    max-width: var(--cb-container-wide, 1200px);
    margin: 0 auto 60px;
    padding: 0 var(--sp-gap-sm);
    font-family: var(--cb-font-main, 'Outfit', sans-serif);
    color: var(--sp-color-text-main);
}

/* =========================================
   2. Product Gallery (Hero Left)
   ========================================= */
.product-gallery-carousel {
    position: relative;
    width: 100%;
    margin-bottom: var(--sp-gap-md);
    background: var(--sp-color-bg);
    border-radius: var(--sp-radius-md);
    padding: var(--sp-gap-sm);
    border: 1px solid var(--sp-color-border);
    box-shadow: var(--sp-shadow-card);
    transition: box-shadow 0.3s ease;
}

.product-gallery-carousel:hover {
    box-shadow: var(--sp-shadow-hover);
}

.gallery-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: var(--sp-radius-sm);
}

.gallery-track {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    aspect-ratio: 1/1;
    /* Square aspect ratio for consistency */
    padding: var(--sp-gap-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 44px;
    /* Increased size for better reach */
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--sp-color-border);
    color: var(--sp-color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.product-gallery-carousel:hover .gallery-nav {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.gallery-nav:hover {
    background: var(--sp-color-primary);
    color: #fff;
    border-color: var(--sp-color-primary);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

/* =========================================
   3. Hero Section
   ========================================= */
.specs-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--sp-gap-xl);
    margin-bottom: 60px;
    background: var(--sp-color-bg);
    padding: 0;
    border-radius: var(--sp-radius-lg);
    /* Clean layout, no outer border/shadow on the container itself to let children breathe, 
       OR card style. Using card style for cohesion. */
    padding: var(--sp-gap-lg);
    box-shadow: var(--sp-shadow-card);
    border: 1px solid var(--sp-color-border);
    align-items: start;
}

.specs-hero-image {
    /* Container for the gallery */
    width: 100%;
}

.specs-hero-content {
    display: flex;
    flex-direction: column;
    padding-top: var(--sp-gap-xs);
}

/* Title Row */
.specs-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--sp-gap-md);
    margin-bottom: var(--sp-gap-sm);
    padding-bottom: var(--sp-gap-md);
    border-bottom: 1px solid var(--sp-color-border);
}

.specs-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--sp-color-text-main);
    letter-spacing: -0.02em;
}

.market-status {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    /* Green-50 */
    color: var(--sp-color-success);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    border: 1px solid #d1fae5;
}

.market-status.status-in_stock {
    /* Already handled by default, but ensuring specificity */
    background: #ecfdf5;
    color: var(--sp-color-success);
    border-color: #d1fae5;
}

.market-status.status-out_of_stock {
    background: #fef2f2;
    color: var(--sp-color-danger);
    border-color: #fee2e2;
}

.market-status.status-pre_order {
    background: #fff7ed;
    color: #ea580c;
    border-color: #ffedd5;
}

.market-status.status-coming_soon {
    background: #eff6ff;
    color: var(--sp-color-primary);
    border-color: #dbeafe;
}

.market-status.status-not_specified {
    background: #f8fafc;
    color: var(--sp-color-text-muted);
    border-color: #e2e8f0;
}

/* Score Badge */
.score-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #f0fdf4, #ffffff);
    border: 1px solid #bbf7d0;
    border-radius: var(--sp-radius-md);
    padding: 10px 16px;
    box-shadow: var(--sp-shadow-subtle);
    min-width: 90px;
    flex-shrink: 0;
}

.score-value {
    font-size: 2rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1;
}

.score-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #166534;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* Price Row */
.price-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: var(--sp-gap-lg);
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sp-color-primary);
    letter-spacing: -0.02em;
}

.see-all-prices-link {
    color: var(--sp-color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px dashed #cbd5e1;
    transition: all 0.2s;
}

.see-all-prices-link:hover {
    color: var(--sp-color-primary);
    border-bottom-color: var(--sp-color-primary);
}

/* Key Specs Grid */
.key-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-gap-md);
    background: var(--sp-color-bg-alt);
    border-radius: var(--sp-radius-md);
    padding: var(--sp-gap-md);
    border: 1px solid var(--sp-color-border);
}

.key-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-color-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    font-size: 1.1rem;
    border: 1px solid var(--sp-color-border);
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-info h4 {
    margin: 0 0 2px 0;
    font-size: 0.75rem;
    color: var(--sp-color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.spec-info p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sp-color-text-main);
    line-height: 1.4;
}

/* Compare Button */
.compare-action-row {
    margin-top: var(--sp-gap-lg);
    display: flex;
    justify-content: center;
}

.cb-add-to-compare {
    background: #fff;
    color: var(--sp-color-text-main);
    border: 2px solid var(--sp-color-border);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cb-add-to-compare:hover {
    border-color: var(--sp-color-primary);
    color: var(--sp-color-primary);
    background: #fdfcff;
}

/* =========================================
   4. Pros & Cons Section
   ========================================= */
.pros-cons-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-gap-lg);
    margin-bottom: 60px;
}

.pros-box,
.cons-box {
    background: var(--sp-color-bg);
    border-radius: var(--sp-radius-md);
    padding: var(--sp-gap-lg);
    border: 1px solid var(--sp-color-border);
    height: 100%;
    /* Decorative top border */
    position: relative;
    overflow: hidden;
}

.pros-box {
    border-top: 4px solid var(--sp-color-success);
}

.cons-box {
    border-top: 4px solid var(--sp-color-danger);
}

.section-heading-sm {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.text-success {
    color: var(--sp-color-success);
}

.text-danger {
    color: var(--sp-color-danger);
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li,
.cons-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--sp-color-text-main);
}

.pros-list li:last-child,
.cons-list li:last-child {
    margin-bottom: 0;
}

.pros-list li::before {
    content: '✓';
    /* Check */
    font-family: inherit;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
    color: var(--sp-color-success);
    font-weight: 700;
}

.cons-list li::before {
    content: '✕';
    /* Times */
    font-family: inherit;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
    color: var(--sp-color-danger);
    font-weight: 700;
}

/* =========================================
   5. Detailed Specs Accordion
   ========================================= */
.specs-accordion {
    margin-bottom: 100px;
}

.seo-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sp-color-text-main);
    margin-bottom: var(--sp-gap-lg);
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.seo-suffix {
    color: var(--sp-color-primary);
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 0 8px;
    border-radius: 4px;
}

.specs-group {
    background: var(--sp-color-bg);
    border-radius: var(--sp-radius-md);
    margin-bottom: 16px;
    border: 1px solid var(--sp-color-border);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.specs-group:hover,
details[open].specs-group {
    border-color: #cbd5e1;
    box-shadow: var(--sp-shadow-subtle);
}

.specs-group-summary {
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--sp-color-text-main);
    background: #fff;
    list-style: none;
    /* Hide default marker */
    transition: background 0.2s;
}

.specs-group-summary:hover {
    background: var(--sp-color-bg-alt);
}

.specs-group-summary::-webkit-details-marker {
    display: none;
}

.specs-group-summary::after {
    content: '▼';
    /* Chevron Down */
    font-family: inherit;
    font-weight: 400;
    font-size: 0.65rem;
    color: var(--sp-color-text-muted);
    transition: transform 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
}

details[open] .specs-group-summary::after {
    transform: rotate(180deg);
    background: var(--sp-color-primary);
    color: #fff;
}

.specs-group-content {
    background: #fff;
    padding: 0 0 10px 0;
    /* Smooth reveal animation handled by browser mostly, but can add keyframes if needed */
}

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

.spec-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 14px 24px;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.5;
}

.spec-label {
    width: 35%;
    color: var(--sp-color-text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--sp-color-text-main);
    font-weight: 500;
}

/* =========================================
   6. Prices Section
   ========================================= */
.prices-section {
    margin-bottom: 100px;
}

.price-card {
    background: var(--sp-color-bg);
    border-radius: var(--sp-radius-md);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--sp-shadow-subtle);
    margin-bottom: 16px;
    border: 1px solid var(--sp-color-border);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-card);
    border-color: var(--sp-color-primary);
}

.store-info {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
}

.store-logo-img {
    max-height: 60px;
    /* Increased from 40px for better visibility */
    max-width: 150px;
    /* Increased proportionally */
    object-fit: contain;
}

.store-name-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--sp-color-text-main);
}

.price-info-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center text in middle column */
}

.store-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sp-color-text-main);
}

.stock-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
}

.stock-badge.in-stock {
    background: #ecfdf5;
    color: var(--sp-color-success);
}

.stock-badge.out-of-stock {
    background: #fef2f2;
    color: var(--sp-color-danger);
}

.btn-go-to-store {
    background: var(--sp-color-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-go-to-store:hover {
    background: #4338ca;
    /* darker shade */
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
    color: #fff;
}

.no-prices-msg {
    text-align: center;
    padding: 40px;
    background: var(--sp-color-bg-alt);
    border-radius: var(--sp-radius-md);
    color: var(--sp-color-text-muted);
}

/* =========================================
   7. Best Purpose (Voting)
   ========================================= */
.best-purpose-section {
    background: #fff;
    border-radius: var(--sp-radius-lg);
    padding: var(--sp-gap-xl);
    border: 1px solid var(--sp-color-border);
    text-align: center;
    margin-bottom: 80px;
    /* Background Pattern optional */
    background-image: radial-gradient(#f1f5f9 1px, transparent 1px);
    background-size: 20px 20px;
}

.highest-voted-wrapper {
    max-width: 600px;
    margin: 0 auto 40px;
}

.highest-voted-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--sp-color-border);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.highest-voted-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-color-primary), #818cf8);
}

.highest-voted-purpose {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--sp-color-primary);
    text-transform: capitalize;
    margin-bottom: 8px;
}

.highest-voted-count {
    display: inline-block;
    background: #e0e7ff;
    color: var(--sp-color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.highest-voted-desc {
    color: var(--sp-color-text-muted);
    font-size: 0.9rem;
}

.voting-container {
    background: #fff;
    border: 1px solid var(--sp-color-border);
    border-radius: var(--sp-radius-md);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto 40px;
    box-shadow: var(--sp-shadow-subtle);
}

.voting-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

#purpose-select {
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    flex: 1;
}

#vote-submit {
    background: var(--sp-color-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#vote-submit:hover {
    background: #4338ca;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.purpose-item-card {
    background: #fff;
    border: 1px solid var(--sp-color-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s;
}

.purpose-item-card:hover {
    border-color: var(--sp-color-primary);
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-subtle);
}

.purpose-label {
    font-weight: 700;
    color: var(--sp-color-text-main);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.vote-count {
    font-size: 0.8rem;
    color: var(--sp-color-text-muted);
}

/* =========================================
   8. Carousels Wrapper (Placeholder)
   ========================================= */
.specs-carousels-section {
    margin: 80px 0;
}

.disclaimer-section {
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 40px 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   9. Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .specs-hero {
        grid-template-columns: 1fr;
        /* Stack */
        gap: 30px;
        padding: 30px;
    }

    .specs-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .pros-cons-section {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .cb-specs-container {
        padding: 0 16px;
        margin-bottom: 40px;
    }

    /* Hero */
    .specs-hero {
        padding: 20px;
        border-radius: 16px;
    }

    .specs-title {
        font-size: 1.8rem;
    }

    .specs-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .score-badge {
        flex-direction: row;
        /* Horizontal on mobile to save vertical space? Or keep stack */
        width: 100%;
        justify-content: center;
        gap: 12px;
        padding: 8px;
    }

    .score-value {
        font-size: 1.5rem;
    }

    .score-label {
        margin-top: 0;
    }

    .price-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }

    .current-price {
        font-size: 2rem;
    }

    .key-specs-grid {
        grid-template-columns: 1fr;
        /* 1 col */
        gap: 12px;
    }

    /* Pros & Cons */
    .pros-cons-section {
        grid-template-columns: 1fr;
    }

    /* Prices Cards */
    .price-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .store-info {
        flex-basis: auto;
        justify-content: center;
    }

    .btn-go-to-store {
        width: 100%;
        justify-content: center;
    }

    /* Table Responsive */
    .spec-table tr {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }

    .spec-table td {
        padding: 4px 16px;
        display: block;
        width: 100%;
    }

    .spec-label {
        font-size: 0.8rem;
        text-transform: uppercase;
        color: #94a3b8;
        margin-bottom: 2px;
    }

    .spec-value {
        font-size: 1rem;
    }

    /* Voting */
    .voting-form {
        flex-direction: column;
    }

    #purpose-select,
    #vote-submit {
        width: 100%;
    }

    .purpose-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .specs-title {
        font-size: 1.6rem;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }
}

/* This rule was added based on the instruction's context for global spacing */
body {
    margin: 0;
    padding: 0;
    font-family: var(--cb-font-main, 'Outfit', sans-serif);
    color: var(--sp-color-text-main);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   10. Disclaimers (Legal & Proper)
   ========================================= */
.section-disclaimer {
    font-size: 0.85rem;
    color: #64748b;
    background: #fff;
    border: 1px solid var(--sp-color-border);
    padding: 24px 30px;
    /* Increased padding */
    border-radius: 12px;
    margin-top: 40px;
    /* Increased top margin */
    display: flex;
    align-items: flex-start;
    gap: 16px;
    line-height: 1.6;
    box-shadow: var(--sp-shadow-subtle);
}

.section-disclaimer i {
    color: var(--sp-color-primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.price-disclaimer {
    background: #f8fafc;
    /* Slight contrast */
    border-left: 4px solid var(--sp-color-primary);
}

.specs-disclaimer {
    background: #fff;
    border-left: 4px solid #f59e0b;
    /* Amber warning */
    margin-bottom: 60px;
    /* Added bottom margin to separate from next header */
}

.specs-disclaimer i {
    color: #f59e0b;
}

.disclaimer-section p {
    font-size: 0.85rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
}

/* Spacer for headings */
.seo-section-title {
    margin-top: 20px;
    /* Ensure heading has space above if no disclaimer */
}

/* =========================================
   8. VS Competitors Section (New)
   ========================================= */
.vs-competitors-section {
    margin-bottom: 80px;
    background: #fff;
    border-radius: var(--sp-radius-md);
    padding: var(--sp-gap-lg);
    border: 1px solid var(--sp-color-border);
    padding: 35px 20px;
}

.vs-carousel-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.vs-carousel-container::-webkit-scrollbar {
    display: none;
}

.vs-carousel-track {
    display: flex;
    gap: 20px;
}

.vs-card {
    min-width: 240px;
    width: 240px;
    background: #fff;
    border: 1px solid var(--sp-color-border);
    border-radius: var(--sp-radius-md);
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.vs-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sp-shadow-hover);
    border-color: var(--sp-color-primary);
}

.vs-card-image {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.vs-card:hover .vs-card-image img {
    transform: scale(1.05);
}

.vs-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--sp-color-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
    /* fixed height for 2 lines */
}

.vs-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sp-color-primary);
    margin-bottom: 15px;
}

.vs-compare-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--sp-color-primary);
    color: var(--sp-color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.vs-compare-btn:hover {
    background: var(--sp-color-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.carousel-title-row {
    text-align: center;
    margin-bottom: 30px;
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--sp-color-text-main);
}

.carousel-subtitle {
    color: var(--sp-color-text-muted);
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .specs-hero {
        grid-template-columns: 350px 1fr;
        gap: var(--sp-gap-lg);
    }

    .key-specs-grid {
        gap: 12px;
    }

    .pros-cons-section {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .specs-hero {
        grid-template-columns: 1fr;
        padding: 24px 16px;
    }

    .specs-title {
        font-size: 1.8rem;
    }

    .specs-title-row {
        flex-direction: column;
        gap: 16px;
    }

    .score-badge {
        width: 100%;
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

    .price-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .store-info {
        flex: 0 0 auto;
        justify-content: center;
        width: 100%;
    }

    .btn-go-to-store {
        width: 100%;
        justify-content: center;
    }

    .key-specs-grid {
        grid-template-columns: 1fr;
    }

    .pros-cons-section {
        grid-template-columns: 1fr;
    }

    .specs-group-summary {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .spec-table td {
        padding: 10px 16px;
        display: block;
        width: 100%;
    }

    .spec-label {
        width: 100%;
        margin-bottom: 4px;
        color: var(--sp-color-text-muted);
        font-size: 0.85rem;
    }

    .spec-value {
        padding-left: 0;
        font-size: 1rem;
    }
}