/* Layout: multi-page storefront driven by hash routes (#shop, #p-red-velvet, #about ...). Persistent top bar, sticky header and footer; the middle swaps per page. Hero pairs copy on the left with an arched photo on the right. */
:root {
  --cream: #FFFCF7;
  --cream-deep: #F8EFE6;
  --burgundy: #761E14;
  --burgundy-soft: #8F4A41;
  --pink: #E21564;
  --pink-deep: #C40E52;
  --pink-wash: #FCE6EE;
  --pink-blush: #F9CFDD;
  --white: #FFFFFF;
  --line: #F0E2D8;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --logo: url("../img/logo.png");
  --shadow: 0 18px 40px -22px rgba(118, 30, 20, 0.35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--cream); color: var(--burgundy); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--cream); z-index: 60; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
#view:focus { outline: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar + header */
.topbar { background: var(--burgundy); color: var(--cream); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding-block: 8px; }
.topbar a { text-underline-offset: 3px; }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 252, 247, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header .bar { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { display: block; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--logo) center / cover no-repeat; box-shadow: 0 0 0 1.5px var(--pink-wash); }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink-deep); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a, .nav .dd-btn { display: inline-block; background: none; border: 0; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav .dd-btn:hover { background: var(--pink-wash); color: var(--pink-deep); }
.nav [aria-current="page"], .nav .dd-btn.on { color: var(--pink-deep); background: var(--pink-wash); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.dd-menu a { display: block; border-radius: 10px; }
.actions { display: flex; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; text-decoration: none; }
.icon-btn:hover { background: var(--pink-wash); }
.icon-btn svg { width: 24px; height: 24px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1.5px solid var(--pink); border-radius: 12px; background: var(--pink); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.btn:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
.btn.ghost { background: #fff; color: var(--burgundy); border-color: var(--burgundy); }
.btn.ghost:hover { background: var(--burgundy); color: #fff; }
.btn.light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.light:hover { background: var(--cream); color: var(--burgundy); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* hero */
.hero { background: linear-gradient(115deg, #FFFFFF 0%, #FEF1F5 45%, #F9D3E1 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding-block: clamp(32px, 5vw, 64px) clamp(72px, 8vw, 104px); }
.eyebrow { margin: 0 0 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-deep); }
.hero h1 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.05; text-wrap: balance; }
.hero h1 em { color: var(--pink); }
.hero p.sub { margin: 0 0 30px; max-width: 30em; font-size: 1.1rem; color: var(--burgundy-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); isolation: isolate; }
.hero-photo::before { content: ""; position: absolute; right: -28px; bottom: -28px; width: 72%; height: 72%; border-radius: 50%; background: var(--pink-blush); z-index: -1; }
.hero-photo .frame { aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; border: 8px solid #fff; background: var(--pink-wash); box-shadow: var(--shadow); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-photo .float { position: absolute; left: -18px; bottom: 40px; padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.hero-photo .float small { display: block; font-weight: 500; color: var(--burgundy-soft); font-size: 0.78rem; }

/* page header band */
.pagehead { background: linear-gradient(110deg, #FFFFFF 0%, var(--pink-wash) 100%); border-bottom: 1px solid var(--line); }
.pagehead .wrap { padding-block: clamp(28px, 5vw, 52px); }
.pagehead h1 { margin: 6px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; text-wrap: balance; }
.pagehead p { margin: 0; max-width: 40em; color: var(--burgundy-soft); font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.85rem; color: var(--burgundy-soft); }
.crumbs a { text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* features */
.features { position: relative; margin-top: -44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.feat { display: flex; align-items: center; gap: 14px; padding: 20px 22px; min-width: 0; }
.feat + .feat { border-left: 1px solid var(--line); }
.feat svg { flex: none; width: 34px; height: 34px; color: var(--pink); }
.feat strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.feat span { display: block; font-size: 0.82rem; color: var(--burgundy-soft); line-height: 1.35; }

/* sections */
.sec { padding-block: clamp(40px, 6vw, 72px) 0; }
.sec.last { padding-bottom: clamp(48px, 7vw, 80px); }
.sec-title { margin: 0 0 32px; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; text-wrap: balance; }
.sec-title::after { content: ""; display: block; width: 56px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: var(--pink); }
.more { display: flex; justify-content: center; margin-top: 28px; }

/* categories */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px clamp(16px, 3vw, 40px); }
.cat { display: block; width: 130px; text-align: center; text-decoration: none; }
.cat .disc { display: block; width: 116px; height: 116px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #FFF 0%, var(--pink-wash) 100%); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.cat .disc svg { display: block; width: 100%; height: 100%; }
.cat:hover .disc { transform: translateY(-2px); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink); }
.cat .lbl { display: block; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }

/* shop toolbar + grid */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.chip:hover { border-color: var(--burgundy); }
.chip[aria-current="page"] { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tools input, .tools select, .select { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.tools input { min-width: 220px; }
.count { margin: 0 0 16px; color: var(--burgundy-soft); font-size: 0.9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card .art { display: block; position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, var(--pink-wash) 100%); }
.card .art svg { display: block; width: 100%; height: 100%; }
.card .art img, .product .gallery img, .line .thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.card .body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--pink-deep); }
.tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--pink-wash); color: var(--pink-deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card p { margin: 0; font-size: 0.9rem; color: var(--burgundy-soft); line-height: 1.5; flex: 1; }
.select { width: 100%; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 16px; color: var(--burgundy-soft); }

/* product page */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-block: clamp(24px, 4vw, 48px) 0; }
.product .gallery { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, var(--pink-wash) 100%); border: 1px solid var(--line); }
.product .gallery svg { display: block; width: 100%; height: 100%; }
.product h1 { margin: 10px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.product .lead { margin: 0 0 20px; font-size: 1.05rem; color: var(--burgundy-soft); }
.product .big { font-size: 2rem; font-weight: 700; margin: 0 0 18px; font-variant-numeric: tabular-nums; }
.sizes { display: grid; gap: 10px; margin: 0 0 20px; }
.sizes label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; }
.sizes label:has(input:checked) { border-color: var(--pink); background: var(--pink-wash); }
.sizes input { accent-color: var(--pink); width: 18px; height: 18px; margin-right: 10px; }
.sizes .l { display: flex; align-items: center; }
.buyrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.buyrow .btn { flex: 1; min-width: 200px; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.95rem; }
.facts li { display: flex; gap: 10px; }
.facts svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--pink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.step .n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 700; }
.step h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.step p { margin: 0; color: var(--burgundy-soft); font-size: 0.95rem; }

/* banner */
.banner { background: linear-gradient(100deg, var(--pink-wash), var(--pink-blush)); overflow: hidden; }
.banner .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 24px; padding-block: clamp(32px, 5vw, 56px); }
.banner h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; text-wrap: balance; }
.banner h2 em { color: var(--pink); }
.banner p { margin: 0 0 24px; max-width: 32em; color: var(--burgundy-soft); font-size: 1.05rem; }
.banner .art { justify-self: center; width: min(100%, 300px); }
.banner .art svg { display: block; width: 100%; height: auto; }

/* two-column page layouts (basket, checkout, contact) */
.cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(24px, 4vw, 48px) 0; }
.panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.panel.sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.panel h2 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:first-child { padding-top: 0; }
.line .thumb { position: relative; width: 80px; height: 80px; border-radius: 14px; overflow: hidden; background: var(--pink-wash); display: block; }
.line .thumb svg { display: block; width: 100%; height: 100%; }
.line .nm { font-weight: 600; line-height: 1.3; text-decoration: none; }
.line .sz { font-size: 0.85rem; color: var(--burgundy-soft); }
.line .lt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; font-size: 1.1rem; }
.qty button:hover { background: var(--pink-wash); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--burgundy-soft); font-size: 0.85rem; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin: 14px 0; }
.sum b { font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.note { margin: 0 0 14px; font-size: 0.85rem; color: var(--burgundy-soft); }
.state { text-align: center; padding: 48px 12px; color: var(--burgundy-soft); }
.state h2, .state h3 { margin: 12px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--burgundy); }
.state svg { width: 150px; height: 150px; }
.progress { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; list-style: none; font-size: 0.85rem; color: var(--burgundy-soft); }
.progress li + li::before { content: "›"; margin-right: 14px; }
.progress .on { color: var(--pink-deep); font-weight: 700; }

/* forms */
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 0.85rem; font-weight: 600; padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 3px var(--pink-wash); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; }
.seg input { accent-color: var(--pink); width: 18px; height: 18px; }
.seg label:has(input:checked) { border-color: var(--pink); background: var(--pink-wash); }
.copybox { width: 100%; min-height: 170px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); font: 0.85rem/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--burgundy); }
.alert { padding: 12px 14px; border-radius: 12px; background: var(--pink-wash); font-size: 0.92rem; }
.narrow { max-width: 640px; margin-inline: auto; }

