/* ==========================================================================
   URUNVERI.COM - MODERN EDITORIAL DESIGN SYSTEM (AWWWARDS QUALITY)
   Zero-framework, high-performance CSS.
   Pure typography, clean geometry, subtle physical shadows.
   ========================================================================== */

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Light Mode Tokens */
    --bg-primary: #F6F7F9;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-surface: #F8FAFC;
    --border-color: #E5E7EB;
    --border-dark: #D1D5DB;

    --text-primary: #15171C;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-inverse: #FFFFFF;

    --accent-primary: #4F46E5;
    --accent-hover: #4338CA;
    --accent-light: #EEF2FF;
    --accent-success: #059669;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

[data-theme='dark'] {
    --bg-primary: #0F1117;
    --bg-secondary: #1A1D27;
    --bg-card: #1A1D27;
    --bg-surface: #242938;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(255, 255, 255, 0.14);

    --text-primary: #F3F4F6;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;

    --accent-primary: #818CF8;
    --accent-hover: #6366F1;
    --accent-light: rgba(79, 70, 229, 0.15);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 30px -4px rgba(0,0,0,0.6);
}

/* Base resets */
body {
    font-family: var(--font-sans) !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-secondary);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    letter-spacing: -0.028em !important;
}

/* ==========================================================================
   HERO EDITORIAL (SPLIT LAYOUT)
   ========================================================================== */
.hero-editorial {
    padding: 3.5rem 0 4rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-editorial-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-editorial-inner {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: var(--accent-light);
    color: var(--accent-primary);
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.035em !important;
}

.brand-gradient {
    color: var(--accent-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-search-form {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 560px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    box-shadow: var(--shadow-md);
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

.hero-search-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.hero-search-form .search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.hero-search-form input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

.hero-search-form button {
    background: var(--accent-primary);
    color: #FFF;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.hero-search-form button:hover {
    background: var(--accent-hover);
}

.hero-quick-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.quick-tags-label {
    color: var(--text-muted);
    font-weight: 500;
}

.quick-tag {
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.quick-tag:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: var(--accent-light);
}

/* ==========================================================================
   MINI COMPARE PREVIEW CARD (HERO RIGHT)
   ========================================================================== */
.mini-compare-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.mini-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-success);
    background: rgba(5, 150, 105, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-success);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.3);
}

.cat-pill {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mini-compare-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mini-p-col {
    text-align: center;
}

.mini-img-wrap {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
}

.mini-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mini-p-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.mini-p-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.mini-vs-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
}

.mini-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    background: var(--bg-surface);
    padding: 0.85rem;
    border-radius: var(--radius-md);
}

.mini-spec-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.82rem;
}

