:root {
    --gold: #f6c343;
    --gold-dark: #b8860b;
    --action-neutral: #f8fafc;
    --action-neutral-mid: #d6dde7;
    --action-neutral-dark: #111827;
    --action-neutral-border: rgba(226, 232, 240, 0.72);
    --blue: #008cff;
    --blue-dark: #0057c8;
    --ink: #111111;
    --muted: #6b6b6b;
    --soft: #f6f3eb;
    --card: #ffffff;
    --line: #e7ddc8;
    --dark: #0e0e0e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.topbar {
    background: linear-gradient(90deg, #050505, #111827 48%, #06152e);
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    padding: 9px 16px;
    letter-spacing: 0.03em;
}

.site-header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7vw;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    letter-spacing: 0.08em;
    font-weight: 900;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand b {
    color: var(--gold-dark);
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.admin-pill {
    background: var(--ink);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
}

.hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    min-height: 620px;
    align-items: center;
    padding: 70px 7vw;
}

.hero-polished {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(0, 140, 255, 0.20), transparent 32%),
        radial-gradient(circle at 18% 76%, rgba(246, 195, 67, 0.24), transparent 28%),
        linear-gradient(135deg, #fbfaf6 0%, #e9dfcb 58%, #d8e4f7 100%);
}

.hero-polished::before {
    content: "";
    position: absolute;
    inset: auto -6vw -18vw auto;
    width: 520px;
    height: 520px;
    background: url('../img/symphonypc-logo-gold.png') center / contain no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.hero-polished > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin: 0 0 10px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.95;
    margin: 12px 0 18px;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.lead {
    color: #333333;
    font-size: 18px;
    line-height: 1.55;
    max-width: 660px;
}

.btns,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    text-decoration: none;
    font-weight: 900;
    border-radius: 2px;
    cursor: pointer;
}

.btn.gold {
    background: linear-gradient(135deg, var(--action-neutral), var(--action-neutral-mid));
    border-color: var(--action-neutral-border);
    color: var(--action-neutral-dark);
}

.btn.wide {
    width: 100%;
    margin-top: 18px;
}

.hero-showcase {
    background: #111111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 26px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
}

.hero-showcase img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.hero-placeholder {
    min-height: 440px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 30%, rgba(202, 162, 74, 0.60), transparent 30%),
        linear-gradient(135deg, #161616, #333333);
}

.hero-placeholder span,
.hero-placeholder small {
    display: block;
    color: #d7d7d7;
}

.hero-placeholder strong {
    display: block;
    margin: 8px 0;
    font-size: 32px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-row div {
    background: #ffffff;
    padding: 30px 7vw;
    text-align: center;
}

.stats-row strong {
    display: block;
    font-size: 34px;
}

.stats-row span {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 42px 7vw;
    background: #ffffff;
}

.feature {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.feature b,
.feature span {
    display: block;
}

.feature span {
    margin-top: 4px;
    color: var(--muted);
}

.section {
    padding: 72px 7vw;
}

.section.narrow {
    max-width: 980px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
}

.section h2,
.split-cta h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    margin: 0;
}

.build-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.build-card {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.build-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111111;
    display: block;
}

.build-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.build-card:hover .build-image img {
    transform: scale(1.04);
}

.badge {
    display: inline-flex;
    padding: 7px 10px;
    background: var(--ink);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.build-image .badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.badge.sold {
    background: #8e2323;
}

.badge.available {
    background: #1f6b3a;
}

.build-body {
    padding: 20px;
}

.build-date {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.build-body h3 {
    font-size: 20px;
    margin: 9px 0;
}

.build-body h3 a {
    text-decoration: none;
}

.build-body p {
    color: var(--muted);
    line-height: 1.45;
    min-height: 42px;
}

.mini-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.mini-specs span {
    border: 1px solid var(--line);
    padding: 6px 8px;
    font-size: 12px;
    background: #fafafa;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.card-bottom a {
    font-weight: 900;
    text-decoration: none;
}

.price {
    font-weight: 900;
    font-size: 20px;
}

.price.big {
    font-size: 34px;
    margin: 20px 0;
}

.split-cta {
    margin: 0 7vw 72px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: var(--dark);
    color: #ffffff;
}

.split-cta p {
    max-width: 720px;
    color: #dddddd;
    line-height: 1.55;
}

.page-hero {
    padding: 70px 7vw;
    background: linear-gradient(135deg, #f9f7f1, #e9e1d0);
}

.page-hero.small {
    min-height: 280px;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 12px;
    margin-bottom: 28px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9d0bf;
    padding: 11px 12px;
    font: inherit;
    background: #ffffff;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.product-page {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding: 62px 7vw;
}

.gallery .main-photo {
    background: #111111;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
}

.gallery .main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumb-row button {
    border: 1px solid var(--line);
    padding: 0;
    background: #ffffff;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.thumb-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    margin: 14px 0;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
}

.spec-table {
    border: 1px solid var(--line);
    margin: 20px 0;
}

.spec-table div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
    border-bottom: 0;
}

.spec-table span {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.sold-notice {
    padding: 15px;
    background: #fff4e1;
    border: 1px solid #e5c984;
    font-weight: 700;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-top: 0;
}

.panel {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.panel h2,
.panel h3 {
    margin-top: 0;
}

.login {
    max-width: 440px;
    margin: 80px auto;
    padding: 32px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.login label,
.panel label {
    display: block;
    margin-bottom: 16px;
    font-weight: 800;
}

.error-text {
    color: #9c1c1c;
    font-weight: 800;
}

.admin-wrap {
    display: grid;
    grid-template-columns: 245px 1fr;
    min-height: 720px;
}

.sidebar {
    background: #111111;
    color: #ffffff;
    padding: 24px;
}

.sidebar h2 {
    margin-top: 0;
}

.sidebar a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-main {
    padding: 32px;
    background: #f8f5ef;
}

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

.check-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.check-label input {
    width: auto;
    min-height: auto;
}

.admin-preview {
    width: 260px;
    height: 170px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.admin-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.admin-gallery-preview img,
.table-thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

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

.admin-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.admin-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 22px;
}

.admin-stats h1 {
    margin-bottom: 0;
}

.footer {
    display: grid;
    gap: 26px;
    padding: 38px 7vw 28px;
    background: #111111;
    color: #ffffff;
}

.footer-main,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
}

.footer-logo {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(1) brightness(1.8) contrast(1.15);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-payments span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 9px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
}

.footer p {
    margin: 0;
    color: #d4d4d4;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 950px) {
    .hero,
    .product-page,
    .details-grid,
    .grid.two {
        grid-template-columns: 1fr;
    }

    .build-grid,
    .features,
    .stats-row,
    .admin-stats,
    .grid {
        grid-template-columns: 1fr;
    }

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

    .admin-wrap {
        grid-template-columns: 1fr;
    }

    .site-header,
    .footer,
    .section-head,
    .split-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


.hero-showcase img {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.hero-placeholder {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background:
        linear-gradient(145deg, rgba(5, 5, 5, 0.92), rgba(12, 26, 48, 0.92)),
        radial-gradient(circle at 75% 20%, rgba(246, 195, 67, 0.30), transparent 35%);
    color: #ffffff;
    border-radius: 30px;
    min-height: 420px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.hero-placeholder::before {
    content: "";
    width: 130px;
    height: 130px;
    background: url('../img/symphonypc-logo-gold.png') center / contain no-repeat;
    border-radius: 50%;
    margin-bottom: 18px;
}

.hero-placeholder span,
.hero-placeholder strong,
.hero-placeholder small {
    display: block;
}

.hero-placeholder span {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-placeholder strong {
    font-size: 34px;
    margin-top: 6px;
}

.hero-placeholder small {
    color: rgba(255, 255, 255, 0.68);
    margin-top: 10px;
}

.feature,
.stats-row > div,
.build-card,
.admin-card {
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

@media (max-width: 760px) {
    .brand span {
        font-size: 13px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }
}

.notice {
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 0 18px;
    font-weight: 700;
}

.notice p {
    margin: 0 0 6px;
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice.success {
    background: #eaf8ef;
    color: #146c2e;
    border: 1px solid #b8e4c5;
}

.notice.error {
    background: #fff0ef;
    color: #8d1d16;
    border: 1px solid #f1bbb7;
}

small,
.help-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.admin-current-image {
    margin: 16px 0;
}

.admin-current-image span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.admin-preview.wide {
    width: min(520px, 100%);
    height: 260px;
}

.gallery-manager-wrap {
    margin: 22px 0;
}

.gallery-manager-wrap h2 {
    margin-bottom: 6px;
}

.admin-gallery-manager {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.gallery-sort-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    cursor: grab;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
}

.gallery-sort-card.dragging {
    opacity: 0.55;
}

.gallery-sort-card img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    border: 1px solid var(--line);
}

.gallery-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    font-size: 13px;
}

.gallery-card-actions label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.gallery-card-actions input {
    width: auto;
    min-height: auto;
}

.drag-handle {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.row-actions,
.compact-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.row-actions form {
    margin: 0;
}

.btn.small {
    padding: 8px 12px;
    font-size: 13px;
}

.btn.danger {
    background: #9f1f18;
    color: #ffffff;
    border-color: #9f1f18;
}


/* Homepage editor hero preview */
.hero-admin-preview {
    margin-top: 16px;
}

.hero-preview-frame {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
}

.hero-preview-empty {
    padding: 24px;
    opacity: 0.75;
    text-align: center;
}

/* Portrait-friendly homepage hero slideshow */
.hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.hero-showcase {
    position: relative;
    width: min(100%, 430px);
    aspect-ratio: 3 / 4;
    min-height: 0;
    justify-self: center;
    background: #111111;
}

.hero-showcase img,
.hero-showcase .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 26px;
    opacity: 0;
    transition: opacity 700ms ease;
}

.hero-showcase .hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
}

.hero-slide-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-slide-dots span.is-active {
    background: #ffffff;
}

.hero-placeholder {
    min-height: 0;
    height: 100%;
}

.hero-image-manager {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.hero-image-card {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    cursor: grab;
}

.hero-image-card.is-dragging {
    opacity: 0.6;
}

.hero-image-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    background: #111111;
}

.hero-image-card small {
    display: block;
    overflow-wrap: anywhere;
    opacity: 0.7;
    margin-bottom: 8px;
}

.delete-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

@media (max-width: 950px) {
    .hero-showcase {
        width: min(100%, 390px);
        margin: 0 auto;
    }
}

/* Final production polish: hero, discounts, and About page */
.hero-polished::before {
    display: none;
}

.hero-showcase {
    width: min(100%, 410px);
    aspect-ratio: 9 / 16;
    max-height: 650px;
}

.hero-showcase img,
.hero-showcase .hero-slide {
    object-fit: cover;
    object-position: center center;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.62);
    transform: translateY(-50%) scale(1.04);
}

.hero-arrow-prev {
    left: 14px;
}

.hero-arrow-next {
    right: 14px;
}

.hero-slide-dots span {
    cursor: pointer;
}

.badge.discount {
    background: var(--gold);
    color: #111111;
}

.build-image .badge.discount {
    left: auto;
    right: 14px;
}

.card-price {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
}

.sale-price {
    color: #111111;
    font-weight: 950;
}

.old-price {
    color: var(--muted);
    font-size: 13px;
    text-decoration: line-through;
    font-weight: 800;
}

.price.big.has-sale {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.price.big .old-price {
    font-size: 18px;
}

.sale-note {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--gold);
    color: #111111;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-hero {
    text-align: left;
}

.about-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.about-main-copy p {
    color: #333333;
    line-height: 1.7;
    margin: 0 0 16px;
}

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

.process-card {
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.05);
}

.process-card span {
    display: inline-flex;
    font-size: 12px;
    font-weight: 950;
    color: var(--gold-dark);
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.process-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.about-final-note {
    margin-top: 0;
}

@media (max-width: 950px) {
    .hero-showcase {
        width: min(100%, 360px);
        aspect-ratio: 9 / 16;
        max-height: 560px;
    }

    .about-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 42px;
    }

    .hero-showcase {
        width: min(92vw, 330px);
        max-height: 520px;
        border-radius: 22px;
    }

    .hero-showcase img,
    .hero-showcase .hero-slide {
        border-radius: 22px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .hero-arrow-prev {
        left: 10px;
    }

    .hero-arrow-next {
        right: 10px;
    }

    .about-process-grid {
        grid-template-columns: 1fr;
    }
}

/* Revision: stronger hero arrows, clearer sale pricing, and structured About page */
.hero-showcase {
    overflow: hidden;
}

.hero-arrow {
    opacity: 1;
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    font-size: 38px;
    font-weight: 700;
}

.hero-arrow-prev {
    left: 16px;
}

.hero-arrow-next {
    right: 16px;
}

.hero-arrow:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.card-price.has-sale {
    align-items: flex-start;
    gap: 4px;
}

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

.sale-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--gold);
    color: #111111;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-price .sale-price {
    color: #0d0d0d;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.card-price .old-price {
    color: #777777;
    font-size: 14px;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: 850;
}

.price.big .sale-price-wrap {
    gap: 8px;
}

.price.big .sale-label {
    font-size: 12px;
    padding: 5px 10px;
}

.price.big .sale-price {
    color: #111111;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.price.big .old-price {
    color: #777777;
    font-size: clamp(18px, 2.5vw, 24px);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.about-intro-shell {
    padding: 34px 0 10px;
}

.about-intro-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(34px, 6vw, 70px);
    background:
        radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.22), transparent 32%),
        linear-gradient(135deg, #121212 0%, #252525 52%, #101010 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

.about-intro-card h1 {
    max-width: 820px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.about-intro-card .eyebrow {
    color: var(--gold);
}

.about-lead {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
}

.about-story-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.about-story-card,
.about-summary-card,
.about-closing-strip {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.05);
}

.about-story-card {
    padding: clamp(26px, 4vw, 42px);
}

.about-section-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-story-card h2,
.about-process-section h2,
.about-closing-strip h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.about-story-card p {
    margin: 0 0 18px;
    color: #333333;
    line-height: 1.75;
    font-size: 16px;
}

.about-story-card p:last-child {
    margin-bottom: 0;
}

.about-summary-card {
    padding: 26px;
    position: sticky;
    top: 92px;
}

.about-summary-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
}

.about-summary-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.about-summary-card li {
    position: relative;
    padding-left: 22px;
    color: #333333;
    line-height: 1.5;
}

.about-summary-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.section-heading-row h2 {
    margin-bottom: 0;
}

.section-heading-row > p {
    max-width: 480px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.about-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-step-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    border: 1px solid var(--line);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.05);
}

.about-step-card::after {
    content: '';
    position: absolute;
    right: -38px;
    top: -38px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.13);
}

.about-step-card span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.about-step-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.about-step-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.about-closing-strip {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: clamp(26px, 4vw, 42px);
    margin-top: 10px;
}

.about-closing-strip p:last-child {
    margin: 0;
    color: #333333;
    line-height: 1.7;
}

@media (max-width: 950px) {
    .about-story-section,
    .about-closing-strip {
        grid-template-columns: 1fr;
    }

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

    .about-timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .hero-arrow-prev {
        left: 12px;
    }

    .hero-arrow-next {
        right: 12px;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row > p {
        margin-top: 12px;
    }

    .about-timeline-grid {
        grid-template-columns: 1fr;
    }

    .about-step-card {
        min-height: auto;
    }
}

/* Revision: mobile hero separation and cleaner About page layout */
@media (max-width: 700px) {
    .hero,
    .hero.hero-polished {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        min-height: auto;
        padding: 42px 5vw 46px;
        overflow: hidden;
    }

    .hero-copy {
        position: relative;
        z-index: 5;
        width: 100%;
        order: 1;
    }

    .hero h1 {
        font-size: clamp(38px, 13vw, 54px);
        line-height: 0.98;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-showcase {
        order: 2;
        position: relative;
        z-index: 1;
        width: min(86vw, 315px);
        max-width: 315px;
        aspect-ratio: 9 / 14;
        max-height: 490px;
        margin: 4px auto 0;
        justify-self: auto;
        align-self: center;
        transform: none;
    }

    .hero-showcase img,
    .hero-showcase .hero-slide {
        object-position: center center;
    }
}

.about-hero-clean {
    padding: clamp(36px, 6vw, 78px) 7vw clamp(22px, 4vw, 42px);
}

.about-hero-clean > div {
    max-width: 980px;
    padding: clamp(30px, 5vw, 58px);
    border-radius: 30px;
    background: linear-gradient(135deg, #121212 0%, #242424 52%, #111111 100%);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}

.about-hero-clean h1 {
    max-width: 860px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.about-hero-clean p:not(.eyebrow) {
    max-width: 800px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.about-build-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 26px;
    align-items: start;
}

.about-build-copy,
.about-testing-panel,
.about-process-clean,
.about-final-clean {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 46px rgba(0,0,0,0.05);
}

.about-build-copy {
    padding: clamp(28px, 4vw, 46px);
}

.about-kicker {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(212,175,55,0.16);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-build-copy h2,
.about-process-head h2,
.about-final-clean h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.about-build-copy p:not(.about-kicker) {
    margin: 0 0 18px;
    color: #333333;
    line-height: 1.75;
    font-size: 16px;
}

.about-build-copy p:last-child {
    margin-bottom: 0;
}

.about-testing-panel {
    padding: 28px;
    position: sticky;
    top: 92px;
    background: linear-gradient(180deg, #ffffff 0%, #faf7ef 100%);
}

.about-testing-panel span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-testing-panel h3 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.about-testing-panel p {
    margin: 0;
    color: #333333;
    line-height: 1.65;
}

.about-process-clean {
    padding: clamp(28px, 4vw, 46px);
}

.about-process-head {
    max-width: 860px;
    margin-bottom: 30px;
}

.about-process-head p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    max-width: 720px;
}

.about-process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-process-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.about-process-item b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(212,175,55,0.16);
    color: var(--gold-dark);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.about-process-item h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.2;
}

.about-process-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.about-final-clean {
    padding: clamp(28px, 4vw, 46px);
    margin-bottom: 28px;
}

.about-final-clean p:last-child {
    margin: 0;
    max-width: 850px;
    color: #333333;
    line-height: 1.7;
}

@media (max-width: 950px) {
    .about-build-section {
        grid-template-columns: 1fr;
    }

    .about-testing-panel {
        position: static;
    }
}

@media (max-width: 700px) {
    .about-hero-clean {
        padding: 28px 5vw 18px;
    }

    .about-hero-clean > div,
    .about-build-copy,
    .about-testing-panel,
    .about-process-clean,
    .about-final-clean {
        border-radius: 22px;
    }

    .about-process-list {
        grid-template-columns: 1fr;
    }

    .about-process-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }
}

/* Final fix: iPhone hero spacing and About page redesign */
.hero-polished::before {
    display: none !important;
}

@media (max-width: 760px) {
    .hero,
    .hero.hero-polished {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        padding: 34px 18px 42px !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .hero-copy {
        grid-row: 1 !important;
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-copy .btns {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero h1 {
        font-size: clamp(34px, 11vw, 46px) !important;
        line-height: 1.02 !important;
        margin: 0 0 14px !important;
    }

    .hero p {
        font-size: 15.5px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }

    .hero-showcase {
        grid-row: 2 !important;
        position: relative !important;
        z-index: 1 !important;
        width: min(82vw, 300px) !important;
        max-width: 300px !important;
        aspect-ratio: 9 / 14 !important;
        height: auto !important;
        max-height: 450px !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        justify-self: center !important;
        align-self: center !important;
        transform: none !important;
    }

    .hero-showcase img,
    .hero-showcase .hero-slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

.about-page-v2 {
    padding: clamp(34px, 5vw, 70px) 7vw clamp(52px, 7vw, 92px);
    background:
        radial-gradient(circle at 90% 0%, rgba(246, 195, 67, 0.16), transparent 28%),
        radial-gradient(circle at 5% 18%, rgba(0, 140, 255, 0.10), transparent 28%),
        #fbfaf6;
}

.about-page-v2 * {
    box-sizing: border-box;
}

.about-hero-v2 {
    max-width: 1000px;
    margin: 0 auto 34px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(246,239,222,0.88));
    box-shadow: 0 24px 70px rgba(0,0,0,0.08);
}

.about-hero-v2 .eyebrow,
.about-label-v2 {
    text-align: left;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.about-hero-v2 h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(36px, 5.2vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--ink);
}

.about-lead-v2 {
    max-width: 770px;
    margin: 22px 0 0;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
    color: var(--muted);
}

.about-split-v2 {
    max-width: 1100px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 24px;
    align-items: stretch;
}

.about-story-v2,
.about-card-v2,
.about-process-v2,
.about-bottom-v2 {
    border: 1px solid rgba(20,20,20,0.08);
    border-radius: 26px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 50px rgba(0,0,0,0.06);
}

.about-story-v2 {
    padding: clamp(26px, 4vw, 44px);
}

.about-story-v2 h2,
.about-process-title-v2 h2,
.about-bottom-v2 h2 {
    margin: 0 0 18px;
    color: var(--ink);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.about-story-v2 h2 {
    font-size: clamp(28px, 3.6vw, 44px);
}

.about-story-v2 p:not(.about-label-v2) {
    margin: 0 0 17px;
    color: #4b4b4b;
    font-size: 16.5px;
    line-height: 1.75;
}

.about-story-v2 p:last-child {
    margin-bottom: 0;
}

.about-card-v2 {
    padding: 28px;
    background: linear-gradient(145deg, #111111, #1f2937);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
}

.about-card-v2 span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.about-card-v2 h3 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.about-card-v2 p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.about-process-v2 {
    max-width: 1100px;
    margin: 0 auto 28px;
    padding: clamp(26px, 4vw, 42px);
}

.about-process-title-v2 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(20,20,20,0.08);
}

.about-process-title-v2 h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 0;
}

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

.about-step-v2 {
    padding: 22px;
    border-radius: 20px;
    background: #f7f2e8;
    border: 1px solid rgba(20,20,20,0.06);
}

.about-step-v2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--ink);
    color: white;
    font-weight: 900;
    font-size: 13px;
}

.about-step-v2 h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 19px;
    letter-spacing: -0.02em;
}

.about-step-v2 p {
    margin: 0;
    color: #5d5d5d;
    line-height: 1.6;
    font-size: 15px;
}

.about-bottom-v2 {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 42px);
    background: linear-gradient(135deg, #ffffff, #f3ead7);
}

.about-bottom-v2 h2 {
    font-size: clamp(28px, 3.8vw, 44px);
}

.about-bottom-v2 p {
    max-width: 760px;
    margin: 0;
    color: #4f4f4f;
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-split-v2,
    .about-grid-v2 {
        grid-template-columns: 1fr;
    }

    .about-card-v2 {
        min-height: auto;
    }

    .about-process-title-v2 {
        display: block;
    }
}

@media (max-width: 600px) {
    .about-page-v2 {
        padding: 24px 16px 52px;
    }

    .about-hero-v2,
    .about-story-v2,
    .about-card-v2,
    .about-process-v2,
    .about-bottom-v2 {
        border-radius: 22px;
    }

    .about-hero-v2 {
        padding: 26px 22px;
    }

    .about-story-v2,
    .about-card-v2,
    .about-process-v2,
    .about-bottom-v2 {
        padding: 24px 20px;
    }

    .about-story-v2 p:not(.about-label-v2) {
        font-size: 15.5px;
        line-height: 1.68;
    }
}


/* HARD FIX 2026-07-03: mobile hero must stack copy above image. */
.hero-polished::before{display:none!important;content:none!important;}
@media (max-width: 1024px){
  .hero,
  .hero.hero-polished{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:24px!important;
    min-height:0!important;
    padding:30px 18px 42px!important;
    overflow:hidden!important;
  }
  .hero-copy{
    order:1!important;
    width:100%!important;
    max-width:100%!important;
    position:relative!important;
    z-index:5!important;
  }
  .hero .eyebrow{font-size:11px!important;margin-bottom:10px!important;letter-spacing:.16em!important;}
  .hero h1{
    max-width:620px!important;
    font-size:clamp(34px,10vw,52px)!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
    margin:0 0 14px!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .hero p{
    max-width:620px!important;
    font-size:16px!important;
    line-height:1.55!important;
    margin:0!important;
  }
  .hero .btns{margin-top:20px!important;}
  .hero-showcase{
    order:2!important;
    width:min(100%,430px)!important;
    max-width:430px!important;
    aspect-ratio:4/5!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:4px auto 0!important;
    position:relative!important;
    z-index:1!important;
    transform:none!important;
    overflow:hidden!important;
    border-radius:24px!important;
  }
  .hero-showcase img,
  .hero-showcase .hero-slide{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
    object-position:center center!important;
    border-radius:24px!important;
    transform:none!important;
  }
  .hero-arrow{width:42px!important;height:42px!important;font-size:30px!important;}
  .hero-arrow-prev{left:12px!important;}
  .hero-arrow-next{right:12px!important;}
}
@media (max-width: 520px){
  .hero,
  .hero.hero-polished{padding:24px 16px 34px!important;gap:20px!important;}
  .hero h1{font-size:clamp(32px,12vw,44px)!important;max-width:360px!important;}
  .hero p{font-size:15.5px!important;max-width:360px!important;}
  .hero-showcase{width:100%!important;max-width:360px!important;aspect-ratio:4/5!important;margin-top:0!important;}
  .site-header{gap:14px!important;}
  .site-header nav{width:100%!important;gap:16px!important;overflow-x:auto!important;padding-bottom:2px!important;flex-wrap:nowrap!important;}
  .site-header nav a{white-space:nowrap!important;}
}

/* ================================
   Phase 1 Header Upgrade
   Social bar + search + account/cart
   ================================ */
.social-topbar {
    background: #050505;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 8px 7vw;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.social-topbar__links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-topbar a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.social-topbar a:hover {
    color: var(--blue);
    opacity: 1;
}

.social-topbar__trust {
    color: #d7e6ff;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.phase-one-header.site-header {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    min-height: 82px;
    height: auto;
    gap: 22px;
    padding: 14px 7vw;
    top: 0;
}

.phase-one-header .brand {
    justify-self: start;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    flex-wrap: wrap;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.main-nav a:not(.admin-pill)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.main-nav a:not(.admin-pill):hover::after {
    transform: scaleX(1);
}

.main-nav .admin-pill {
    background: linear-gradient(135deg, #07111f, #0f243d);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.main-nav .admin-pill:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), #0b3c72);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
}

.icon-action {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #d9e3f0;
    background: #ffffff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.icon-action svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-action:hover {
    transform: translateY(-1px);
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(0, 140, 255, 0.18);
}

.cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.nav-toggle,
.hamburger {
    display: none;
}

.empty-state-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    max-width: 760px;
}

.empty-state-card h2 {
    margin-top: 0;
}

@media (max-width: 1180px) {
    .phase-one-header.site-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    .header-actions {
        grid-column: 3;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .social-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 9px 18px;
    }

    .social-topbar__links {
        gap: 10px 12px;
    }

    .social-topbar__trust {
        text-align: left;
        white-space: normal;
        font-size: 12px;
    }

    .phase-one-header.site-header {
        grid-template-columns: 1fr auto auto;
        padding: 14px 18px;
        gap: 12px;
    }

    .brand span {
        font-size: 13px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.08);
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        order: 2;
    }

    .hamburger span {
        width: 18px;
        height: 2px;
        background: #ffffff;
        border-radius: 999px;
    }

    .header-actions {
        order: 3;
    }

    .icon-action {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        order: 5;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: rgba(7, 10, 15, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        overflow: hidden;
        padding: 6px 0 !important;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    }

    .main-nav a {
        color: rgba(255, 255, 255, 0.9);
        padding: 13px 16px;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }
}

/* Phase 1.1: compact logo-only social bar for mobile */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.social-topbar__links {
    gap: 10px;
    flex-wrap: nowrap;
}

.social-icon-link {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}

.social-icon-link:hover {
    background: rgba(0, 140, 255, 0.22);
    border-color: rgba(0, 140, 255, 0.55);
}

.social-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

@media (max-width: 760px) {
    .social-topbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 14px;
    }

    .social-topbar__links {
        gap: 7px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .social-topbar__links::-webkit-scrollbar {
        display: none;
    }

    .social-icon-link {
        width: 30px;
        height: 30px;
    }

    .social-icon {
        width: 16px;
        height: 16px;
    }

    .social-topbar__trust {
        display: none;
    }
}

/* Phase 2: session cart */
.card-cart-form {
    margin-top: 14px;
}

.product-cart-form {
    margin-top: 18px;
}

.cart-section {
    padding-top: 44px;
}

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

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 14px 35px rgba(17, 17, 17, 0.07);
}

.cart-item__image {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #111111;
    display: block;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__topline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.cart-item h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.cart-item h2 a {
    text-decoration: none;
}

.cart-item p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.45;
}

.cart-summary {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
    position: sticky;
    top: 110px;
}

.cart-summary h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.summary-line.total {
    font-size: 20px;
    border-bottom: 0;
    padding-top: 18px;
}

.summary-note {
    color: var(--muted);
    line-height: 1.45;
    margin: 14px 0 0;
}

.cart-summary .btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.link-button {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: #8e2323;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

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

    .cart-summary {
        position: static;
    }
}

@media (max-width: 620px) {
    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item__image {
        width: 100%;
    }

    .cart-item__remove {
        width: 100%;
    }

    .cart-item__remove .btn {
        width: 100%;
    }
}

/* Phase 3 customer authentication */
.account-menu {
    position: relative;
    display: inline-flex;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 60;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    margin: 4px 6px 8px;
}

.account-dropdown a {
    display: block;
    color: var(--ink);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
}

.account-dropdown a:hover {
    background: #f2f7ff;
    color: var(--blue);
}

.auth-shell {
    min-height: 680px;
    display: grid;
    place-items: center;
    padding: 74px 7vw;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 140, 255, 0.16), transparent 30%),
        radial-gradient(circle at 86% 78%, rgba(246, 195, 67, 0.22), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #10233c 48%, #f6f9ff 48%, #f8fbff 100%);
}

.auth-card {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 32px;
    box-shadow: 0 32px 90px rgba(2, 10, 24, 0.28);
}

.auth-card__aside {
    position: relative;
    min-height: 100%;
    padding: 38px;
    color: #ffffff;
    background:
        linear-gradient(rgba(7, 17, 31, 0.82), rgba(7, 17, 31, 0.88)),
        radial-gradient(circle at 22% 22%, rgba(0, 140, 255, 0.35), transparent 34%),
        linear-gradient(145deg, #07111f, #0f2d50);
}

.auth-card__aside::after {
    content: "";
    position: absolute;
    inset: auto 28px 28px auto;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 64%);
}

.auth-card__aside .eyebrow {
    color: #8ccaff;
}

.auth-card__aside h1 {
    color: #ffffff;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    margin: 14px 0 16px;
}

.auth-card__aside p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.auth-trust-list {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.auth-trust-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

.auth-trust-list li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 140, 255, 0.22);
    color: #ffffff;
    font-size: 13px;
}

.auth-card__form {
    padding: 42px;
}

.auth-card__form h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 38px);
}

.auth-card__form > p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 22px;
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    font-weight: 900;
    color: var(--ink);
}

.auth-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d5e0ee;
    border-radius: 16px;
    padding: 0 16px;
    font: inherit;
    background: #f9fbff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-form input:focus {
    outline: 0;
    background: #ffffff;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.16);
}

.auth-form .btn.wide {
    margin-top: 4px;
    min-height: 52px;
    border-radius: 16px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.auth-links a {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.notice {
    border-radius: 16px;
    padding: 14px 16px;
    margin: 18px 0;
    font-weight: 800;
}

.notice.success {
    background: #eefbf2;
    color: #176b35;
    border: 1px solid #bde8c8;
}

.notice.error {
    background: #fff1f1;
    color: #9c1c1c;
    border: 1px solid #f0c2c2;
}

.account-hero {
    text-align: left;
}

.account-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.account-sidebar,
.account-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.account-sidebar {
    position: sticky;
    top: 18px;
    text-align: center;
}

.account-avatar {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), #07111f);
    color: #ffffff;
    font-size: 36px;
    font-weight: 950;
}

.account-sidebar h2 {
    margin: 0 0 6px;
}

.account-sidebar p {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.account-main {
    display: grid;
    gap: 22px;
}

.account-panel h2 {
    margin-top: 0;
}

.inline-form {
    max-width: 620px;
}

.account-empty {
    max-width: none;
    box-shadow: none;
    background: #f8fbff;
}

@media (max-width: 860px) {
    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

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

    .auth-card__aside {
        min-height: auto;
        padding: 30px;
    }

    .auth-card__form {
        padding: 30px;
    }
}

@media (max-width: 620px) {
    .account-dropdown {
        right: -54px;
    }

    .auth-shell {
        padding: 42px 18px;
        background: linear-gradient(180deg, #07111f 0%, #10233c 34%, #f8fbff 34%, #f8fbff 100%);
    }

    .auth-card__aside,
    .auth-card__form {
        padding: 24px;
    }

    .auth-links {
        flex-direction: column;
    }
}

/* Phase 4 Stripe checkout/order polish */
.checkout-section { max-width: 1180px; margin: 0 auto; }
.checkout-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    margin-bottom: 1.5rem;
}

.checkout-card h2 { margin: 0.25rem 0 0; }
.checkout-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.24);
}
.checkout-status.paid { color: #bbf7d0; background: rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.28); }
.checkout-status.pending { color: #fde68a; background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.28); }
.checkout-status.cancelled, .checkout-status.failed { color: #fecaca; background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.28); }
.checkout-layout { align-items: flex-start; }
.mini-notice { margin: 0.75rem 0; padding: 0.8rem 0.9rem; font-size: 0.92rem; }
.orders-list { display: grid; gap: 0.9rem; }
.order-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.62);
}
.order-card h3 { margin: 0.15rem 0; }
.order-card p { margin: 0; color: #94a3b8; }
.order-card__meta { display: flex; align-items: center; gap: 0.9rem; }
.success-card { border-color: rgba(34, 197, 94, 0.28); }

@media (max-width: 720px) {
    .checkout-card, .order-card, .order-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }
    .order-card__meta { gap: 0.5rem; }
}

/* Phase 4C order confirmation redesign */
.order-confirmation-section {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 42px;
}

.order-confirmation-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 26px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 20%, rgba(59, 130, 246, 0.34), transparent 34%),
        linear-gradient(135deg, #07172f 0%, #082a63 55%, #061127 100%);
    box-shadow: 0 26px 70px rgba(7, 23, 47, 0.22);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.order-confirmation-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 420px;
    height: 260px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(-22deg);
    border-radius: 999px;
}

.order-confirmation-hero__left,
.order-confirmation-hero__right {
    position: relative;
    z-index: 1;
}

.order-confirmation-hero__left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.order-confirmation-check {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #60a5fa;
    border: 4px solid rgba(96, 165, 250, 0.8);
    font-size: 38px;
    font-weight: 900;
    box-shadow: inset 0 0 0 8px rgba(37, 99, 235, 0.12);
}

.order-confirmation-hero h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.order-confirmation-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 750;
}

.order-confirmation-hero .eyebrow {
    color: #60a5fa;
    margin-bottom: 8px;
}

.order-confirmation-hero__right {
    min-width: 360px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    padding-left: 34px;
}

.order-confirmation-hero__right strong {
    display: block;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    word-break: break-word;
}

.order-confirmation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: start;
}