/* about + contact + faq */
.about { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.about .logo { width: clamp(120px, 20vw, 220px); height: clamp(120px, 20vw, 220px); box-shadow: 0 0 0 2px var(--pink-wash), var(--shadow); }
.about h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.15; }
.about p { margin: 0 0 12px; color: var(--burgundy-soft); max-width: 40em; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { padding: 24px; border-radius: 18px; background: var(--cream-deep); }
.value h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.value p { margin: 0; color: var(--burgundy-soft); font-size: 0.95rem; }
.info p { margin: 0 0 10px; }
.info b { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-deep); }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: 8px 0 0; color: var(--burgundy-soft); }

/* footer */
footer { margin-top: 0; background: var(--burgundy); color: var(--cream); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px 48px; padding-block: 48px 32px; }
.foot h4 { margin: 0 0 14px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-blush); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot p { margin: 0 0 12px; color: #F3D9D2; font-size: 0.95rem; }
.foot .logo { width: 84px; height: 84px; margin-bottom: 14px; box-shadow: none; }
.legal { border-top: 1px solid rgba(255, 252, 247, 0.18); padding-block: 16px max(16px, env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 0.85rem; color: #E9C9C1; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); z-index: 100; display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 999px; background: var(--burgundy); color: #fff; font-weight: 500; font-size: 0.92rem; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: calc(100vw - 32px); }
.toast a { color: var(--pink-blush); font-weight: 700; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat:nth-child(3) { border-left: 0; }
  .feat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .panel.sticky { position: static; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .header .bar { gap: 8px; }
  .actions { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 12px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a, .nav .dd-btn { padding: 12px 8px; border-radius: 10px; text-align: left; width: 100%; }
  .dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 80px; }
  .hero-photo { width: min(88%, 360px); }
  .hero-photo .float { left: -8px; }
  .banner .wrap { grid-template-columns: minmax(0, 1fr); }
  .banner .art { width: min(70%, 240px); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .steps, .values { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .brand-name { display: none; }
  .logo { width: 48px; height: 48px; }
  .features { grid-template-columns: minmax(0, 1fr); margin-top: -36px; }
  .feat + .feat { border-left: 0; border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .body { padding: 12px; }
  .card h3 { font-size: 1.05rem; }
  .card p { display: none; }
  .buy { flex-direction: column; align-items: stretch; gap: 8px; }
  .buy .price { font-size: 1.15rem; }
  .cat { width: 104px; }
  .cat .disc { width: 96px; height: 96px; }
  .about { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .tools, .tools input, .tools select { width: 100%; }
  .line { grid-template-columns: 64px minmax(0, 1fr); }
  .line .thumb { width: 64px; height: 64px; }
  .line .lt { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.pay-row{display:grid;gap:10px;margin:6px 0}
.bank{background:var(--blush,#F9CFDD);border-radius:12px;padding:14px 16px;white-space:pre-wrap;font-size:.95rem}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.err{background:#fdecea;color:#8a1c12;border:1px solid #f3b7b0;border-radius:12px;padding:10px 14px;margin:0}
