:root {
    --cream: #f6f1ea;
    --paper: #fbf8f4;
    --ink: #1c1c1c;
    --muted: #6d675f;
    --line: #e4ddd3;
    --footer: #141414;
    --card: #f3efe8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--paper);
    font-family: Jost, "Segoe UI", sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .serif, .xo-logo, .xo-brand, .xo-cat span, .product-body strong {
    font-family: "Russo One", Impact, sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.03em;
}

.xo-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 248, 244, 0.94);
    backdrop-filter: blur(16px);
}
.xo-bar {
    height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 28px;
    gap: 16px;
}
.xo-logo {
    font-size: 34px;
    letter-spacing: 0.08em;
    line-height: 1;
    justify-self: start;
}
.xo-nav {
    display: flex;
    gap: 28px;
    justify-content: center;
}
.xo-nav a {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.xo-nav a.active, .xo-nav a:hover { opacity: 0.55; }
.xo-tools { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.xo-tools a, .xo-tools button { position: relative; width: 28px; height: 28px; display: grid; place-items: center; }
.xo-count {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    background: var(--ink);
    color: white;
    font-size: 10px;
    display: grid;
    place-items: center;
}
.xo-burger { display: none; width: 32px; height: 32px; }
.xo-drawer {
    display: none;
    padding: 8px 28px 22px;
    border-top: 1px solid var(--line);
}
.xo-drawer a { display: block; padding: 12px 0; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }
.xo-search {
    display: none;
    padding: 0 28px 18px;
}
.xo-search.is-open { display: block; }
.xo-search form { display: flex; border-bottom: 1px solid var(--ink); }
.xo-search input { flex: 1; border: 0; background: transparent; padding: 12px 0; outline: none; letter-spacing: 0.08em; }
.xo-search button { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }

.xo-hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: center;
    color: white;
    background: #1b1a22 center/cover no-repeat;
}
.xo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 16, 0.45), rgba(12, 12, 16, 0.05) 55%);
}
.xo-hero-copy { position: relative; z-index: 1; padding: 8vh 8vw; max-width: 640px; }
.xo-hero h1 {
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.05;
    margin: 0 0 12px;
}
.xo-hero p { font-size: 22px; margin-bottom: 28px; }
.btn-cream, .btn-dark, .btn, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid transparent;
}
.btn-cream { background: #f4efe6; color: #1c1c1c; }
.btn-dark, .btn { background: #1c1c1c; color: white; }
.btn-ghost { background: transparent; border-color: #1c1c1c; color: #1c1c1c; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 11px; }

.xo-section { padding: 72px 40px 20px; }
.xo-rule {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: center;
    margin-bottom: 28px;
}
.xo-rule::before, .xo-rule::after {
    content: "";
    height: 1px;
    width: min(180px, 18vw);
    background: #cfc8be;
}
.xo-rule h2 {
    font-size: 42px;
    margin: 0;
}
.xo-cats {
    width: min(1180px, 100%);
    margin: 0 auto 28px;
    display: grid;
    gap: 22px;
}
.xo-cats.shoes { grid-template-columns: repeat(4, 1fr); }
.xo-cats.bags { grid-template-columns: repeat(3, 1fr); }
.xo-cat { text-align: center; }
.xo-cat img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--card); }
.xo-cat span {
    display: block;
    margin-top: 12px;
    font-size: 18px;
}

.xo-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.page-intro { padding: 42px 0 10px; }
.page-intro h1, .xo-wrap h1 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 8px;
}
.muted, .help { color: var(--muted); }
.toolbar, .chips, .actions, .price-row, .inline, .section-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head, .toolbar, .price-row { justify-content: space-between; }
.chip {
    border-bottom: 1px solid transparent;
    padding: 6px 0;
    margin-right: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}