.order-panel {
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
    padding: 26px;
}

.order-panel.compact {
    padding: 24px;
}

.order-panel__heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.order-panel__heading.tight {
    align-items: center;
    margin-bottom: 16px;
}

.order-panel__heading h2 {
    margin: 0;
    color: #061a3d;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.order-panel__heading p,
.order-panel p {
    margin: 6px 0 0;
    color: #475569;
    line-height: 1.55;
}

.order-panel__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0b2a66, #2563eb);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
    font-weight: 900;
}

.order-product-list {
    display: grid;
    gap: 18px;
}

.order-product-card {
    display: grid;
    grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: stretch;
    padding: clamp(16px, 2.4vw, 24px);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.order-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    min-height: 300px;
    box-shadow: none;
}

.order-product-card__image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: clamp(14px, 2.2vw, 24px);
    background: transparent;
}

.order-product-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.order-product-card__body h3 {
    margin: 0 0 16px;
    color: #061a3d;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.order-spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-spec-list li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #ffffff;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.order-spec-list li::before {
    display: none;
}

.order-product-card__summary {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #dbeafe;
}

.order-product-card__price {
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-top: 0;
    border-top: 0;
}

.order-product-card__price span {
    color: #64748b;
    font-weight: 800;
}

.order-product-card__price strong {
    color: #061a3d;
    font-size: clamp(24px, 3vw, 32px);
}

