:root {
    --bg: #050609;
    --bg-soft: #0b0f14;
    --panel: rgba(12, 14, 18, 0.78);
    --panel-strong: rgba(13, 16, 22, 0.94);
    --line: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(255, 255, 255, 0.2);
    --text: #f4f7fb;
    --text-soft: #bfd0df;
    --text-muted: #8fa6b7;
    --accent: #f05a36;
    --accent-deep: #a80f18;
    --accent-cool: #c7d7df;
    --gold: #d7b56d;
    --danger: #ff6b6b;
    --warning: #ffc861;
    --success: #75e6a2;
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.38);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.26);
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.18);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --max-width: 1240px;
    --transition: 0.28s ease;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Barlow", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(215, 181, 109, 0.11), transparent 26%),
        radial-gradient(circle at bottom right, rgba(240, 90, 54, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(3, 4, 7, 0.96), rgba(3, 4, 7, 0.99)),
        url("images/background.avif") center/cover fixed no-repeat;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 20px;
    backdrop-filter: blur(20px);
    background: rgba(3, 5, 8, 0.78);
    border-bottom: 1px solid var(--line);
}

.nav-shell,
.section-shell,
.page-hero,
.hero,
.site-footer {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent-deep));
    box-shadow: 0 12px 26px rgba(255, 63, 51, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: var(--text-muted);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
    color: white;
}

.nav-links a.is-active {
    text-shadow: 0 0 18px rgba(215, 181, 109, 0.32);
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding: 76px 20px 54px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.75rem, 5vw, 5.35rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero-text,
.page-hero p,
.section-heading p,
.feature-card p,
.product-card p,
.hero-slide-card p,
.site-footer p,
.summary-text {
    color: var(--text-soft);
    line-height: 1.62;
    font-size: 1.02rem;
}

.hero-actions,
.cta-links,
.summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent-deep));
    color: white;
    box-shadow: 0 16px 36px rgba(255, 63, 51, 0.3);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: white;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.feature-card,
.build-summary,
.custom-panel,
.product-card,
.hero-slider,
.custom-gallery {
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
        var(--panel);
    box-shadow: var(--shadow-md);
}

.hero-metrics div {
    padding: 0 18px 0 0;
    border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
    border-right: none;
}

.hero-metrics strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.hero-metrics span {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

.hero-slider,
.custom-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.hero-slide,
.custom-slide {
    display: none;
    position: relative;
}

.hero-slide.active,
.custom-slide.active {
    display: block;
}

.hero-slide img,
.custom-slide img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    max-height: 720px;
    object-fit: cover;
    display: block;
}

.hero-slide::after,
.custom-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.56));
}

.hero-slide-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    padding: 22px;
    border-radius: 14px;
    background: rgba(5, 11, 19, 0.64);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-slide-card span,
.summary-label,
.product-tag {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(215, 181, 109, 0.12);
    color: #f1dba3;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-slide-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.slider-controls {
    position: absolute;
    inset: auto 18px 18px auto;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.slider-button {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(8, 10, 14, 0.78);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}

.slider-button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--gold), var(--accent-deep));
}

.section-shell {
    padding: 58px 20px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-heading h2,
.build-summary h2 {
    margin: 0 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.catalog-grid,
.gallery-grid,
.feature-stack {
    display: grid;
    gap: 24px;
}

.catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    justify-content: start;
    align-items: stretch;
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 0;
    box-shadow: var(--shadow-sm);
}

.gallery-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.product-card {
    width: 100%;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card[data-product-url] {
    cursor: pointer;
}

.product-card:hover,
.product-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(215, 181, 109, 0.36);
    box-shadow: var(--shadow-lg);
}

.product-card:focus-visible {
    outline: 3px solid rgba(215, 181, 109, 0.5);
    outline-offset: 4px;
}

.product-card-link {
    display: block;
    color: inherit;
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    height: 260px;
    flex: 0 0 auto;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.055), transparent 58%),
        #0b0d10;
}

.product-card [data-product-main-image] {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    background: transparent;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    padding: 10px 12px 0;
    min-height: 52px;
    flex: 0 0 auto;
    overflow-x: auto;
}

.product-thumbnails-empty {
    pointer-events: none;
}

.product-thumbnails button {
    width: 46px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    overflow: hidden;
    flex: 0 0 auto;
}