.mini-spec-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.mini-spec-val {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-spec-val.highlight {
    color: var(--accent-primary);
    font-weight: 700;
    background: var(--accent-light);
}

.mini-compare-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: var(--accent-light);
    color: var(--accent-primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s;
}

.mini-compare-cta:hover {
    background: var(--accent-primary);
    color: #FFF;
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.section-action-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.section-action-link:hover {
    color: var(--accent-hover);
}

/* ==========================================================================
   CATEGORIES GRID EDITORIAL
   ========================================================================== */
.section-categories {
    padding: 4rem 0;
}

.categories-grid-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .categories-grid-editorial { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .categories-grid-editorial { grid-template-columns: repeat(3, 1fr); }
}

.cat-card-editorial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat-card-editorial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.cat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-info {
    flex: 1;
}

.cat-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cat-count {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cat-arrow {
    color: var(--text-muted);
    font-weight: 600;
    transition: transform 0.2s, color 0.2s;
}

.cat-card-editorial:hover .cat-arrow {
    color: var(--accent-primary);
    transform: translateX(3px);
}

/* ==========================================================================
   POPULAR COMPARISONS GRID EDITORIAL
   ========================================================================== */
.section-comparisons {
    padding: 3.5rem 0 4.5rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.comparisons-grid-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .comparisons-grid-editorial { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .comparisons-grid-editorial { grid-template-columns: repeat(4, 1fr); }
}

.comp-card-editorial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.comp-card-editorial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.comp-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.comp-products-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.comp-p-item {
    text-align: center;
}

.comp-img-wrap {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 0.4rem;
    margin-bottom: 0.5rem;
}

.comp-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.comp-p-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.comp-vs-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.comp-specs-preview {
    margin-top: auto;
    margin-bottom: 1rem;
}

.comp-spec-pill {
    background: var(--bg-surface);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comp-spec-pill .spec-sep {
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.7rem;
}

.comp-card-action {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.65rem;
    background: var(--bg-surface);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.comp-card-action:hover {
    background: var(--accent-primary);
    color: #FFF;
    border-color: var(--accent-primary);
}

/* ==========================================================================
   FEATURED PRODUCTS EDITORIAL
   ========================================================================== */
.section-featured {
    padding: 4rem 0;
}

.featured-grid-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .featured-grid-editorial { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .featured-grid-editorial { grid-template-columns: repeat(4, 1fr); }
}

.product-card-editorial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card-editorial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.p-img-box {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 1rem;
    position: relative;
    margin-bottom: 1rem;
}

.p-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.p-brand-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.p-card-body {
    margin-bottom: 1rem;
    flex: 1;
}

.p-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-card-cat {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.p-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

.p-detail-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-primary);
}

/* ==========================================================================
   RELIABILITY SECTION
   ========================================================================== */
.section-reliability {
    padding: 4rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.reliability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .reliability-grid { grid-template-columns: repeat(3, 1fr); }
}

.reliability-item {
    text-align: center;
    padding: 1.5rem;
}

.reliability-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.reliability-item h3 {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
}

.reliability-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   COMPARE PAGE EDITORIAL STYLES (AWWWARDS STANDARD)
   ========================================================================== */
.compare-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.compare-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.compare-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.compare-breadcrumb a:hover { color: var(--accent-primary); }
.compare-breadcrumb .curr { color: var(--text-primary); font-weight: 600; }

.compare-page-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.compare-page-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.count-pill {
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
}

.compare-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-share-compare, .btn-add-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-share-compare {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-share-compare:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-add-more {
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: #FFF;
}

.btn-add-more:hover { background: var(--accent-hover); }

/* Compare Empty State */
.compare-empty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 2rem auto;
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.compare-empty-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.compare-empty-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-browse-catalog {
    display: inline-block;
    background: var(--accent-primary);
    color: #FFF;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-browse-catalog:hover { background: var(--accent-hover); }

/* Controls Bar */
.compare-controls-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.diff-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.diff-toggle-wrapper input { display: none; }

.diff-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border-dark);
    border-radius: 99px;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.diff-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #FFF;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.diff-toggle-wrapper input:checked + .diff-slider {
    background: var(--accent-primary);
}

.diff-toggle-wrapper input:checked + .diff-slider::after {
    transform: translateX(20px);
}

.diff-label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.group-chips-scroll {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.group-chips-scroll::-webkit-scrollbar { display: none; }

.group-chip {
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.group-chip:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Compare Modern Table */
.compare-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.compare-table-scroller {
    overflow-x: auto;
    width: 100%;
}

.compare-modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    min-width: 780px;
}

/* Sticky Header */
.compare-sticky-thead th {
    position: sticky;
    top: 60px;
    background: var(--bg-card);
    z-index: 20;
    border-bottom: 2px solid var(--border-color);
    padding: 1.5rem 1.25rem;
    vertical-align: top;
    text-align: left;
}

.col-spec-header {
    width: 240px;
    background: var(--bg-surface) !important;
    border-right: 1px solid var(--border-color);
    position: sticky;
    left: 0;
    z-index: 30 !important;
}

.spec-header-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.spec-header-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.col-product-header {
    position: relative;
    text-align: center !important;
    border-right: 1px solid var(--border-color);
}

.btn-col-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-col-remove:hover {
    background: #DC2626;
    color: #FFF;
    border-color: #DC2626;
}

.col-p-img-wrap {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
}

.col-p-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.col-p-img-wrap:hover img { transform: scale(1.05); }

.col-p-brand {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.col-p-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    height: 2.7rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.col-p-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.col-p-title a:hover { color: var(--accent-primary); }

.col-p-price {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-success);
}

.col-add-placeholder {
    vertical-align: middle !important;
    text-align: center !important;
}

.add-slot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 140px;
    border: 2px dashed var(--border-dark);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.add-slot-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-light);
}

.add-slot-plus {
    font-size: 1.5rem;
    line-height: 1;
}

/* Group Divider Row */
.row-group-divider td {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
}

.group-divider-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-divider-title {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-primary);
}

.group-divider-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Spec Rows */
.row-spec-item td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 0.88rem;
    transition: background 0.2s;
}

.cell-spec-label {
    background: var(--bg-surface);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    left: 0;
    z-index: 10;
}

.spec-label-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.diff-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
}

.cell-spec-value {
    text-align: center;
    color: var(--text-secondary);
}

/* Diff Highlight */
.cell-diff {
    background: rgba(79, 70, 229, 0.03);
}

.row-diff-vals:hover td {
    background: rgba(79, 70, 229, 0.06);
}

/* Winner Cell */
.cell-winner {
    background: rgba(5, 150, 105, 0.07) !important;
    font-weight: 700;
    color: #059669 !important;
}

.winner-mark {
    font-size: 0.7rem;
    color: #059669;
    margin-right: 0.25rem;
}

.val-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.val-empty {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.8rem;
}

/* Animation for hiding same rows */
.row-hidden {
    display: none !important;
}



/* ==========================================================================
   URUNVERI.COM - CATALOG & CATEGORY PAGE (/urunler) EDITORIAL STYLING
   ========================================================================== */

/* Main Layout & Sidebar */
.main-layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
    margin-top: 1.5rem !important;
}

