:root {
    --bg: #f5ede3;
    --surface: rgba(255, 250, 244, 0.88);
    --text: #26170f;
    --muted: #695340;
    --accent: #d9722c;
    --accent-dark: #8f4315;
    --border: rgba(93, 59, 37, 0.12);
    --shadow: 0 30px 70px rgba(57, 31, 14, 0.12);
    --radius-xl: 32px;
    --radius-md: 18px;
    --heading: "Cormorant Garamond", Georgia, serif;
    --body: "Manrope", "Trebuchet MS", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(242, 187, 126, 0.55), transparent 30%),
        linear-gradient(180deg, #f8f1e7 0%, #f5ede3 42%, #efdcca 100%);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.6;
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

h1,
h2 {
    font-family: var(--heading);
    letter-spacing: -0.03em;
    line-height: 0.96;
}

.shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.topbar {
    background: #26150a;
    color: #f8dabc;
    font-size: 0.86rem;
}

.topbar__content,
.header__content,
.site-nav,
.hero__actions,
.footer__bottom {
    display: flex;
}

.topbar__content {
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(248, 241, 231, 0.78);
    border-bottom: 1px solid rgba(93, 59, 37, 0.08);
}

.header__content {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #f7ae5f, #ce6120);
    color: #fff7ee;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 30px rgba(143, 67, 21, 0.24);
}

.brand__copy {
    display: grid;
    gap: 0.1rem;
}

.brand__copy strong {
    font-size: 1.02rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand__copy small {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav {
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.site-nav > a:not(.btn) {
    color: var(--muted);
}

.btn,
.variant-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
    background: linear-gradient(135deg, var(--accent) 0%, #bb521d 100%);
    color: #fff8ee;
    box-shadow: 0 18px 28px rgba(143, 67, 21, 0.18);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(143, 67, 21, 0.24);
}

.btn-secondary {
    background: rgba(255, 250, 244, 0.92);
    border-color: rgba(93, 59, 37, 0.12);
    color: var(--text);
    box-shadow: none;
}

.cart-pill span {
    display: inline-grid;
    place-items: center;
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(38, 23, 15, 0.1);
    font-size: 0.82rem;
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero {
    overflow: clip;
    padding: 1.5rem 0 5rem;
}

.hero__grid,
.process__grid,
.checkout__grid,
.footer__grid {
    display: grid;
}

.hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    min-height: calc(100svh - 10rem);
}

.hero__copy {
    max-width: 39rem;
}

.hero__brand {
    margin-bottom: 0.85rem;
    color: rgba(38, 23, 15, 0.84);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero__copy h1 {
    max-width: 11ch;
    font-size: clamp(3.6rem, 7.5vw, 6.3rem);
}

.lead {
    margin-top: 1.1rem;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.04rem;
}

.hero__actions {
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.hero__stats,
.trust__grid,
.catalog-grid,
.process__steps,
.cart-list,
.variant-list,
.form-grid,
.brand__copy {
    display: grid;
}

.hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}

.stat-card,
.note,
.panel,
.product-card,
.step-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.stat-card {
    padding: 1rem 1.1rem;
}

.stat-card strong,
.note strong,
.cart-item__price,
.summary-row strong {
    display: block;
}

.stat-card span,
.section-heading__copy,
.summary-note,
.footer__copy,
.empty-box,
.product-card__description,
.step-card p,
.cart-item__meta {
    color: var(--muted);
}

.hero__visual {
    position: relative;
    min-height: 34rem;
    display: grid;
    place-items: center;
}

.hero__visual img {
    width: min(100%, 31rem);
    filter: drop-shadow(0 34px 48px rgba(111, 58, 21, 0.2));
}

.note {
    position: absolute;
    max-width: 15rem;
    padding: 1rem 1.1rem;
}

.note--top {
    top: 9%;
    right: 0;
}

.note--bottom {
    left: 0;
    bottom: 9%;
}

.note__label,
.trust__title,
.variant-pill,
.footer__title {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.trust {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.74);
    box-shadow: var(--shadow);
    border: 1px solid rgba(93, 59, 37, 0.1);
}

.trust__grid article {
    padding: 0.85rem;
}

.catalog,
.process,
.checkout {
    padding: 5rem 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.section-heading h2,
.process__intro h2 {
    font-size: clamp(2.4rem, 4vw, 3.9rem);
}

.section-heading__copy {
    max-width: 30rem;
}

.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-card,
.step-card,
.panel {
    padding: 1.5rem;
}

.product-card,
.product-card__head,
.summary-panel,
.summary-panel__head,
.form-actions {
    display: grid;
    gap: 1rem;
}

.variant-list {
    gap: 0.75rem;
}

.variant-row,
.cart-item {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(93, 59, 37, 0.08);
    background: rgba(255, 247, 238, 0.9);
}

.variant-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.variant-meta strong,
.cart-item__name {
    font-weight: 800;
}

.variant-meta span {
    font-size: 0.92rem;
    color: var(--muted);
}

.variant-price {
    font-weight: 800;
}

.variant-button {
    border-color: rgba(217, 114, 44, 0.14);
    background: #fff7ee;
    color: var(--accent-dark);
    font-weight: 800;
}

.process__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 1.5rem;
    align-items: start;
}

.process__intro,
.summary-panel {
    position: sticky;
    top: 7rem;
}

.process__steps {
    gap: 1rem;
}

.step-card__index {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--accent-dark);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.checkout__grid {
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: 1.5rem;
    align-items: start;
}

.empty-box {
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(255, 247, 238, 0.84);
    border: 1px dashed rgba(143, 67, 21, 0.22);
}

.cart-list {
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

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

.cart-item__controls {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.cart-qty {
    min-width: 1.75rem;
    text-align: center;
    font-weight: 800;
}

.qty-button {
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(93, 59, 37, 0.12);
    border-radius: 999px;
    background: #fff9f2;
    cursor: pointer;
}

.remove-button {
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    cursor: pointer;
    font-weight: 800;
}

.summary-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.summary-row--total {
    padding-top: 1rem;
    border-top: 1px solid rgba(93, 59, 37, 0.1);
    font-size: 1.05rem;
}

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

.field {
    display: grid;
    gap: 0.45rem;
}

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

label {
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(93, 59, 37, 0.12);
    background: #fffdf9;
    color: var(--text);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(217, 114, 44, 0.5);
    box-shadow: 0 0 0 4px rgba(217, 114, 44, 0.12);
}

.form-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.message {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(93, 59, 37, 0.12);
}

.message--success {
    background: rgba(234, 247, 233, 0.95);
    border-color: rgba(73, 128, 60, 0.24);
    color: #284f20;
}

.message--error {
    background: rgba(255, 238, 230, 0.95);
    border-color: rgba(151, 51, 20, 0.16);
    color: #9b3814;
}

.site-footer {
    padding-bottom: 2rem;
}

.footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.8fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(93, 59, 37, 0.1);
}

.footer__brand {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.footer__links {
    display: grid;
    gap: 0.45rem;
}

.footer__bottom {
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    border-top: 1px solid rgba(93, 59, 37, 0.08);
}

:focus-visible {
    outline: 2px solid rgba(217, 114, 44, 0.7);
    outline-offset: 2px;
}

@media (max-width: 1080px) {
    .hero__grid,
    .process__grid,
    .checkout__grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .catalog-grid,
    .hero__stats,
    .trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__visual {
        min-height: 26rem;
    }

    .process__intro,
    .summary-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .topbar__content,
    .header__content,
    .site-nav,
    .hero__actions,
    .section-heading,
    .footer__bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-grid,
    .hero__stats,
    .trust__grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero__copy h1,
    .section-heading h2,
    .process__intro h2 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .note {
        position: static;
        max-width: none;
    }

    .hero__visual {
        min-height: auto;
        gap: 1rem;
    }

    .variant-row,
    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item__controls {
        justify-content: flex-start;
    }

    .btn,
    .btn-secondary,
    .variant-button {
        width: 100%;
    }
}
