:root {
    --ink: #171717;
    --muted: #6a635b;
    --line: #e7ded2;
    --paper: #fffaf2;
    --panel: #ffffff;
    --accent: #d6402b;
    --accent-dark: #9f291d;
    --gold: #f0b632;
    --green: #1f7a4a;
    --shadow: 0 18px 50px rgba(34, 26, 17, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f6efe5;
}

.construction-notice {
    display: grid;
    gap: 10px;
    padding: 44px 24px;
    background: #191715;
    color: #fffaf2;
    text-align: center;
}

.construction-notice span {
    color: var(--gold);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.construction-notice h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.05;
}

.construction-notice p {
    max-width: 680px;
    margin: 0 auto;
    color: #efe3d1;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

 (max-width: 720px) {
    .construction-notice {
        padding: 34px 18px;
    }

    .construction-notice h1 {
        font-size: 32px;
    }

    .construction-notice p {
        font-size: 16px;
    }
}

.visitor-counter {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 18px 24px;
    border-top: 1px solid var(--line);
    background: #191715;
    color: #fffaf2;
    font-size: 15px;
    font-weight: 800;
}

.visitor-counter strong {
    min-width: 42px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--gold);
    color: #171717;
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 144px;
    padding: 0 34px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 242, .94);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #171717;
    background: var(--gold);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}


.brand-logo {
    display: block;
    width: auto;
    height: 124px;
    max-width: 420px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 6px;
    color: #50483f;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav .is-active {
    background: #191715;
    color: #fff;
}

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

.text-link {
    color: #463b31;
    font-size: 14px;
    font-weight: 900;
}

.text-link:hover,
.back-link:hover,
.form-footer a:hover,
.table-actions a:hover {
    color: var(--accent);
}

.icon-button,
.cart-button,
.buy-row button,
.primary-button,
.secondary-button,
.table-actions button {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
}

.icon-button {
    width: 42px;
    height: 42px;
    background: #ece0d1;
}

.cart-button {
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
    background: var(--accent);
}

.cart-button span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    border-radius: 999px;
    color: var(--accent);
    background: #fff;
}


.cart-panel[hidden],
.cart-backdrop[hidden] {
    display: none;
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(23, 23, 23, .34);
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-rows: auto 1fr auto auto auto;
    gap: 18px;
    width: min(420px, 100%);
    height: 100vh;
    padding: 22px;
    border-left: 1px solid var(--line);
    background: var(--paper);
    box-shadow: -18px 0 50px rgba(34, 26, 17, .18);
}

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.cart-panel-header span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-panel-header strong {
    display: block;
    margin-top: 4px;
    font-size: 28px;
    line-height: 1;
}

.cart-items {
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    background: #f3eadf;
}

.cart-item strong,
.cart-item span {
    display: block;
}

.cart-item strong {
    line-height: 1.25;
}

.cart-item span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.cart-item b {
    white-space: nowrap;
}

.cart-item-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.cart-item-actions button {
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    color: #7a1f16;
    background: #ffe1dc;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.cart-item-actions button:hover {
    color: #fff;
    background: #7a1f16;
}

.cart-empty {
    margin: 0;
    padding: 20px;
    border: 1px dashed #cbbca9;
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, .65);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-weight: 900;
}

.cart-total strong {
    font-size: 24px;
}

.cart-checkout {
    width: 100%;
}

.cart-checkout:disabled {
    cursor: not-allowed;
    opacity: .55;
}


.cart-checkout-message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 6px;
    color: #174b2e;
    background: #dff5e8;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

main {
    width: min(1440px, 100%);
    margin: 0 auto;
}

.notice {
    margin: 18px 34px 0;
    padding: 13px 16px;
    border: 1px solid #e9c36b;
    border-radius: 6px;
    color: #4a3510;
    background: #fff3ce;
    font-size: 14px;
}