.order-product-card__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.order-mini-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.order-mini-status.paid,
.order-mini-status.delivered {
    background: #dbeafe;
    color: #0b2a66;
}

.order-mini-status.cancelled,
.order-mini-status.failed {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.order-next-step {
    display: flex;
    gap: 18px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.order-next-step__icon {
    font-size: 30px;
    line-height: 1;
}

.order-next-step h3 {
    margin: 0 0 6px;
    color: #1d4ed8;
}

.order-next-step p {
    margin: 0;
    color: #1e3a8a;
}

.order-confirmation-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 112px;
}

.order-confirmation-sidebar .summary-line {
    color: #0f172a;
}

.order-total-paid {
    margin-top: 10px;
    border-radius: 14px;
    border-bottom: 0 !important;
    padding: 18px !important;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #061a3d;
}

.order-total-paid strong {
    color: #2563eb;
    font-size: 30px;
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.stripe-wordmark {
    color: #635bff;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.support-card a {
    display: block;
    margin-top: 12px;
    color: #2563eb;
    font-weight: 850;
    text-decoration: none;
}

.support-card a:hover {
    text-decoration: underline;
}

.order-account-cta {
    margin-top: 24px;
    text-align: center;
    padding: 28px;
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 16px 45px rgba(37, 99, 235, 0.08);
}

.order-account-cta__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0b2a66, #2563eb);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
    font-weight: 900;
}

.order-account-cta h2 {
    margin: 0 0 6px;
    color: #061a3d;
}

.order-account-cta p {
    margin: 0 0 18px;
    color: #475569;
}

@media (max-width: 1040px) {
    .order-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .order-confirmation-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .payment-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .order-confirmation-hero,
    .order-confirmation-hero__left,
    .order-confirmation-grid,
    .order-confirmation-sidebar,
    .order-product-card {
        display: flex;
        flex-direction: column;
    }

    .order-confirmation-hero {
        align-items: flex-start;
        padding: 26px;
    }

    .order-confirmation-hero__right {
        min-width: 0;
        width: 100%;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.24);
        padding-left: 0;
        padding-top: 22px;
    }

    .order-product-card {
        gap: 18px;
    }

    .order-product-card__image,
    .order-product-card__image img {
        min-height: 220px;
    }
}

