:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0d1d31;
  --panel: #0f1a2b;
  --line: #94a3b82e;
  --text: #e6eefc;
  --muted: #a0b4d7;
  --primary: #5ce1eb;
  --primary-strong: #08b9ce;
  --accent: #5ff4d2;
  --danger: #ff7a7a;
  --shadow: 0 18px 45px #0f172a61;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.announcement { min-height: 38px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 7px 20px; color: var(--muted); font-size: 12px; letter-spacing: .01em; }
.announcement a { margin-left: 3px; color: var(--text); }
.announcement a span { color: var(--accent); padding-left: 4px; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 15px #4fe0b180; }
.site-header { position: sticky; z-index: 5; top: 0; background: #07111fe8; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #74f5e2, #08b9ce); color: #04202a; font-size: 25px; font-weight: 800; box-shadow: 0 8px 24px #08b9ce45; }
.brand-word { font-size: 22px; font-weight: 850; letter-spacing: -.07em; }
.brand-word span { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-button, .login-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; }
.icon-button { min-width: 44px; padding: 8px 3px; color: var(--text); font-size: 20px; }
.heart-icon, .bag-icon { line-height: 1; }
.bag-icon { font-size: 21px; }
.count-badge { min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; color: #d9e4ff; background: #1c2a40; font-size: 11px; }
.login-button { padding: 10px 4px; font-size: 13px; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 13px; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #05212a; background: linear-gradient(135deg, #7bf5e0, #36cfe0); box-shadow: 0 8px 22px #08b9ce24; }
.button-primary:hover { background: var(--primary-strong); }
.button-quiet { border-color: var(--line); background: #0d1d31; }
.button-quiet:hover { border-color: #7c9cff66; }
.hero { min-height: 510px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; padding-block: 48px 55px; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow span { font-size: 17px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 { margin: 0; font-size: clamp(46px, 6vw, 74px); line-height: .98; letter-spacing: -.075em; font-weight: 850; }
.hero h1 span, .how-intro h2 span { color: var(--primary); }
.hero-description { max-width: 470px; margin: 18px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.search-box { width: min(100%, 510px); min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 5px; border: 1px solid #94a3b83d; border-radius: 15px; background: #0b1728; }
.search-box:focus-within { border-color: #5ce1ebaa; box-shadow: 0 0 0 3px #5ce1eb18; }
.search-icon { padding: 0 0 0 12px; color: var(--accent); font-size: 27px; line-height: 1; }
.search-box input { min-width: 0; flex: 1; padding: 10px 0; border: 0; outline: none; color: var(--text); background: transparent; font-size: 13px; }
.search-box input::placeholder { color: #8da0c2; opacity: 1; }
.search-box .button { min-height: 44px; }
.hero-footnote { display: flex; align-items: center; gap: 12px; margin-top: 21px; color: var(--muted); font-size: 11px; }
.hero-footnote strong { color: var(--text); }
.avatar-stack { display: flex; padding-left: 2px; }
.avatar-stack i { width: 23px; height: 23px; display: grid; place-items: center; margin-left: -3px; border: 2px solid var(--bg); border-radius: 50%; background: #d89983; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.avatar-stack i:nth-child(2) { background: #dcad55; }
.avatar-stack i:nth-child(3) { background: #7198b7; }
.hero-art { position: relative; min-height: 400px; display: grid; place-items: center; overflow: hidden; }
.orbit { position: absolute; width: 320px; height: 320px; border: 1px solid #5ce1eb24; border-radius: 50%; }
.orbit-one { transform: rotate(-22deg) scaleX(1.2); }
.orbit-two { width: 255px; height: 365px; transform: rotate(40deg); }
.hero-product { position: absolute; overflow: hidden; border: 1px solid #ffffff32; border-radius: 20px; background: #111d2d; box-shadow: var(--shadow); }
.hero-product img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-product-bag { width: 232px; height: 305px; top: 38px; left: 19%; transform: rotate(6deg); }
.hero-product-shoe { width: 156px; height: 205px; right: 10%; bottom: 60px; transform: rotate(-7deg); }
.hero-product-caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 28px 13px 12px; background: linear-gradient(transparent, #07111fe8); font-size: 10px; }
.hero-product-caption strong { color: var(--accent); white-space: nowrap; }
.season-label { position: absolute; top: 43px; right: 9%; display: flex; gap: 8px; align-items: center; padding: 12px 13px; border: 1px solid var(--line); border-radius: 13px; background: #0a1727e8; font-size: 10px; line-height: 1.4; }
.season-label span { color: var(--accent); font-size: 17px; }
.art-note { position: absolute; bottom: 13px; left: 15%; color: var(--muted); font-size: 10px; }
.art-note span { color: var(--accent); padding-right: 5px; }
.categories-section, .products-section { padding-block: 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .how-intro h2, .closing-cta h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.12; letter-spacing: -.055em; }
.text-link { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.text-link span { color: var(--accent); padding-left: 7px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card { min-height: 70px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid var(--line); border-radius: 16px; background: #0b1727; color: var(--muted); cursor: pointer; text-align: left; transition: border-color .18s, background .18s, transform .18s; }
.category-card:hover, .category-card.is-active { border-color: #5ff4d26b; background: #102b37; transform: translateY(-1px); }
.category-symbol { color: var(--accent); font-size: 18px; }
.category-arrow { margin-left: auto; color: #8295b5; font-size: 13px; }
.products-section { padding-top: 23px; }
.products-heading { align-items: center; }
.sort-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.sort-control select { max-width: 210px; min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--text); background: #0d1d31; font-size: 12px; }
.sort-control select:focus { border-color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #0a1727; transition: transform .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #5ce1eb75; }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1 / .92; background: #121f30; }
.product-image { width: 100%; height: 100%; display: block; object-fit: cover; cursor: pointer; transition: transform .35s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-tag, .condition-tag { position: absolute; top: 11px; left: 11px; padding: 7px 9px; border: 1px solid #ffffff24; border-radius: 999px; background: #07111fce; color: var(--text); font-size: 9px; backdrop-filter: blur(8px); }
.condition-tag { right: 10px; left: auto; color: var(--accent); }
.favorite-toggle { position: absolute; top: 9px; right: 9px; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ffffff20; border-radius: 50%; background: #07111fc9; color: #fff; cursor: pointer; font-size: 19px; backdrop-filter: blur(7px); }
.favorite-toggle.is-favorite { color: #ff8f9c; }
.product-info { padding: 13px; }
.product-meta { margin: 0 0 6px; color: var(--muted); font-size: 10px; }
.product-title { min-height: 40px; margin: 0 0 10px; font-size: 14px; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
.product-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.product-price { font-size: 16px; font-weight: 800; }
.old-price { color: #7e91b0; font-size: 11px; text-decoration: line-through; }
.shipping-note { margin: 6px 0 12px; color: var(--muted); font-size: 10px; }
.add-button { width: 100%; min-height: 37px; border: 1px solid #5ce1eb48; border-radius: 10px; background: #12313e; color: #d8fbff; cursor: pointer; font-size: 11px; font-weight: 700; }
.add-button:hover { border-color: var(--primary); background: #17404b; }
.active-filter { margin: -7px 0 16px; color: var(--muted); font-size: 12px; }
.active-filter button { margin-left: 8px; border: 0; background: none; color: var(--accent); cursor: pointer; }
.empty-results { padding: 38px 10px; color: var(--muted); text-align: center; }
.products-more { display: flex; justify-content: center; padding-top: 24px; }
.how-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; padding-block: 55px; border-top: 1px solid var(--line); }
.how-intro h2 { font-size: clamp(32px, 4vw, 46px); }
.how-steps { display: grid; gap: 10px; }
.how-card { min-height: 80px; display: grid; grid-template-columns: 38px 1fr 20px; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: #0a1727; }
.step-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #142943; color: var(--accent); font-size: 17px; }
.how-card h3 { margin: 0 0 4px; font-size: 13px; }
.how-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.step-arrow { color: var(--muted); }
.closing-cta { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 12px; margin-bottom: 45px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(ellipse at 10% 0%, #253c6538, transparent 55%), #0b1727; }
.closing-cta .eyebrow { margin-bottom: 9px; }
.closing-cta p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.site-footer { display: flex; align-items: center; gap: 20px; padding-block: 22px 30px; border-top: 1px solid var(--line); }
.site-footer .brand-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 20px; }
.site-footer .brand-word { font-size: 18px; }
.site-footer p, .site-footer small { color: var(--muted); font-size: 11px; }
.site-footer small { margin-left: auto; }

.app-dialog { width: min(540px, calc(100% - 28px)); max-height: min(86vh, 850px); overflow: auto; padding: 29px; border: 1px solid #94a3b84a; border-radius: 22px; background: #0a1727; color: var(--text); box-shadow: 0 30px 100px #0009; }
.app-dialog::backdrop { background: #020813c9; backdrop-filter: blur(6px); }
.dialog-close { position: sticky; float: right; top: 0; width: 34px; height: 34px; display: grid; place-items: center; margin: -7px -7px 4px 10px; border: 1px solid var(--line); border-radius: 50%; background: #102038; color: var(--text); cursor: pointer; font-size: 22px; line-height: 1; }
.dialog-kicker { margin: 8px 0 8px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dialog-title { margin: 0 0 12px; font-size: 25px; letter-spacing: -.04em; }
.dialog-copy, .notice { color: var(--muted); font-size: 12px; line-height: 1.65; }
.notice { margin: 14px 0; padding: 11px 13px; border: 1px solid #7c9cff39; border-radius: 12px; background: #152540; }
.dialog-form { display: grid; gap: 12px; margin-top: 18px; }
.dialog-form label { display: grid; gap: 7px; color: #d2def4; font-size: 11px; font-weight: 700; }
.dialog-form input, .dialog-form textarea { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #07111f; color: var(--text); font-size: 13px; }
.dialog-form textarea { min-height: 74px; resize: vertical; }
.dialog-form input:focus, .dialog-form textarea:focus { border-color: var(--primary); }
.form-hint { margin: -5px 0 0; color: var(--muted); font-size: 10px; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.dialog-link { padding: 0; border: 0; background: none; color: var(--primary); cursor: pointer; font-size: 11px; }
.empty-cart { padding: 25px 4px; text-align: center; }
.empty-cart .empty-icon { font-size: 34px; }
.empty-cart h3 { margin: 10px 0 7px; font-size: 17px; }
.empty-cart p { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.cart-items { display: grid; gap: 11px; margin: 17px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item strong, .cart-item small { display: block; }
.cart-item strong { font-size: 12px; }
.cart-item small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.quantity-control { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.quantity-control button { width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 7px; background: #12243b; cursor: pointer; }
.cart-item-total { align-self: start; font-size: 11px; font-weight: 700; }
.cart-summary { display: grid; gap: 9px; padding-top: 13px; border-top: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.summary-row.total { color: var(--text); font-size: 14px; font-weight: 800; }
.favorite-list { display: grid; gap: 10px; margin: 17px 0; }
.favorite-row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; }
.favorite-row img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.favorite-row strong, .favorite-row small { display: block; }
.favorite-row strong { font-size: 12px; }
.favorite-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.favorite-row button { border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 11px; }
.product-detail { display: grid; gap: 17px; }
.product-detail img { width: 100%; max-height: 270px; border-radius: 14px; object-fit: cover; }
.product-detail .product-meta { margin-bottom: 8px; }
.product-detail .product-title { min-height: 0; font-size: 20px; }
.product-detail .button { width: 100%; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: min(380px, calc(100% - 44px)); padding: 12px 16px; border: 1px solid #4fe0b169; border-radius: 12px; background: #102438; color: var(--text); box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { border-color: #ff7a7a99; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; gap: 12px; }
  .hero-product-bag { left: 11%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-section { gap: 25px; }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 32px, 520px); }
  .announcement { flex-wrap: wrap; gap: 7px; font-size: 10px; }
  .header-inner { min-height: 66px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word { font-size: 19px; }
  .header-actions { gap: 7px; }
  .icon-button { min-width: 35px; gap: 4px; font-size: 18px; }
  .login-button { font-size: 11px; }
  .header-cart { min-height: 38px; padding-inline: 11px; font-size: 11px; }
  .hero { min-height: initial; grid-template-columns: 1fr; padding-block: 48px 35px; }
  .hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .hero-description { max-width: 430px; font-size: 14px; }
  .hero-art { min-height: 340px; margin-top: 0; }
  .hero-product-bag { width: 195px; height: 255px; top: 32px; left: 20%; }
  .hero-product-shoe { width: 130px; height: 170px; right: 8%; bottom: 42px; }
  .orbit { width: 260px; height: 260px; }
  .orbit-two { width: 210px; height: 300px; }
  .season-label { top: 31px; right: 5%; }
  .art-note { bottom: -2px; left: 15%; }
  .categories-section, .products-section { padding-block: 42px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .category-card { min-height: 62px; padding-inline: 12px; font-size: 12px; }
  .section-heading h2 { font-size: 27px; }
  .products-heading { align-items: start; flex-direction: column; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { flex: 1; max-width: 240px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-image-wrap { aspect-ratio: 1 / 1; }
  .product-info { padding: 10px; }
  .product-title { min-height: 38px; font-size: 12px; }
  .product-price { font-size: 14px; }
  .shipping-note { font-size: 9px; }
  .how-section { grid-template-columns: 1fr; gap: 22px; padding-block: 40px; }
  .how-intro h2 { font-size: 36px; }
  .closing-cta { align-items: start; flex-direction: column; padding: 25px 20px; }
  .closing-cta h2 { font-size: 30px; }
  .site-footer { flex-wrap: wrap; gap: 10px 16px; }
  .site-footer p { flex-basis: calc(100% - 150px); }
  .site-footer small { width: 100%; margin-left: 0; }
  .app-dialog { padding: 22px 18px; }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 24px); }
  .header-actions { gap: 3px; }
  .header-cart { padding-inline: 8px; }
  .brand { gap: 6px; }
  .brand-word { font-size: 17px; }
  .count-badge { min-width: 18px; height: 18px; }
}

.track-link { padding: 9px 3px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12px; white-space: nowrap; }
.track-link:hover, .text-link:hover { color: var(--accent); }
.product-rating { display: flex; align-items: center; gap: 6px; margin: -2px 0 8px; color: #ffe08a; font-size: 10px; }
.product-rating span:last-child { color: var(--muted); }
.review-list { display: grid; gap: 10px; margin: 16px 0; }
.review-card { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #0d1c2b; }
.review-card h3 { margin: 6px 0; font-size: 13px; }
.review-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; white-space: pre-wrap; }
.review-stars { color: #ffe08a; letter-spacing: .12em; }
.review-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.coupon-row { display: flex; gap: 8px; align-items: end; margin: 13px 0; }
.coupon-row label { flex: 1; display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.coupon-row input { min-height: 40px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #07111f; color: var(--text); }
.coupon-row input:focus { border-color: var(--primary); }
.coupon-message { min-height: 16px; margin: -6px 0 10px; color: var(--accent); font-size: 11px; }
.coupon-message.is-error { color: var(--danger); }
.tracking-result { margin-top: 16px; padding: 16px; border: 1px solid #5ce1eb44; border-radius: 14px; background: #0b202d; }
.tracking-result h3 { margin: 0 0 10px; }
.tracking-result p { margin: 6px 0; color: var(--muted); font-size: 12px; }
.tracking-result strong { color: var(--text); }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label { display: block; color: #6e829a; cursor: pointer; font-size: 22px; }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: #ffe08a; }
@media (max-width: 650px) {
  .track-link { display: none; }
  .coupon-row { align-items: stretch; }
  .coupon-row .button { padding-inline: 11px; }
}
