:root {
  --red: #ee1c3a;
  --red-dark: #c8102e;
  --ink: #1b1b1f;
  --muted: #6b6b76;
  --line: #ececf0;
  --bg: #ffffff;
  --soft: #fff5f7;
  --sakura: #f9d6e0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 20, 30, .08);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* announcement */
.announce { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo img { height: 48px; width: auto; }
.search { flex: 1; max-width: 560px; position: relative; }
.search input {
  width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 48px 0 18px; background: #fafafc; outline: none; transition: .15s;
}
.search input:focus { border-color: var(--red); background: #fff; }
.search button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 16px; }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 14px; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .ic { font-size: 20px; }
.cart-count { position: absolute; top: 2px; left: 24px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav-row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 11px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-item:hover > a, .nav-item > a.active { color: var(--red); border-color: var(--red); }
.dropdown { position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.dropdown a:hover { background: var(--soft); color: var(--red); }

/* mobile drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; opacity: 0; pointer-events: none; transition: .2s; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: #fff; z-index: 90; transform: translateX(-100%); transition: .25s; overflow-y: auto; padding: 16px; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer h4 { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.drawer a { display: block; padding: 10px 6px; border-radius: 8px; font-weight: 500; }
.drawer a.sub { padding-left: 22px; font-size: 14px; color: var(--muted); font-weight: 400; }
.drawer a:hover { background: var(--soft); }

/* hero / slider */
.hero { position: relative; margin-top: 20px; }
.slider { position: relative; border-radius: 22px; overflow: hidden; background: var(--soft); aspect-ratio: 21 / 8; }
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.slide { position: relative; flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 65%); }
.slide.noimg::before { display: none; }
.slide-inner { position: relative; padding: 0 56px; color: #fff; max-width: 640px; }
.slide.noimg .slide-inner { color: var(--ink); }
.slide h2 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 44px); line-height: 1.15; font-weight: 800; }
.slide p { margin: 0 0 20px; font-size: clamp(14px, 1.6vw, 18px); opacity: .95; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); padding: 0; }
.dots button.on { width: 26px; border-radius: 5px; background: #fff; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 20px; box-shadow: var(--shadow); }
.sl-nav.prev { left: 14px; } .sl-nav.next { right: 14px; }

.hero-default {
  position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(120deg, #fff5f7, #fde4ec);
  min-height: 300px; display: flex; align-items: center; isolation: isolate;
}
.hero-default::before, .hero-default::after { content: ''; position: absolute; background-repeat: no-repeat; background-size: contain; mix-blend-mode: multiply; z-index: -1; }
.hero-default::before { top: 0; right: 0; width: min(42%, 440px); aspect-ratio: 480 / 260; background-image: url(/images/sakura-tr.png); background-position: top right; }
.hero-default::after { bottom: 0; left: 0; width: min(36%, 380px); aspect-ratio: 510 / 250; background-image: url(/images/sakura-bl.png); background-position: bottom left; opacity: .7; }
.hero-default .slide-inner { color: var(--ink); padding: 40px 56px; }
.hero-default h1 { margin: 0 0 10px; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.1; font-weight: 800; }
.hero-default h1 em { font-style: normal; color: var(--red); }
.hero-default p { margin: 0 0 22px; color: #4a4a55; font-size: clamp(15px, 1.6vw, 18px); max-width: 420px; }
@media (max-width: 720px) { .hero-default::before { width: 55%; opacity: .55; } .hero-default::after { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; transition: .15s; }
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--red); color: var(--red); background: #fff; }
.btn.dark { background: var(--ink); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }

/* perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 6px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.perk .ic { font-size: 26px; }
.perk b { display: block; font-size: 14px; }
.perk span { font-size: 12.5px; color: var(--muted); }

/* sections */
.section { margin: 44px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font-size: 24px; font-weight: 800; position: relative; padding-left: 16px; }
.sec-head h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--red); }
.sec-head a { color: var(--red); font-weight: 600; font-size: 14px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .15s; font-weight: 600; font-size: 14px; }
.cat-tile:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile .ci { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 30px; overflow: hidden; }
.cat-tile .ci img { width: 100%; height: 100%; object-fit: cover; }

.brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.brand-chip { display: flex; align-items: center; justify-content: center; height: 72px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: #333; text-align: center; transition: .15s; background: #fff; }
.brand-chip img { max-height: 48px; max-width: 100%; object-fit: contain; }
.brand-chip:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }

/* products */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #f3c3cc; }
.thumb { position: relative; aspect-ratio: 1 / 1; background: #fafafa; display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .3s; }
.card:hover .thumb img { transform: scale(1.05); }
.ph { font-size: 54px; opacity: .85; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.badge.out { background: #555; }
.badge.pre { background: #e89a00; }
.card .meta { padding: 12px 14px 4px; flex: 1; }
.card .brand { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.card h3 { margin: 2px 0 8px; font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 17px; font-weight: 800; }
.price s { color: var(--muted); font-size: 13px; }
.card .add { margin: 8px 14px 14px; height: 38px; border-radius: 999px; border: 1.5px solid var(--red); background: #fff; color: var(--red); font-weight: 700; font-size: 14px; transition: .15s; }
.card .add:hover:not([disabled]) { background: var(--red); color: #fff; }
.card .add[disabled] { border-color: var(--line); color: var(--muted); cursor: not-allowed; }

/* shop layout */
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 8px; }
.crumbs a:hover { color: var(--red); }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-bottom: 40px; }
.filters { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; max-height: calc(100vh - 160px); overflow-y: auto; }
.filters h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filters .grp { margin-bottom: 18px; }
.f-link { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.f-link:hover { background: var(--soft); }
.f-link.on { background: var(--red); color: #fff; font-weight: 600; }
.f-link.sub { margin-left: 14px; font-size: 13.5px; color: #444; }
.f-link.sub.on { color: #fff; }
.filters select { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar h1 { margin: 0; font-size: 24px; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar select { height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.more { text-align: center; margin: 26px 0 0; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 56px; }
.filter-toggle { display: none; }

/* product page */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; margin: 10px 0 40px; }
.gallery .main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 18px; background: #fafafa; display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs button { width: 70px; height: 70px; border: 2px solid var(--line); border-radius: 12px; background: #fafafa; padding: 0; overflow: hidden; }
.gallery .thumbs button.on { border-color: var(--red); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .brand { color: var(--red); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.pd-info h1 { margin: 4px 0 12px; font-size: 28px; line-height: 1.25; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 6px; flex-wrap: wrap; }
.pd-price b { font-size: 32px; font-weight: 800; color: var(--red); }
.pd-price s { color: var(--muted); font-size: 18px; }
.pd-price .save { background: var(--soft); color: var(--red); padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin: 8px 0 14px; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #1faa59; }
.stock.out::before { background: #888; } .stock.pre::before { background: #e89a00; }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 46px; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 20px; }
.qty button:hover { background: var(--soft); }
.qty span, .qty input { width: 40px; text-align: center; font-weight: 700; border: 0; background: transparent; }
.desc { white-space: pre-line; color: #3b3b44; margin: 20px 0; }
.specs { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.specs td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs td:first-child { width: 36%; color: var(--muted); background: #fafafc; }
.pd-note { display: grid; gap: 8px; margin-top: 18px; padding: 14px 16px; background: var(--soft); border-radius: 12px; font-size: 14px; }

/* cart / checkout */
.page-title { margin: 22px 0 18px; font-size: 28px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; margin-bottom: 50px; }
.cart-items { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-row .im { width: 84px; height: 84px; border-radius: 12px; background: #fafafa; display: grid; place-items: center; overflow: hidden; }
.cart-row .im img { width: 100%; height: 100%; object-fit: contain; }
.cart-row h4 { margin: 0 0 4px; font-size: 15px; }
.cart-row .rm { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 4px 0; text-decoration: underline; }
.cart-row .end { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-row .qty { height: 38px; }
.cart-row .qty button { width: 34px; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; position: sticky; top: 150px; }
.summary h3 { margin: 0 0 14px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 19px; font-weight: 800; }
.sum-row.total span:last-child { color: var(--red); }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.hint b { color: var(--red); }

.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.form-card h3 { margin: 0 0 14px; font-size: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: #444; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; background: #fff; outline: none; transition: .15s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(238, 28, 58, .1); }
.field textarea { min-height: 84px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; }
.pay-opt.on { border-color: var(--red); background: var(--soft); }
.pay-opt input { margin-top: 4px; accent-color: var(--red); }
.pay-opt b { display: block; }
.pay-opt span { font-size: 13px; color: var(--muted); }
.err { background: #fff0f2; color: var(--red-dark); border: 1px solid #ffc9d1; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }

.success { max-width: 640px; margin: 30px auto 60px; text-align: center; }
.success .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: #fff; font-size: 38px; display: grid; place-items: center; margin: 0 auto 14px; }
.success .code { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: .05em; background: var(--soft); border: 2px dashed var(--red); color: var(--red); padding: 8px 22px; border-radius: 12px; margin: 10px 0 18px; }
.box { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; margin: 14px 0; }
.box h4 { margin: 0 0 10px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--soft); color: var(--red); }

.prose { max-width: 820px; margin-bottom: 50px; }
.prose h2 { margin-top: 30px; }
.prose ul { padding-left: 20px; }
.prose p { margin: 0 0 12px; }

/* footer */
.footer { background: #17171b; color: #cfcfd6; margin-top: 60px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 44px 0 28px; }
.footer img.flogo { height: 54px; background: #fff; border-radius: 12px; padding: 6px 12px; margin-bottom: 12px; }
.footer h5 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer a { display: block; padding: 4px 0; font-size: 14px; color: #cfcfd6; }
.footer a:hover { color: #fff; }
.footer p { margin: 0 0 8px; font-size: 14px; }
.copy { border-top: 1px solid #2a2a31; padding: 16px 0; font-size: 13px; color: #8d8d98; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; box-shadow: var(--shadow); max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.spinner { width: 34px; height: 34px; border: 4px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 14px; }
  .header-row { height: 62px; gap: 8px; flex-wrap: wrap; height: auto; padding: 8px 0; }
  .logo img { height: 38px; }
  .menu-btn { display: inline-flex; }
  .search { order: 5; flex: 1 0 100%; max-width: none; }
  .icon-btn .lbl { display: none; }
  .nav { display: none; }
  .slider { aspect-ratio: 16 / 10; border-radius: 16px; }
  .slide-inner { padding: 0 22px; }
  .hero-default .slide-inner { padding: 28px 22px; }
  .hero-default { border-radius: 16px; }
  .sl-nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card h3 { font-size: 13.5px; }
  .card .meta { padding: 10px 10px 2px; }
  .card .add { margin: 6px 10px 10px; }
  .two { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row .im { width: 70px; height: 70px; }
  .cart-row .end { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .pd-info h1 { font-size: 22px; }
  .pd-price b { font-size: 26px; }
  .section { margin: 32px 0; }
  .sec-head h2 { font-size: 20px; }
  .kv { grid-template-columns: 1fr; }
}

/* ===== v2 refresh: soft, rounded, airy (TechNova-style) ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); }
.sec-head h2 { padding-left: 0; font-size: 26px; margin-top: 4px; }
.sec-head h2::before { display: none; }
.sec-tools { display: flex; align-items: center; gap: 10px; }
.rnd { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 20px; line-height: 1; display: inline-grid; place-items: center; transition: .15s; padding: 0; }
.rnd:hover { border-color: var(--red); color: var(--red); }
.rnd.red { background: var(--red); border-color: var(--red); color: #fff; width: 34px; height: 34px; font-size: 18px; }
.rnd.red:hover { background: var(--red-dark); color: #fff; }
.rnd[disabled] { opacity: .4; }

.hero { position: relative; margin-top: 20px; }
.slider { aspect-ratio: 5 / 2; max-height: 380px; border-radius: 26px; background: #f4efe9; box-shadow: 0 10px 40px rgba(30, 20, 30, .08); }
.slide { color: inherit; }
.slide.plain::before { display: none; }
.sl-nav { background: #fff; width: 46px; height: 46px; font-size: 22px; }
.dots { justify-content: flex-start; left: 28px; bottom: 18px; }
.dots button { background: rgba(0, 0, 0, .25); }
.dots button.on { background: var(--red); }

/* moving product strip (auto-scrolling, pauses on hover) */
.strip-wrap { margin-top: 16px; border-radius: 22px; background: linear-gradient(180deg, #fff5f7, #fff); border: 1px solid #f6dfe4; padding: 16px 0; }
.strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; padding: 6px 7px; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.scard { position: relative; flex: 0 0 168px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 6px 20px rgba(150, 30, 50, .10); transition: transform .2s; transform-origin: top center; }
.scard:nth-child(odd) { animation: sway 5s ease-in-out infinite; }
.scard:nth-child(even) { animation: sway 5s ease-in-out infinite reverse; }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.scard { transition: scale .22s ease, box-shadow .22s ease; }
.scard:hover { scale: 1.1; z-index: 3; box-shadow: 0 14px 34px rgba(150, 30, 50, .22); animation-play-state: paused; }
.scard::before { content: ''; position: absolute; top: -10px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff; }
.simg { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: #fafafa; border-radius: 12px; overflow: hidden; }
.simg img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.simg .ph { font-size: 44px; }
.simg .badge { top: 6px; left: 6px; font-size: 11px; }
.sname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.3; min-height: 34px; margin: 8px 2px 6px; }
.sbot { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.sbot b { font-size: 14px; }
.ticker { margin-top: 12px; overflow: hidden; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 22px; animation: marquee2 38s linear infinite; padding-left: 22px; }
.ticker-track i { font-style: normal; opacity: .7; }
@keyframes marquee2 { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track, .ticker-track, .scard { animation: none !important; } .strip { overflow-x: auto; } }

.cat-tile { border: 0; background: #fff5f7; border-radius: 18px; }
.cat-tile .ci { background: #fff; width: 72px; height: 72px; font-size: 34px; box-shadow: 0 4px 14px rgba(150, 30, 50, .08); }
.cat-tile:hover { background: #ffe9ee; }

.hrow { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.hrow::-webkit-scrollbar { display: none; }
.hrow .card { flex: 0 0 236px; scroll-snap-align: start; }
.card { border-radius: 18px; border-color: #f0eef2; }
.thumb { background: #f6f7f7; margin: 8px 8px 0; border-radius: 12px; }
.badge { background: #1b1b1f; border-radius: 8px; }
.card .add { background: var(--red); color: #fff; border-radius: 12px; height: 40px; }
.card .add:hover:not([disabled]) { background: var(--red-dark); }

.promo { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(110deg, #fff5f7 0%, #fde4ec 100%); isolation: isolate; min-height: 240px; display: flex; align-items: center; }
.promo::before { content: ''; position: absolute; right: -20px; top: 0; width: min(52%, 520px); aspect-ratio: 480 / 260; background: url(/images/sakura-tr.png) no-repeat top right / contain; mix-blend-mode: multiply; z-index: -1; }
.promo::after { content: ''; position: absolute; right: 7%; bottom: -50px; width: 260px; height: 260px; border-radius: 50%; background: var(--red); opacity: .92; z-index: -2; }
.promo-in { padding: 36px 48px; max-width: 560px; }
.pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid #f3c3cc; color: var(--red); font-size: 12px; font-weight: 700; }
.promo h3 { margin: 12px 0 8px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; }
.promo h3 em { font-style: normal; color: var(--red); }
.promo p { margin: 0 0 18px; color: #555; }

.perks { background: #fff5f7; border-radius: 20px; padding: 12px; margin: 40px 0 0; gap: 8px; }
.perk { border: 0; background: transparent; }

.footer { border-radius: 60px 60px 0 0; margin-top: 50px; }

@media (max-width: 720px) {
  .slider { aspect-ratio: 4 / 3; border-radius: 18px; }
  .dots { left: 16px; bottom: 12px; }
  .scard { flex-basis: 140px; }
  .hrow .card { flex-basis: 180px; }
  .promo-in { padding: 28px 22px; }
  .promo::after { width: 170px; height: 170px; right: -30px; }
  .promo::before { opacity: .5; }
  .footer { border-radius: 32px 32px 0 0; }
}
.sec-head { flex-wrap: wrap; }
@media (max-width: 720px) {
  .slider { aspect-ratio: 2 / 1; max-height: none; }
  .sec-tools .rnd { display: none; }
  .sec-head h2 { font-size: 20px; }
}

/* ===== v3: standard banner, any-ratio images, washi/seigaiha backdrop, draggable strip ===== */
.slider { aspect-ratio: 8 / 3 !important; max-height: none !important; }
.slide { overflow: hidden; }
.slide .sbg, .slide .sfg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide .sbg { display: none; background-size: cover; background-position: center; filter: blur(22px) saturate(1.1); transform: scale(1.15); }
.slide .sfg { object-fit: cover; object-position: center; }
.slide.fit .sbg { display: block; }
.slide.fit .sfg { object-fit: contain; }
.slide .slide-inner { z-index: 1; }
.slide::before { z-index: 1; }
@media (max-width: 720px) { .slider { aspect-ratio: 2 / 1 !important; } }

.strip { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.strip.dragging { cursor: grabbing; }
.strip-track { animation: none !important; will-change: transform; }
.strip img { -webkit-user-drag: none; pointer-events: none; }
.strip .scard a, .strip .scard button { -webkit-user-drag: none; }

.header { background: rgba(255, 255, 255, .96); }
.card, .scard, .cart-items, .summary, .form-card, .box, .filters, .perk, .brand-chip { background-color: #fff; }
.section, .toolbar, .crumbs { position: relative; }
@media (max-width: 720px) { body::before { width: 60vw; opacity: .25; } body::after { display: none; } }

/* ===== Japanese mode (toggle in header) ===== */
body.jp {
  background-color: #fffaf6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cg fill='%23fffaf6' stroke='%23c9858f' stroke-opacity='.22' stroke-width='1'%3E%3Ccircle cx='0' cy='32' r='16'/%3E%3Ccircle cx='0' cy='32' r='11'/%3E%3Ccircle cx='0' cy='32' r='6'/%3E%3Ccircle cx='32' cy='32' r='16'/%3E%3Ccircle cx='32' cy='32' r='11'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3Ccircle cx='64' cy='32' r='16'/%3E%3Ccircle cx='64' cy='32' r='11'/%3E%3Ccircle cx='64' cy='32' r='6'/%3E%3Ccircle cx='16' cy='16' r='16'/%3E%3Ccircle cx='16' cy='16' r='11'/%3E%3Ccircle cx='16' cy='16' r='6'/%3E%3Ccircle cx='48' cy='16' r='16'/%3E%3Ccircle cx='48' cy='16' r='11'/%3E%3Ccircle cx='48' cy='16' r='6'/%3E%3C/g%3E%3C/svg%3E");
}
body.jp::before, body.jp::after { content: ''; position: fixed; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: contain; mix-blend-mode: multiply; }
body.jp::before { top: 70px; right: 0; width: min(34vw, 460px); aspect-ratio: 480 / 260; background-image: url(/images/sakura-tr.png); background-position: top right; opacity: .4; }
body.jp::after { bottom: 0; left: 0; width: min(30vw, 400px); aspect-ratio: 510 / 250; background-image: url(/images/sakura-bl.png); background-position: bottom left; opacity: .32; }
body.jp .header { background: rgba(255, 250, 246, .94); }
body.jp h1, body.jp h2, body.jp h3, body.jp .eyebrow { font-family: 'Noto Serif', 'Noto Sans', serif; }
body.jp .sec-head h2 { letter-spacing: .01em; }
body.jp .announce { background: #8f1a2c; }
body.jp .footer { background: #1f1416; }
.jp-toggle { transition: .2s; }
body.jp .jp-toggle { background: var(--soft); color: var(--red); }
@media (max-width: 720px) { body.jp::before { width: 60vw; opacity: .26; } body.jp::after { display: none; } }
