:root {
    --color-accent: #007FFF;
    --color-accent-hover: #4da6ff;
    --color-accent-active: #005fcc;
    --color-accent-text: #3399ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 30%),
        linear-gradient(180deg, #050505 0%, #080808 100%);
    color: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar h2 {
    color: var(--color-accent-text);
    margin: 0;
}

.brand-omega {
    margin-left: 0.18em;
    font-size: 0.96em;
    font-weight: 900;
    line-height: 1;
    vertical-align: 0.02em;
}

.navbar .brand-omega {
    color: var(--color-accent-text);
    text-shadow: 0 0 10px rgba(0, 127, 255, 0.28);
}

.navbar .links {
    display: flex;
    gap: 20px;
}

.navbar .links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

.navbar .links a:hover {
    color: var(--color-accent-hover);
}

.navbar .links a.active {
    color: var(--color-accent-text);
}

.builder-page {
    padding: 40px 24px 60px;
}

.hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 76px 24px 54px;
    text-align: center;
}

.hero h1 {
    margin: 0 0 12px;
    color: var(--color-accent-text);
    font-size: clamp(36px, 6vw, 56px);
}

.hero p {
    margin: 0 auto;
    max-width: 680px;
    color: #cccccc;
    font-size: 18px;
    line-height: 1.55;
}

.start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 127, 255, 0.44);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.22s ease;
}

.start-btn:hover {
    background: linear-gradient(180deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.56);
    transform: translateY(-1px);
}

.section-title {
    max-width: 1100px;
    margin: 0 auto 18px;
    padding: 0 24px;
    color: #ffffff;
}

.cars-page {
    padding: 44px 0 20px;
}

.home-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 24px;
}

.home-section {
    margin-bottom: 42px;
}

.home-section-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 36px);
}

.home-card-grid {
    display: grid;
    gap: 18px;
}

.home-card-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card-grid.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-info-card,
.home-platform-summary {
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%),
        #121212;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.home-info-card:hover,
.home-platform-summary:hover {
    border-color: rgba(0, 127, 255, 0.38);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), 0 0 18px rgba(0, 127, 255, 0.08);
    transform: translateY(-1px);
}

.home-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 127, 255, 0.46);
    border-radius: 8px;
    background: rgba(0, 127, 255, 0.1);
    color: var(--color-accent-text);
    font-size: 13px;
    font-weight: 900;
}

.home-info-card h3,
.home-platform-summary h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.home-info-card p,
.home-platform-summary p {
    margin: 0;
    color: #cccccc;
    line-height: 1.5;
}

.home-platform-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.platform-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 127, 255, 0.34);
    border-radius: 8px;
    background: rgba(0, 127, 255, 0.08);
    color: var(--color-accent-text);
    font-size: 13px;
    font-weight: 800;
}

.secondary-link-btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(0, 127, 255, 0.46);
    border-radius: 8px;
    color: var(--color-accent-text);
    background: rgba(0, 127, 255, 0.08);
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.secondary-link-btn:hover {
    border-color: var(--color-accent-hover);
    background: rgba(0, 127, 255, 0.16);
    color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.mods {
    max-width: 1280px;
    margin: 0 auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.mod-card {
    background: #121212;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.mod-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.mod-card p {
    margin: 0 0 14px;
    color: #cccccc;
    line-height: 1.5;
}

.mod-card span {
    display: block;
    margin-bottom: 14px;
    color: var(--color-accent-text);
    font-size: 22px;
    font-weight: 800;
}

.mod-card button {
    width: 100%;
    padding: 11px 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.22s ease;
}

.mod-card button:hover {
    background: linear-gradient(180deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.56);
    transform: translateY(-1px);
}

.mod-card.coming-soon {
    opacity: 0.72;
}

.mod-card.coming-soon button {
    cursor: not-allowed;
    background: #2a2a2a;
    color: #9d9d9d;
    box-shadow: none;
}

.mod-card.coming-soon button:hover {
    background: #2a2a2a;
    color: #9d9d9d;
    box-shadow: none;
    transform: none;
}

.home-teaser {
    margin: 0 0 42px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background:
        linear-gradient(135deg, rgba(0, 127, 255, 0.12), rgba(18, 18, 18, 0.98) 38%),
        #121212;
    border: 1px solid rgba(0, 127, 255, 0.34);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 20px rgba(0, 127, 255, 0.08);
}

.home-teaser-copy {
    max-width: 740px;
}

.teaser-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--color-accent-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-teaser h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 38px);
}

