:root {
  --ink: #080808;
  --void: #101010;
  --surface: #171717;
  --surface-2: #222222;
  --line: #343434;
  --muted: #a8a8a8;
  --paper: #f7f7f4;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 55px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
[hidden] { display: none !important; }
html { background: var(--ink); color: var(--paper); }
body { margin: 0; min-width: 320px; font-family: Manrope, sans-serif; background: radial-gradient(circle at 50% -20%, #303030 0, var(--ink) 38%); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.app-shell { max-width: 520px; min-height: 100vh; margin: auto; padding: max(16px, env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom)); overflow: hidden; }
.topline { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 22px; }
.brand { display: flex; align-items: center; gap: 10px; border: 0; padding: 0; color: var(--white); background: transparent; }
.brand-word { font: 700 19px/1.1 Unbounded, sans-serif; letter-spacing: -.06em; }
.brand > span { display: grid; gap: 6px; text-align: left; }
.brand .tag { color: #b7b7b7; font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.tag { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.icon-button { display: grid; width: 42px; height: 42px; place-items: center; color: var(--paper); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 50%; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.search-wrap { display: block; position: relative; margin-bottom: 24px; }
.search-wrap .icon { position: absolute; top: 15px; left: 16px; width: 18px; color: var(--muted); }
.search { width: 100%; height: 50px; padding: 0 16px 0 47px; color: var(--paper); background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 16px; }
.search::placeholder { color: #888; }

.hero { position: relative; min-height: 245px; padding: 28px; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #d1d1d1 44%, #737373 100%); color: #090909; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero::after { position: absolute; right: -22px; bottom: -105px; width: 230px; height: 230px; content: ""; border: 16px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: inset 0 0 0 26px #212121; transform: rotate(-23deg); }
.hero > * { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; padding: 7px 10px; color: var(--white); background: #101010; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { max-width: 290px; margin: 18px 0 12px; font: 700 clamp(27px, 7vw, 38px)/1.08 Unbounded, sans-serif; letter-spacing: -.09em; }
.hero p { max-width: 230px; margin: 0; color: #393939; font-size: 13px; font-weight: 600; line-height: 1.45; }
.hero button { margin-top: 22px; padding: 11px 15px; color: var(--white); background: #111; border: 0; border-radius: 10px; font-size: 12px; font-weight: 800; }

.section { margin-top: 31px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.section-title { margin: 0; font: 600 17px/1.15 Unbounded, sans-serif; letter-spacing: -.075em; }
.text-button { padding: 0; color: var(--paper); background: transparent; border: 0; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.category-scroll { display: flex; gap: 9px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 11px 14px; color: var(--muted); background: #171717; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.chip.active { color: #111; background: var(--white); border-color: var(--white); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.wallet-preview { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 18px 20px; margin-bottom: 16px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); text-align: left; }
.wallet-preview strong { margin-left: auto; font-size: 23px; }
.telegram-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.telegram-card h2 { font-size: 15px; margin: 0; }
.telegram-card .detail-copy { font-size: 12px; line-height: 1.6; }
.telegram-open { display: block; text-align: center; text-decoration: none; }
.home-banner { position: relative; display: block; width: 100%; margin: 0 0 28px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); background: var(--void); text-align: left; }
.home-banner { text-decoration: none; }
.home-banner:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.home-banner > img { display: block; width: 100%; height: auto; object-fit: contain; }
.product-card { position: relative; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid #292929; border-radius: var(--radius-md); }
.product-photo { position: relative; aspect-ratio: 1 / 1.15; background: #ddd; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 43%; transition: transform .3s ease; }
.photo-card:hover .product-photo img { transform: scale(1.025); }
.video-pill { position: absolute; bottom: 10px; left: 10px; padding: 6px 9px; border-radius: 20px; color: #fff; background: rgba(0,0,0,.75); font-size: 10px; font-weight: 700; backdrop-filter: blur(5px); }
.product-category { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.product-grid:has(> .product-card:only-child) { grid-template-columns: 1fr; }
.photo-card .product-photo { aspect-ratio: 1; }
.photo-card .product-photo img { object-fit: contain; }
.photo-card .product-info { padding: 20px; }
.photo-card .product-name { min-height: auto; font-size: 17px; }
.photo-card .price { font-size: 22px; }
.product-card { isolation: isolate; }
.favorite { z-index: 1; }
.bottom-nav { z-index: 3; }
.voltar-media { margin-top: 20px; }
.media-stage { border: 0; border-radius: 0; overflow: hidden; background: transparent; }
.media-frame { position: relative; margin: 0; }
.media-frame > img { display: block; width: 100%; height: min(43vh, 400px); object-fit: contain; }
.media-frame figcaption { padding: 9px 14px; color: var(--muted); font-size: 10px; }
.media-thumbnails { display: flex; gap: 9px; margin: 12px 0 20px; overflow-x: auto; }
.media-thumbnails button { flex: 0 0 58px; width: 58px; height: 58px; padding: 3px; color: var(--paper); background: #202020; border: 1px solid #444; border-radius: 12px; overflow: hidden; }
.product-features { display: grid; gap: 0; padding: 0; margin: 20px 0; }
.product-features > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.product-features dt { color: var(--muted); }
.product-features dd { margin: 0; text-align: right; font-weight: 700; }
.media-thumbnails button[aria-pressed="true"] { border: 2px solid white; }
.media-thumbnails img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.media-thumbnails small { display: block; margin-top: 4px; font-size: 9px; }
.voltar-player { --video-ratio: .5625; width: min(100%, calc(53vh * var(--video-ratio))); height: auto; aspect-ratio: var(--video-ratio); margin: 0 auto; background: transparent; border: 0; border-radius: 0; }
.voltar-player video { display: block; width: 100%; height: auto; aspect-ratio: var(--video-ratio); object-fit: contain; }
.player-toggle { position: absolute; bottom: 14px; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; transform: translateX(-50%); color: white; background: rgba(0,0,0,.48); font-size: 18px; backdrop-filter: blur(8px); }
.player-brand { position: absolute; top: 16px; left: 16px; display: flex; gap: 10px; align-items: center; padding: 7px 9px; border-radius: 7px; background: rgba(0,0,0,.6); font: 600 12px Unbounded, sans-serif; letter-spacing: -.07em; pointer-events: none; }
.player-brand span { font: 700 8px Manrope, sans-serif; letter-spacing: .1em; color: #aaa; }
.player-big-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; transform: translate(-50%, -50%); color: #111; background: rgba(255,255,255,.92); font-size: 22px; backdrop-filter: blur(12px); }
.player-panel { position: absolute; right: 0; bottom: 0; left: 0; padding: 35px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.94)); }
.player-controls { display: flex; gap: 7px; align-items: center; margin-top: 6px; }
.player-controls button { min-width: 36px; min-height: 36px; padding: 8px; color: var(--paper); background: #252525; border: 1px solid #444; border-radius: 10px; font-size: 11px; }
.player-time { flex: 1; font-size: 11px; font-variant-numeric: tabular-nums; }
.player-seek { --progress: 0%; width: 100%; height: 4px; margin: 9px 0; appearance: none; background: linear-gradient(to right, white var(--progress), #656565 var(--progress)); border-radius: 9px; cursor: pointer; }
.player-seek::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; background: white; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.player-seek::-moz-range-thumb { width: 13px; height: 13px; background: white; border: 0; border-radius: 50%; }
.player-error { position: absolute; inset: 30% 15px auto; padding: 14px; color: white; background: #252525; border-radius: 12px; font-size: 12px; }
.voltar-player:fullscreen { width: 100vw; height: 100vh; }
.field-error { display: block; padding: 3px 0; color: white; font-size: 11px; font-weight: 500; line-height: 1.5; }
/* Hidden errors retain their exact wrapped height, without announcing/showing text. */
[data-delivery-form] .field-error[hidden] { display: block !important; visibility: hidden; }
.field-error::before { content: '!'; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 6px; border: 1px solid #bbb; border-radius: 50%; font-size: 10px; }
.delivery-form input[aria-invalid="true"] { border: 1px solid white; box-shadow: 0 0 0 2px rgba(255,255,255,.1); background: #303030; }
.delivery-form input:focus, .delivery-form textarea:focus { outline: 1px solid white; outline-offset: 2px; }
.media-gallery { display: flex; gap: 10px; margin-top: 22px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; scrollbar-width: thin; }
.media-slide { position: relative; margin: 0; flex: 0 0 100%; scroll-snap-align: center; overflow: hidden; border-radius: 18px; background: #0b0b0b; }
.media-slide img, .media-slide video { display: block; width: 100%; height: min(53vh, 470px); object-fit: contain; }
.media-slide figcaption { padding: 10px 14px; color: var(--muted); font-size: 11px; }
.gallery-hint { margin: 12px 0 18px; color: var(--muted); font-size: 11px; }
.delivery-form { display: grid; gap: 15px; margin-top: 22px; }
.delivery-form label { display: grid; align-content: start; gap: 8px; min-width: 0; color: var(--paper); font-size: 12px; font-weight: 700; }
.delivery-form input, .delivery-form textarea { width: 100%; min-width: 0; padding: 13px; border: 1px solid #494949; border-radius: 12px; color: var(--paper); background: #242424; font: 400 16px/1.4 Manrope, sans-serif; }
.delivery-form input:not([type="radio"]):not([type="checkbox"]) { height: 50px; }
.delivery-form textarea { resize: vertical; }
.delivery-row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; }
.delivery-notice { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.delivery-form .error-copy:empty { display: none; }
.full-button:disabled { opacity: .5; cursor: wait; }
.full-button.unavailable-button:disabled { cursor: not-allowed; opacity: .65; }
.delivery-summary { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.delivery-summary h3 { margin: 0 0 8px; font-size: 13px; }
.delivery-summary p { margin: 5px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.card-open { display: block; width: 100%; padding: 0; color: inherit; text-align: left; background: transparent; border: 0; }
.product-visual { display: grid; aspect-ratio: 1 / .84; place-items: center; padding: 16px; color: #151515; background: radial-gradient(circle at 48% 38%, #fff 0 17%, #d6d6d6 34%, #a1a1a1 68%, #575757 100%); font: 700 clamp(22px, 7vw, 34px)/1 Unbounded, sans-serif; letter-spacing: -.16em; text-align: center; }
.product-visual[data-kind="dyson"] { background: radial-gradient(circle at 50% 40%, #f8f8f8 0 13%, #bebebe 14% 20%, #333 21% 26%, #ddd 27% 44%, #717171 45% 100%); }
.product-visual[data-kind="tv"] { background: linear-gradient(135deg, #d8d8d8, #383838); box-shadow: inset 0 0 0 11px #080808; color: #f6f6f6; }
.product-visual[data-kind="audio"] { background: radial-gradient(circle at 50% 50%, #f5f5f5 0 8%, #1e1e1e 9% 18%, #cfcfcf 19% 29%, #575757 30% 100%); }
.product-visual[data-kind="beauty"] { background: linear-gradient(118deg, #efefef 0 46%, #242424 47% 57%, #cfcfcf 58%); }
.favorite { position: absolute; top: 9px; right: 9px; display: grid; width: 32px; height: 32px; place-items: center; color: #202020; background: rgba(255,255,255,.72); border: 0; border-radius: 50%; backdrop-filter: blur(6px); }
.favorite.active { color: var(--white); background: #151515; }
.favorite .icon { width: 17px; height: 17px; }
.product-info { padding: 12px; }
.product-name { min-height: 34px; margin: 0 0 8px; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.35; }
.price-row { display: flex; gap: 7px; align-items: baseline; }
.price { font-size: 14px; font-weight: 800; }
.old-price { color: #858585; font-size: 10px; text-decoration: line-through; }
.badge { display: inline-flex; margin-top: 8px; padding: 4px 6px; color: #080808; background: var(--paper); border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.empty { grid-column: 1 / -1; padding: 36px 18px; color: var(--muted); background: var(--surface); border: 1px dashed #444; border-radius: var(--radius-md); font-size: 13px; line-height: 1.5; text-align: center; }

.bottom-nav { position: fixed; right: max(16px, calc((100vw - 520px) / 2 + 16px)); bottom: max(14px, env(safe-area-inset-bottom)); left: max(16px, calc((100vw - 520px) / 2 + 16px)); display: grid; grid-template-columns: repeat(4, 1fr); max-width: 488px; padding: 8px; background: rgba(25,25,25,.92); border: 1px solid #464646; border-radius: 21px; box-shadow: 0 14px 38px rgba(0,0,0,.38); backdrop-filter: blur(14px); }
.nav-item { display: grid; gap: 4px; place-items: center; min-height: 48px; padding: 4px; color: var(--muted); background: transparent; border: 0; border-radius: 14px; font-size: 9px; font-weight: 800; }
.nav-item.active { color: #0d0d0d; background: var(--white); }
.nav-item .icon { width: 18px; height: 18px; }
.nav-dot { position: relative; }
.cart-count { position: absolute; top: -8px; right: -10px; display: grid; min-width: 17px; height: 17px; place-items: center; color: #111; background: white; border-radius: 9px; font-size: 9px; }

.screen-heading { margin: 4px 0 20px; font: 600 29px/1 Unbounded, sans-serif; letter-spacing: -.1em; }
.filter-line { display: flex; gap: 8px; margin: 0 0 18px; overflow-x: auto; }
.filter-button { padding: 10px 12px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.feed-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 20px; }
.feed-heading .screen-heading { margin-bottom: 0; font-size: 24px; }
.feed-heading .tag { font-size: 9px; text-align: right; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.filter-trigger { display: flex; align-items: center; gap: 9px; padding: 13px 15px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 12px; font-weight: 700; }
.filter-trigger.is-filtered { background: var(--paper); color: var(--ink); }
.filter-trigger > span:last-child { padding-left: 9px; font-size: 17px; font-weight: 400; }
.catalog-count { color: var(--muted); font-size: 11px; }
.catalog-filters { display: grid; gap: 23px; padding: 20px; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.catalog-filters fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.catalog-filters legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 800; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-option { position: relative; cursor: pointer; }
.filter-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.filter-option span { display: block; padding: 10px 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
.filter-option input:checked + span { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.filter-option input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }
.sort-options { display: grid; gap: 8px; }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-fields label { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; }
.price-fields input { min-width: 0; width: 100%; color: var(--paper); background: transparent; border: 0; font-size: 16px; appearance: textfield; -moz-appearance: textfield; }
.price-fields input::-webkit-inner-spin-button, .price-fields input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.filter-error { margin: 0; color: var(--paper); font-size: 12px; line-height: 1.5; }
.filter-error:empty { display: none; }
.filter-actions { display: flex; align-items: center; gap: 20px; }
.voltar-player video { cursor: pointer; }
.promo-card, .profile-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.promo-card { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.promo-mark { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; color: #111; background: white; border-radius: 14px; font: 800 18px/1 Unbounded, sans-serif; }
.promo-card h3, .profile-card h3 { margin: 0 0 5px; font-size: 14px; }
.promo-card p, .profile-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.promo-card .text-button { margin-left: auto; white-space: nowrap; }
.summary { margin-top: 16px; padding: 18px; background: var(--paper); color: #111; border-radius: var(--radius-md); }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
.checkout { width: 100%; margin-top: 15px; padding: 15px; color: white; background: #111; border: 0; border-radius: 12px; font-size: 13px; font-weight: 800; }
.line-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #303030; }
.line-item:last-child { border-bottom: 0; }
.mini-visual { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; color: #111; background: #ddd; border-radius: 11px; font: 700 12px/1 Unbounded, sans-serif; }
.line-copy { flex: 1; min-width: 0; }
.line-copy h3 { margin: 0 0 5px; font-size: 12px; }
.line-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.quantity { display: flex; gap: 6px; align-items: center; }
.quantity button { display: grid; width: 25px; height: 25px; place-items: center; color: white; background: #282828; border: 0; border-radius: 7px; font-weight: 800; }
.cart-products { display: grid; gap: 14px; }
.cart-product { display: grid; grid-template-columns: clamp(88px, 24vw, 128px) minmax(0, 1fr); gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.cart-product-photo { aspect-ratio: 1; padding: 0; overflow: hidden; background: var(--ink); border: 1px solid var(--line); border-radius: 16px; }
.cart-product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cart-product-copy { align-self: center; min-width: 0; }
.cart-product-copy .product-category { margin-bottom: 8px; }
.cart-product-title { display: block; padding: 0; color: var(--paper); background: transparent; border: 0; text-align: left; }
.cart-product-title h2 { margin: 0; font: 700 14px/1.45 Manrope, sans-serif; overflow-wrap: anywhere; }
.cart-product-price { margin: 12px 0 0; font-size: 18px; line-height: 1.3; font-weight: 800; }
.cart-product-subtotal { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cart-product-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.cart-quantity { display: flex; align-items: center; gap: 4px; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.cart-quantity button { display: grid; place-items: center; width: 40px; height: 38px; padding: 0; color: var(--paper); background: transparent; border: 0; border-radius: 10px; font-size: 20px; }
.cart-quantity span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 800; }
.cart-quantity button:disabled { opacity: .35; cursor: not-allowed; }
.cart-remove { min-height: 44px; padding: 10px 4px 10px 14px; color: var(--muted); background: transparent; border: 0; font-size: 12px; }
.cart-remove:hover { color: var(--paper); }
.cart-product button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 5; display: flex; align-items: end; justify-content: center; padding: 16px; background: rgba(0,0,0,.67); backdrop-filter: blur(5px); }
.modal { width: min(100%, 490px); max-height: 88vh; overflow: auto; padding: 22px; background: #1a1a1a; border: 1px solid #494949; border-radius: 28px; box-shadow: var(--shadow); animation: rise .25s ease both; }
.modal-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.modal h2 { max-width: 290px; margin: 0; font: 600 21px/1.13 Unbounded, sans-serif; letter-spacing: -.09em; }
.modal-close { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; color: white; background: #292929; border: 0; border-radius: 50%; font-size: 21px; }
.detail-visual { margin: 20px 0; border-radius: 20px; }
.detail-copy { color: var(--muted); font-size: 13px; line-height: 1.6; }
.detail-price { margin: 17px 0; font: 700 25px/1 Unbounded, sans-serif; letter-spacing: -.09em; }
.full-button { width: 100%; padding: 15px; color: #111; background: white; border: 0; border-radius: 12px; font-size: 13px; font-weight: 900; }
.success { text-align: center; }
.success-symbol { display: grid; width: 76px; height: 76px; place-items: center; margin: 12px auto 22px; color: #101010; background: white; border-radius: 50%; font-size: 34px; }
.success p { color: var(--muted); font-size: 13px; line-height: 1.55; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.order-card { display: block; width: 100%; margin-bottom: 12px; padding: 18px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-align: left; }
.order-card-top, .order-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-card-top b { font-size: 12px; letter-spacing: .025em; }
.order-status { padding: 5px 9px; color: var(--ink); background: var(--paper); border-radius: 8px; font-size: 10px; font-weight: 800; }
.order-card p, .tracking-summary p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.order-card-bottom { font-size: 12px; font-weight: 800; }
.order-card-bottom span:last-child { color: var(--muted); }
.tracking-number { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.tracking-summary { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.tracking-summary h3 { margin: 10px 0; font-size: 27px; }
.tracking-steps { margin: 28px 0; padding: 0; list-style: none; }
.tracking-steps li { position: relative; display: flex; gap: 16px; padding-bottom: 28px; color: var(--muted); }
.tracking-steps li:not(:last-child)::before { position: absolute; top: 32px; bottom: 0; left: 15px; width: 1px; background: var(--line); content: ''; }
.step-dot { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.tracking-steps .current, .tracking-steps .done { color: var(--paper); }
.current .step-dot { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 5px rgba(255,255,255,.07); }
.tracking-steps b { display: block; padding-top: 4px; font-size: 14px; }
.tracking-steps p { margin: 6px 0; font-size: 12px; line-height: 1.5; }
.tracking-steps time, .tracking-hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.tracking-history { padding: 16px; background: var(--surface-2); border-radius: 16px; }
.tracking-history h3 { margin-top: 0; font-size: 13px; }
.tracking-history p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.tracking-note { color: var(--paper); }
.error-copy { margin: 14px 0; color: var(--paper); font-size: 13px; }
.wallet-card { padding: 24px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.wallet-heading, .wallet-operation, .review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-heading h2 { margin: 0; font-size: 14px; }
.wallet-amount { margin: 24px 0; font: 600 36px/1.2 Unbounded, sans-serif; letter-spacing: -.07em; }
.wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.outline-button { padding: 14px 16px; color: var(--paper); background: transparent; border: 1px solid var(--line); border-radius: 12px; font: 700 12px/1.5 Manrope, sans-serif; }
.outline-button:focus-visible, .full-button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.wallet-history { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.wallet-history summary { cursor: pointer; font-weight: 700; }
.wallet-operation { padding-top: 16px; font-size: 12px; }
.wallet-operation small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.wallet-operation b { white-space: nowrap; }
.wallet-modal-balance { margin: 24px 0; color: var(--muted); font-size: 14px; }
.wallet-modal-balance b { color: var(--paper); }
.action-stack { display: grid; gap: 12px; margin-top: 20px; }
.payment-options { display: grid; gap: 12px; min-width: 0; padding: 0; margin: 4px 0; border: 0; }
.payment-options legend, .rating-picker legend { margin-bottom: 12px; font-weight: 700; font-size: 13px; }
.payment-options label { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.payment-options input { width: 18px; height: 18px; margin-top: 2px; accent-color: white; }
.payment-options small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 6px; }
.payment-options .is-unavailable { opacity: .6; }
.rating-picker { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; margin: 0; }
.rating-picker label { position: relative; flex: 1; }
.rating-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-picker span { display: block; padding: 12px 8px; text-align: center; border: 1px solid var(--line); border-radius: 10px; white-space: nowrap; }
.rating-picker input:checked + span { background: var(--paper); color: var(--ink); }
.rating-picker input:focus-visible + span { outline: 2px solid white; outline-offset: 3px; }
.review-card { padding: 18px 0; border-top: 1px solid var(--line); font-size: 12px; }
.review-card p { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--paper); line-height: 1.7; }
.review-card small { color: var(--muted); font-size: 10px; }
.review-meta { align-items: flex-start; font-size: 11px; }
.review-meta span { white-space: nowrap; }
@media (min-width: 600px) { .app-shell { padding-top: 28px; } .hero { min-height: 275px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; scroll-behavior: auto !important; } }