@media (max-width: 560px) {
    .order-confirmation-section {
        padding-top: 26px;
    }

    .order-confirmation-hero,
    .order-panel,
    .order-account-cta {
        border-radius: 20px;
    }

    .order-panel,
    .order-panel.compact,
    .order-product-card {
        padding: 18px;
    }

    .order-confirmation-check {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        font-size: 30px;
    }

    .order-product-card__body h3 {
        font-size: 24px;
    }

    .order-total-paid {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Phase 5 admin order management + customer order details */
.admin-table-wrap {
    overflow-x: auto;
}

.admin-order-toolbar {
    margin-bottom: 22px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.8fr) minmax(190px, 0.8fr) auto;
    gap: 14px;
    align-items: end;
}

.admin-filter-form label {
    margin: 0;
}

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

.orders-admin-table small,
.admin-order-summary-card small {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #eef2f7;
    color: #334155;
}

.admin-pill.status-paid,
.admin-pill.ship-delivered,
.admin-pill.ship-shipped {
    background: #dcfce7;
    color: #166534;
}

.admin-pill.status-pending,
.admin-pill.ship-preparing {
    background: #fef3c7;
    color: #92400e;
}

.admin-pill.status-failed,
.admin-pill.status-cancelled,
.admin-pill.ship-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.admin-order-header h1 {
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.admin-order-header p {
    margin: 0;
    color: #475569;
    font-weight: 700;
}

.admin-order-header__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-order-layout {
    margin-bottom: 22px;
}

.admin-order-form textarea {
    width: 100%;
    min-height: 130px;
    resize: vertical;
}

.admin-order-summary-card .summary-line {
    color: #0f172a;
}

.clickable-order-card {
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.clickable-order-card:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.order-card__view {
    color: #2563eb;
    font-weight: 900;
    font-size: 13px;
}

.order-product-card__image {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.order-product-card__image img {
    width: 100%;
    height: 240px;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    padding: 12px;
    background: #ffffff;
}

.order-progress-panel {
    margin-top: 22px;
}

.order-progress-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    position: relative;
    margin: 12px 0 22px;
}

.order-progress-step {
    display: grid;
    justify-items: center;
    gap: 7px;
    text-align: center;
    color: #64748b;
    font-weight: 800;
}

.order-progress-step span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e2e8f0;
    color: #64748b;
    border: 4px solid #f8fafc;
    box-shadow: 0 0 0 1px #dbe7f5;
}

.order-progress-step.complete span {
    background: linear-gradient(135deg, #0b2a66, #2563eb);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.order-progress-step strong {
    color: #061a3d;
}

.order-progress-step small {
    font-size: 12px;
    color: #64748b;
}

.order-info-card .summary-line {
    padding: 11px 0;
    color: #0f172a;
}

.order-info-card .summary-line strong {
    text-align: right;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .admin-filter-form,
    .admin-order-header,
    .admin-order-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-order-header__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .order-progress-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-product-card__image img {
        height: 220px;
    }
}

@media (max-width: 520px) {
    .order-progress-track {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   SymphonyPC Premium Performance UI
   Inspired by the cinematic storefront flow of ZTT Builds,
   implemented as an original SymphonyPC blue/graphite theme.
   ========================================================== */
:root {
    --spc-bg: #070a0f;
    --spc-bg-2: #0d121a;
    --spc-panel: rgba(255, 255, 255, 0.065);
    --spc-panel-strong: rgba(255, 255, 255, 0.105);
    --spc-border: rgba(255, 255, 255, 0.14);
    --spc-text: #f7fbff;
    --spc-muted: #aab7c8;
    --spc-blue: #38bdf8;
    --spc-blue-2: #2563eb;
    --spc-glow: rgba(56, 189, 248, 0.32);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.14), transparent 34rem),
        radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.16), transparent 30rem),
        var(--spc-bg);
    color: var(--spc-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body a {
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-topbar {
    background: #05070b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
}

.social-icon-link {
    color: rgba(255, 255, 255, 0.70);
}

.social-icon-link:hover {
    color: var(--spc-blue);
    transform: translateY(-1px);
}

.site-header.phase-one-header,
.site-header {
    background: rgba(7, 10, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
    color: var(--spc-text);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.brand,
nav a,
.main-nav a {
    color: rgba(255, 255, 255, 0.88);
}

.brand b {
    color: var(--spc-blue);
}

.brand img {
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.24), 0 14px 34px rgba(0, 0, 0, 0.45);
}

.icon-action,
.admin-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.icon-action:hover,
.admin-pill:hover {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 32px rgba(56, 189, 248, 0.16);
}

.cart-count {
    background: linear-gradient(135deg, var(--spc-blue), var(--spc-blue-2));
    color: #00131f;
}

.ztt-inspired-home {
    background: var(--spc-bg);
    color: var(--spc-text);
    overflow: hidden;
}

.ztt-hero {
    position: relative;
    min-height: clamp(640px, 82vh, 860px);
    display: grid;
    place-items: center;
    padding: clamp(72px, 8vw, 110px) 7vw;
    isolation: isolate;
}

.ztt-hero-media,
.ztt-hero-media::after,
.ztt-hero-overlay {
    position: absolute;
    inset: 0;
}

.ztt-hero-media {
    z-index: -3;
    background: #050505;
    overflow: hidden;
}

.ztt-hero-media .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.045);
    transition: opacity 1.1s ease, transform 5.2s ease;
}

.ztt-hero-media .hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.ztt-hero-media::after {
    content: "";
    background:
        linear-gradient(90deg, rgba(7, 10, 15, 0.93) 0%, rgba(7, 10, 15, 0.72) 40%, rgba(7, 10, 15, 0.16) 72%),
        linear-gradient(180deg, rgba(7, 10, 15, 0.14) 0%, rgba(7, 10, 15, 0.18) 48%, var(--spc-bg) 100%);
    z-index: 1;
}

.ztt-hero-overlay {
    z-index: -1;
    background:
        radial-gradient(circle at 76% 42%, rgba(56, 189, 248, 0.13), transparent 22rem),
        linear-gradient(180deg, transparent 0%, var(--spc-bg) 100%);
    pointer-events: none;
}

.ztt-hero-content {
    width: fit-content;
    max-width: min(100%, 760px);
    position: relative;
    z-index: 2;
}

.ztt-kicker {
    margin: 0 0 13px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--spc-blue);
}

.ztt-hero .ztt-kicker {
    text-align: center;
}

.ztt-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 18px 80px rgba(0, 0, 0, 0.48);
}

.ztt-hero-subtitle {
    max-width: 720px;
    margin: 20px auto 0;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.35;
    text-align: center;
    color: rgba(255, 255, 255, 0.76);
}

.ztt-hero-actions,
.ztt-section-head {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.ztt-hero-actions {
    margin-top: 34px;
}

.ztt-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    text-decoration: none;
    font-weight: 950;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ztt-btn-primary,
.btn.gold {
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 48%, #cbd5e1 100%);
    color: #101827;
    border-color: rgba(226, 232, 240, 0.76);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 54px rgba(15, 23, 42, 0.26);
}

.ztt-btn-primary:hover,
.btn.gold:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 46%, #d7dee8 100%);
    border-color: rgba(248, 250, 252, 0.88);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 70px rgba(15, 23, 42, 0.34);
}

.ztt-btn-secondary,
.btn:not(.gold) {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.ztt-btn-secondary:hover,
.btn:not(.gold):hover {
    border-color: rgba(56, 189, 248, 0.60);
    background: rgba(56, 189, 248, 0.10);
    transform: translateY(-2px);
}

.ztt-hero-controls {
    position: absolute;
    left: 7vw;
    right: 7vw;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-slide-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-slide-dots span {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.30);
}

.hero-slide-dots span.is-active {
    background: var(--spc-blue);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.74);
}

.ztt-hero-fallback {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 40px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.26), transparent 20rem),
        linear-gradient(135deg, #05070b, #0f172a);
    color: #fff;
}