.product-thumbnails button.is-active {
    border-color: rgba(215, 181, 109, 0.72);
    box-shadow: 0 0 0 2px rgba(215, 181, 109, 0.12);
}

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

.product-card-link img {
    transition: transform 0.45s ease, filter var(--transition), opacity var(--transition);
}

.product-card-link:hover img,
.product-card-link:focus-visible img {
    transform: scale(1.035);
}

.product-card.is-sold-out img {
    filter: grayscale(0.45);
    opacity: 0.58;
}

.sold-out-overlay {
    position: absolute;
    inset: 14px auto auto 14px;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.86);
    border: 1px solid rgba(255, 154, 86, 0.45);
    color: #ffb27c;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.product-card.is-sold-out .product-card-body {
    opacity: 0.82;
}

.product-card.is-sold-out .inline-link {
    color: #ffb27c;
}

.product-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px;
}

.product-card h3,
.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.product-card h3 {
    display: -webkit-box;
    min-height: 2.72em;
    overflow: hidden;
    line-height: 1.36;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card p {
    margin: 0;
    font-size: 0.98rem;
}

.product-card-body > p {
    display: -webkit-box;
    min-height: 4.65em;
    overflow: hidden;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: white;
    font-weight: 700;
}

.inline-link {
    color: #f1dba3;
    text-decoration: none;
}

.product-back-link {
    display: inline-flex;
    margin-bottom: 22px;
    color: #f1dba3;
    text-decoration: none;
    font-weight: 800;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.product-detail-gallery,
.product-detail-info {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: var(--shadow-md);
}

.product-detail-gallery {
    padding: 18px;
}

.product-detail-main {
    display: grid;
    place-items: center;
    min-height: 520px;
    border-radius: 12px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.055), transparent 58%),
        #0b0d10;
    overflow: hidden;
}

.product-detail-main img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    object-position: center;
    padding: 18px;
    display: block;
}

.product-detail-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
}

.product-detail-thumbnails button {
    width: 82px;
    height: 68px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0b0d10;
    cursor: pointer;
    overflow: hidden;
}

.product-detail-thumbnails button.is-active {
    border-color: rgba(215, 181, 109, 0.72);
    box-shadow: 0 0 0 2px rgba(215, 181, 109, 0.12);
}

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

.product-detail-info {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.product-detail-info h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1;
    letter-spacing: 0;
}

.product-detail-meta,
.product-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-detail-meta > span:first-child,
.product-trust-row span {
    display: inline-flex;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
}

.product-detail-price {
    margin: 0;
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 900;
}

.product-detail-description,
.product-detail-note {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.quantity-control {
    display: inline-grid;
    grid-template-columns: 42px 72px 42px;
    width: fit-content;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.quantity-control button,
.quantity-control input {
    min-height: 42px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 900;
    text-align: center;
}

.quantity-control button {
    cursor: pointer;
}

.quantity-control input {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-detail-actions .button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.split-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.feature-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    padding: 0 18px 0 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border-right: 1px solid var(--line);
}

.feature-card:last-child {
    border-right: 0;
}

.cta-strip,
.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 42px 0;
    margin-top: 20px;
    border-radius: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(215, 181, 109, 0.08), transparent 48%, rgba(255, 255, 255, 0.025));
}

.page-hero {
    margin-top: 34px;
}

.custom-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
}

.custom-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-radius: var(--radius-xl);
    padding: 22px;
}

.custom-form,
.summary-list {
    display: grid;
    gap: 16px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.field select,
.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
}

.field textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

.field option {
    color: #050609;
}

.build-summary {
    border-radius: var(--radius-lg);
    padding: 24px;
}

.summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.summary-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
}

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

.summary-total {
    margin-top: 8px;
    padding: 16px !important;
    border: 1px solid rgba(215, 181, 109, 0.32) !important;
    border-radius: var(--radius-sm);
    background: rgba(215, 181, 109, 0.1);
    color: var(--text) !important;
}