.chip.active { border-color: var(--ink); }
select, .field input, .field textarea, .qty input {
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    padding: 10px 0;
    width: 100%;
    outline: none;
}
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px; margin: 22px 0 40px; }
.product-card { display: block; }
.product-media { background: var(--card); }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-body { padding: 12px 2px 0; display: grid; gap: 2px; }
.product-body strong {
    font-size: 16px;
    letter-spacing: 0.02em;
}
.flag {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.price-row s { color: var(--muted); margin-left: 8px; }
.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; margin: 28px 0 64px; }
.gallery-main { background: var(--card); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.choice { border: 1px solid var(--line); padding: 8px 12px; background: white; }
.choice.is-selected { border-color: var(--ink); background: var(--ink); color: white; }
.stock-note { min-height: 1.4em; }
.stock-note.warn { color: #8d2d2d; }
.qty { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.qty input { width: 72px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.split, .checkout-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: start; }
.panel, .summary, .line, .empty, .alert {
    background: white;
    border: 1px solid var(--line);
    padding: 18px;
}
.line { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; margin-bottom: 12px; }
.line img { width: 92px; height: 110px; object-fit: cover; background: var(--card); }
.cart-lines { display: grid; }
.summary { position: sticky; top: 96px; }
.empty { text-align: center; padding: 64px 20px; }
.alert, .toast { background: #f8f1e8; border: 1px solid var(--line); padding: 12px 14px; margin: 12px 0; }
.toast { position: fixed; bottom: 18px; left: 18px; z-index: 40; }
.prose { white-space: pre-wrap; line-height: 1.7; }
.pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 28px 0 48px; }
.pager a, .pager span {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    font-size: 15px;
}
.pager .is-current { background: var(--ink); color: white; }
.pager .is-disabled { color: #c4beb6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.search-page { padding-bottom: 10px; }
.search-hero { display: flex; align-items: center; gap: 28px; padding: 34px 0 18px; }
.search-hero h1 { margin: 0; font-size: clamp(46px, 5vw, 68px); flex: 0 0 auto; }
.search-bar {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    min-height: 56px;
    padding: 6px 6px 6px 16px;
    background: white;
    border: 1px solid #e7e1d8;
    border-radius: 12px;
}
.search-bar input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 8px 0;
    outline: none;
}
.search-bar input::-webkit-search-cancel-button { appearance: none; }
.search-clear { width: 28px; height: 28px; font-size: 22px; line-height: 1; color: #8a847c; }
.search-go {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    letter-spacing: 0;
    text-transform: none;
    font-size: 15px;
}
.search-tools {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 8px 0 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.result-count { margin: 0; font-weight: 500; }
.search-rule { width: 1px; height: 16px; background: #d9d3cb; }
.filter-launch, .filter-sheet-head, .filter-apply { display: none; }
.filter-fields { display: flex; align-items: center; gap: 22px; }
.cat-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 220px; margin: 18px 0 8px; background: #f3efe8; }
.cat-banner > div { flex: 1; padding-left: 8px; }
.cat-banner h1 { margin: 0; font-size: clamp(64px, 6vw, 92px); line-height: 0.9; }
.cat-kicker { display: none; margin: 0 0 2px; color: #6f6a64; font-size: 15px; }
.cat-banner img { height: 300px; width: auto; max-width: 48%; object-fit: contain; object-position: right center; }
.sort-icon { display: none; font-size: 16px; line-height: 1; }
.cat-page .result-media img { padding: 8px; }
.cat-page .result-price { flex-wrap: wrap; row-gap: 0; }
.search-page select, .cat-page select {
    width: auto;
    border: 0;
    border-radius: 0;
    padding: 6px 18px 6px 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231c1c1c' stroke-width='1.2'/%3E%3C/svg%3E") right center no-repeat;
    appearance: none;
}
.sort-field { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.sort-label::after { content: ":"; }
.search-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 18px; margin: 26px 0 10px; }
.result-card { position: relative; }
.result-card a { display: block; }
.result-media { display: block; background: #f7f4ef; }
.result-media img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 16px; }
.result-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    color: #1c1c1c;
}
.result-heart.is-saved svg { fill: currentColor; }
.result-name {
    display: block;
    margin-top: 12px;
    font-family: Jost, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
}
.result-price { display: flex; gap: 10px; margin-top: 4px; color: #8a847c; font-size: 13px; }
.result-price b { color: var(--ink); font-weight: 500; }
.result-price s { color: #b0aaa2; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; color: var(--muted); font-size: 13px; }
.pdp-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; margin: 22px 0 64px; }
.pdp-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.pdp-thumbs { display: grid; gap: 10px; }
.pdp-thumbs button { padding: 6px; background: #f7f4ef; border: 1px solid transparent; }
.pdp-thumbs button.is-selected { border-color: var(--ink); }
.pdp-thumbs img { width: 68px; height: 78px; object-fit: contain; }
.pdp-stage { background: #f7f4ef; }
.pdp-stage img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 18px; }
.pdp-dots { display: none; justify-content: center; gap: 7px; margin-top: 12px; }
.pdp-dots button { width: 7px; height: 7px; border-radius: 50%; background: #d9d3cb; padding: 0; }
.pdp-dots button.is-selected { background: var(--ink); }
.pdp-kicker { margin: 0 0 8px; color: #6f6a64; }
.pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pdp-title-row h1 { margin: 0; font-size: clamp(40px, 4vw, 58px); line-height: 1; }
.pdp-sku { margin: 10px 0 16px; font-size: 13px; letter-spacing: 0.08em; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.pdp-price strong { font-family: Jost, sans-serif; font-size: 28px; letter-spacing: 0; font-weight: 500; }
.pdp-price s { color: #a39d95; font-size: 18px; }
.pdp-color-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pdp-color-line { display: flex; align-items: center; gap: 12px; }
.pdp-color-row p, .pdp-size p, .pdp-qty span { margin: 0; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 34px; height: 34px; padding: 3px; border: 1px solid #ddd; background: white; }
.swatch span { display: block; width: 100%; height: 100%; }
.swatch.is-selected { border-color: var(--ink); }
.pdp-size { margin-top: 16px; }
.pdp-qty { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.stepper { display: flex; align-items: center; border: 1px solid #e4ddd3; background: white; }
.stepper button, .stepper input, .stepper span { width: 42px; height: 42px; border: 0; background: white; text-align: center; }
.stepper input, .stepper span { width: 34px; padding: 0; display: grid; place-items: center; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.pdp-actions { display: flex; gap: 10px; align-items: stretch; }
.pdp-actions .btn, .pdp-actions .btn-ghost { flex: 1; min-height: 48px; }
.pdp-heart-desktop, .pdp-heart-mobile { display: grid; place-items: center; }
.pdp-heart-desktop { width: 48px; min-height: 48px; border: 1px solid var(--ink); background: white; }
.pdp-heart-mobile { display: none; width: 36px; height: 36px; flex: 0 0 36px; }
.pdp-heart-desktop.is-saved svg, .pdp-heart-mobile.is-saved svg { fill: currentColor; }
.pdp-fold { border-top: 1px solid var(--line); margin-top: 18px; }
.pdp-fold + .pdp-fold { margin-top: 0; border-bottom: 1px solid var(--line); }
.pdp-fold summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; list-style: none; font-weight: 500; }
.pdp-fold summary::-webkit-details-marker { display: none; }
.pdp-fold summary::after { content: "+"; font-size: 20px; line-height: 1; }
.pdp-fold[open] summary::after { content: "–"; }
.pdp-fold p { margin: 0 0 14px; color: #5e5953; line-height: 1.65; }
.pdp-related { margin-bottom: 20px; }
.pdp-related h2 { display: flex; align-items: center; gap: 18px; margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); }
.pdp-related h2::after { content: ""; height: 1px; flex: 1; background: #ddd6cc; }
.stock-note.ok { color: var(--ink); }

.bag-page .page-intro { padding-bottom: 6px; }
.bag-page h1 { margin-bottom: 4px; }
.bag-count { margin: 0; letter-spacing: 0.14em; font-size: 13px; text-transform: lowercase; }
.bag-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px 36px; align-items: start; margin-bottom: 48px; }
.bag-head, .bag-line { display: grid; grid-template-columns: minmax(0, 1fr) 150px 120px; gap: 16px; align-items: center; }
.bag-head { padding: 10px 0; border-bottom: 1px solid var(--line); color: #8a847c; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.bag-head span:nth-child(2), .bag-head span:nth-child(3), .bag-total { text-align: center; }
.bag-head span:nth-child(3), .bag-total { text-align: right; }
.bag-line { padding: 22px 0; border-bottom: 1px solid var(--line); }
.bag-main { display: flex; gap: 18px; align-items: center; min-width: 0; }
.bag-photo { width: 118px; height: 140px; object-fit: contain; }
.bag-copy strong { display: block; font-family: Jost, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: 0; }
.bag-copy p { margin: 4px 0; color: #5f5a54; font-size: 14px; }
.bag-unit { display: none; font-weight: 600; color: var(--ink); }
.bag-color { display: flex; align-items: center; gap: 8px; }
.bag-color i { width: 16px; height: 16px; border: 1px solid #ddd; display: inline-block; }
.bag-remove button { border-bottom: 1px solid var(--ink); padding: 0; line-height: 1.4; }
.bag-remove.is-mobile { display: none; }
.bag-total { font-family: Jost, sans-serif; font-weight: 500; letter-spacing: 0; }
.bag-summary { border: 1px solid #e4ddd3; padding: 22px 22px 26px; }
.bag-summary h2 { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 28px; letter-spacing: 0.01em; white-space: nowrap; }
.bag-sub { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.bag-sub strong { font-weight: 500; }
.bag-summary p { color: var(--muted); font-size: 14px; }
.bag-summary .btn { width: 100%; margin-top: 8px; }
.bag-continue { justify-self: start; border-bottom: 1px solid var(--ink); line-height: 1.4; }

.co-back { display: inline-block; margin-top: 22px; font-size: 14px; }
.co-page .page-intro { padding-top: 8px; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 22px; align-items: start; margin-bottom: 48px; }
.co-panel, .co-summary { border: 1px solid #e4ddd3; background: white; padding: 22px; }
.co-panel + .co-panel { margin-top: 16px; }
.co-panel h2, .co-summary h2 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 28px; letter-spacing: 0.01em; }
.co-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { display: grid; gap: 6px; margin-bottom: 14px; }
.co-field label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.co-field input, .co-field textarea, .co-field select {
    width: 100%;
    border: 1px solid #d9d3cb;
    background: white;
    padding: 12px;
    outline: none;
}
.co-field select {
    appearance: none;
    padding-right: 36px;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231c1c1c' stroke-width='1.2'/%3E%3C/svg%3E") right 12px center no-repeat;
}
.co-field textarea { min-height: 74px; resize: vertical; }
.co-field .help { margin: 0; font-size: 13px; }
.pay-list { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #d9d3cb; padding: 14px; }
.pay-option input { margin-top: 4px; accent-color: var(--ink); }
.pay-option strong, .pay-option small { display: block; }
.pay-option small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.co-items { display: grid; gap: 14px; margin-bottom: 16px; }
.co-items article { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.co-items img { width: 84px; height: 96px; object-fit: contain; }
.co-items strong { display: block; font-family: Jost, sans-serif; font-weight: 600; letter-spacing: 0; font-size: 18px; }
.co-items p { margin: 4px 0 0; color: #6f6a64; font-size: 14px; }
.co-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.co-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; font-weight: 600; }
.co-summary .btn { width: 100%; margin-top: 16px; }

.thanks { padding: 18px 0 56px; text-align: center; }
.thanks-hero { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 12px; }
.thanks-hero::before, .thanks-hero::after { content: ""; width: 84px; height: 1px; background: #e4ddd3; }
.thanks-mark { width: 78px; height: 78px; }
.thanks-ring, .thanks-check { fill: none; stroke: #b9975b; stroke-linecap: round; stroke-linejoin: round; }
.thanks-ring { stroke-width: 1.5; stroke-dasharray: 176; stroke-dashoffset: 176; animation: thanks-ring 0.8s ease forwards; }
.thanks-check { stroke-width: 2; stroke-dasharray: 48; stroke-dashoffset: 48; animation: thanks-check 0.45s 0.62s ease forwards; }
.thanks-copy h1 { margin: 16px 0 8px; font-size: clamp(36px, 4vw, 54px); animation: thanks-rise 0.6s 0.85s both; }
.thanks-copy p { margin: 0; animation: thanks-rise 0.6s 0.95s both; }
.thanks-number { margin: 16px 0 8px; font-family: "Russo One", Impact, sans-serif; font-size: 36px; letter-spacing: 0.04em; animation: thanks-rise 0.55s 1.05s both; }
.thanks-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; margin-top: 28px; text-align: left; animation: thanks-rise 0.6s 1.2s both; }
.thanks-card { border: 1px solid #e4ddd3; background: white; padding: 20px 22px 8px; }
.thanks-card h2 { margin: 0 0 16px; font-size: 28px; letter-spacing: 0.01em; }
.thanks-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; }
.thanks-item img { width: 92px; height: 104px; object-fit: contain; }
.thanks-item strong { display: block; font-family: Jost, sans-serif; font-weight: 600; letter-spacing: 0; font-size: 18px; }
.thanks-item p { margin: 4px 0 0; color: #6f6a64; }
.thanks-meta { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 14px 0; }
.thanks-meta p { margin: 0; }
.thanks-meta small { display: block; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; color: #8a847c; }
.thanks-icon { color: #b9975b; display: grid; place-items: center; }
.thanks-sums div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.thanks-sums.is-mobile { display: none; }
.thanks-due { background: #f6f1ea; margin: 8px -8px 12px; padding: 12px 14px; }
.thanks-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 26px; animation: thanks-rise 0.5s 1.35s both; }
.thanks-continue { border-bottom: 1px solid var(--ink); line-height: 1.4; }
@keyframes thanks-ring { to { stroke-dashoffset: 0; } }
@keyframes thanks-check { to { stroke-dashoffset: 0; } }
@keyframes thanks-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .thanks-ring, .thanks-check { stroke-dashoffset: 0; animation: none; }
    .thanks-copy h1, .thanks-copy p, .thanks-number, .thanks-grid, .thanks-actions { animation: none; }
}
.contact-grid, .promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.page-hero { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-top: 20px; }
.page-hero img { width: 220px; height: 220px; object-fit: cover; }
.look-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.look-grid a:first-child { grid-row: span 2; }
.look-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }

.xo-footer { background: var(--footer); color: #f4efe6; margin-top: 48px; padding: 54px 40px 22px; }
.xo-footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1.3fr; gap: 28px; }
.xo-brand {
    font-size: 52px;
    line-height: 0.9;
    letter-spacing: 0.08em;
}
.xo-brand small { display: block; margin-top: 12px; font-family: Jost, sans-serif; font-size: 11px; letter-spacing: 0.18em; }
.xo-footer h3 { font-size: 12px; letter-spacing: 0.16em; font-weight: 500; }
.xo-footer a, .xo-footer p { display: block; color: #ddd6cc; font-size: 14px; margin: 8px 0; }
.xo-news { display: flex; border: 1px solid #3a3a3a; margin-top: 10px; }
.xo-news input { flex: 1; background: transparent; border: 0; color: white; padding: 12px; outline: none; }
.xo-news button { background: #f4efe6; color: #141414; border: 0; padding: 0 14px; letter-spacing: 0.12em; font-size: 11px; }
.xo-social { display: flex; gap: 10px; margin-top: 16px; }
.xo-social a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #6a645c; border-radius: 50%; margin: 0; }
.xo-copy { text-align: center; color: #b9b1a6; font-size: 12px; margin-top: 36px; }
.xo-foot-block summary { cursor: pointer; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
button[disabled], .btn[disabled] { opacity: 0.45; cursor: not-allowed; }

@media (min-width: 861px) {
    .xo-foot-block summary { pointer-events: none; list-style: none; }
    .xo-foot-block summary::-webkit-details-marker { display: none; }
    .xo-foot-block > *:not(summary) { display: block !important; }
}
@media (max-width: 980px) {
    .xo-cats.shoes, .grid, .xo-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .xo-cats.bags { grid-template-columns: repeat(2, 1fr); }
    .product-layout, .split, .checkout-grid, .page-hero, .contact-grid { grid-template-columns: 1fr; }
    .summary { position: static; }
    .look-grid, .search-grid { grid-template-columns: 1fr 1fr; }
    .look-grid a:first-child { grid-row: auto; }
}
@media (max-width: 860px) {
    .xo-bar {
        position: relative;
        display: flex;
        justify-content: space-between;
        padding: 0 8px;
        gap: 0;
    }
    .xo-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 32px;
        letter-spacing: 0.06em;
        z-index: 1;
    }
    .xo-burger { position: relative; z-index: 2; width: 28px; height: 28px; flex: 0 0 28px; }
    .xo-tools { position: relative; z-index: 2; display: flex; gap: 4px; flex: 0 0 auto; }
    .xo-tools a, .xo-tools button { width: 26px; height: 26px; }
    .xo-tools svg { width: 16px; height: 16px; }
    .xo-count { top: -3px; right: -3px; min-width: 14px; height: 14px; }
    .xo-nav, .xo-tools .xo-account, .xo-tools .xo-heart { display: none; }
    .xo-burger { display: grid; }
    .xo-drawer.is-open { display: block; }
    .xo-hero { min-height: 70vh; background-position: center top; }
    .xo-hero-copy { padding: 18vh 22px 40px; }
    .xo-hero h1 { font-size: 42px; }
    .xo-section { padding: 42px 16px 8px; }
    .xo-rule h2 { font-size: 40px; }
    .xo-cats.shoes, .xo-cats.bags, .grid, .search-grid { grid-template-columns: 1fr 1fr; }
    .search-hero { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 22px; min-width: 0; }
    .search-hero h1 { font-size: 42px; }
    .search-go { padding: 0 14px; }
    .search-tools { flex-wrap: wrap; gap: 10px; border-bottom: 0; width: 100%; min-width: 0; }
    .result-count { width: 100%; }
    .search-rule, .sort-label::after { display: none; }
    .filter-launch, .sort-field {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 1 1 0;
        min-width: 0;
        min-height: 46px;
        border: 1px solid #e4ddd3;
        border-radius: 10px;
        background: white;
        white-space: nowrap;
    }
    .sort-field { position: relative; margin-left: 0; }
    .sort-field select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
    .filter-fields {
        display: none;
        position: fixed;
        z-index: 60;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    }
    .filter-fields.is-open { display: grid; gap: 12px; }
    .filter-sheet-head, .filter-apply { display: flex; }
    .filter-sheet-head { justify-content: space-between; align-items: center; }
    .filter-sheet-head strong { font-family: "Russo One", Impact, sans-serif; letter-spacing: 0.04em; }
    .filter-fields select { width: 100%; border-bottom: 1px solid var(--ink); padding: 10px 0; }
    .filter-apply { width: 100%; }
    .pdp-layout, .pdp-gallery { grid-template-columns: 1fr; gap: 16px; }
    .pdp-thumbs { display: none; }
    .pdp-dots { display: flex; }
    .pdp-title-row h1 { font-size: 34px; }
    .pdp-heart-mobile { display: grid; }
    .pdp-heart-desktop { display: none; }
    .pdp-color-row, .pdp-color-line { flex-direction: column; align-items: flex-start; }
    .pdp-actions { flex-direction: column; }
    .bag-count { text-transform: uppercase; }
    .bag-layout { grid-template-columns: 1fr; }
    .bag-head, .bag-total, .bag-remove.is-desktop { display: none; }
    .bag-line {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        border: 1px solid #e4ddd3;
        border-bottom: 1px solid #e4ddd3;
        padding: 12px;
        margin-bottom: 14px;
        align-items: center;
    }
    .bag-main { display: contents; }
    .bag-photo { grid-column: 1; grid-row: 1 / span 2; width: 112px; height: 148px; }
    .bag-copy { grid-column: 2 / span 2; grid-row: 1; }
    .bag-copy strong { font-size: 20px; }
    .bag-unit { display: block; }
    .stepper { grid-column: 2; grid-row: 2; justify-self: start; }
    .bag-remove.is-mobile { display: block; grid-column: 3; grid-row: 2; align-self: center; }
    .cat-banner { display: grid; grid-template-columns: 0.82fr 1.18fr; min-height: 0; background: transparent; align-items: center; gap: 12px; }
    .cat-banner > div { padding-left: 0; }
    .cat-kicker { display: block; }
    .cat-banner h1 { font-size: 44px; }
    .cat-banner img { width: 100%; height: auto; max-width: none; max-height: none; }
    .sort-icon { display: block; }
    .co-layout, .co-pair, .thanks-grid { grid-template-columns: 1fr; }
    .thanks-hero::before, .thanks-hero::after { display: none; }
    .thanks-number { display: inline-block; background: #f3efe6; padding: 8px 18px; }
    .thanks-sums.is-desktop { display: none; }
    .thanks-sums.is-mobile { display: block; margin-top: 4px; }
    .thanks-actions { flex-direction: column; gap: 16px; }
    .thanks-actions .btn { width: min(100%, 420px); }
    .co-summary { order: 2; }
    .bag-summary { order: 2; }
    .bag-continue { order: 3; justify-self: center; margin: 8px 0 20px; }
    .xo-cat span { font-size: 22px; }
    .xo-footer { padding: 32px 18px 16px; }
    .xo-footer-grid { grid-template-columns: 1fr; }
    .xo-brand { font-size: 56px; text-align: center; }
    .line { grid-template-columns: 74px 1fr; }
}