.ztt-hero-fallback strong,
.ztt-hero-fallback span,
.ztt-hero-fallback small {
    display: block;
}

.ztt-hero-fallback strong {
    margin: 8px 0;
    font-size: clamp(26px, 4vw, 52px);
    letter-spacing: -0.05em;
}

.ztt-stats {
    width: min(1180px, calc(100% - 40px));
    margin: -34px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 18, 27, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.ztt-stats div {
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    min-height: 154px;
    text-align: left;
}

.ztt-stats div:last-child {
    border-right: 0;
}

.ztt-reason-grid article,
.ztt-empty-featured,
.panel,
.login,
.build-card {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.ztt-stats strong {
    display: block;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.06em;
    color: #ffffff;
}

.ztt-stats span {
    display: block;
    margin-top: 6px;
    color: var(--spc-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 850;
}

.ztt-why,
.ztt-featured,
.ztt-editorial {
    width: min(1240px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.ztt-why {
    padding: clamp(74px, 10vw, 130px) 0 40px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.ztt-section-copy h2,
.ztt-section-head h2,
.ztt-editorial-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 70px);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.ztt-section-copy p:not(.ztt-kicker),
.ztt-editorial-copy p,
.ztt-reason-grid p {
    color: var(--spc-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ztt-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ztt-reason-grid article {
    border-radius: 26px;
    padding: 24px;
}

.ztt-reason-grid span {
    color: var(--spc-blue);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ztt-reason-grid h3 {
    margin: 34px 0 10px;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.ztt-featured.section {
    padding: clamp(54px, 8vw, 104px) 0;
}

.ztt-section-head {
    justify-content: space-between;
    margin-bottom: 30px;
}

.ztt-build-grid,
.build-grid {
    gap: 20px;
}

.ztt-build-grid .build-card,
.build-card {
    color: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.ztt-build-grid .build-card:hover,
.build-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.54);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34), 0 0 60px rgba(56, 189, 248, 0.12);
}

.build-image {
    background: #020617;
    aspect-ratio: 1 / 1.05;
}

.build-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
    pointer-events: none;
}

.build-image img {
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.build-card:hover .build-image img {
    transform: scale(1.065);
}

.badge {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(12px);
}

.badge.available {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.badge.sold {
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
}

.badge.discount {
    left: auto;
    right: 14px;
    background: rgba(56, 189, 248, 0.18);
    color: #e0f7ff;
}

.build-body {
    padding: 22px;
}

.build-date {
    color: var(--spc-blue);
    font-weight: 900;
}

.build-body h3 {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.build-body h3 a {
    color: #ffffff;
}

.build-body p {
    color: var(--spc-muted);
    min-height: auto;
}

.mini-specs span {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    border-radius: 999px;
}

.card-bottom {
    border-color: rgba(255, 255, 255, 0.10);
}

.card-bottom a {
    color: var(--spc-blue);
}

.card-price,
.price {
    color: #ffffff;
}

.old-price {
    color: rgba(255, 255, 255, 0.42);
}

.sale-label,
.sale-price {
    color: #ffffff;
}

.card-cart-form .btn.gold {
    width: 100%;
    border-radius: 999px;
}

.build-save-form,
.product-save-form {
    margin-top: 10px;
}

.save-build-button {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 900;
}

.save-build-button:hover,
.save-build-button.is-saved {
    border-color: rgba(96, 165, 250, 0.56);
    background: rgba(45, 125, 255, 0.22);
    color: #ffffff;
}

.ztt-empty-featured {
    grid-column: 1 / -1;
    border-radius: 28px;
    padding: 34px;
    text-align: center;
}

.ztt-empty-featured h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.ztt-empty-featured p {
    color: var(--spc-muted);
}

.ztt-editorial {
    margin-bottom: 86px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.ztt-editorial-media {
    min-height: 420px;
    border-radius: 34px;
    overflow: hidden;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.ztt-editorial-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.ztt-editorial-copy {
    padding: clamp(10px, 2vw, 26px);
}

.ztt-editorial-copy .ztt-btn {
    margin-top: 18px;
}

.footer {
    background: #05070b;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer .social-icon-link {
    color: rgba(255, 255, 255, 0.86);
}

.footer .social-icon-link:hover {
    color: #ffffff;
}

@media (max-width: 760px) {
    .footer {
        gap: 24px;
        padding: 32px 20px 24px;
        text-align: center;
    }

    .footer-main,
    .footer-bottom {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        gap: 18px;
    }

    .footer-logo {
        width: 64px;
        height: 64px;
    }

    .footer-socials {
        justify-content: center;
        width: 100%;
    }

    .footer-payments {
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 7px;
    }

    .footer-payments span {
        min-height: 26px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .footer p {
        white-space: normal;
    }
}

.page-hero,
.section:not(.ztt-featured),
.product-page,
.details-grid,
.cart-layout,
.order-confirmation,
.account-layout {
    color: var(--ink);
}

.reveal-soft,
.build-card {
    opacity: 0;
    transform: translateY(22px);
}

.reveal-soft.is-visible,
.build-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-soft,
    .build-card {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .ztt-reason-grid,
    .build-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ztt-why,
    .ztt-editorial {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-header.phase-one-header,
    .site-header {
        height: auto;
        padding: 16px 20px;
    }

    .main-nav {
        background: rgba(7, 10, 15, 0.96);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .hamburger span {
        background: #ffffff;
    }

    .ztt-hero {
        min-height: 700px;
        padding: 96px 24px;
    }

    .ztt-hero-media::after {
        background:
            linear-gradient(180deg, rgba(7, 10, 15, 0.60) 0%, rgba(7, 10, 15, 0.70) 44%, var(--spc-bg) 100%);
    }

    .ztt-stats,
    .ztt-why,
    .ztt-featured,
    .ztt-editorial {
        width: min(100% - 28px, 1240px);
    }

    .ztt-stats,
    .ztt-reason-grid,
    .build-grid {
        grid-template-columns: 1fr;
    }

    .ztt-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        min-height: auto;
    }

    .ztt-stats div:last-child {
        border-bottom: 0;
    }

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

@media (max-width: 560px) {
    .ztt-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .ztt-hero-actions .ztt-btn,
    .ztt-section-head .ztt-btn {
        width: 100%;
    }

    .ztt-hero-controls {
        left: 24px;
        right: 24px;
    }
}

/* ==========================================================
   Premium Performance readability + polish pass
   Fixes hero image coverage, sold badge contrast, shop/policy/admin readability.
   ========================================================== */
.ztt-hero-media .hero-slide,
.ztt-hero-media img.hero-slide {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.04) contrast(1.04) blur(0.35px);
    transform: scale(1.055);
    backface-visibility: hidden;
}

.ztt-hero-media .hero-slide.is-active {
    transform: scale(1.018);
}

.ztt-hero-media::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 0;
    background: radial-gradient(circle at 50% 44%, transparent 0 42%, rgba(7, 10, 15, 0.24) 78%, rgba(7, 10, 15, 0.62) 100%);
    pointer-events: none;
}

.badge.sold,
.build-image .badge.sold {
    background: linear-gradient(135deg, #ff3131, #a90000) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.46) !important;
    box-shadow: 0 14px 34px rgba(239, 68, 68, 0.42), 0 0 0 1px rgba(255, 49, 49, 0.28) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
    font-weight: 950;
    letter-spacing: 0.08em;
}

/* Global page readability on the dark storefront theme */
.page-hero,
.page-hero.small {
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 0;
    padding: clamp(38px, 6vw, 74px);
    border-radius: 32px;
    background:
        radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.16), transparent 28rem),
        linear-gradient(135deg, rgba(13, 18, 26, 0.92), rgba(5, 7, 11, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.30);
    color: #ffffff !important;
}

.page-hero h1,
.page-hero.small h1 {
    color: #ffffff !important;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.page-hero p,
.page-hero.small p,
.page-hero .eyebrow,
.page-hero.small .eyebrow {
    color: rgba(255, 255, 255, 0.76) !important;
}

.page-hero .eyebrow,
.page-hero.small .eyebrow {
    color: var(--spc-blue) !important;
}

.section:not(.ztt-featured),
.product-page,
.details-grid,
.cart-layout,
.order-confirmation,
.account-layout {
    color: #f7fbff;
}

.section:not(.ztt-featured) h1,
.section:not(.ztt-featured) h2,
.section:not(.ztt-featured) h3,
.panel h1,
.panel h2,
.panel h3,
.login h1,
.login h2,
.login h3,
.product-page h1,
.product-page h2,
.product-page h3,
.account-layout h1,
.account-layout h2,
.account-layout h3,
.cart-layout h1,
.cart-layout h2,
.cart-layout h3 {
    color: #ffffff;
}

.section:not(.ztt-featured) p,
.panel p,
.login p,
.product-page p,
.account-layout p,
.cart-layout p,
.order-confirmation p {
    color: rgba(247, 251, 255, 0.76);
}

.panel,
.login,
.form-card,
.info-card,
.policy-card,
.account-card,
.cart-card,
.order-card,
.checkout-card {
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    color: #f7fbff !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26) !important;
    backdrop-filter: blur(18px);
}

/* Shop/search toolbar fix */
.filter-bar,
.shop-toolbar,
.admin-filter-form {
    width: min(1180px, 100%);
    margin: 0 auto 24px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.filter-bar input,
.filter-bar select,
.admin-filter-form input,
.admin-filter-form select,
input,
select,
textarea {
    background: rgba(3, 7, 18, 0.88) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    caret-color: var(--spc-blue);
}

.filter-bar input::placeholder,
.admin-filter-form input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.54) !important;
}

.filter-bar select option,
.admin-filter-form select option,
select option {
    background: #0d121a;
    color: #ffffff;
}

.empty-state,
.no-results,
.shop-empty,
.empty-featured,
.ztt-empty-featured,
td[colspan] {
    color: rgba(247, 251, 255, 0.78) !important;
}

.shop-empty,
.sold-empty {
    width: min(760px, 100%);
    margin: 26px auto 0;
    padding: 34px;
    border-radius: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.shop-empty h2,
.sold-empty h2 {
    margin: 0 0 10px;
    color: #ffffff;
}

.shop-empty p,
.sold-empty p {
    margin: 0 0 18px;
    color: rgba(247, 251, 255, 0.76);
}

/* Policies/about content readability */
.policy-page,
.policies-page,
.about-page-layout,
.about-story-section,
.about-process-section {
    color: #f7fbff;
}

.policy-page p,
.policies-page p,
.about-page-layout p,
.about-story-section p,
.about-process-section p,
.process-card p,
.about-story-card p,
.about-summary-card li {
    color: rgba(247, 251, 255, 0.76) !important;
}

.process-card,
.about-story-card,
.about-summary-card,
.about-closing-strip {
    background: rgba(255, 255, 255, 0.075) !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: #f7fbff !important;
}

/* Admin readability pass */
.admin-wrap {
    color: #f7fbff;
}

.sidebar {
    background: rgba(5, 7, 11, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
}

.sidebar h2,
.sidebar a {
    color: #ffffff !important;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(56, 189, 248, 0.12);
    color: #ffffff !important;
    border-color: rgba(56, 189, 248, 0.34);
}

.admin-main,
.admin-main h1,
.admin-main h2,
.admin-main h3,
.admin-main label,
.admin-main td,
.admin-main th,
.admin-main p {
    color: #f7fbff !important;
}

.admin-main p,
.admin-main td,
.admin-main .muted,
.admin-main small {
    color: rgba(247, 251, 255, 0.72) !important;
}

.admin-table {
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 18px;
    overflow: hidden;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.09) !important;
    color: #ffffff !important;
}

.admin-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-preview,
.admin-gallery-preview,
.admin-card,
.admin-order-summary-card,
.admin-order-form,
.admin-current-image {
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    color: #f7fbff !important;
}

.admin-pill {
    color: #ffffff !important;
}

@media (max-width: 860px) {
    .page-hero,
    .page-hero.small {
        width: min(100% - 28px, 1180px);
        margin-top: 20px;
        padding: 34px 22px;
        border-radius: 24px;
    }

    .ztt-hero-media .hero-slide,
    .ztt-hero-media img.hero-slide {
        object-position: center center;
        filter: saturate(1.03) contrast(1.03) blur(0.25px);
    }
}

/* Shop page dark storefront alignment */
.shop-page {
    background:
        radial-gradient(circle at 18% 8%, rgba(56, 189, 248, 0.10), transparent 28rem),
        var(--spc-bg);
    color: var(--spc-text);
    padding: 1px 0 clamp(56px, 8vw, 96px);
}

.shop-page .page-hero,
.shop-page .page-hero.small {
    background:
        radial-gradient(circle at 14% 18%, rgba(56, 189, 248, 0.16), transparent 26rem),
        linear-gradient(135deg, rgba(12, 18, 27, 0.94), rgba(5, 7, 11, 0.98)) !important;
    color: #ffffff !important;
}

.shop-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp(340px, 38vw, 560px);
    display: flex;
    align-items: center;
    padding: clamp(56px, 8vw, 108px) 7vw;
    overflow: hidden;
    background-color: #05070b;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    color: #ffffff;
}

.shop-hero:not(.has-image) {
    background:
        radial-gradient(circle at 14% 18%, rgba(56, 189, 248, 0.16), transparent 26rem),
        linear-gradient(135deg, rgba(12, 18, 27, 0.94), rgba(5, 7, 11, 0.98));
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.68) 38%, rgba(5, 7, 11, 0.12) 72%, rgba(5, 7, 11, 0.34) 100%),
        linear-gradient(180deg, rgba(5, 7, 11, 0.10) 0%, var(--spc-bg) 100%);
    pointer-events: none;
}

.shop-hero__content {
    width: min(540px, 100%);
    position: relative;
}

.shop-hero h1 {
    margin: 10px 0 16px;
    max-width: 560px;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.95;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.shop-hero p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.55;
}

.shop-hero .eyebrow {
    color: var(--spc-blue);
}

@media (max-width: 860px) {
    .shop-hero {
        min-height: 520px;
        align-items: flex-end;
        padding: 96px 24px 54px;
        background-position: center top;
    }

    .shop-hero::before {
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.24) 0%, rgba(5, 7, 11, 0.58) 45%, var(--spc-bg) 100%),
            linear-gradient(90deg, rgba(5, 7, 11, 0.78), rgba(5, 7, 11, 0.20));
    }

    .shop-hero__content {
        width: min(100%, 540px);
    }
}

@media (max-width: 560px) {
    .shop-hero {
        min-height: 500px;
        padding: 82px 18px 44px;
    }

    .shop-hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .shop-hero p {
        font-size: 15.5px;
    }
}

.shop-page .section {
    color: #f7fbff;
}

.shop-page .filter-bar {
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px) auto;
    align-items: center;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.86) !important;
    border-color: rgba(148, 163, 184, 0.20) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20) !important;
    backdrop-filter: blur(12px);
}

.shop-page .filter-bar input,
.shop-page .filter-bar select {
    min-height: 46px;
    border-radius: 6px;
    background: rgba(2, 6, 23, 0.52) !important;
    border-color: rgba(148, 163, 184, 0.20) !important;
    color: #ffffff !important;
}

.shop-page .filter-bar input:focus,
.shop-page .filter-bar select:focus {
    outline: none;
    border-color: rgba(226, 232, 240, 0.48) !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.14);
}

.shop-page .filter-bar input::placeholder {
    color: rgba(203, 213, 225, 0.62) !important;
}

.shop-page .filter-bar .btn {
    min-height: 46px;
    border-radius: 6px;
    padding-inline: 20px;
}

.shop-page .build-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    color: #ffffff;
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.shop-page .build-card:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 232, 240, 0.32);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.30);
}

.shop-page .build-image {
    background: #05070b;
}

.shop-page .build-image::after {
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
}

.shop-page .build-body {
    padding: 18px;
}

.shop-page .mini-specs span {
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(148, 163, 184, 0.18);
}

.shop-page .card-bottom {
    border-top-color: rgba(148, 163, 184, 0.16);
}

.shop-page .card-cart-form .btn.gold {
    border-radius: 6px;
}

.shop-page .build-card,
.shop-page .build-card * {
    visibility: visible !important;
}

.shop-page .build-body,
.shop-page .build-body h3,
.shop-page .build-body h3 a,
.shop-page .card-price {
    color: #ffffff !important;
}

.shop-page .build-body p,
.shop-page .build-date {
    opacity: 1 !important;
}

.shop-page .shop-empty {
    width: min(860px, calc(100% - 40px));
    margin-inline: auto;
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22) !important;
}