.payment-panel {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(215, 181, 109, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(215, 181, 109, 0.08);
}

.payment-panel h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.payment-note,
.payment-helper {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.55;
}

.payment-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.payment-actions .button {
    width: 100%;
    min-height: 48px;
    text-align: center;
}

.cart-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: rgba(215, 181, 109, 0.18);
    color: var(--gold);
    border: 1px solid rgba(215, 181, 109, 0.32);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-card-action {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.cart-layout,
.confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-items: start;
}

.cart-panel,
.cart-summary-panel,
.confirmation-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.cart-heading,
.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-heading h2,
.cart-summary-panel h2,
.confirmation-panel h2 {
    margin: 0 0 16px;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0;
}

.cart-heading button,
.cart-item button {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.cart-item,
.confirmation-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.confirmation-item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
}

.cart-item:last-child,
.confirmation-item:last-child {
    border-bottom: 0;
}

.cart-item img,
.confirmation-item img {
    width: 84px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.confirmation-item img {
    width: 72px;
}

.cart-item small,
.confirmation-item small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
}

.cart-quantity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-quantity span {
    min-width: 26px;
    text-align: center;
    font-weight: 900;
}

.cart-checkout-form {
    display: grid;
    gap: 14px;
}

.cart-checkout-form label {
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-weight: 700;
}

.cart-checkout-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 10px 12px;
    font: inherit;
}

.cart-total-row {
    margin-top: 8px;
    padding: 14px;
    border: 1px solid rgba(215, 181, 109, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(215, 181, 109, 0.08);
}

.cart-empty-actions,
.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.confirmation-summary {
    display: grid;
    gap: 10px;
}

.confirmation-summary p {
    margin: 0;
    color: var(--text-soft);
}

.confirmation-items {
    margin-top: 20px;
}

.confirmation-number {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid rgba(215, 181, 109, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(215, 181, 109, 0.1);
    color: var(--text-soft);
    font-weight: 800;
}

.confirmation-number strong {
    color: var(--gold);
    margin-left: 6px;
    letter-spacing: 0.04em;
}

.wheel-production-note {
    margin-top: 8px !important;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text) !important;
    font-weight: 800;
}

.next-steps-list {
    display: grid;
    gap: 10px;
}

.order-status-message {
    margin: 0 0 14px;
    color: var(--text-soft);
    line-height: 1.6;
}

.order-status-message[data-type="success"] {
    color: var(--success);
}

.order-status-message[data-type="error"] {
    color: #ff9f9f;
}

.wheel-studio-hero {
    min-height: 380px;
}

.wheel-studio-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 24px;
    align-items: start;
}

.wheel-media-column {
    display: grid;
    gap: 14px;
    align-self: start;
}

.wheel-image-card {
    align-self: start;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(215, 181, 109, 0.22);
    background: rgba(8, 10, 14, 0.82);
    box-shadow: var(--shadow-md);
}

.wheel-image-card .custom-slide img {
    width: 100%;
    height: clamp(340px, 42vw, 540px);
    min-height: 0;
    max-height: none;
    object-fit: cover;
    display: block;
}

.wheel-price-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: end;
    padding: 18px;
    border: 1px solid rgba(215, 181, 109, 0.22);
    border-radius: 14px;
    background: rgba(8, 10, 14, 0.76);
    box-shadow: var(--shadow-sm);
}

.wheel-price-strip span,
.wheel-price-strip small {
    color: var(--text-muted);
    font-weight: 700;
}

.wheel-price-strip strong {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.2rem;
    line-height: 0.9;
}

.wheel-price-strip small {
    grid-column: 1 / -1;
}

.wheel-request-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    align-items: start;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.wheel-request-panel .custom-form {
    gap: 14px;
}

.form-intro,
.form-card,
.wheel-summary-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        rgba(8, 10, 14, 0.82);
    box-shadow: var(--shadow-sm);
}

.form-intro {
    padding: 22px;
}

.form-intro h2 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.form-intro p,
.form-section-title p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.form-card {
    padding: 20px;
}

.form-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.form-section-title span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.form-section-title h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    color: var(--text);
}

.addon-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.field-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 22px;
    margin-bottom: 6px;
    white-space: nowrap;
}

.field-label-main {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    letter-spacing: 0;
}

.field label span {
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.field label .free-pill,
.free-pill,
.free-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border: 1px solid rgba(117, 230, 162, 0.42);
    border-radius: 999px;
    background: rgba(117, 230, 162, 0.14);
    color: #22c55e;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(215, 181, 109, 0.62);
    box-shadow: 0 0 0 4px rgba(215, 181, 109, 0.1);
}

.wheel-request-panel .custom-submit {
    width: 100%;
    border-radius: 12px;
}

.wheel-summary-card {
    position: sticky;
    top: 96px;
    padding: 20px;
    border-color: rgba(215, 181, 109, 0.24);
}

