/* ==========================================================================
   Young — storefront stylesheet
   ========================================================================== */

:root {
    --ink: #14110f;
    --paper: #ffffff;
    --sand: #f6f3ee;
    --sand-dark: #ece7de;
    --line: #e3ded5;
    --muted: #7b746b;
    --accent: #1f3529;
    --danger: #a4362b;
    --radius: 2px;
    --wrap: 1280px;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

h1, h2 {
    font-family: var(--font-serif);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.muted {
    color: var(--muted);
}

/* ---------------- Top bar ---------------- */

.topbar {
    background: var(--ink);
    color: #f2efe9;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding: 9px 16px;
}

/* ---------------- Header ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: 8px;
}

.nav a {
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #3d3833;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.nav a:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
}

.header-actions a,
.header-actions button {
    background: none;
    border: 0;
    padding: 0;
    color: #3d3833;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-actions a:hover,
.header-actions button:hover {
    color: var(--ink);
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--ink);
    color: #fff;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 500;
}

.header-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
}

.header-search input {
    border: 0;
    outline: none;
    font-size: 12.5px;
    width: 130px;
    background: transparent;
    font-family: inherit;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

/* ---------------- Buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease;
}

.btn:hover {
    background: #2c2723;
    border-color: #2c2723;
}

.btn--light {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn--light:hover {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--ink);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 11.5px;
}

.btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(160deg, #d8d2c7 0%, #b9b0a2 55%, #8f867a 100%);
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 15, 13, 0.72) 0%, rgba(18, 15, 13, 0.34) 42%, rgba(18, 15, 13, 0) 72%),
        linear-gradient(180deg, rgba(18, 15, 13, 0.18) 0%, rgba(18, 15, 13, 0.10) 45%, rgba(18, 15, 13, 0.55) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 0 28px 72px;
    max-width: var(--wrap);
    margin: 0 auto;
    width: 100%;
    color: #fff;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: italic;
}

.hero__sub {
    max-width: 460px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 30px;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------- Sections ---------------- */

.section {
    padding: 84px 0;
}

.section--tight {
    padding: 56px 0;
}

.section--sand {
    background: var(--sand);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.section__head h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.section__head p {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 520px;
}

.link-arrow {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
    white-space: nowrap;
}

/* ---------------- Category tiles ---------------- */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--sand);
}

.cat-card__media {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.cat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-card__media img {
    transform: scale(1.04);
}

.cat-card__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px 0;
    font-size: 13px;
    letter-spacing: 0.02em;
}

/* ---------------- Product grid ---------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
}

.product-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    display: block;
}

.card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--sand);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, opacity 0.3s ease;
}

.card:hover .card__media img {
    transform: scale(1.035);
}

.card__flag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 8px;
    z-index: 2;
}

.card__flag--sale {
    background: var(--ink);
    color: #fff;
}

.card__swatches {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 5px;
}

.swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #ddd;
}

.card__body {
    padding-top: 14px;
}

.card__name {
    font-size: 14px;
    margin-bottom: 3px;
}

.card__meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.price {
    font-size: 13.5px;
    letter-spacing: 0.01em;
}

.price del {
    color: var(--muted);
    margin-left: 8px;
    font-size: 12.5px;
}

.price--accent {
    color: var(--danger);
}

/* ---------------- Value props ---------------- */

.props {
    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);
}

.props__item {
    background: #fff;
    padding: 34px 26px;
    text-align: center;
}

.props__item h4 {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.props__item p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* ---------------- Editorial / about split ---------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split__media {
    aspect-ratio: 4 / 5;
    background: var(--sand-dark);
    overflow: hidden;
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 18px;
}

.split p {
    color: #4b453e;
}

/* ---------------- Newsletter ---------------- */

.newsletter {
    background: var(--ink);
    color: #f4f1ea;
    text-align: center;
    padding: 72px 24px;
}

.newsletter h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 12px;
}

.newsletter p {
    color: rgba(244, 241, 234, 0.65);
    max-width: 460px;
    margin: 0 auto 26px;
    font-size: 14px;
}

.newsletter form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* ---------------- Footer ---------------- */