@media (max-width: 720px) {
    .shop-page .filter-bar {
        width: min(100% - 28px, 1180px);
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .shop-page .filter-bar .btn {
        width: 100%;
    }
}

/* Product detail dark theme refinements */
.product-page {
    background: #080b10;
    color: #f8fbff !important;
}

.product-page .gallery .main-photo,
.product-page .thumb-row button,
.product-page .spec-table,
.product-page .product-policy-link {
    background: rgba(12, 18, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.product-page .product-info h1,
.product-page .price,
.product-page .spec-table strong {
    color: #ffffff !important;
}

.product-page .lead,
.product-page .product-meta,
.product-page .product-assurance-row,
.product-page .product-policy-link span {
    color: rgba(232, 240, 255, 0.82) !important;
}

.product-page .spec-table div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.product-page .spec-table span {
    color: #ffffff !important;
    font-weight: 850;
}

.product-page .spec-table strong {
    font-weight: 750;
}

.product-page .product-policy-link {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 16px;
}

.product-page .product-policy-link a {
    color: #66a6ff;
    font-weight: 850;
    text-decoration: none;
}

.product-page .product-policy-link a:hover {
    color: #ffffff;
}

.product-page .sold-notice {
    color: #fff7ed;
    background: rgba(146, 64, 14, 0.26);
    border: 1px solid rgba(251, 191, 36, 0.5);
}

.badge.available,
.build-image .badge.available {
    background: linear-gradient(135deg, #14532d, #052e16) !important;
    color: #dcfce7 !important;
    border: 1px solid rgba(187, 247, 208, 0.42) !important;
    box-shadow: 0 12px 30px rgba(20, 83, 45, 0.46), 0 0 0 1px rgba(34, 197, 94, 0.18) !important;
}

/* Order details page */
.order-confirmation-section.order-details-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 4vw, 54px) max(18px, calc((100vw - 1240px) / 2)) clamp(56px, 7vw, 92px);
    background: #05070b !important;
    color: #f8fbff !important;
}

.order-details-page .order-page-icon {
    width: 1.15em;
    height: 1.15em;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-details-page .order-confirmation-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.58) !important;
    border-radius: 18px;
    background: #05070b !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.10), 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 34px rgba(37, 99, 235, 0.16) !important;
}

.order-details-page .order-confirmation-hero::after {
    display: none !important;
}

.order-details-page .order-confirmation-check,
.order-details-page .order-panel__icon,
.order-details-page .order-account-cta__icon {
    background: linear-gradient(135deg, #0b7cff, #5b35f5) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.30), inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
}

.order-details-page .order-confirmation-check {
    flex-basis: clamp(76px, 8vw, 102px);
    width: clamp(76px, 8vw, 102px);
    height: clamp(76px, 8vw, 102px);
    border: 5px solid rgba(96, 165, 250, 0.72) !important;
    background: radial-gradient(circle at 34% 24%, #1d4ed8, #5b35f5 72%) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.06), 0 0 28px rgba(37, 99, 235, 0.38) !important;
}

.order-details-page .order-confirmation-check .order-page-icon {
    width: 46%;
    height: 46%;
    stroke-width: 3.6;
}

.order-details-page .order-panel__icon,
.order-details-page .order-account-cta__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 23px;
}

.order-details-page .order-confirmation-hero h1,
.order-details-page .order-confirmation-hero__right strong {
    color: #ffffff !important;
}

.order-details-page .order-confirmation-hero p,
.order-details-page .order-confirmation-hero .eyebrow {
    color: rgba(203, 213, 225, 0.78) !important;
}

.order-details-page .checkout-status {
    border-color: rgba(59, 130, 246, 0.56) !important;
    background: rgba(29, 78, 216, 0.18) !important;
    color: #dbeafe !important;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.16);
}

.order-details-page .order-confirmation-grid {
    align-items: start;
}

.order-details-page .order-panel,
.order-details-page .order-panel.compact,
.order-details-page .order-status-panel,
.order-details-page .order-account-cta {
    background: rgba(8, 13, 22, 0.94) !important;
    border: 1px solid rgba(37, 99, 235, 0.42) !important;
    border-radius: 16px;
    color: #f8fbff !important;
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.26), 0 0 26px rgba(37, 99, 235, 0.11) !important;
    backdrop-filter: none !important;
}

.order-details-page .order-panel__heading h2,
.order-details-page .order-panel h2,
.order-details-page .order-panel h3,
.order-details-page .order-product-card__body h3,
.order-details-page .order-account-cta h2,
.order-details-page .summary-line strong,
.order-details-page .order-info-row strong {
    color: #ffffff !important;
}

.order-details-page .order-panel__heading p,
.order-details-page .order-panel p,
.order-details-page .order-account-cta p,
.order-details-page .summary-line span,
.order-details-page .order-info-row span,
.order-details-page .receipt-note {
    color: rgba(203, 213, 225, 0.78) !important;
}

.order-details-page .order-product-list {
    gap: 20px;
}

.order-details-page .order-product-card {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: minmax(280px, 44%) minmax(0, 1fr) !important;
    gap: clamp(20px, 3vw, 34px);
    align-items: center;
    padding: clamp(16px, 2.2vw, 24px) !important;
    border: 1px solid rgba(37, 99, 235, 0.38) !important;
    border-radius: 16px;
    background: rgba(6, 10, 17, 0.98) !important;
    box-shadow: 0 0 22px rgba(37, 99, 235, 0.10) !important;
    overflow: hidden;
}

.order-details-page .order-product-card__image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.34) !important;
    background: rgba(5, 9, 15, 0.82) !important;
    box-shadow: 0 0 22px rgba(37, 99, 235, 0.10) !important;
    text-decoration: none;
}