.wheel-summary-card h2 {
    font-size: 1.65rem;
    letter-spacing: 0;
}

.wheel-summary-card .summary-text {
    font-size: 0.95rem;
    line-height: 1.55;
}

.wheel-summary-card .summary-list {
    gap: 0;
}

.wheel-summary-card .summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    font-size: 0.95rem;
}

.wheel-summary-card .summary-list strong {
    color: var(--text);
    white-space: nowrap;
}

.wheel-summary-card .summary-total {
    display: flex;
    align-items: center;
    margin-top: 12px;
    font-size: 1.2rem;
}

.custom-submit {
    border: none;
    cursor: pointer;
    font: inherit;
}

.hero-premium {
    min-height: calc(100vh - 90px);
}

.path-grid,
.studio-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.path-card {
    min-height: 540px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    isolation: isolate;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.path-card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 181, 109, 0.42);
    box-shadow: var(--shadow-lg);
}

.path-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.7s ease;
}

.path-card:hover img {
    transform: scale(1.06);
}

.path-card::after,
.page-hero-image::after,
.page-hero-accessories::after,
.page-hero-body::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(3, 4, 7, 0.88));
}

.page-hero-image::after,
.page-hero-accessories::after,
.page-hero-body::after {
    z-index: 0;
}

.path-card div {
    padding: 24px;
}

.path-card h3 {
    margin: 0 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.55rem, 2.4vw, 2.4rem);
    line-height: 1.02;
}

.path-card p {
    color: var(--text-soft);
    line-height: 1.65;
}

.path-card strong {
    display: inline-flex;
    margin-top: 12px;
    color: #f1dba3;
}

.page-hero-image,
.page-hero-accessories,
.page-hero-body {
    min-height: 420px;
    position: relative;
    overflow: hidden;
    align-items: flex-end;
    isolation: isolate;
    padding: 48px;
    border: none;
    border-radius: 12px;
}

.page-hero-image {
    background: url("images/RedWheel1.jpg") center/cover no-repeat;
}

.page-hero-accessories {
    background: url("images/Mcaps4.jpg") center/cover no-repeat;
}

.page-hero-body {
    background: url("images/RedXTGS.JPEG") center/cover no-repeat;
}

.page-hero-image > *,
.page-hero-accessories > *,
.page-hero-body > * {
    position: relative;
    z-index: 1;
}

.catalog-grid-premium {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.product-state {
    display: grid;
    gap: 8px;
    min-height: 160px;
    place-content: center;
    text-align: center;
}

.product-state strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    color: var(--text);
}

.product-state span {
    color: var(--text-muted);
}

.studio-steps {
    padding-top: 44px;
    padding-bottom: 20px;
}

.studio-steps .feature-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.studio-steps .feature-card {
    padding-right: 22px;
}

.custom-layout-premium {
    align-items: stretch;
}

.custom-layout-premium .custom-gallery img {
    min-height: 720px;
}

.custom-layout-premium .custom-panel {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.form-section-title h2 {
    margin: 0 0 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    padding: 42px 20px 56px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
    color: var(--text-soft);
}

.admin-page *,
.admin-page *::before,
.admin-page *::after {
    box-sizing: border-box;
}

.admin-shell {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 20px 48px;
}

.admin-page .page-hero {
    display: block;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow-sm);
}

.admin-page .page-hero h1 {
    max-width: none;
}

.admin-page .page-hero p {
    max-width: 760px;
}

.admin-nav-button,
.admin-panel button,
.table-actions button,
.admin-panel-heading button {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.admin-nav-button {
    padding: 10px 16px;
}

.admin-status {
    margin: 18px 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: var(--text-soft);
}

.admin-status[data-type="success"] {
    border-color: rgba(117, 230, 162, 0.4);
    color: var(--success);
}

.admin-status[data-type="error"] {
    border-color: rgba(255, 106, 61, 0.5);
    color: #ffb29b;
}

.admin-auth {
    display: grid;
    place-items: start center;
}

.admin-app,
.admin-form,
.admin-login,
.admin-filters {
    display: grid;
    gap: 16px;
}

.admin-app {
    grid-template-columns: minmax(0, 1fr);
}

.admin-toolbar,
.admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 20px;
}

.admin-filters {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 220px) minmax(150px, 180px);
    flex: 1;
    min-width: 0;
}

.admin-dashboard-grid,
.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 24px;
    align-items: start;
    min-width: 0;
}