.category-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 32px;
    align-items: stretch;
    padding: 38px 34px 26px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.eyebrow {
    margin: 28px 0 8px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: .98;
    letter-spacing: 0;
}

.intro {
    max-width: 760px;
    margin: 20px 0 0;
    color: #4e463d;
    font-size: 18px;
    line-height: 1.55;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-points span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .6);
    font-size: 13px;
    font-weight: 800;
}

.hero-panel {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 18px;
    align-items: center;
    min-height: 280px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #292019, #7a2e20);
    color: #fff;
    box-shadow: var(--shadow);
}

.hero-panel img {
    width: 100%;
    max-height: 230px;
    object-fit: contain;
}

.hero-panel span,
.hero-panel small {
    display: block;
    color: #f7d894;
}

.hero-panel strong {
    display: block;
    margin: 8px 0;
    font-size: 30px;
    line-height: 1.05;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 0 34px 42px;
}

.filters,
.catalog-toolbar,
.product-card,
.seo-content {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.filters {
    align-self: start;
    position: sticky;
    top: 96px;
    padding: 20px;
}

.filters h2,
.seo-content h2 {
    margin: 0 0 18px;
}

.filters label {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
    color: #3f3933;
    font-size: 13px;
    font-weight: 900;
}

.filters input,
.filters select,
.catalog-toolbar select {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid #d8cbbc;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}

.check-row {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.check-row input {
    width: 18px;
    min-height: 18px;
}

.service-box {
    margin-top: 20px;
    padding: 14px;
    border-radius: 6px;
    color: #342719;
    background: #f7ead6;
}

.service-box p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 64px;
    margin-bottom: 16px;
    padding: 12px 16px;
    font-weight: 900;
}

.catalog-toolbar label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.catalog-toolbar select {
    width: auto;
}

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

.product-card {
    overflow: hidden;
    display: grid;
    min-height: 520px;
}

.product-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 235px;
    background: #f3eadf;
}

.product-media img {
    width: min(76%, 210px);
    height: 205px;
    object-fit: contain;
    transition: transform .2s ease;
}

.product-card:hover .product-media img {
    transform: translateY(-4px);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #1c160f;
    background: var(--gold);
    font-size: 12px;
    font-weight: 900;
}

.badge.is-muted {
    color: #fff;
    background: #6f6a64;
}

.product-info {
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 10px;
    padding: 18px;
}

.brand-name {
    margin: 0;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

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

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.meta-row span {
    padding: 6px 8px;
    border-radius: 6px;
    background: #f2ebdf;
    color: #4d443a;
    font-size: 12px;
    font-weight: 800;
}

.buy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.buy-row strong {
    font-size: 24px;
}

.buy-row button {
    min-width: 112px;
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
    background: var(--green);
}

.buy-row button:disabled {
    cursor: not-allowed;
    background: #7f766e;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    text-decoration: none;
}

.primary-button {
    color: #fff;
    background: var(--accent);
}

.secondary-button {
    color: var(--ink);
    background: #ece0d1;
}

.empty-state {
    margin: 18px 0 0;
    padding: 28px;
    border: 1px dashed #cbbca9;
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, .55);
}

.seo-content {
    margin: 0 34px 52px;
    padding: 28px;
}

.seo-content p {
    color: var(--muted);
    line-height: 1.65;
}

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

.seo-grid div {
    padding-top: 16px;
    border-top: 3px solid var(--gold);
}

.seo-grid h3 {
    margin: 0 0 8px;
}

.auth-page,
.admin-page {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

.auth-page {
    display: grid;
    place-items: start center;
    min-height: 100vh;
}

.auth-card,
.form-panel,
.table-panel,
.dashboard-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.auth-card {
    width: min(520px, 100%);
    padding: 30px;
}

.auth-card h1,
.admin-header h1 {
    margin: 12px 0 10px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
}

.auth-card p,
.admin-header p,
.dashboard-grid p {
    color: var(--muted);
    line-height: 1.55;
}

.back-link,
.form-footer a,
.table-actions a {
    color: var(--accent-dark);
    font-weight: 900;
}

.auth-card form,
.form-panel form {
    display: grid;
    gap: 15px;
    margin-top: 22px;
}

.auth-card label,
.form-panel label {
    display: block;
    margin-bottom: 7px;
    color: #3f3933;
    font-size: 13px;
    font-weight: 900;
}

.auth-card input,
.form-panel input,
.form-panel select,
.form-panel textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d8cbbc;
    border-radius: 6px;
    background: #fff;
}

.form-panel textarea {
    min-height: 130px;
    padding-top: 12px;
    resize: vertical;
}

.auth-card ul,
.form-panel ul {
    margin: 7px 0 0;
    padding-left: 18px;
    color: var(--accent-dark);
}

.form-footer {
    margin: 18px 0 0;
}

.flash {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 800;
}

.flash.success {
    color: #174b2e;
    background: #dff5e8;
}

.flash.error {
    color: #7a1f16;
    background: #ffe1dc;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

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

.dashboard-grid article,
.form-panel,
.table-panel {
    padding: 24px;
}

.dashboard-grid h2 {
    margin: 0 0 10px;
}

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

.form-panel .help-text,
.form-panel .form-text {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.table-panel {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: #4c4239;
    font-size: 12px;
    text-transform: uppercase;
}

.table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.table-actions button {
    min-height: 34px;
    padding: 0 10px;
    color: #fff;
    background: #7a1f16;
}

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

    .main-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .category-hero,
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }

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

@media (max-width: 720px) {
    .topbar,
    .category-hero,
    .shop-layout {
        padding-left: 18px;
        padding-right: 18px;
    }

    .notice,
    .seo-content {
        margin-left: 18px;
        margin-right: 18px;
    }

    .topbar {
        gap: 14px;
    }

    .brand span:last-child {
        display: none;
    }

    .brand-logo {
        height: 92px;
        max-width: 300px;
    }

    .header-actions {
        justify-content: end;
        flex-wrap: wrap;
    }

    .category-hero {
        padding-top: 28px;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .catalog-toolbar,
    .buy-row {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-toolbar label {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-toolbar select,
    .buy-row button {
        width: 100%;
    }

    .product-grid,
    .seo-grid,
    .dashboard-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        align-items: stretch;
        flex-direction: column;
    }

    .table-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

.checkout-page {
    width: min(920px, calc(100% - 36px));
    padding: 34px 0 56px;
}

.checkout-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.checkout-header h1 {
    margin: 0 0 24px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1;
}

.checkout-items {
    display: grid;
    gap: 12px;
}

.checkout-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
}

.checkout-item span {
    color: var(--muted);
    font-weight: 800;
}

.checkout-item b {
    white-space: nowrap;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-weight: 900;
}

.checkout-total strong {
    font-size: 28px;
}

.checkout-pay-button {
    width: 100%;
    margin-top: 18px;
}

.checkout-note,
.checkout-empty {
    margin: 16px 0 0;
    padding: 14px;
    border-radius: 6px;
    color: #174b2e;
    background: #dff5e8;
    font-weight: 800;
    line-height: 1.45;
}

.checkout-empty {
    display: grid;
    gap: 14px;
    justify-items: start;
    color: #4a3510;
    background: #fff3ce;
}

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

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

.order-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #fffaf2;
}

.order-card-header span,
.order-grid h2 {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.order-card-header strong {
    display: block;
    margin-top: 5px;
    font-size: 26px;
}

.order-card-header time {
    color: #4c4239;
    font-weight: 800;
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 24px;
}

.order-grid h2 {
    margin: 0 0 10px;
}

.order-grid p {
    margin: 5px 0;
    color: var(--muted);
    line-height: 1.45;
}

.order-session {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.order-card table {
    margin: 0 24px 24px;
    width: calc(100% - 48px);
}

@media (max-width: 720px) {
    .order-card-header,
    .order-grid {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}


.order-header-meta {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: #174b2e;
    background: #dff5e8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-form {
    display: grid;
    gap: 8px;
}

.status-form label {
    color: #3f3933;
    font-size: 13px;
    font-weight: 900;
}

.status-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.status-form select {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid #d8cbbc;
    border-radius: 6px;
    background: #fff;
}

.status-form button {
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--green);
    cursor: pointer;
    font-weight: 900;
}

.tracking-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--accent-dark);
    font-weight: 900;
}

.order-grid-secondary {
    padding-top: 0;
}

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tracking-page {
    width: min(1040px, calc(100% - 36px));
    padding: 34px 0 56px;
}

.tracking-header {
    margin-bottom: 22px;
}

.tracking-header h1 {
    font-size: clamp(38px, 6vw, 64px);
}

.tracking-header p:last-child {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.tracking-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.progress-step {
    min-height: 112px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
}

.progress-step span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 999px;
    color: #66594b;
    background: #ece0d1;
    font-weight: 900;
}

.progress-step strong {
    display: block;
    line-height: 1.25;
}

.progress-step.is-done {
    border-color: #9bd5b5;
    background: #eefaf3;
}

.progress-step.is-done span {
    color: #fff;
    background: var(--green);
}

.tracking-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.tracking-summary section {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
}

.tracking-summary h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.tracking-summary p {
    margin: 6px 0;
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 720px) {
    .order-header-meta,
    .status-form-row {
        justify-items: stretch;
        grid-template-columns: 1fr;
    }

    .progress-steps,
    .tracking-summary {
        grid-template-columns: 1fr;
    }
}


.product-image-field {
    display: grid;
    gap: 12px;
}

.product-image-preview {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
}

.product-image-preview img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 6px;
    background: #f3eadf;
}

.product-image-preview span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}


.checkout-page .checkout-header h1 {
    font-size: clamp(48px, 7vw, 82px);
}

.checkout-page .eyebrow {
    font-size: 16px;
}

.checkout-item strong {
    font-size: 22px;
    line-height: 1.25;
}

.checkout-item span,
.checkout-item b {
    font-size: 20px;
}

.checkout-total span {
    font-size: 20px;
}

.checkout-total strong {
    font-size: 38px;
}

.checkout-pay-button {
    min-height: 58px;
    font-size: 20px;
}

@media (max-width: 720px) {
    .checkout-item strong {
        font-size: 20px;
    }

    .checkout-item span,
    .checkout-item b,
    .checkout-total span,
    .checkout-pay-button {
        font-size: 18px;
    }

    .checkout-total strong {
        font-size: 32px;
    }
}


.embedded-payment {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.embedded-payment h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
}

.payment-element {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}


.delivery-panel {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
}

.delivery-panel h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
}

.delivery-options {
    display: grid;
    gap: 12px;
}

.delivery-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid #d8cbbc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.delivery-option:has(input:checked) {
    border-color: var(--green);
    background: #eefaf3;
}

.delivery-option input {
    width: 22px;
    height: 22px;
    accent-color: var(--green);
}

.delivery-option strong,
.delivery-option b {
    font-size: 22px;
}

.delivery-option small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .delivery-option {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .delivery-option b {
        grid-column: 2;
    }
}


.relay-selector {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #b9d9c7;
    border-radius: 8px;
    background: #f7fcf9;
}

.relay-selector label {
    color: #174b2e;
    font-size: 16px;
    font-weight: 900;
}

.relay-selector select {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #9bc7ad;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}


.relay-location-grid {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
}

.relay-location-grid label {
    display: grid;
    gap: 8px;
}

.relay-location-grid input {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #9bc7ad;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.relay-help {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .relay-location-grid {
        grid-template-columns: 1fr;
    }
}
