﻿:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #141116; background: #f7f5f8; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-shell { max-width: 1000px; min-height: calc(100vh - 70px); margin: 0 auto; overflow: hidden; background: #fff; box-shadow: 0 0 25px #37004013; }
.home-header { position: relative; padding: 13px 15px 0; color: white; background: radial-gradient(ellipse at 75% 65%, #b900b2, #720092 52%, #4f0086); }
.topbar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.top-icon { position: relative; display: grid; place-items: center; flex: none; width: 30px; height: 35px; padding: 2px; border: 0; color: white; background: none; }
.top-icon svg { width: 26px; height: 26px; }
.logo { display: flex; align-items: center; gap: 5px; min-width: 0; margin-right: auto; line-height: 1; }
.logo-bag { display: grid; place-items: center; width: 34px; height: 36px; border-radius: 7px; color: white; background: #ff7900; }
.logo-bag svg { width: 25px; height: 25px; }
.logo strong { display: block; color: #ffb000; font-size: 20px; letter-spacing: -.7px; }
.logo small { display: block; margin-top: 3px; white-space: nowrap; font-size: 10px; font-weight: 700; }
.country { position: relative; flex: none; }
.country select { max-width: 125px; padding: 8px 20px 8px 8px; border: 0; border-radius: 22px; appearance: none; background: #fff; color: #171118; font-size: 12px; font-weight: 700; }
.country::after { position: absolute; top: calc(50% - 5px); right: 9px; width: 6px; height: 6px; border-right: 2px solid #e83820; border-bottom: 2px solid #e83820; content: ''; pointer-events: none; transform: rotate(45deg); }
.avatar { flex: none; width: 35px; height: 35px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-count { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 20px; background: #ee2022; color: white; font-size: 11px; font-weight: 800; }
.quick-menu { position: absolute; z-index: 4; top: 53px; left: 15px; width: 190px; padding: 8px; border-radius: 14px; color: #211628; background: white; box-shadow: 0 8px 30px #23003844; }
.quick-menu a { display: block; padding: 10px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.quick-menu a[aria-current] { color: #6a008f; background: #f7eaf9; }
.search { display: flex; align-items: center; gap: 9px; margin: 11px 0 9px; padding-left: 12px; overflow: hidden; border-radius: 35px; color: #17131b; background: #fff; }
.search > svg { flex: none; width: 22px; height: 22px; }
.search input[type="search"] { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: #231229; font-size: 13px; }
.search input::placeholder { color: #211327; opacity: 1; }
.search:focus-within { outline: 3px solid #ffc756; }
.camera { display: grid; place-items: center; flex: none; width: 44px; height: 38px; background: #ff7900; color: white; cursor: pointer; }
.camera svg { width: 24px; height: 24px; }
.hero { position: relative; overflow: hidden; border: 1px solid #ffffff99; border-radius: 17px; background: #5a008d; aspect-ratio: 584 / 223; }
.hero-slide { width: 100%; height: 100%; }
.hero-slide > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-designed { display: flex; align-items: center; justify-content: space-around; padding: 4% 8%; background: radial-gradient(ellipse at 65% 70%, #e400cf, #6e009f 45%, #300058); }
.hero-designed > div { display: flex; flex-direction: column; gap: 6px; max-width: 55%; }
@media (max-width: 340px) { .hero-designed > div { gap: 3px; transform: translateY(-2px); } }
.hero-designed span { color: #ffc43d; font-size: clamp(9px, 1.5vw, 14px); font-weight: 800; }
.hero-designed strong { font-size: clamp(18px, 4vw, 38px); line-height: 1.05; }
.hero-designed small { font-size: clamp(9px, 1.5vw, 14px); }
.hero-designed > img { width: 32%; height: 75%; border-radius: 18px; object-fit: contain; background: #fff; }
.hero-slide:not([hidden]) { animation: hero-appear .35s ease-out; }
.hero-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; color: #fff; background: linear-gradient(120deg, #500087, #a600a2, #f37018); text-align: center; font-weight: 800; }
.hero-designed .hero-image-placeholder { width: 32%; height: 75%; border-radius: 18px; font-size: clamp(9px, 1.5vw, 14px); }
@keyframes hero-appear { from { opacity: .35; } to { opacity: 1; } }
.hero-disclaimer { position: absolute; top: 6px; right: 7px; padding: 3px 6px; border-radius: 5px; background: #30003c99; color: #fff; font-size: 9px; }
.hero-dots, .flash-dots { display: flex; justify-content: center; gap: 6px; }
.hero-dots { position: absolute; right: 0; bottom: 5px; left: 0; }
.hero-dots button, .flash-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #ffffffa9; }
.hero-dots button[aria-current], .flash-dots button[aria-current] { background: #ff8b21; }
.categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 5px; padding: 10px 12px 12px; }
.category { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: transparent; color: #161216; font-size: clamp(8px, 2.45vw, 12px); letter-spacing: -.2px; font-weight: 800; }
.category img, .all-icon { display: grid; place-items: center; width: 100%; max-width: 76px; height: clamp(29px, 7vw, 48px); overflow: hidden; border-radius: 25px; background: #f9f1f3; object-fit: contain; }
.all-icon { color: #fff; background: #ff7900; font-size: 27px; line-height: 1; }
.category[aria-pressed="true"] img { outline: 2px solid #ff7900; }
.category span:last-child { white-space: nowrap; }
.flash { margin: 0 12px; padding: 9px 7px 7px; border-radius: 15px; color: white; background: #ff6700; }
.flash-heading { display: flex; align-items: center; gap: 5px; padding: 0 3px 7px; }
.flash-heading h2 { flex: 1; margin: 0; font-size: clamp(17px, 4.3vw, 27px); letter-spacing: -.7px; white-space: nowrap; }
.flash-heading h2 span { color: #ffdf00; }
.timer { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: clamp(9px, 2.4vw, 14px); font-weight: 700; }
.timer strong { padding: 4px 5px; border-radius: 8px; color: #17131b; background: #fff; font-variant-numeric: tabular-nums; }
.flash-heading > button { padding: 0; border: 0; color: white; background: transparent; }
.flash-heading > button svg { width: 23px; height: 23px; }
.flash-grid, .selection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.flash-card { min-width: 0; overflow: hidden; padding: 3px; border-radius: 10px; color: #17131b; background: white; }
.flash-image { position: relative; overflow: hidden; border-radius: 7px; aspect-ratio: 136 / 99; background: #f8f6f7; }
.flash-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-image-link { display: block; width: 100%; height: 100%; }
.discount { position: absolute; top: 2px; left: 2px; padding: 2px 4px; border-radius: 15px; color: white; background: #ed212c; font-size: clamp(9px, 2vw, 13px); font-weight: 800; }
.flash-price, .old-price { overflow: hidden; margin: 3px 0 0; white-space: nowrap; text-align: center; font-size: clamp(9px, 2.8vw, 15px); }
.flash-price { color: #e51e25; font-weight: 900; }
.old-price { color: #242025; text-decoration: line-through; font-size: clamp(8px, 2.3vw, 13px); }
.flash-dots { margin-top: 6px; }
.flash-dots button[aria-current] { background: #e72a18; }
.selections { padding: 11px 12px 18px; }
.selection-heading { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.selection-heading h2 { margin: 0; font-size: clamp(17px, 4.2vw, 27px); letter-spacing: -.7px; }
.selection-heading a { display: flex; align-items: center; gap: 2px; flex: none; color: #e66c00; font-size: clamp(10px, 2.8vw, 14px); font-weight: 800; }
.selection-heading svg { width: 18px; height: 18px; }
.selection-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 7px 0 3px; }
.selection-filters button { min-width: 0; min-height: 29px; padding: 5px 2px; border: 1px solid #e5e3e5; border-radius: 22px; background: #fff; color: #181319; font-size: clamp(9px, 2.4vw, 13px); font-weight: 800; white-space: nowrap; box-shadow: 0 1px 3px #0000000c; }
.selection-filters button[aria-pressed="true"] { border-color: #ff7900; color: white; background: #ff7900; }
.demo-note, .search-status { margin: 4px 0; color: #796d7b; font-size: 10px; }
.search-status:empty { display: none; }
.selection-card { min-width: 0; overflow: hidden; padding: 3px; border: 1px solid #eee9ed; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px #0000000d; }
.selection-image { position: relative; overflow: hidden; border-radius: 7px; aspect-ratio: 137 / 98; background: #f8f5f7; }
.selection-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.favorite { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; width: 25px; height: 25px; padding: 3px; border: 0; border-radius: 50%; color: #17131b; background: #fffffff0; }
.favorite svg { width: 19px; height: 19px; }
.favorite[aria-pressed="true"] { color: #f02d33; }
.favorite[aria-pressed="true"] svg { fill: currentColor; }
.selection-name { overflow: hidden; margin: 4px 2px 0; font-size: clamp(9px, 2.5vw, 15px); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.selection-price { overflow: hidden; margin: 3px 2px; color: #e31e25; font-size: clamp(9px, 2.5vw, 15px); font-weight: 900; white-space: nowrap; }
.empty-state { padding: 14px; border-radius: 12px; color: #594c5d; background: #f8f2fa; font-size: 13px; }
.bottom-nav { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; max-width: 1000px; min-height: 66px; margin: auto; padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); border: 1px solid #eee8ef; border-bottom: 0; border-radius: 20px 20px 0 0; background: white; box-shadow: 0 -3px 16px #2b0d360e; }
.bottom-nav a { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; max-width: 150px; padding: 4px 2px; border-radius: 35px; font-size: clamp(10px, 2.8vw, 13px); font-weight: 800; }
.bottom-nav a svg { width: 24px; height: 24px; }
.bottom-nav a[aria-current="page"] { color: white; background: #ff7900; }
.nav-cart .cart-count { top: 1px; right: calc(50% - 25px); }
.toast { position: fixed; z-index: 9; right: 14px; bottom: calc(75px + env(safe-area-inset-bottom)); left: 14px; width: fit-content; max-width: 440px; margin: auto; padding: 11px 15px; border-radius: 12px; color: #fff; background: #281130; box-shadow: 0 6px 20px #0003; font-size: 13px; }
:focus-visible { outline: 3px solid #ffd04d; outline-offset: 3px; }
@media (max-width: 450px) { .home-header { padding: 11px 12px 0; } .topbar { gap: 5px; } .top-icon { width: 26px; } .top-icon svg { width: 23px; height: 23px; } .logo-bag { width: 29px; height: 32px; } .logo-bag svg { width: 22px; height: 22px; } .logo strong { font-size: 16px; } .logo small { font-size: 8px; } .country select { max-width: 76px; padding: 7px 17px 7px 6px; font-size: 10px; } .country::after { right: 7px; width: 5px; height: 5px; } .avatar { width: 30px; height: 30px; } }
@media (max-width: 340px) { .topbar { gap: 3px; } .logo strong { font-size: 14px; } .top-icon { width: 23px; } .timer { font-size: 9px; } .categories { gap: 7px 2px; padding-right: 7px; padding-left: 7px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } .hero-slide:not([hidden]) { animation: none; } }
.recommendations { padding: 14px 12px 30px; background: #fff; }
.recommendations h2 { margin: 0; color: #201125; font-size: clamp(18px, 4.2vw, 27px); letter-spacing: -.5px; }
.recommendations-note { margin: 6px 0 12px; color: #796d7b; font-size: 11px; line-height: 1.4; }
.recommendations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.recommendation-card { min-width: 0; overflow: hidden; border: 1px solid #eee9ed; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px #2b0d360b; }
.recommendation-image { position: relative; overflow: hidden; aspect-ratio: 1; background: #f8f5f7; }
.recommendation-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recommendation-image .favorite { top: 4px; right: 4px; width: 32px; height: 32px; background: #fff; box-shadow: 0 1px 5px #0002; }
.recommendation-details { padding: 9px 10px 11px; }
.recommendation-name { display: -webkit-box; min-height: 2.7em; overflow: hidden; margin: 0; color: #211628; font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.recommendation-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 6px; }
.recommendation-price { color: #e31e25; font-size: 15px; font-weight: 900; }
.recommendation-old-price { color: #817882; font-size: 12px; text-decoration: line-through; }
.recommendation-discount { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 20px; color: #fff; background: #e31e25; font-size: 11px; font-weight: 800; }
.recommendations-actions { display: grid; justify-items: center; gap: 8px; padding-top: 20px; text-align: center; }
.recommendations-actions button { min-height: 44px; padding: 10px 20px; border: 1px solid #ff7900; border-radius: 24px; color: #fff; background: #ff7900; font-weight: 800; }
.recommendations-actions button:disabled { border-color: #e9e3ea; color: #796d7b; background: #f5f2f5; cursor: default; }
.recommendations-actions p { margin: 0; color: #796d7b; font-size: 12px; line-height: 1.4; }
@media (min-width: 600px) { .recommendations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 850px) { .recommendations-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
