:root {
  color-scheme: light;
  --ink: #13183d;
  --muted: #4d5675;
  --blue: #202bd2;
  --blue-deep: #1720ad;
  --yellow: #ffdd46;
  --coral: #ff6d58;
  --paper: #f7f8ff;
  --line: #e2e6f5;
  --wrap: 1144px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
nav a, .button, .brand { text-decoration: none; }
:focus-visible { outline: 3px solid #e34b2e; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  border-radius: .65rem;
  transform: translateY(-200%);
  background: white;
  color: var(--blue-deep);
}
.skip:focus { transform: none; }
.announcement {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .45rem 1rem;
  background: var(--blue-deep);
  color: #fff;
  text-align: center;
  font-size: .875rem;
  font-weight: 650;
}
.header { border-bottom: 1px solid #edf0fa; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: .56rem; font-weight: 900; font-size: 1.6rem; letter-spacing: -.085em; }
.brand > span > span { color: var(--blue); }
.brand img { flex: none; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: .95rem; }
nav a:hover, .back:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }

.hero {
  position: relative;
  isolation: isolate;
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  align-items: center;
  border-radius: 1.65rem;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  min-height: 460px;
}
.hero-copy { position: relative; z-index: 1; padding: clamp(2rem, 5.5vw, 4.75rem); padding-right: 0; }
.hero h1 { font-size: clamp(2.9rem, 5.7vw, 5.3rem); line-height: .96; letter-spacing: -.078em; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-copy p { margin-top: 1.3rem; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.48; color: #f0f1ff; max-width: 32ch; text-wrap: pretty; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.15rem; border-radius: .65rem; font-weight: 800; }
.button-light { margin-top: 1.7rem; color: var(--ink); background: var(--yellow); }
.button-light:hover { background: #ffeb8b; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-deep); }

.hero-art { position: relative; margin-left: -1.5rem; height: 100%; min-height: 360px; overflow: hidden; }
.art-orbit { position: absolute; left: 10%; top: 12%; width: min(77%, 370px); aspect-ratio: 1; border-radius: 50%; background: #3c49ed; box-shadow: 0 0 0 21px #3441df, 0 0 0 42px #2b38df; }
.bag-shadow { position: absolute; width: 46%; height: 9%; border-radius: 50%; background: #1723a7; left: 28%; top: 76%; opacity: .7; filter: blur(6px); }
.shopping-bag { position: absolute; left: 25%; top: 20%; width: 48%; height: 59%; transform: rotate(-12deg); }
.bag-handle { position: absolute; z-index: 1; left: 32%; top: 0; width: 37%; height: 46%; border: clamp(5px, 1vw, 10px) solid #ffe779; border-bottom: 0; border-radius: 50% 50% 0 0; }
.bag-face {
  position: absolute;
  display: grid;
  place-items: center;
  inset: 28% 0 0;
  transform: skew(-4deg);
  border-radius: 9% 8% 13% 11%;
  background: linear-gradient(100deg, #ffe06d 0%, var(--yellow) 82%, #ffbf38 82%);
  color: var(--blue-deep);
}
.bag-face > span { padding-right: 13%; font-size: clamp(3.2rem, 9vw, 7.65rem); font-weight: 920; letter-spacing: -.13em; line-height: 1; transform: translateY(-5%); }
.bag-face > span > span { color: #d63c36; }
.price-tag { position: absolute; top: 57%; left: 60%; width: 25%; aspect-ratio: 1.09; display: grid; place-items: center; color: var(--ink); background: var(--coral); transform: rotate(17deg); clip-path: polygon(0 28%, 27% 0, 90% 0, 100% 10%, 100% 89%, 90% 100%, 27% 100%, 0 72%); }
.price-tag::before { content: ""; position: absolute; left: 10%; width: 10%; aspect-ratio: 1; border-radius: 50%; background: #9d273c; }
.price-tag span { margin-left: 17%; font-weight: 900; font-size: clamp(1.55rem, 5vw, 3.4rem); }
.art-star { position: absolute; width: 10%; aspect-ratio: 1; background: #fcf5ff; clip-path: polygon(50% 0, 60% 39%, 100% 50%, 60% 60%, 50% 100%, 39% 60%, 0 50%, 39% 39%); }
.star-top { top: 20%; left: 74%; }
.star-bottom { top: 69%; left: 11%; width: 7%; background: #a8b4ff; }

.catalog, .buying { margin-top: 3rem; scroll-margin-top: 1rem; }
.section-top { display: flex; gap: .7rem 1rem; flex-wrap: wrap; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.section-top h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.1; }
.section-top p { color: var(--muted); }
.empty { display: flex; align-items: center; gap: 1.1rem; min-height: 124px; padding: 1.35rem 1.65rem; border: 1px dashed #bfcaef; border-radius: 1rem; background: var(--paper); }
.empty-icon { flex: none; }
.empty h3, .steps h3 { font-size: 1rem; font-weight: 780; }
.empty p, .steps p, .card p { margin-top: .27rem; line-height: 1.5; color: var(--muted); }
.buying { margin-bottom: 3.25rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.steps li { display: flex; align-items: flex-start; gap: .85rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 1rem; }
.step-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: .7rem; }
.step-icon.blue { background: #ebedff; color: var(--blue); }
.step-icon.coral { background: #ffe9e4; color: #b32b2b; }
.step-icon.gold { background: #fff3c1; color: #785200; }
.footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { padding-block: 1.25rem; }
.footer .brand { font-size: 1.35rem; }
.footer-location { color: var(--muted); font-size: .875rem; font-weight: 650; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { position: relative; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.card:focus-within, .card:hover { border-color: var(--blue); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
.card-copy { padding: 1rem 1.15rem; overflow-wrap: anywhere; }
.card h3 { font-size: 1.15rem; }
.card a { text-decoration: none; }
.card a::after { content: ""; position: absolute; inset: 0; }
.card strong { display: block; margin-top: .65rem; color: var(--blue-deep); font-size: 1.15rem; }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-deep); font-weight: 700; text-underline-offset: .2em; }
.product-page { margin-top: 1rem; margin-bottom: 3.5rem; }
.product-hero { display: grid; align-items: center; gap: clamp(1rem, 4vw, 3rem); grid-template-columns: 1.04fr 1fr; margin-top: .75rem; border-radius: 1.3rem; padding: clamp(1.35rem, 5vw, 3.4rem); color: #fff; }
.product-hero.theme-blue { background: var(--blue); }
.product-hero.theme-orange { background: #a72b2d; }
.product-hero.theme-green { background: #07604d; }
.product-hero.copy-only { grid-template-columns: 1fr; }
.product-hero h1, .not-found h1 { font-size: clamp(2.3rem, 5.75vw, 4.6rem); font-weight: 870; letter-spacing: -.065em; line-height: 1.03; overflow-wrap: anywhere; }
.product-hero p { margin-top: .8rem; font-size: 1.075rem; line-height: 1.5; overflow-wrap: anywhere; }
.product-hero .product-name { margin: 0 0 .6rem; font-weight: 750; }
.product-hero .product-price { font-size: 1.55rem; font-weight: 850; }
.product-hero img, .product-section img { width: 100%; height: auto; border-radius: .9rem; object-fit: cover; }
.product-section { margin-top: 2rem; padding: 1.2rem 0; display: grid; gap: 1.25rem; align-items: center; overflow-wrap: anywhere; }
.product-section.with-image { grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); }
.product-section h2 { font-size: clamp(1.55rem, 3.5vw, 2.6rem); letter-spacing: -.035em; line-height: 1.08; }
.product-section p { margin-top: .7rem; white-space: pre-line; line-height: 1.65; color: var(--muted); }
.not-found { min-height: 56vh; padding-block: 3rem; }
.not-found p { margin-block: 1rem; color: var(--muted); }

@media (max-width: 920px) {
  .hero { min-height: 385px; }
  .steps li { display: grid; gap: .6rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: 1rem; border-radius: 1.25rem; }
  .hero-copy { padding: clamp(1.3rem, 6vw, 2.55rem); padding-bottom: 0; }
  .hero h1 { font-size: clamp(2.5rem, 9.9vw, 4.1rem); max-width: 12.5ch; }
  .desktop-break { display: none; }
  .hero-copy p { margin-top: .85rem; }
  .button-light { margin-top: 1rem; }
  .hero-art { min-height: 0; width: min(100%, 405px); height: auto; aspect-ratio: 1.65; margin: -.3rem auto 0; }
  .art-orbit { left: 24%; top: 4%; width: 58%; box-shadow: 0 0 0 15px #3441df, 0 0 0 30px #2b38df; }
  .shopping-bag { top: 10%; left: 33%; width: 41%; height: 73%; }
  .bag-face > span { font-size: clamp(3.3rem, 15vw, 5.3rem); }
  .price-tag { top: 53%; left: 62%; width: 21%; }
  .price-tag span { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .star-top { top: 14%; left: 78%; width: 8%; }
  .star-bottom { top: 66%; left: 23%; width: 6%; }
  .bag-shadow { top: 80%; }
  .catalog, .buying { margin-top: 2.25rem; }
  .buying { margin-bottom: 2.4rem; }
  .empty { align-items: flex-start; min-height: 106px; padding: .95rem; gap: .7rem; }
  .steps { grid-template-columns: 1fr; gap: .65rem; }
  .steps li { display: flex; align-items: center; padding: .9rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .card-copy { padding: .75rem; }
  .product-hero, .product-section.with-image { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.4rem; gap: .42rem; }
  .header .brand img { width: 34px; height: 34px; }
  .how-link { display: none; }
}
@media (max-width: 350px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-location { font-size: .8125rem; }
}