.site-footer {
    background: #100e0c;
    color: #cfc9c0;
    padding: 64px 0 28px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-grid li {
    margin-bottom: 9px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-brand .logo {
    color: #fff;
    font-size: 19px;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #8d867d;
    max-width: 260px;
    font-size: 12.5px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    font-size: 11.5px;
    color: #807971;
    flex-wrap: wrap;
}

.pay-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pay-badge {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a9a29a;
}

/* ---------------- Shop listing ---------------- */

.page-head {
    padding: 56px 0 34px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 34px;
}

.page-head h1 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 10px;
}

.page-head p {
    color: var(--muted);
    margin: 0;
    max-width: 620px;
}

.breadcrumb {
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    border: 1px solid var(--line);
    border-radius: 40px;
    padding: 7px 15px;
    font-size: 12px;
    color: #4b453e;
    background: #fff;
}

.chip:hover {
    border-color: var(--ink);
}

.chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.select-wrap select {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 9px 34px 9px 14px;
    font-family: inherit;
    font-size: 12.5px;
    border-radius: var(--radius);
    outline: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b655d 50%), linear-gradient(135deg, #6b655d 50%, transparent 50%);
    background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.result-count {
    font-size: 12.5px;
    color: var(--muted);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    border: 1px dashed var(--line);
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.pager {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 52px;
}

.pager a,
.pager span {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-size: 12.5px;
    padding: 0 10px;
}

.pager .is-current {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ---------------- Product detail ---------------- */

.pdp {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    padding: 40px 0 72px;
}

.pdp__gallery {
    display: grid;
    gap: 10px;
}

.pdp__main {
    aspect-ratio: 3 / 4;
    background: var(--sand);
    overflow: hidden;
}

.pdp__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp__thumbs {
    display: flex;
    gap: 8px;
}

.pdp__thumbs button {
    width: 74px;
    height: 92px;
    padding: 0;
    border: 1px solid transparent;
    background: var(--sand);
    overflow: hidden;
}

.pdp__thumbs button.is-active {
    border-color: var(--ink);
}

.pdp__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp__info {
    position: sticky;
    top: 96px;
    align-self: start;
}

.pdp__info h1 {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.pdp__price {
    font-size: 18px;
    margin-bottom: 20px;
}

.pdp__price del {
    color: var(--muted);
    font-size: 15px;
    margin-left: 10px;
}

.pdp__short {
    color: #4b453e;
    margin-bottom: 26px;
}

.option-block {
    margin-bottom: 22px;
}

.option-block > label {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #3d3833;
}

.size-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    position: relative;
}

.size-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    font-size: 12.5px;
    background: #fff;
    transition: border-color 0.15s ease;
}

.size-option input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.size-option:hover span {
    border-color: var(--ink);
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
}

.qty-stepper button {
    width: 42px;
    height: 42px;
    border: 0;
    background: #fff;
    font-size: 16px;
    line-height: 1;
}

.qty-stepper input {
    width: 52px;
    height: 42px;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.stock-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.stock-note strong {
    color: var(--accent);
    font-weight: 500;
}

.accordion {
    border-top: 1px solid var(--line);
    margin-top: 32px;
}

.accordion__item {
    border-bottom: 1px solid var(--line);
}

.accordion__item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion__item summary::-webkit-details-marker {
    display: none;
}

.accordion__item summary::after {
    content: "+";
    font-size: 16px;
    color: var(--muted);
}

.accordion__item[open] summary::after {
    content: "−";
}

.accordion__body {
    padding-bottom: 18px;
    font-size: 13px;
    color: #4b453e;
}

.accordion__body ul {
    margin: 0;
    padding-left: 18px;
}

.accordion__body li {
    margin-bottom: 6px;
}

/* ---------------- Cart ---------------- */

.cart-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 56px;
    align-items: start;
    padding-bottom: 72px;
}

.cart-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.cart-row__media {
    aspect-ratio: 3 / 4;
    background: var(--sand);
    overflow: hidden;
}

.cart-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-row__name {
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-row__meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.cart-row__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.link-btn {
    background: none;
    border: 0;
    padding: 0;
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.link-btn:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.cart-row__price {
    text-align: right;
    font-size: 14px;
}

.summary {
    border: 1px solid var(--line);
    padding: 28px;
    background: #fff;
}

.summary h3 {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    margin-bottom: 12px;
    color: #4b453e;
}

.summary__row--total {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
    font-size: 16px;
    color: var(--ink);
}

.summary .btn {
    margin-top: 20px;
}

.note-box {
    background: var(--sand);
    padding: 12px 14px;
    font-size: 12px;
    color: #5c564f;
    margin-top: 16px;
}

/* ---------------- Forms / checkout ---------------- */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 16px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d3833;
    margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: inherit;
    font-size: 13.5px;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--ink);
}

.field textarea {
    min-height: 96px;
    resize: vertical;
}

.field .hint {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 6px;
}

.alert {
    border: 1px solid #e2c4bd;
    background: #fbf1ee;
    color: #8c3226;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 22px;
    border-radius: var(--radius);
}

.alert--ok {
    border-color: #c6d8c9;
    background: #f1f7f2;
    color: #2e5936;
}

.pay-methods {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.pay-method {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    padding: 14px 16px;
    font-size: 13.5px;
    cursor: pointer;
    background: #fff;
}

.pay-method:has(input:checked) {
    border-color: var(--ink);
}

.pay-method input {
    accent-color: var(--ink);
}

.pay-method span.tag {
    margin-left: auto;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.checkout-steps {
    display: flex;
    gap: 22px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.checkout-steps .is-done {
    color: var(--ink);
}

.checkout-steps .is-active {
    color: var(--ink);
    font-weight: 500;
}

.mini-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.mini-item__media {
    width: 56px;
    height: 70px;
    background: var(--sand);
    overflow: hidden;
    flex: 0 0 auto;
}

.mini-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-item__info {
    flex: 1;
}

.mini-item__info small {
    color: var(--muted);
    display: block;
}

/* ---------------- Auth ---------------- */

.auth-wrap {
    max-width: 440px;
    margin: 0 auto;
    padding: 72px 0 96px;
}

.auth-wrap h1 {
    font-size: 30px;
    margin-bottom: 8px;
    text-align: center;
}

.auth-wrap > p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 30px;
}

.auth-foot {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 20px;
}

.auth-foot a {
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
}

/* ---------------- Static pages ---------------- */

.prose {
    max-width: 760px;
    padding: 56px 0 88px;
}

.prose h1 {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 14px;
}

.prose .lede {
    font-size: 16px;
    color: #4b453e;
    margin-bottom: 36px;
}

.prose h2 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    margin: 38px 0 12px;
}

.prose h3 {
    font-size: 14.5px;
    font-weight: 500;
    margin: 26px 0 8px;
}

.prose p,
.prose li {
    color: #46403a;
    font-size: 14.5px;
}

.prose ul {
    padding-left: 20px;
}

.prose li {
    margin-bottom: 8px;
}

.prose .updated {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 48px 0 88px;
}

.contact-info dl {
    margin: 0;
}

.contact-info dt {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 22px;
}

.contact-info dd {
    margin: 4px 0 0;
    font-size: 14.5px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--muted);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 0 20px;
    margin: 0;
    color: #4b453e;
    font-size: 14px;
    max-width: 700px;
}

/* ---------------- Order result ---------------- */

.order-panel {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 0 90px;
}

.order-panel h1 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 10px;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--sand);
    padding: 22px;
    margin: 28px 0;
    font-size: 13px;
}

.order-meta dt {
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.order-meta dd {
    margin: 0;
}

.status-tag {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 9px;
    border: 1px solid var(--line);
    background: #fff;
}

.status-tag--paid,
.status-tag--shipped,
.status-tag--completed {
    border-color: #bcd2c1;
    background: #f1f7f2;
    color: #2e5936;
}

.status-tag--pending {
    border-color: #e4d6b8;
    background: #fcf7ec;
    color: #8a6a1f;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav {
        gap: 18px;
    }

    .pdp {
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-header.is-open .nav {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 8px 28px 18px;
    }

    .site-header.is-open .nav a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .pdp,
    .cart-layout,
    .contact-grid,
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pdp__info {
        position: static;
    }

    .props,
    .footer-grid,
    .order-meta,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .props {
        gap: 0;
    }

    .props__item {
        border-bottom: 1px solid var(--line);
    }

    .hero {
        min-height: 520px;
    }

    .section {
        padding: 56px 0;
    }

    .header-search {
        display: none;
    }
}

@media (max-width: 600px) {
    .wrap {
        padding: 0 18px;
    }

    .product-grid,
    .product-grid--3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 12px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-row {
        grid-template-columns: 84px 1fr;
    }

    .cart-row__price {
        grid-column: 2;
        text-align: left;
    }

    .newsletter form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
