/* egorthinks storefront: warm paper, black ink, capsules. System fonts only, nothing external. */
:root {
  --paper: #f6f4ef;
  --card: #ece8df;
  --ink: #141414;
  --muted: #6b675f;
  --line: #dcd6ca;
  --radius: 999px;
  --round: 22px;
  --wide: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin: 0 0 1em; }

.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px;
  max-width: var(--wide); margin: 0 auto; padding: 18px 24px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a, .foot nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .foot nav a:hover { color: var(--ink); }
.bag { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 6px 16px; font-size: 15px; font-weight: 600; }
.strip { margin: 0; padding: 9px 24px; text-align: center; font-size: 14px; background: var(--ink); color: var(--paper); }

main { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.pill {
  display: inline-block; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 15px 30px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.pill:disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.muted { color: var(--muted); font-size: 15px; }

.hero { position: relative; margin: 24px 0 0; border-radius: var(--round); overflow: hidden; background: var(--card); }
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 5vw, 64px);
  padding-top: clamp(96px, 14vw, 200px) !important;
  background: linear-gradient(to top, rgb(20 20 20 / .66) 0%, rgb(20 20 20 / .4) 55%, rgb(20 20 20 / 0) 100%); color: var(--paper);
  text-shadow: 0 1px 24px rgb(0 0 0 / .3);
}
.hero-text .pill { text-shadow: none; }
.hero-text h1 { max-width: 12ch; }
.hero-text p { max-width: 36ch; font-size: clamp(17px, 1.6vw, 21px); margin: 16px 0 24px; }
.hero-text .pill { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.shop { padding: 96px 0 24px; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.head p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; position: relative; }
.frame { display: block; border-radius: var(--round); overflow: hidden; background: var(--card); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.card:hover .frame img { transform: scale(1.03); }
.status {
  position: absolute; top: 14px; left: 14px; background: var(--paper); border-radius: var(--radius);
  padding: 4px 12px; font-size: 13px; font-weight: 600;
}
.row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-weight: 600; }
.short { color: var(--muted); font-size: 15px; }

.about { padding: 96px 0; border-top: 1.5px solid var(--line); margin-top: 72px; }
.about h2 { max-width: 16ch; margin-bottom: 48px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols p { color: var(--muted); }

.faq { padding: 0 0 96px; max-width: 760px; }
.faq h2 { margin-bottom: 24px; }
details { border-top: 1.5px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1.5px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 60ch; }

.product { padding-top: 24px; }
.crumbs { color: var(--muted); font-size: 15px; }
.crumbs a { text-decoration: none; }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.pd-text { position: sticky; top: 96px; }
.pd-text h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 12px; }
.price.big { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.details { padding: 0; margin: 0 0 28px; list-style: none; border-top: 1.5px solid var(--line); }
.details li { padding: 11px 0; border-bottom: 1.5px solid var(--line); }
.more { padding-top: 96px; }

.text { max-width: 720px; padding: 72px 24px 120px; }
.text h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 32px; }
.text p { font-size: 19px; }

.foot {
  max-width: var(--wide); margin: 0 auto; padding: 48px 24px 40px; border-top: 1.5px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 24px 48px;
}
.foot p { color: var(--muted); margin: 8px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-content: start; }
.foot .fine { grid-column: 1 / -1; font-size: 14px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .cols { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd-text { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top { padding: 14px 16px; gap: 14px; }
  .top nav { gap: 14px; font-size: 15px; }
  .bag { display: none; }
  main { padding: 0 16px; }
  .hero { margin-top: 12px; }
  .hero img { aspect-ratio: 4 / 5; }
  .hero-text { padding: 24px; }
  .shop, .about { padding-top: 64px; }
  .head { flex-direction: column; gap: 4px; }
  .foot { grid-template-columns: 1fr; padding: 40px 16px; }
}