.order-details-page .order-product-card__image::before,
.order-details-page .order-product-card__image::after {
    display: none !important;
    content: none !important;
}

.order-details-page .order-product-card__image img {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: block;
    object-fit: contain !important;
    object-position: center;
    padding: clamp(12px, 2vw, 24px);
    background: transparent !important;
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.32));
}

.order-details-page .order-product-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 2px 0;
}

.order-details-page .order-product-card__body h3 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.order-details-page .order-spec-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.order-details-page .order-spec-list li {
    position: static !important;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 12px !important;
    border: 1px solid rgba(37, 99, 235, 0.38);
    border-radius: 10px;
    background: rgba(8, 19, 42, 0.78) !important;
    color: rgba(226, 232, 240, 0.90) !important;
    line-height: 1.25;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.05);
}

.order-details-page .order-spec-list li::before {
    display: none !important;
    content: none !important;
}

.order-details-page .order-spec-list li.type-wifi,
.order-details-page .order-spec-list li.type-warranty {
    min-height: 46px;
}

.order-details-page .order-spec-list li.type-warranty {
    grid-column: 1 / -1;
}

.order-details-page .order-spec-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
}

.order-details-page .order-spec-icon .order-page-icon {
    width: 17px;
    height: 17px;
}

.order-details-page .order-spec-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.order-details-page .order-spec-copy em {
    color: #60a5fa;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-details-page .order-spec-copy strong {
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.order-details-page .order-product-card__summary {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(37, 99, 235, 0.24);
}

.order-details-page .order-product-card__price {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.order-details-page .order-product-card__price span {
    color: rgba(203, 213, 225, 0.72) !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.order-details-page .order-product-card__price strong {
    color: #ffffff !important;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.03em;
}

.order-details-page .order-product-card__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.order-details-page .order-mini-status,
.order-details-page .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.38) !important;
    background: rgba(8, 19, 42, 0.78) !important;
    color: rgba(226, 232, 240, 0.94) !important;
    font-size: 12px;
    font-weight: 900;
}

.order-details-page .order-mini-status .order-page-icon {
    width: 15px;
    height: 15px;
    color: #60a5fa;
}

.order-details-page .order-mini-status.paid,
.order-details-page .order-mini-status.delivered,
.order-details-page .status-active,
.order-details-page .status-delivered {
    border-color: rgba(37, 99, 235, 0.34) !important;
    background: rgba(5, 9, 15, 0.88) !important;
    color: #ffffff !important;
}

.order-details-page .order-mini-status.cancelled,
.order-details-page .order-mini-status.failed {
    border-color: rgba(248, 113, 113, 0.34) !important;
    background: rgba(127, 29, 29, 0.28) !important;
    color: #fecaca !important;
}

.order-details-page .order-progress-track,
.order-details-page .order-progress,
.order-details-page .order-next-step {
    border: 1px solid rgba(37, 99, 235, 0.38) !important;
    border-radius: 12px;
    background: rgba(5, 9, 15, 0.82) !important;
    color: #f8fbff !important;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.04);
}

.order-details-page .order-progress-step,
.order-details-page .order-progress__step {
    color: rgba(226, 232, 240, 0.84) !important;
}

.order-details-page .order-progress-step strong,
.order-details-page .order-progress__step strong {
    color: #f8fafc !important;
}

.order-details-page .order-progress-step small,
.order-details-page .order-progress__step small {
    color: rgba(203, 213, 225, 0.70) !important;
}

.order-details-page .order-progress-step span,
.order-details-page .order-progress__step span {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(96, 165, 250, 0.36) !important;
    color: rgba(226, 232, 240, 0.84) !important;
}

.order-details-page .order-progress-step.complete span,
.order-details-page .order-progress__step.complete span {
    background: #0b7cff !important;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(37, 99, 235, 0.42);
}

.order-details-page .order-next-step h3,
.order-details-page .order-next-step p {
    color: rgba(226, 232, 240, 0.84) !important;
}

.order-details-page .order-next-step__icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
}

