:root {
    --color-brand: #2b565e;
    --color-brand-dark: #1f454c;
    --color-brand-soft: #edf5f4;

    --color-ink: #111111;
    --color-muted: #606767;

    --color-paper: #ffffff;
    --color-surface: #ffffff;

    /*
     * Compatibility variables.
     * Existing product/account/checkout CSS uses these.
     */
    --color-blush: #eef5f4;
    --color-clay: #2b565e;
    --color-olive: #658078;
    --color-gold: #f3aa34;

    --color-border: #dfe8e6;

    --shadow-soft:
        0 18px 55px rgba(31, 69, 76, 0.10);

    --radius-lg: 24px;
    --radius-md: 16px;

    --container: 1280px;

    --font-heading: "Outfit", Arial, sans-serif;
    --font-body: "Outfit", Arial, sans-serif;
}

body {
    margin: 0;
    background: #fff;
    color: #111;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2b565e;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.12;
}

p {
    color: #111;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.08;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 7vw, 5.8rem);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

p {
    color: var(--color-muted);
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.container.narrow {
    width: min(100% - 32px, 820px);
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    background: var(--color-ink);
    color: #fff;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--color-clay);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-hero {
    padding: 88px 0 72px;
    background:
        radial-gradient(circle at 88% 18%, rgba(216, 168, 79, 0.22), transparent 26%),
        linear-gradient(135deg, #fffaf3 0%, #f7ded8 100%);
}

.page-hero p:not(.eyebrow) {
    max-width: 640px;
    margin-bottom: 0;
    font-size: 1.08rem;
}

.content-section,
.product-listing {
    padding: 72px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
    background: var(--color-ink);
    color: #fff;
    box-shadow: 0 14px 30px rgba(29, 26, 24, 0.2);
}

.button--secondary {
    background: var(--color-clay);
    color: #fff;
}

.muted {
    color: var(--color-muted);
}

.contact-form,
.empty-state {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    padding: clamp(24px, 5vw, 44px);
}

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

.form-grid__full {
    grid-column: 1 / -1;
}

label span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

label small {
    color: var(--color-muted);
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #fff;
    color: var(--color-ink);
}

input,
select {
    min-height: 52px;
    padding: 0 16px;
}

textarea {
    resize: vertical;
    padding: 14px 16px;
}

.contact-form .button {
    margin-top: 24px;
}

.form-alert {
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #fff0ed;
    color: #8f2f1e;
    font-weight: 700;
}

.form-alert--success {
    background: #edf8f0;
    color: #28643a;
}

.auth-switch a,
.form-alert a {
    font-weight: 700;
    text-decoration: underline;
}

.check-row {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    gap: 10px;
}

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

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

.checkout-panel,
.checkout-summary,
.payment-method,
.order-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.checkout-panel,
.checkout-summary {
    padding: clamp(24px, 5vw, 42px);
}

.checkout-panel h2:not(:first-child) {
    margin-top: 34px;
}

.checkout-summary {
    position: sticky;
    top: 20px;
}

.checkout-summary p,
.order-mini-list p,
.order-card p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.payment-method {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 16px;
    padding: 20px;
}

.shipping-options .payment-method {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
}

.shipping-options input[type="radio"] {
    width: auto;
    min-height: auto;
}

.button-row,
.order-list {
    display: grid;
    gap: 16px;
}

.button-row {
    grid-template-columns: repeat(2, max-content);
    margin-top: 24px;
}

.order-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(120px, 1fr)) auto;
    gap: 16px;
    align-items: center;
    padding: 20px;
}

.order-card h2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
}

@media (max-width: 860px) {
    .checkout-layout,
    .order-card {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .button-row {
        grid-template-columns: 1fr;
    }
}



.button {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

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

.button--brand,
.button--primary {
    border-color: #2b565e;
    background: #2b565e;
    color: #fff;
}

.button--brand:hover,
.button--primary:hover {
    background: #1f454c;
}

.button--outline {
    border-color: #2b565e;
    background: transparent;
    color: #2b565e;
}

.button--outline:hover {
    background: #eef5f4;
}

.button--secondary {
    background: #eef5f4;
    color: #2b565e;
}