.home-teaser p {
    margin: 0;
    color: #cccccc;
    line-height: 1.55;
}

.teaser-btn {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #2a2a2a;
    color: #9d9d9d;
    font-weight: 800;
    cursor: not-allowed;
    box-shadow: none;
}

.community-cta {
    margin: 0 0 38px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #101010;
    border: 1px solid rgba(0, 127, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.community-cta.compact {
    max-width: 1100px;
    margin: 28px auto 20px;
}

.builder-community-cta {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.community-cta h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 20px;
}

.community-cta p {
    margin: 0;
    color: #cccccc;
    line-height: 1.5;
}

.community-inline-link {
    grid-column: 1 / -1;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    color: var(--color-accent-text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.community-inline-link:hover {
    color: var(--color-accent-hover);
}

.home-final-cta {
    margin-bottom: 38px;
    padding: 30px 24px;
    text-align: center;
    background: #101010;
    border: 1px solid #222;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.home-final-cta h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 36px);
}

.home-final-cta p {
    margin: 0 auto 18px;
    max-width: 520px;
    color: #cccccc;
    line-height: 1.5;
}

.site-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 32px;
    color: #777777;
    font-size: 13px;
}

.site-footer p {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid #1d1d1d;
}

.builder-header,
.vehicle-info,
.vehicle-selector,
.filter-bar,
.category-section,
.build-summary,
.compatibility-box,
.recommended-box,
.saved-builds {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid #222;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.builder-header {
    margin-bottom: 20px;
    padding: 28px;
}

.builder-header h1 {
    color: var(--color-accent-text);
    margin: 0 0 8px;
    font-size: clamp(32px, 5vw, 48px);
}

.builder-header p {
    color: #cccccc;
    margin: 0;
}

.vehicle-info {
    margin-bottom: 20px;
    padding: 22px;
}

.vehicle-info h2,
.vehicle-selector h2,
.category-section h2,
.build-summary h2,
.compatibility-box h2,
.recommended-box h2,
.saved-builds h2 {
    color: var(--color-accent-text);
    margin-top: 0;
}

.vehicle-info p {
    color: #ffffff;
}

.vehicle-selector {
    margin-bottom: 24px;
    padding: 22px;
}

.performance-tier-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #d8d8d8;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.vehicle-selector-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 14px;
}

.vehicle-selector select,
.filter-bar input,
.filter-bar select,
.wheel-filter-bar select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    background: rgba(18, 18, 18, 0.96);
    color: #ffffff;
    outline: none;
    font-size: 14px;
}

.vehicle-selector select:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.wheel-filter-bar select:focus {
    border-color: var(--color-accent-hover);
    box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.28);
}

.filter-bar {
    margin-bottom: 24px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 14px;
}

.filter-bar input::placeholder {
    color: #b3b3b3;
}

.wheel-filter-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #222;
    border-radius: 8px;
    background: rgba(18, 18, 18, 0.78);
}

.wheel-filter-bar select {
    border-radius: 8px;
    background: rgba(21, 21, 21, 0.96);
}

.builder-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}

.builder-sidebar {
    position: sticky;
    top: 88px;
}

.category-section {
    margin-bottom: 28px;
    padding: 24px;
}

.category-section h2 {
    margin: 0 0 18px;
}

.category-section-heading {
    margin: -10px -10px 20px;
}

.category-section.collapsed .category-section-heading {
    margin-bottom: -10px;
}

