@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #090d16;
    --bg-card: rgba(22, 29, 47, 0.7);
    --bg-card-hover: rgba(29, 39, 63, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.4);

    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --accent-primary: #8b5cf6;
    --accent-secondary: #ec4899;
    --accent-info: #38bdf8;
    --accent-warning: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --accent-glow: rgba(139, 92, 246, 0.15);

    --price-color: #f43f5e;
    --price-gradient: linear-gradient(135deg, #ff4b72 0%, #f43f5e 100%);

    --tag-bg-free-shipping: rgba(16, 185, 129, 0.1);
    --tag-text-free-shipping: #34d399;

    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-speed: 0.3s;
    --transition-curve: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Background glowing blur effects */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.logo-icon {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(217, 70, 239, 0.3));
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 760px;
    margin: 0.5rem auto 0;
}

.hero-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 780px;
    margin: 0.85rem auto 0;
}

/* Warning Banner for missing API credentials */
.config-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.config-warning-icon {
    font-size: 1.75rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.config-warning-text {
    flex-grow: 1;
}

.config-warning-text h4 {
    font-family: var(--font-heading);
    color: #fbbf24;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.config-warning-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.config-warning-btn {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    white-space: nowrap;
}

.config-warning-btn:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.site-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.notice-label {
    flex-shrink: 0;
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.site-notice p {
    margin: 0;
    font-size: 0.9rem;
}

/* Brands Selector (Tabs) */
.brand-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    backdrop-filter: blur(8px);
}

.brand-tab:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.brand-tab.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* Models Grid Selector */
.models-section {
    margin-bottom: 3.5rem;
}

.models-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.model-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.model-card.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
    background: rgba(22, 29, 47, 0.9);
}

.model-card:focus-visible {
    outline: 2px solid var(--accent-info);
    outline-offset: 3px;
}

.model-card.active::before {
    background: var(--accent-gradient);
}

.model-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.model-brand {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.model-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.model-specs {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: auto;
    line-height: 1.4;
}

.model-year {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Main Search & Display Section */
.results-section {
    border-top: 1px solid var(--border-color);
    padding-top: 3.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-title-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.results-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
}

.results-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: -1rem 0 2rem;
}

/* Custom Search & Sorting Controls */
.controls-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    min-width: 260px;
}

.search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.65rem 1.25rem 0.65rem 2.75rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition-speed) var(--transition-curve);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    background: var(--bg-card-hover);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.sort-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.65rem 2rem 0.65rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.sort-select option {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-speed) var(--transition-curve);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(139, 92, 246, 0.05);
}

.demo-product-card {
    border-color: rgba(245, 158, 11, 0.22);
}

.product-image-container {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed) var(--transition-curve);
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shop-tag {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.shop-icon {
    font-size: 0.85rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem;
}

.product-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--price-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.tax-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.15rem;
}

.tags-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}

.shipping-tag {
    background: var(--tag-bg-free-shipping);
    color: var(--tag-text-free-shipping);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(52, 211, 153, 0.15);
}

.reviews-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.star-rating {
    color: #fbbf24;
}

.affiliate-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    text-decoration: none;
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.affiliate-btn:hover .btn-icon {
    transform: translateX(3px);
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 0.7rem;
    text-align: center;
}

/* Buyer Guide */
.buyer-guide {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border-color);
}

.guide-header {
    max-width: 840px;
    margin-bottom: 2rem;
}

.section-eyebrow {
    color: var(--accent-info);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.guide-header h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

.guide-header p {
    color: var(--text-secondary);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.guide-card {
    background: rgba(22, 29, 47, 0.62);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.35rem;
    backdrop-filter: blur(10px);
}

.guide-card-wide {
    grid-column: 1 / -1;
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}

.guide-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* Skeleton Loader */
.skeleton-card {
    height: 440px;
}

.skeleton-pulse {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.02) 25%,
        rgba(255, 255, 255, 0.08) 37%,
        rgba(255, 255, 255, 0.02) 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.skeleton-image {
    height: 240px;
    border-radius: 24px 24px 0 0;
}

.skeleton-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.skeleton-text-sm {
    height: 12px;
    border-radius: 4px;
    width: 30%;
}

.skeleton-text-lg {
    height: 20px;
    border-radius: 6px;
    width: 90%;
}

.skeleton-text-md {
    height: 16px;
    border-radius: 5px;
    width: 70%;
}

.skeleton-button {
    height: 44px;
    border-radius: 12px;
    margin-top: auto;
}

/* Empty/Error State */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.2));
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-message {
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto;
}