.order-details-page .order-next-step__icon .order-page-icon {
    width: 19px;
    height: 19px;
}

.order-details-page .summary-line,
.order-details-page .order-info-row {
    border-bottom-color: rgba(37, 99, 235, 0.20) !important;
}

.order-details-page .order-total-paid {
    border: 1px solid rgba(37, 99, 235, 0.38) !important;
    border-radius: 12px;
    background: rgba(8, 19, 42, 0.78) !important;
    color: #ffffff !important;
}

.order-details-page .order-total-paid strong {
    color: #60a5fa !important;
}

.order-details-page .support-card a,
.order-details-page .support-card-blue a {
    color: #60a5fa !important;
}

.order-details-page .btn.gold {
    background: #2d7dff !important;
    border-color: #2d7dff !important;
    color: #ffffff !important;
}

.order-details-page .order-account-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-top: 24px;
}

.order-details-page .order-account-cta .btn,
.order-details-page .order-account-cta.btn,
.order-details-page .order-account-cta--link {
    color: #ffffff !important;
    text-decoration: none;
}

@media (max-width: 980px) {
    .order-details-page .order-product-card {
        grid-template-columns: 1fr !important;
    }

    .order-details-page .order-product-card__image {
        width: 100%;
        max-width: none;
    }

    .order-details-page .order-spec-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .order-confirmation-section.order-details-page {
        padding-inline: 14px;
        padding-top: 22px;
    }

    .order-details-page .order-confirmation-hero,
    .order-details-page .order-panel,
    .order-details-page .order-product-card,
    .order-details-page .order-account-cta {
        border-radius: 18px;
    }

    .order-details-page .order-product-card {
        padding: 14px !important;
    }

    .order-details-page .order-product-card__price {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .order-details-page .order-confirmation-hero__left {
        align-items: flex-start;
    }

    .order-details-page .order-account-cta {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
.logout-form { display: inline; margin: 0; }
.logout-form button { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