.admin-grid-bottom {
    margin-top: 24px;
}

.admin-product-orders {
    order: 1;
}

.admin-wheel-requests {
    order: 2;
}

.admin-dashboard-grid {
    order: 3;
}

.admin-grid-bottom {
    order: 4;
}

.admin-full {
    grid-column: 1 / -1;
}

.admin-listings-panel,
.admin-form-panel {
    width: 100%;
    max-width: 100%;
}

.admin-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--panel);
    box-shadow: var(--shadow-md);
    padding: 22px;
}

.admin-panel h2,
.admin-login h2 {
    margin: 0 0 16px;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.03em;
}

.admin-form label,
.admin-login label {
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-login input,
.admin-filters input,
.admin-filters select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 10px 12px;
    font: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form option,
.admin-filters option {
    color: #07111a;
}

.admin-image-manager {
    display: grid;
    gap: 10px;
}

.admin-field-heading {
    display: grid;
    gap: 3px;
    color: var(--text);
    font-weight: 900;
}

.admin-field-heading small {
    color: var(--text-muted);
    font-weight: 700;
}

.admin-image-list {
    display: grid;
    gap: 8px;
}

.admin-image-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) repeat(3, minmax(58px, auto));
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.admin-image-row span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-image-row input {
    min-width: 0;
}

.admin-image-row button {
    padding: 8px 10px;
    white-space: nowrap;
}

.admin-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.checkbox-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
}

.checkbox-row input {
    width: auto;
    min-height: 0;
}

.admin-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    table-layout: auto;
}

.admin-listings-panel .admin-table {
    min-width: 640px;
}

.admin-orders-table {
    min-width: 980px;
}

.admin-table th,
.admin-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-table small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
}

.status-pill {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-weight: 800;
    text-transform: capitalize;
}

.status-active {
    background: rgba(117, 230, 162, 0.14);
    color: #8ff0b5;
    border: 1px solid rgba(117, 230, 162, 0.32);
}

.status-draft {
    background: rgba(255, 200, 97, 0.14);
    color: var(--warning);
    border: 1px solid rgba(255, 200, 97, 0.34);
}

.status-archived {
    background: rgba(255, 107, 107, 0.14);
    color: #ff9f9f;
    border: 1px solid rgba(255, 107, 107, 0.34);
}

.status-sold_out {
    background: rgba(255, 154, 86, 0.14);
    color: #ffb27c;
    border: 1px solid rgba(255, 154, 86, 0.34);
}

.status-pending {
    background: rgba(255, 200, 97, 0.14);
    color: var(--warning);
    border: 1px solid rgba(255, 200, 97, 0.34);
}

.status-pending_payment,
.status-quote_requested,
.status-unpaid {
    background: rgba(255, 200, 97, 0.14);
    color: var(--warning);
    border: 1px solid rgba(255, 200, 97, 0.34);
}

.status-quoted,
.status-awaiting_payment {
    background: rgba(124, 190, 255, 0.14);
    color: #9ed0ff;
    border: 1px solid rgba(124, 190, 255, 0.34);
}

.status-paid,
.status-deposit_paid {
    background: rgba(117, 230, 162, 0.14);
    color: #8ff0b5;
    border: 1px solid rgba(117, 230, 162, 0.32);
}

.status-refunded {
    background: rgba(124, 190, 255, 0.14);
    color: #9ed0ff;
    border: 1px solid rgba(124, 190, 255, 0.34);
}

.status-failed {
    background: rgba(255, 107, 107, 0.14);
    color: #ff9f9f;
    border: 1px solid rgba(255, 107, 107, 0.34);
}

.status-fulfilled {
    background: rgba(117, 230, 162, 0.14);
    color: #8ff0b5;
    border: 1px solid rgba(117, 230, 162, 0.32);
}

.status-in_production,
.status-shipped {
    background: rgba(215, 181, 109, 0.14);
    color: #f1dba3;
    border: 1px solid rgba(215, 181, 109, 0.32);
}

.status-cancelled {
    background: rgba(255, 107, 107, 0.14);
    color: #ff9f9f;
    border: 1px solid rgba(255, 107, 107, 0.34);
}

.status-approved {
    background: rgba(117, 230, 162, 0.14);
    color: #8ff0b5;
    border: 1px solid rgba(117, 230, 162, 0.32);
}