@media (max-width: 1024px) {
    .main-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
    }
}

.sidebar-filters .panel {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: var(--glass-shadow) !important;
}

/* Category Selection Box */
.category-section {
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.category-section h3 {
    font-family: var(--font-heading) !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--accent-primary) !important;
}

.category-list a.category-link,
.category-list a {
    font-family: var(--font-sans) !important;
    font-size: 0.88rem !important;
    color: var(--text-secondary) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0.75rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.category-list a:hover {
    background: rgba(79, 70, 229, 0.05) !important;
    color: var(--accent-primary) !important;
}

/* Filter Search Inputs */
.filter-search-inp,
input[type="text"][placeholder*="ara..."],
input[type="search"][placeholder*="ara..."] {
    width: 100% !important;
    padding: 0.55rem 0.85rem !important;
    font-family: var(--font-sans) !important;
    font-size: 0.82rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.filter-search-inp:focus,
input[type="text"][placeholder*="ara..."]:focus {
    border-color: var(--accent-primary) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 0 0 3px var(--accent-glow) !important;
}

/* Filter Groups */
.filter-group {
    border-bottom: 1px solid var(--border-color) !important;
    padding: 1rem 0 !important;
}

.filter-group:last-child {
    border-bottom: none !important;
}

.filter-group-header {
    cursor: pointer !important;
    user-select: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.75rem !important;
}

.filter-group-header span {
    font-family: var(--font-heading) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--text-primary) !important;
}

.filter-option-label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    padding: 0.4rem 0.5rem !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.filter-option-label:hover {
    background: rgba(79, 70, 229, 0.04) !important;
    color: var(--text-primary) !important;
}

.filter-option-label input[type="checkbox"] {
    accent-color: var(--accent-primary) !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.filter-option-label .option-count {
    font-family: var(--font-mono) !important;
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    background: var(--bg-primary) !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    border: 1px solid var(--border-color) !important;
}

/* Active Filters Bar & Chips */
.active-filters {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 0.65rem 1rem !important;
    margin-bottom: 1.25rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: center !important;
}

.filter-chip {
    background: rgba(79, 70, 229, 0.08) !important;
    border: 1px solid rgba(79, 70, 229, 0.22) !important;
    color: var(--accent-primary) !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    transition: all 0.15s ease !important;
}

.filter-chip a {
    color: var(--accent-primary) !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: rgba(79, 70, 229, 0.18) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

/* Results Toolbar */
.results-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1.25rem !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.results-count {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
}

.sort-wrapper select {
    font-family: var(--font-sans) !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding: 0.55rem 1rem !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.sort-wrapper select:hover,
.sort-wrapper select:focus {
    border-color: var(--accent-primary) !important;
}

/* Quick Filter Pills */
.quick-filters-bar {
    display: flex !important;
    gap: 0.6rem !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.25rem !important;
    scrollbar-width: none !important;
}

.quick-filter-pill {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 999px !important;
    padding: 0.5rem 1rem !important;
    font-family: var(--font-sans) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.quick-filter-pill:hover {
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1) !important;
}

/* Catalog Table Sort Header */
.catalog-table-sort-header {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.25rem !important;
    font-family: var(--font-heading) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--text-muted) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Catalog Product Row */
.catalog-product-row {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 1.1rem 1.35rem !important;
    box-shadow: var(--glass-shadow) !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.catalog-product-row:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(79, 70, 229, 0.3) !important;
    box-shadow: var(--card-shadow-hover) !important;
}

.catalog-product-row a[href*="/urun/"] {
    font-family: var(--font-heading) !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.catalog-product-row a[href*="/urun/"]:hover {
    color: var(--accent-primary) !important;
}

/* Compare Button on Catalog Row */
.catalog-product-row .btn-compare {
    background: rgba(79, 70, 229, 0.06) !important;
    color: var(--accent-primary) !important;
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.7rem !important;
    font-family: var(--font-sans) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.catalog-product-row .btn-compare:hover {
    background: var(--accent-primary) !important;
    color: #ffffff !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 2rem !important;
    display: flex !important;
    justify-content: center !important;
}

.pagination-wrapper .page-link-btn,
.pagination-wrapper .page-num-btn {
    border-radius: 10px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    font-family: var(--font-mono) !important;
    font-weight: 600 !important;
    padding: 0.5rem 0.85rem !important;
    transition: all 0.15s ease !important;
}

.pagination-wrapper .page-num-btn.active,
.pagination-wrapper .active > span {
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    color: #ffffff !important;
}


/* ==========================================================================
   URUNVERI.COM - PRODUCT DETAIL PAGE (/urun/{slug}) EDITORIAL STYLING
   ========================================================================== */

/* Product Detail Hero Layout */
.product-hero-layout-grid {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: var(--glass-shadow) !important;
    margin-bottom: 2rem !important;
}

.product-hero-layout-grid .product-title,
.product-hero-details-col h1 {
    font-family: var(--font-heading) !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: var(--text-primary) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
    .product-hero-layout-grid .product-title,
    .product-hero-details-col h1 {
        font-size: 1.5rem !important;
    }
}

.product-card .product-title,
.catalog-product-row .product-title {
    font-family: var(--font-heading) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: var(--text-primary) !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0.35rem !important;
    text-decoration: none !important;
}

.product-card .product-title:hover,
.catalog-product-row .product-title:hover {
    color: var(--brand, #4F46E5) !important;
}

/* Hero Action Buttons */
.btn-compare {
    background: var(--accent-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.btn-compare:hover {
    background: var(--brand-hover, #4338CA) !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* Family Showcase & Temel Özellikler Vitrini */
.product-family-hero-showcase {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: var(--glass-shadow) !important;
    padding: 1.5rem 1.75rem !important;
    margin-top: 1.5rem !important;
}

.product-family-hero-showcase .family-variant-card {
    border-radius: 10px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-primary) !important;
    transition: all 0.2s ease !important;
}

.product-family-hero-showcase .family-variant-card:hover {
    border-color: var(--accent-primary) !important;
    background: var(--bg-card) !important;
    transform: translateY(-2px) !important;
}

.product-family-hero-showcase .specs-pill-grid > div {
    border-bottom: 2px solid var(--border-color) !important;
    padding-bottom: 0.5rem !important;
    transition: border-color 0.2s !important;
}

.product-family-hero-showcase .specs-pill-grid > div:hover {
    border-bottom-color: var(--accent-primary) !important;
}

.product-family-hero-showcase .specs-pill-grid span {
    font-family: var(--font-mono) !important;
}

/* Info Tabs Navigation */
.info-tab-headers {
    display: flex !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 2rem !important;
    gap: 0.5rem !important;
    padding-bottom: 0 !important;
}

.info-tab-btn {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    padding: 0.85rem 1.4rem !important;
    border: none !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -1px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    border-radius: 8px 8px 0 0 !important;
    cursor: pointer !important;
}

.info-tab-btn:hover {
    color: var(--text-primary) !important;
    background: rgba(79, 70, 229, 0.04) !important;
}

.info-tab-btn.active {
    color: var(--accent-primary) !important;
    border-bottom: 2px solid var(--accent-primary) !important;
    background: rgba(79, 70, 229, 0.04) !important;
}

/* Detailed Specifications Accordions */
.detailed-specifications-container {
    margin-top: 1rem !important;
}

.spec-group-accordion {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    box-shadow: var(--glass-shadow) !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.spec-group-accordion:hover {
    border-color: rgba(79, 70, 229, 0.3) !important;
}

.spec-group-accordion summary {
    background: var(--bg-surface) !important;
    padding: 0.9rem 1.25rem !important;
    border-bottom: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    list-style: none !important;
}

.spec-group-accordion summary::-webkit-details-marker {
    display: none !important;
}

.spec-group-accordion summary h4 {
    font-family: var(--font-heading) !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.spec-group-accordion table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.spec-group-accordion tr {
    border-bottom: 1px solid var(--border-color) !important;
    transition: background 0.15s ease !important;
}

.spec-group-accordion tr:last-child {
    border-bottom: none !important;
}

.spec-group-accordion tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.7) !important;
}

[data-theme="dark"] .spec-group-accordion tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02) !important;
}

.spec-group-accordion tr:hover {
    background: rgba(79, 70, 229, 0.03) !important;
}

.spec-group-accordion td {
    padding: 0.75rem 1.2rem !important;
    font-size: 0.88rem !important;
}

.spec-group-accordion td:first-child {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    width: 50% !important;
}

.spec-group-accordion td:last-child {
    color: var(--text-primary) !important;
    font-family: var(--font-mono) !important;
    font-weight: 600 !important;
    text-align: right !important;
}


/* Additional Subpage Editorial Polish */
.category-section > div:first-child {
    background: rgba(79, 70, 229, 0.08) !important;
    border: 1px solid rgba(79, 70, 229, 0.22) !important;
    color: var(--accent-primary) !important;
    box-shadow: none !important;
}

.category-section > div:first-child a {
    color: var(--accent-primary) !important;
}

.filter-option-label .option-text {
    text-transform: capitalize;
    font-weight: 500;
}

/* Archive Cards Polish */
.archive-card, 
.category-archive-item,
[class*="archive-grid"] > div {
    border-radius: 16px !important;
    box-shadow: var(--glass-shadow) !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.archive-card:hover, 
.category-archive-item:hover,
[class*="archive-grid"] > div:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--card-shadow-hover) !important;
}



/* ========================================================================== */
/* URUNVERI SUBPAGES REDESIGN STYLES (Awwwards / Modern Editorial)            */
/* ========================================================================== */

/* 1. COMPARE PAGE: Reasons & Benchmarks Sections */
.reasons-section {
    margin-bottom: 2rem;
}
.section-label-hybrid {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.reason-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.reason-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand, #4f46e5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.reason-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand, #4f46e5);
}
.reason-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border, #f1f5f9);
}
.reason-model {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--text-main, #0f172a);
}
.reason-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    background: var(--brand-light, rgba(79, 70, 229, 0.08));
    color: var(--brand, #4f46e5);
}
.reason-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: var(--text-secondary, #475569);
}
.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.45;
}
.reason-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--success, #059669);
    margin-top: 2px;
}
.reason-item strong {
    color: var(--text-main, #0f172a);
    font-weight: 700;
}

/* Benchmarks Section */
.benchmarks-section {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.benchmark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
}
.bench-card {
    background: var(--bg-body, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}
.bench-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bench-sub {
    font-size: 0.72rem;
    color: var(--text-muted, #94a3b8);
    font-weight: 500;
}
.bench-row {
    margin-bottom: 0.65rem;
}
.bench-row:last-child { margin-bottom: 0; }
.bench-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}
.bench-model-name {
    font-weight: 600;
    color: var(--text-secondary, #475569);
}
.bench-score {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--text-main, #0f172a);
}
.bench-bar-track {
    width: 100%;
    height: 7px;
    background: var(--border, #e2e8f0);
    border-radius: 9999px;
    overflow: hidden;
}
.bench-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.6s ease;
}
.fill-brand { background: var(--brand, #4f46e5); }
.fill-success { background: var(--success, #059669); }
.fill-warning { background: var(--warning, #d97706); }

/* Diff advantage pills inside comparison cells */
.diff-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    font-family: 'JetBrains Mono', monospace;
}
.pill-win {
    background: rgba(5, 150, 105, 0.12);
    color: var(--success, #059669);
    border: 1px solid rgba(5, 150, 105, 0.25);
}
.pill-loss {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger, #dc2626);
}
.pill-neutral {
    background: var(--border, #e2e8f0);
    color: var(--text-muted, #94a3b8);
}


/* 2. CATALOG / CATEGORY PAGE: 3-Column Modern Grid & Product Cards */
.view-toggle {
    display: inline-flex;
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
    padding: 2px;
    gap: 2px;
}
.view-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all 0.2s ease;
}
.view-btn:hover {
    color: var(--text-main, #0f172a);
}
.view-btn.active {
    background-color: var(--brand, #4f46e5);
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.25);
}

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 1100px) and (min-width: 1025px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
}

.product-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.product-card {
    background-color: var(--bg-surface, #ffffff);
    border-radius: 16px;
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--brand, #4f46e5);
}
.product-grid.list-view .product-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 180px;
}
@media (max-width: 640px) {
    .product-grid.list-view .product-card {
        flex-direction: column !important;
        min-height: auto !important;
    }
}

.card-image-area {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-body, #f8fafc) 0%, #f1f5f9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-bottom: 1px solid var(--border, #e2e8f0);
    cursor: pointer;
    overflow: hidden;
}
.product-grid.list-view .card-image-area {
    aspect-ratio: 1;
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid var(--border, #e2e8f0);
    border-bottom: none;
}
.card-image-area img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .card-image-area img {
    transform: scale(1.05);
}

.card-image-placeholder {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    text-align: center;
}
.card-image-sub {
    font-size: 0.72rem;
    color: var(--text-muted, #94a3b8);
    margin-top: 4px;
}

.compare-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.brand-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.04em;
    z-index: 2;
}

.card-tgp-badge {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main, #0f172a);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid var(--border, #e2e8f0);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
[data-theme="dark"] .card-tgp-badge {
    background: rgba(30, 41, 59, 0.95);
    color: #ffffff;
}

.card-content {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.product-grid.list-view .card-content {
    padding: 18px 24px;
    justify-content: center;
}

.product-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.15s ease;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    min-width: 0 !important;
}
.product-title:hover {
    color: var(--brand, #4f46e5);
}

.card-chassis-meta {
    font-size: 0.78rem;
    color: var(--text-muted, #94a3b8);
    margin-top: -2px;
}

.card-pricing-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border, #f1f5f9);
}
.card-price-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand, #4f46e5);
    letter-spacing: -0.02em;
}
.card-merchants-count {
    font-size: 0.74rem;
    color: var(--text-secondary, #64748b);
    font-weight: 500;
}

.specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 6px;
    min-width: 0 !important;
}
.spec-pill {
    background-color: var(--bg-body, #f8fafc);
    color: var(--text-secondary, #475569);
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border, #e2e8f0);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
.pill-brand {
    background: var(--brand-light, rgba(79, 70, 229, 0.08));
    color: var(--brand, #4f46e5);
    border-color: rgba(79, 70, 229, 0.2);
    font-weight: 700;
}
.pill-success {
    background: rgba(5, 150, 105, 0.08);
    color: var(--success, #059669);
    border-color: rgba(5, 150, 105, 0.2);
    font-weight: 700;
}
.pill-warn {
    background: rgba(217, 119, 6, 0.08);
    color: var(--warning, #d97706);
    border-color: rgba(217, 119, 6, 0.2);
    font-weight: 700;
}


/* 3. PRODUCT DETAIL PAGE: Pros & Cons, Decision Matrix, Hero Layout */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2rem 0;
}
.pros-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.04);
}
.cons-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.04);
}
.pros-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--success, #059669);
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(5, 150, 105, 0.15);
}
.cons-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--danger, #dc2626);
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
}
.pro-con-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.pro-con-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary, #334155);
}
.pro-con-list li strong {
    color: var(--text-main, #0f172a);
    font-weight: 700;
}

/* Decision Matrix Grid */
.decision-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2rem 0;
}
.decision-card {
    background: var(--bg-surface, #ffffff);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.decision-card.suitable {
    border: 1.5px solid rgba(5, 150, 105, 0.25);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.03) 0%, var(--bg-surface, #ffffff) 100%);
}
.decision-card.not-suitable {
    border: 1.5px solid rgba(220, 38, 38, 0.2);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, var(--bg-surface, #ffffff) 100%);
}
.decision-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}
.decision-card.suitable .decision-header {
    color: var(--success, #059669);
    border-bottom: 1px solid rgba(5, 150, 105, 0.15);
}
.decision-card.not-suitable .decision-header {
    color: var(--danger, #dc2626);
    border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

/* ==========================================================================
   4. PROTOTYPE ENHANCEMENTS: Category Archetypes, Hero Price & Badges
   ========================================================================== */

/* Multi-Category Archetype Tabs Bar */
.category-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.25rem 0 1.5rem 0;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.category-tabs-bar::-webkit-scrollbar {
    display: none;
}
.cat-tab-btn {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #475569);
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    text-decoration: none;
}
.cat-tab-btn:hover {
    border-color: var(--brand, #4f46e5);
    color: var(--brand, #4f46e5);
    transform: translateY(-1px);
}
.cat-tab-btn.active {
    background: var(--brand, #4f46e5);
    color: #ffffff;
    border-color: var(--brand, #4f46e5);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Top-Left Card Image Compare Checkbox */
.compare-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
}
.compare-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.compare-checkbox .checkmark {
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1.5px solid var(--border-dark, #cbd5e1);
    border-radius: 6px;
    position: relative;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.compare-checkbox:hover .checkmark {
    border-color: var(--brand, #4f46e5);
}
.compare-checkbox input:checked ~ .checkmark {
    background-color: var(--brand, #4f46e5);
    border-color: var(--brand, #4f46e5);
}
.compare-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.compare-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Card TGP Badge */
.card-tgp-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 4;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-tgp-badge .tgp-full {
    color: #10b981;
    font-weight: 800;
}
.card-tgp-badge .tgp-balanced {
    color: #f59e0b;
    font-weight: 800;
}

/* Hero Best Price Banner (Epey / Product.html Style) */
.price-summary-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 14px 20px;
    margin: 0.75rem 0;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.price-sum-label {
    font-size: 0.8rem;
    color: var(--text-secondary, #64748b);
    font-weight: 600;
    margin-bottom: 2px;
}
.price-sum-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand, #4f46e5);
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.merchant-offers-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-secondary, #475569);
}
.merchant-offers-count strong {
    color: var(--text-main, #0f172a);
}

/* Hero Top Meta & TGP Badge */
.hero-top-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.tgp-badge-hero {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning, #d97706);
    border: 1px solid rgba(217, 119, 6, 0.25);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-price-jump {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border, #cbd5e1);
    color: var(--text-primary, #0f172a);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-price-jump:hover {
    border-color: var(--brand, #4f46e5);
    color: var(--brand, #4f46e5);
}

/* Key Features Pills in Hero */
.key-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0.75rem 0;
}
.feature-pill {
    background-color: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main, #1e293b);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.feature-pill .tech-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

/* Diff Indicator & Leader Pills */
.diff-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 6px;
}
.diff-pill.pill-win {
    background: rgba(5, 150, 105, 0.12);
    color: var(--success, #059669);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

/* Subtitle Model Code Row */
.model-code-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: -2px;
    margin-bottom: 0.5rem;
}

/* Family Variants Section (Epey Style Kasa Alt Varyantları) */
.family-variants-section {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 18px 22px;
    margin: 1.25rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.family-variants-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.family-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.family-badge {
    font-size: 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--brand, #4f46e5);
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 700;
}
.variants-chips-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.variant-chip {
    border: 1.5px solid var(--border-color, #e2e8f0);
    background: var(--bg-surface, #f8fafc);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    transition: all 0.2s;
    text-decoration: none !important;
    flex-shrink: 0;
    cursor: pointer;
}
.variant-chip:hover {
    border-color: var(--brand, #4f46e5);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}
.variant-chip.active {
    border-color: var(--brand, #4f46e5);
    background: rgba(79, 70, 229, 0.06);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
}
.variant-code {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--text-primary);
}
.variant-specs {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.35;
}
.variant-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand, #4f46e5);
    margin-top: 2px;
    font-family: 'JetBrains Mono', monospace;
}

/* Toggle Switch (Compare page & Modern controls) */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.toggle-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: var(--border-color, #cbd5e1);
    border-radius: 12px;
    transition: background-color 0.25s;
    flex-shrink: 0;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input[type="checkbox"]:checked + .toggle-switch {
    background-color: var(--brand, #4f46e5);
}
input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(20px);
}

/* Card Pricing Row */
.card-pricing-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
}
.card-price-val {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--brand, #4f46e5);
    letter-spacing: -0.02em;
}
.card-merchants-count {
    font-size: 0.74rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Specs Pills */
.specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.5rem;
}
.spec-pill {
    background-color: var(--bg-surface, #f8fafc);
    color: var(--text-secondary);
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
    font-weight: 600;
    white-space: nowrap;
}
.spec-pill.pill-brand {
    background: rgba(79, 70, 229, 0.08);
    color: var(--brand, #4f46e5);
    border-color: rgba(79, 70, 229, 0.2);
}
.spec-pill.pill-success {
    background: rgba(5, 150, 105, 0.08);
    color: var(--success, #059669);
    border-color: rgba(5, 150, 105, 0.2);
}
.spec-pill.pill-warn {
    background: rgba(217, 119, 6, 0.08);
    color: var(--warning, #d97706);
    border-color: rgba(217, 119, 6, 0.2);
}

/* Dark Theme Adjustments */
[data-theme="dark"] .family-variants-section {
    background: var(--bg-card, #1a1d27);
    border-color: var(--border-color, rgba(255,255,255,0.08));
}
[data-theme="dark"] .variant-chip {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .variant-chip:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--brand, #818cf8);
}
[data-theme="dark"] .variant-chip.active {
    background: rgba(129, 140, 248, 0.15);
    border-color: var(--brand, #818cf8);
}
[data-theme="dark"] .spec-pill {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   5. PRODUCT DETAIL - EDITORIAL TECH SPECS ACCORDION & SEARCH (AWWWARDS)
   Matches prototype: scratch/urunveri_redesign/product.html
   ========================================================================== */

.specs-section-editorial {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.specs-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    flex-wrap: wrap;
    gap: 16px;
}

.specs-header-row .section-headline {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary, #15171c);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.specs-header-row .section-subtext {
    font-size: 0.88rem;
    color: var(--text-muted, #9ca3af);
    margin-top: 4px;
    margin-bottom: 0;
}

/* Specs Live Search Input */
.specs-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.specs-search {
    width: 100%;
    padding: 10px 16px 10px 38px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-sm, 8px);
    background-color: var(--bg-surface, #f8fafc);
    color: var(--text-primary, #15171c);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

.specs-search:focus {
    border-color: var(--brand, #4f46e5);
    background-color: var(--bg-card, #ffffff);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.specs-search-wrapper .search-icon-input {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #9ca3af);
    pointer-events: none;
}

/* Accordion Container */
.specs-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-sm, 10px);
    overflow: hidden;
    background: var(--bg-card, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item:hover {
    border-color: var(--border-dark, #cbd5e1);
}

.accordion-header {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-surface, #f8fafc);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary, #15171c);
    transition: background-color 0.2s ease;
    text-align: left;
}

.accordion-header:hover {
    background-color: rgba(79, 70, 229, 0.04);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--brand, #4f46e5);
    flex-shrink: 0;
}

.accordion-title-text {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary, #15171c);
}

.accordion-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-count-badge {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted, #9ca3af);
    background: var(--bg-card, #ffffff);
    padding: 2px 10px;
    border-radius: 9999px;
    border: 1px solid var(--border-color, #e2e8f0);
}

.accordion-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted, #9ca3af);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    background-color: var(--bg-card, #ffffff);
}

.accordion-item.active .accordion-content {
    display: block;
}

/* Spec Rows & Zebra Striping */
.spec-row {
    display: flex;
    padding: 12px 20px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    font-size: 0.885rem;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    transition: background-color 0.15s ease;
}

.spec-row:nth-child(even) {
    background-color: var(--bg-surface, #f8fafc);
}

.spec-row:hover {
    background-color: rgba(79, 70, 229, 0.035);
}

.spec-row.highlight-spec {
    background: rgba(79, 70, 229, 0.05);
    border-top: 1px dashed rgba(79, 70, 229, 0.2);
}

.spec-name {
    flex: 1.2;
    color: var(--text-secondary, #4b5563);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.45;
}

.spec-val {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary, #15171c);
    text-align: right;
    word-break: break-word;
    line-height: 1.45;
}

.spec-val.tech-val {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.86rem;
}

.spec-row-multi {
    align-items: center;
}

.spec-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-surface, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary, #4b5563);
}

/* Dark Theme Overrides */
[data-theme="dark"] .specs-section-editorial {
    background: var(--bg-card, #1a1d27);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .specs-header-row {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .specs-header-row .section-headline {
    color: #f3f4f6;
}

[data-theme="dark"] .specs-search {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
}

[data-theme="dark"] .specs-search:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--brand, #818cf8);
}

[data-theme="dark"] .accordion-item {
    background-color: var(--bg-card, #1a1d27);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .accordion-header {
    background-color: rgba(255, 255, 255, 0.02);
    color: #f3f4f6;
}

[data-theme="dark"] .accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .accordion-cat-icon {
    background: rgba(129, 140, 248, 0.15);
    color: var(--brand, #818cf8);
}

[data-theme="dark"] .accordion-title-text {
    color: #f3f4f6;
}

[data-theme="dark"] .accordion-count-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
}

[data-theme="dark"] .accordion-content {
    background-color: var(--bg-card, #1a1d27);
}

[data-theme="dark"] .spec-row {
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .spec-row:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .spec-row:hover {
    background-color: rgba(129, 140, 248, 0.06);
}

[data-theme="dark"] .spec-row.highlight-spec {
    background: rgba(129, 140, 248, 0.08);
    border-top-color: rgba(129, 140, 248, 0.25);
}

[data-theme="dark"] .spec-name {
    color: #9ca3af;
}

[data-theme="dark"] .spec-val {
    color: #f3f4f6;
}

[data-theme="dark"] .spec-tag {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

/* ===== ROCK-SOLID CATALOG PRODUCT GRID (NO SHIFTING / NO COLLAPSE) ===== */
.main-layout {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.product-results {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 1100px) and (min-width: 1025px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .main-layout {
        grid-template-columns: 1fr !important;
    }
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}
@media (max-width: 768px) and (min-width: 521px) {
    .main-layout {
        grid-template-columns: 1fr !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
@media (max-width: 520px) {
    .main-layout {
        grid-template-columns: 1fr !important;
    }
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}
.product-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}
.product-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}
.card-content {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.product-title {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    min-width: 0 !important;
}
.specs-pills {
    min-width: 0 !important;
    width: 100% !important;
}
.spec-pill {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}