.category-section-toggle {
    width: 100%;
    min-height: 64px;
    padding: 0 16px 0 18px;
    border: 1px solid rgba(0, 127, 255, 0.28);
    border-left: 4px solid var(--color-accent);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(24, 24, 24, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    color: var(--color-accent-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font: inherit;
    font-size: 1.08em;
    font-weight: 900;
    text-align: left;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        0 0 0 1px rgba(0, 127, 255, 0.06),
        0 10px 22px rgba(0, 0, 0, 0.18);
    user-select: none;
    -webkit-user-select: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.category-section-toggle:hover {
    border-color: rgba(0, 127, 255, 0.52);
    background:
        linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    color: var(--color-accent-hover);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 18px rgba(0, 127, 255, 0.2),
        0 12px 26px rgba(0, 0, 0, 0.22);
}

.category-section-toggle:focus-visible {
    outline: 3px solid rgba(0, 127, 255, 0.64);
    outline-offset: -3px;
}

.category-section-title,
.subsection-title,
.subsection-toggle span,
.category-section-toggle span {
    user-select: none;
    -webkit-user-select: none;
}

.category-section-title {
    letter-spacing: 0;
}

.category-section-toggle-icon {
    width: 32px;
    height: 32px;
    border-color: rgba(0, 127, 255, 0.72);
    background: rgba(0, 127, 255, 0.24);
    font-size: 22px;
}

.category-section-content[hidden] {
    display: none;
}

.category-section-content.is-transitioning {
    overflow: hidden;
    transition:
        max-height 0.2s ease,
        opacity 0.18s ease;
}

.build-subsection {
    border: 1px solid #222;
    border-radius: 8px;
    background: rgba(18, 18, 18, 0.7);
    overflow: hidden;
}

.build-subsection + .build-subsection {
    margin-top: 12px;
}

.subsection-toggle {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    user-select: none;
    -webkit-user-select: none;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.subsection-toggle:hover {
    background: rgba(0, 127, 255, 0.2);
    color: var(--color-accent-hover);
}

.subsection-toggle:focus-visible {
    outline: 3px solid rgba(0, 127, 255, 0.64);
    outline-offset: -3px;
}

.subsection-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.subsection-title {
    min-width: 0;
}

.subsection-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.section-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent-text);
    background: rgba(0, 127, 255, 0.28);
    border: 1px solid rgba(0, 127, 255, 0.64);
}

.subsection-toggle-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0, 127, 255, 0.56);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(0, 127, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.subsection-content {
    padding: 16px 14px 0;
    border-top: 1px solid rgba(0, 127, 255, 0.24);
}

.subsection-content[hidden] {
    display: none;
}

.part-group-title {
    color: var(--color-accent-text);
    margin: 6px 0 14px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.no-results-message {
    color: #b3b3b3;
    margin: 0 0 14px;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.product-catalog-section-header {
    grid-column: 1 / -1;
    padding: 14px 0 2px;
    border-bottom: 1px solid rgba(0, 127, 255, 0.22);
}

.product-catalog-section-header h3 {
    color: var(--color-accent-text);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0;
    text-transform: uppercase;
}

.product-card {
    position: relative;
    background: #121212;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(77, 166, 255, 0.62);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

.product-card.selected {
    border: 1px solid var(--color-accent-active);
    background: #151515;
    box-shadow:
        inset 0 4px 0 var(--color-accent-active),
        0 0 0 1px rgba(0, 127, 255, 0.42),
        0 14px 30px rgba(0, 0, 0, 0.36);
    animation: cardSelectPop 0.24s ease;
}

.product-card.selected:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent-active);
    box-shadow:
        inset 0 4px 0 var(--color-accent-active),
        0 0 0 1px rgba(0, 127, 255, 0.44),
        0 16px 32px rgba(0, 0, 0, 0.38);
}

@keyframes cardSelectPop {
    0% { transform: translateY(0) scale(0.985); }
    60% { transform: translateY(-2px) scale(1.01); }
    100% { transform: translateY(0) scale(1); }
}

.product-card.incompatible-card {
    border: 1px solid #ef4444;
    box-shadow:
        inset 0 4px 0 #ef4444,
        0 0 0 1px rgba(239, 68, 68, 0.18),
        0 10px 25px rgba(0, 0, 0, 0.35);
}

.compatibility-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.compatibility-badge.warning {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.compatibility-badge.incompatible {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.compatibility-badge.ok {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.compatibility-badge.recommended {
    background: rgba(0, 127, 255, 0.36);
    color: var(--color-accent-text);
    border: 1px solid rgba(0, 127, 255, 0.56);
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.product-heading {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-title-block {
    min-width: 0;
}

.product-type {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin-bottom: 6px;
}

.product-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
    max-width: 100%;
}

.brand {
    color: #b3b3b3;
    font-size: 14px;
    margin: 6px 0 0;
}

.price-wrap {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
}

.price-label {
    color: #b3b3b3;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    color: var(--color-accent-text);
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-fallback {
    color: var(--color-accent-text);
    font-weight: bold;
    padding: 12px;
    text-align: center;
}

.description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    min-height: 64px;
    position: relative;
    z-index: 1;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.product-detail {
    margin: 0;
    font-size: 13px;
    color: #cccccc;
    line-height: 1.4;
}

.wheel-spec-note {
    color: #f8d77b;
}

.wheel-package-notice {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 8px;
}

.wheel-package-warning {
    border: 1px solid rgba(245, 158, 11, 0.32);
    background: rgba(245, 158, 11, 0.1);
}

.wheel-package-included {
    border: 1px solid rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.1);
}

.wheel-package-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.wheel-package-badge.warning {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.36);
}

.wheel-package-badge.included {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.36);
}

.wheel-package-notice .product-detail,
.wheel-package-notice .modal-detail {
    color: #fef3c7;
}

.product-retailer-info {
    margin-top: 4px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.product-pill {
    background: rgba(21, 21, 21, 0.95);
    border: 1px solid #222;
    color: #cccccc;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}

.product-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.product-card button,
.product-card a {
    text-align: center;
    padding: 11px 12px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.select-product-btn,
.view-details-btn {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
}

.select-product-btn {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    box-shadow: 0 8px 18px rgba(0, 127, 255, 0.44);
    position: relative;
    overflow: hidden;
}

.select-product-btn:hover {
    background: linear-gradient(180deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(77, 166, 255, 0.56);
    transform: translateY(-1px);
}

.select-product-btn:active {
    transform: scale(0.97);
}

.selected-btn {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    box-shadow:
        inset 0 0 0 1px rgba(34, 197, 94, 0.36),
        0 8px 18px rgba(0, 0, 0, 0.18);
    cursor: default;
    animation: selectedPop 0.28s ease;
}

.selected-btn:hover {
    transform: none;
    background: rgba(34, 197, 94, 0.16);
}

.selected-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    animation: selectedShine 0.65s ease;
}

@keyframes selectedPop {
    0% { transform: scale(0.92); }
    60% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes selectedShine {
    0% { left: -120%; }
    100% { left: 140%; }
}

.view-details-btn {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    border: 1px solid #2a2a2a !important;
}

.view-details-btn:hover {
    border-color: var(--color-accent-hover) !important;
    color: var(--color-accent-hover);
    box-shadow: 0 8px 18px rgba(0, 127, 255, 0.2);
    transform: translateY(-1px);
}

.shopping-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.best-price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 14px !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a !important;
    box-shadow: 0 8px 18px rgba(0, 127, 255, 0.44);
}

.best-price-btn:hover {
    background: linear-gradient(180deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
    color: #0a0a0a !important;
    transform: translateY(-1px);
}

.retailer-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.retailer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #2a2a2a !important;
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff !important;
}

.retailer-pill:hover {
    border-color: var(--color-accent-hover) !important;
    color: var(--color-accent-hover) !important;
    transform: translateY(-1px);
}

.disabled-btn {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.build-summary,
.compatibility-box,
.recommended-box,
.saved-builds {
    padding: 22px;
}

.build-summary {
    margin-bottom: 20px;
}

.compatibility-box {
    margin-bottom: 20px;
}

.recommended-box {
    margin-bottom: 20px;
}

.build-summary p {
    margin: 8px 0;
    color: #ffffff;
    font-size: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid #222;
}

.builder-total {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-accent-text);
}

#summary-total {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

#save-build,
#rename-build {
    width: 100%;
    margin-top: 12px;
    padding: 13px 16px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

#save-build:hover,
#rename-build:hover,
.modal-build-btn:hover,
.modal-primary-btn:hover {
    background: linear-gradient(180deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
}

#compatibility-list,
#recommended-combo-list,
#brake-match-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#compatibility-list li,
#recommended-combo-list li,
#brake-match-list li {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(21, 21, 21, 0.9);
    border: 1px solid #222;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
}

#compatibility-list li.warning-item,
#brake-match-list li.warning-item {
    border-color: rgba(245, 158, 11, 0.25);
    color: #fde68a;
}

#compatibility-list li.incompatible-item,
#brake-match-list li.incompatible-item {
    border-color: rgba(239, 68, 68, 0.25);
    color: #fecaca;
}

#recommended-combo-list li.recommendation-item,
#brake-match-list li.recommendation-item {
    border-color: rgba(0, 127, 255, 0.52);
    background: rgba(0, 127, 255, 0.28);
    color: #ffffff;
}

#recommended-combo-list li.suggestion-item {
    border-color: rgba(34, 197, 94, 0.52);
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

#recommended-combo-list li.install-item {
    border-color: rgba(251, 191, 36, 0.52);
    background: rgba(251, 191, 36, 0.18);
    color: #fef3c7;
}

/* New collapsible compatibility sections */
.compatibility-section {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.compatibility-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.compatibility-section-header:hover {
    opacity: 0.8;
}

.compatibility-section-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.compatibility-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compatibility-section-list li {
    padding: 10px 16px;
    margin-bottom: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    font-size: 13px;
    line-height: 1.4;
}

.compatibility-section-list li:last-child {
    border-bottom: none;
}

/* Critical Fitment Issues - Red */
.critical-section .compatibility-section-header {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-bottom: none;
}

.critical-section .compatibility-section-list li.incompatible-item {
    border-left-color: #ef4444;
    color: #fecaca;
}

/* Required Parts - Orange/Yellow */
.required-section .compatibility-section-header {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-bottom: none;
}

.required-section .compatibility-section-list li.required-item {
    border-left-color: #f59e0b;
    color: #fde68a;
}

/* Notes / Install Tips - Blue/Gray */
.notes-section .compatibility-section-header {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-bottom: none;
}

.notes-section .compatibility-section-list li.warning-item {
    border-left-color: #3b82f6;
    color: #93c5fd;
}

#saved-builds-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#saved-builds-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(21, 21, 21, 0.9);
    border: 1px solid #222;
}

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

.build-name {
    cursor: pointer;
    color: #ffffff;
    font-weight: 700;
}

.build-name:hover {
    color: var(--color-accent-hover);
}

.build-vehicle-meta {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.3;
}

.build-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.build-actions button {
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #2a2a2a;
}

.build-actions button:hover {
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.product-modal {
    width: min(960px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid #222;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    padding: 24px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

.modal-close:hover {
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
}

.modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
}

.modal-image-wrap {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #222;
    background: #0d0d0d;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-fallback {
    color: var(--color-accent-text);
    font-weight: 800;
    text-align: center;
    padding: 20px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-type {
    color: var(--color-accent-text);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-title {
    margin: 0;
    font-size: 32px;
    color: #ffffff;
}

.modal-brand {
    margin: 0;
    color: #b3b3b3;
    font-size: 16px;
}

.modal-price {
    color: var(--color-accent-text);
    font-size: 28px;
    font-weight: 800;
}

.modal-description {
    margin: 0;
    color: #cccccc;
    line-height: 1.6;
}

.modal-detail {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #222;
    color: #cccccc;
    background: rgba(255, 255, 255, 0.03);
}

.modal-build-btn,
.modal-primary-btn,
.modal-secondary-btn {
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
}

.modal-build-btn {
    padding: 14px 16px;
    border: none;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-primary-btn {
    padding: 13px 16px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 100%);
    color: #0a0a0a;
}

.modal-secondary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-secondary-btn {
    padding: 11px 13px;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

.modal-secondary-btn:hover {
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
}

@media (max-width: 1100px) {
    .builder-layout {
        grid-template-columns: 1fr;
    }

    .builder-sidebar {
        position: static;
    }
}

@media (max-width: 1239px) {
    .mods {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .home-card-grid.three-up,
    .home-card-grid.two-up {
        grid-template-columns: 1fr;
    }

    .vehicle-selector-grid,
    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .wheel-filter-bar {
        grid-template-columns: 1fr;
    }

    .modal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 56px 18px 42px;
    }

    .section-title,
    .mods {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-section {
        margin-bottom: 34px;
    }

    .home-teaser {
        margin-bottom: 34px;
        flex-direction: column;
        align-items: flex-start;
    }

    .community-cta {
        margin-bottom: 34px;
        flex-direction: column;
        align-items: flex-start;
    }

    .community-cta .secondary-link-btn {
        width: 100%;
    }

    .teaser-btn {
        width: 100%;
    }

    .secondary-link-btn {
        width: 100%;
    }

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

    .builder-page {
        padding: 24px 14px 40px;
    }

    .navbar {
        padding: 16px 18px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar .links {
        gap: 14px;
        flex-wrap: wrap;
    }

    .vehicle-selector-grid,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .product-card-grid {
        grid-template-columns: 1fr;
    }

    .product-card-top {
        flex-direction: column;
        gap: 12px;
    }

    .price-wrap {
        align-items: flex-start;
        text-align: left;
    }

    .price {
        font-size: 22px;
    }

    .product-card-actions {
        grid-template-columns: 1fr;
    }

    #saved-builds-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .build-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* Product card polish overrides */
.product-card {
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
        #121212;
    border: 1px solid #222;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    gap: 16px;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 127, 255, 0.2), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 166, 255, 0.7);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(0, 127, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-card.selected {
    border-color: var(--color-accent-active);
    box-shadow:
        inset 0 4px 0 var(--color-accent-active),
        0 0 0 1px rgba(0, 127, 255, 0.48),
        0 16px 34px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(0, 127, 255, 0.2);
}

.product-card.selected:hover {
    box-shadow:
        inset 0 4px 0 var(--color-accent-active),
        0 0 0 1px rgba(0, 127, 255, 0.56),
        0 20px 40px rgba(0, 0, 0, 0.42),
        0 0 34px rgba(0, 127, 255, 0.28);
}

.product-card.incompatible-card:hover {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow:
        inset 0 4px 0 #ef4444,
        0 0 0 1px rgba(239, 68, 68, 0.22),
        0 16px 34px rgba(0, 0, 0, 0.38);
}

.product-card-top {
    padding-bottom: 2px;
}

.product-heading {
    gap: 11px;
}

.product-title-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-wrap {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(21, 21, 21, 0.88);
    border: 1px solid rgba(0, 127, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.price-label {
    color: #cccccc;
}

.price {
    color: var(--color-accent-text);
    text-shadow: 0 0 18px rgba(0, 127, 255, 0.36);
}

.product-image {
    transition:
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.product-card:hover .product-image {
    border-color: rgba(0, 127, 255, 0.48);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.description {
    padding-top: 2px;
}

.product-details {
    gap: 7px;
}

.product-meta {
    padding-top: 2px;
}

.product-card-actions {
    padding-top: 2px;
}

.select-product-btn,
.view-details-btn,
.best-price-btn,
.retailer-pill {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
}

.select-product-btn:hover,
.best-price-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 22px rgba(0, 127, 255, 0.52),
        0 0 18px rgba(0, 127, 255, 0.36);
}

.select-product-btn:active,
.view-details-btn:active,
.best-price-btn:active,
.retailer-pill:active {
    transform: translateY(0) scale(0.98);
}

.view-details-btn:hover {
    background: rgba(0, 127, 255, 0.18);
}

.selected-btn:hover {
    transform: none;
    box-shadow:
        inset 0 0 0 1px rgba(34, 197, 94, 0.42),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

.retailer-pills-row {
    gap: 9px;
}

.retailer-pill {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.retailer-pill:hover {
    background: rgba(0, 127, 255, 0.2);
    border-color: rgba(77, 166, 255, 0.68) !important;
    color: var(--color-accent-hover) !important;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card::before,
    .product-image,
    .select-product-btn,
    .view-details-btn,
    .best-price-btn,
    .retailer-pill {
        transition: none;
        animation: none;
    }

    .product-card:hover,
    .select-product-btn:hover,
    .best-price-btn:hover,
    .retailer-pill:hover {
        transform: none;
    }
}

/* Retailer deal display overrides */
.best-price-btn {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    text-align: left;
}

.deal-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 7px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.32);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.best-deal-retailer {
    border-color: rgba(34, 197, 94, 0.48);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.16);
}

.retailer-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.25;
}

.retailer-price-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.retailer-original-price {
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 700;
    text-decoration: line-through;
}

.retailer-live-price {
    color: var(--color-accent-text);
    font-weight: 900;
}

.retailer-savings {
    color: #bbf7d0;
    font-size: 11px;
    font-weight: 900;
}

.best-price-btn .retailer-live-price,
.modal-primary-btn .retailer-live-price {
    color: #0a0a0a;
}

.best-price-btn .retailer-original-price,
.modal-primary-btn .retailer-original-price {
    color: rgba(10, 10, 10, 0.72);
}

.best-price-btn .retailer-savings,
.modal-primary-btn .retailer-savings {
    color: #064e3b;
}

.best-price-btn:hover .retailer-live-price,
.modal-primary-btn:hover .retailer-live-price,
.best-price-btn:hover .retailer-original-price,
.modal-primary-btn:hover .retailer-original-price,
.best-price-btn:hover .retailer-savings,
.modal-primary-btn:hover .retailer-savings {
    color: #0a0a0a;
}

.retailer-pills-row {
    flex-direction: column;
    gap: 8px;
}

.retailer-pill {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

.retailer-price-diff {
    color: #b3b3b3;
    font-size: 11px;
    font-weight: 800;
}

.retailer-pill:hover .retailer-price-diff,
.modal-secondary-btn:hover .retailer-price-diff {
    color: #cccccc;
}

.modal-primary-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    text-align: left;
}

.modal-secondary-row {
    flex-direction: column;
}

.modal-secondary-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

.retailer-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-right: 10px;
}

.retailer-inline.best-deal-retailer {
    align-items: center;
    padding: 4px 7px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.08);
}

.retailer-inline .retailer-price-stack {
    display: inline-flex;
}

.price-wrap .retailer-price-stack {
    justify-content: flex-end;
}

.price .retailer-price-stack {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.price .retailer-original-price {
    font-size: 13px;
}

.price .retailer-live-price {
    font-size: 24px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(0, 127, 255, 0.36);
}

.price .retailer-savings {
    font-size: 11px;
}

@media (max-width: 640px) {
    .price-wrap .retailer-price-stack,
    .price .retailer-price-stack {
        align-items: flex-start;
    }
}

/* Product image real-part photo support */
.product-image {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(180deg, rgba(21, 21, 21, 0.92), rgba(13, 13, 13, 0.98));
}

.product-image img,
.modal-image-wrap img {
    display: block;
    object-fit: contain;
    background: #0d0d0d;
}

.product-fallback,
.modal-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hg-placeholder-fallback {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
    flex-direction: column;
    gap: 9px;
    overflow: hidden;
    color: var(--color-accent-text);
    background:
        radial-gradient(circle at 50% 36%, rgba(0, 127, 255, 0.28), transparent 34%),
        linear-gradient(145deg, rgba(12, 12, 12, 0.98), rgba(2, 8, 15, 0.98));
    border: 1px solid rgba(0, 127, 255, 0.24);
    text-transform: uppercase;
}

.hg-placeholder-fallback::before,
.hg-placeholder-fallback::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hg-placeholder-fallback::before {
    inset: 18%;
    border: 1px solid rgba(77, 166, 255, 0.22);
    transform: skewX(-16deg);
    box-shadow: 0 0 28px rgba(0, 127, 255, 0.16);
}

.hg-placeholder-fallback::after {
    left: 18%;
    right: 18%;
    bottom: 28%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(77, 166, 255, 0.78), transparent);
}

.hg-placeholder-mark,
.hg-placeholder-label,
.hg-placeholder-caption {
    position: relative;
    z-index: 1;
}

.hg-placeholder-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(77, 166, 255, 0.58);
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 18px rgba(0, 127, 255, 0.82);
    box-shadow:
        0 0 0 5px rgba(0, 127, 255, 0.07),
        0 0 24px rgba(0, 127, 255, 0.28);
}

.hg-placeholder-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.hg-placeholder-caption {
    color: #9dccff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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