.status-denied {
    background: rgba(255, 107, 107, 0.14);
    color: #ff9f9f;
    border: 1px solid rgba(255, 107, 107, 0.34);
}

.status-contacted {
    background: rgba(124, 190, 255, 0.14);
    color: #9ed0ff;
    border: 1px solid rgba(124, 190, 255, 0.34);
}

.status-completed {
    background: rgba(198, 209, 215, 0.14);
    color: #d7e0e5;
    border: 1px solid rgba(198, 209, 215, 0.28);
}

.admin-requests-panel {
    margin-bottom: 24px;
}

.admin-order-filters {
    display: flex;
    width: auto;
    grid-template-columns: none;
}

.table-actions select {
    min-height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 8px 10px;
    font: inherit;
    font-weight: 700;
}

.table-actions option {
    color: #050609;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-actions button,
.admin-panel-heading button {
    padding: 8px 11px;
}

.admin-preview-card {
    max-width: 420px;
}

.admin-order-item + .admin-order-item {
    margin-top: 8px;
}

.admin-quote-tools {
    display: grid;
    gap: 8px;
    width: min(100%, 240px);
}

.admin-quote-tools input,
.admin-quote-tools textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 8px 10px;
    font: inherit;
}

.admin-quote-tools textarea {
    resize: vertical;
}

.admin-quote-tools button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

@media (max-width: 1040px) {
    .hero,
    .split-section,
    .custom-layout,
    .custom-panel,
    .admin-grid,
    .admin-filters,
    .path-grid,
    .studio-steps {
        grid-template-columns: 1fr;
    }

    .path-card {
        min-height: 420px;
    }

    .hero-metrics div,
    .feature-card {
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 18px;
    }

    .hero-metrics div:last-child,
    .feature-card:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .custom-layout-premium .custom-panel {
        grid-template-columns: 1fr;
    }

    .custom-layout-premium .custom-gallery img {
        min-height: 520px;
    }

    .wheel-studio-layout,
    .wheel-request-panel,
    .cart-layout,
    .confirmation-layout,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .wheel-summary-card {
        position: static;
    }

    .feature-stack,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero,
    .cta-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px 0;
    }

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

    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-item > strong,
    .cart-item > button,
    .cart-quantity {
        grid-column: 2;
        justify-self: start;
    }
}

@media (min-width: 840px) {
    .catalog-grid,
    .catalog-grid-premium {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 620px) and (max-width: 839px) {
    .catalog-grid,
    .catalog-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 619px) {
    .catalog-grid,
    .catalog-grid-premium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 14px 16px;
    }

    .nav-shell {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 10px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .hero {
        padding-top: 36px;
        gap: 28px;
    }

    .section-shell {
        padding: 42px 18px;
    }

    .hero-premium {
        min-height: auto;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-slide img,
    .custom-slide img {
        min-height: 360px;
    }

    .feature-stack,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        inset: auto 14px 14px auto;
    }

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

    .wheel-image-card .custom-slide img {
        height: 360px;
    }

    .product-detail-main {
        min-height: 360px;
    }

    .product-detail-main img {
        height: 360px;
    }

    .wheel-summary-card .summary-list li {
        display: grid;
        gap: 4px;
    }

    .field-label-row {
        flex-wrap: wrap;
        white-space: normal;
    }

    .field-label-main {
        overflow: visible;
        text-overflow: clip;
    }

    .admin-image-row {
        grid-template-columns: 44px 1fr;
    }

    .admin-image-row button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 540px) {
    .brand-text small {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.4rem;
    }

    .hero-slide-card,
    .page-hero,
    .cta-strip,
    .custom-panel,
    .build-summary {
        padding: 20px 0;
    }

    .product-card [data-product-main-image],
    .gallery-grid img {
        height: 260px;
    }

    .path-card {
        min-height: 360px;
    }

    .page-hero-image,
    .page-hero-accessories,
    .page-hero-body {
        min-height: 360px;
        padding: 24px;
    }

    .form-intro,
    .form-card,
    .wheel-summary-card {
        padding: 16px;
    }

    .wheel-image-card .custom-slide img {
        height: 300px;
    }

    .product-detail-gallery,
    .product-detail-info {
        padding: 16px;
    }

    .product-detail-main {
        min-height: 300px;
    }

    .product-detail-main img {
        height: 300px;
        padding: 12px;
    }

    .product-detail-thumbnails button {
        width: 68px;
        height: 56px;
    }
}