/* Pagination Control */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-curve);
}

.page-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.page-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 6rem;
}

.footer-inner {
    max-width: 860px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .brand-filters {
        flex-wrap: wrap;
    }

    .brand-tab {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .controls-container {
        width: 100%;
    }

    .search-input-wrapper {
        flex-grow: 1;
    }

    .sort-select {
        flex-grow: 1;
    }

    .site-notice,
    .config-warning {
        flex-direction: column;
    }

    .models-grid,
    .results-grid,
    .guide-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .guide-card-wide {
        grid-column: auto;
    }

    .product-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .tags-container {
        align-items: flex-start;
    }

    .search-input-wrapper,
    .sort-select {
        min-width: 0;
        width: 100%;
    }

    .guide-header h2 {
        font-size: 1.45rem;
    }
}

/* Phase 025 SEO entry pages */
.seo-entry-section {
  margin: 64px auto 24px;
  max-width: 1120px;
  padding: 0 24px;
}

.seo-entry-section-inner,
.seo-hero-card,
.seo-check-card,
.seo-result-card,
.seo-related-card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  padding: 28px;
}

.seo-entry-kicker,
.seo-entry-type {
  color: #c084fc;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seo-entry-columns {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.seo-entry-link-grid,
.seo-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-entry-link-grid a,
.seo-link-grid a,
.seo-secondary-link {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #e5e7eb;
  display: inline-flex;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.seo-entry-page {
  background: #050a14;
  color: #e5e7eb;
}

.seo-entry-header,
.seo-entry-footer,
.seo-entry-main {
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px;
}

.seo-entry-logo {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}

.seo-breadcrumb {
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.seo-breadcrumb a {
  color: #c084fc;
}

.seo-entry-main {
  display: grid;
  gap: 24px;
}

.seo-hero-card h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  margin: 8px 0 16px;
}

.seo-lead {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.seo-affiliate-note,
.seo-small-note {
  color: #94a3b8;
  line-height: 1.8;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.seo-primary-link,
.seo-product-button {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.seo-check-card ul {
  color: #cbd5e1;
  line-height: 1.9;
  margin: 0;
  padding-left: 1.2em;
}

.seo-section-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.seo-product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.seo-product-card {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 18px;
}

.seo-product-image {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  display: flex;
  height: 180px;
  justify-content: center;
  overflow: hidden;
}

.seo-product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.seo-no-image,
.seo-loading,
.seo-empty {
  color: #94a3b8;
}

.seo-shop-name {
  color: #a78bfa;
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.seo-product-card h3 {
  color: #f8fafc;
  font-size: 16px;
  line-height: 1.55;
  min-height: 72px;
}

.seo-price {
  color: #fb7185;
  font-size: 22px;
  font-weight: 900;
}

.seo-related-group + .seo-related-group {
  margin-top: 24px;
}

.seo-entry-footer {
  color: #94a3b8;
}

.seo-entry-footer a {
  color: #c084fc;
}

@media (max-width: 900px) {
  .seo-entry-columns,
  .seo-product-grid {
    grid-template-columns: 1fr;
  }

  .seo-entry-section,
  .seo-entry-header,
  .seo-entry-footer,
  .seo-entry-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* End Phase 025 SEO entry pages */

/* Phase 028 search signal strengthening */
.seo-signal-section {
  margin-top: 48px;
}

.seo-intent-card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  padding: 28px;
}

.seo-intent-lead {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.85;
}

.seo-intent-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  margin-top: 22px;
}

.seo-intent-grid h3 {
  color: #f8fafc;
  margin: 0 0 12px;
}

.seo-intent-grid ul {
  color: #cbd5e1;
  line-height: 1.9;
  margin: 0;
  padding-left: 1.2em;
}

.seo-query-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.seo-query-chips span {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 999px;
  color: #ddd6fe;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
}

.seo-intent-links {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .seo-intent-grid {
    grid-template-columns: 1fr;
  }
}
/* End Phase 028 search signal strengthening */
