:root {
  --ink: #17211d;
  --ink-soft: #3f4b45;
  --paper: #f2ecdf;
  --paper-light: #faf7ef;
  --red: #a83226;
  --red-dark: #7b2119;
  --gold: #c8a96a;
  --line: rgba(23, 33, 29, .18);
  --shadow: 0 24px 60px rgba(30, 24, 16, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", sans-serif;
  min-width: 320px;
}
body.cart-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 236, 223, .9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 15;
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px var(--red);
}
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-family: "Noto Serif TC", serif; font-size: 18px; letter-spacing: .12em; }
.brand-copy small { font-size: 8px; letter-spacing: .19em; margin-top: 3px; color: var(--ink-soft); }
nav { display: flex; gap: 42px; font-weight: 700; font-size: 14px; letter-spacing: .1em; }
nav a { position: relative; }
nav a::after { content: ""; height: 2px; width: 0; background: var(--red); position: absolute; left: 0; bottom: -8px; transition: width .25s; }
nav a:hover::after { width: 100%; }
.cart-trigger {
  justify-self: end;
  border: 0;
  background: var(--ink);
  color: var(--paper-light);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 20px;
  cursor: pointer;
  font-weight: 700;
}
.cart-trigger b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font-size: 12px; }

.hero {
  min-height: 670px;
  padding: 80px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(168, 50, 38, .18);
  border-radius: 50%;
  left: -210px;
  top: 110px;
}
.hero-copy { position: relative; z-index: 2; animation: rise .8s both; }
.eyebrow { color: var(--red); font-weight: 900; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 20px; }
h1, h2, h3, blockquote { font-family: "Noto Serif TC", serif; }
h1 { font-size: clamp(50px, 6.3vw, 96px); line-height: 1.12; letter-spacing: -.05em; margin: 0; font-weight: 900; }
h1 em { color: var(--red); font-style: normal; position: relative; }
h1 em::after { content: ""; position: absolute; left: 0; right: 8%; bottom: -8px; height: 10px; background: var(--red); opacity: .16; transform: skew(-17deg); }
.hero-lead { max-width: 570px; font-size: 17px; line-height: 1.9; color: var(--ink-soft); margin: 34px 0 38px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.primary-button, .checkout-button {
  background: var(--red);
  color: white;
  border: 0;
  padding: 16px 22px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  transition: background .2s, transform .2s;
}
.primary-button:hover, .checkout-button:hover { background: var(--red-dark); transform: translateY(-2px); }
.text-button { border: 0; border-bottom: 1px solid var(--ink); padding: 6px 0; background: transparent; font-weight: 700; cursor: pointer; }
.hero-art { height: 470px; position: relative; animation: rise .9s .12s both; }
.sun-disc { position: absolute; width: min(30vw, 390px); aspect-ratio: 1; border-radius: 50%; background: var(--red); right: 10%; top: 1%; box-shadow: inset -25px -8px 0 rgba(69, 14, 9, .13); }
.sun-disc::before, .sun-disc::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; inset: 20px; }
.sun-disc::after { inset: 42px; }
.dragon-mark { position: absolute; right: 19%; top: 7%; color: var(--paper); font: 900 min(17vw, 225px)/1 "Noto Serif TC", serif; opacity: .95; filter: drop-shadow(10px 15px 0 rgba(83, 15, 11, .18)); }
.tile { position: absolute; width: 120px; height: 165px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 23px "Noto Serif TC", serif; letter-spacing: .2em; writing-mode: vertical-rl; box-shadow: var(--shadow); border: 7px solid var(--paper-light); outline: 1px solid var(--ink); transition: transform .3s; }
.tile::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(200,169,106,.55); }
.tile-one { left: 8%; bottom: 4%; transform: rotate(-8deg); }
.tile-two { left: 37%; bottom: -2%; transform: rotate(4deg); background: #334b3f; }
.tile-three { right: 2%; bottom: 9%; transform: rotate(10deg); background: #202c3c; }
.tile:hover { transform: rotate(0) translateY(-12px); }
.hero-index { position: absolute; right: 28px; bottom: 25px; writing-mode: vertical-rl; font-size: 10px; letter-spacing: .22em; color: var(--ink-soft); }
.hero-index span { font-size: 28px; color: var(--red); font-family: "Noto Serif TC", serif; margin-bottom: 8px; }

.catalog { padding: 100px clamp(24px, 6vw, 100px) 120px; background: var(--paper-light); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 35px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1; }
.section-heading > p { color: var(--ink-soft); font-weight: 700; }
.catalog-tools { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.search-box { display: flex; align-items: center; gap: 12px; max-width: 420px; }
.search-box span { font-size: 26px; }
.search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 3px; outline: none; }
.search-box input:focus { border-color: var(--red); }
.filter-group { display: flex; gap: 4px; background: #e9e1d2; padding: 4px; }
.filter { border: 0; background: transparent; padding: 9px 14px; color: var(--ink-soft); cursor: pointer; font-weight: 700; font-size: 13px; }
.filter.active { background: var(--ink); color: white; }
.export-button { border: 1px solid var(--ink); color: var(--ink); background: transparent; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.export-button:hover { background: var(--ink); color: white; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 22px; }
.product-card { min-width: 0; animation: cardIn .55s both; }
.product-visual { position: relative; aspect-ratio: 4/4.7; overflow: hidden; background: #e5dece; cursor: pointer; }
.product-visual::after { content: "查看詳情 ↗"; position: absolute; inset: auto 0 0; padding: 16px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.82)); transform: translateY(100%); transition: transform .3s; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.product-card:hover .product-visual::after { transform: translateY(0); }
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #e5dece;
  transform: scale(.985);
  transition: transform .45s, filter .3s;
}
.product-card:hover .product-visual img { transform: scale(1); }
.product-card.soldout .product-visual img { filter: grayscale(.4) contrast(.9); }
.stock-badge { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--paper-light); padding: 7px 10px; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.stock-badge.available { color: #315846; }
.stock-badge.soldout { color: var(--red); }
.product-info { padding: 17px 2px 0; }
.product-id { display: block; color: #877e6f; font: 10px/1.4 monospace; letter-spacing: .04em; margin-bottom: 8px; }
.product-info h3 { margin: 0; font-size: 18px; line-height: 1.55; min-height: 56px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-spec { color: var(--ink-soft); font-size: 12px; margin: 9px 0 15px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; }
.price { font: 900 20px "Noto Serif TC", serif; color: var(--red); }
.add-button { width: 40px; height: 40px; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; font-size: 20px; transition: .2s; }
.add-button:hover:not(:disabled) { background: var(--ink); color: white; transform: rotate(90deg); }
.add-button:disabled { opacity: .25; cursor: not-allowed; }
.empty-state { text-align: center; padding: 80px 0; }
.empty-state span, .empty-cart-mark { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; border: 2px solid var(--red); color: var(--red); font: 900 28px "Noto Serif TC", serif; transform: rotate(-4deg); }

.store-notes { padding: 100px clamp(24px, 6vw, 100px) 120px; background: #e9e1d2; border-top: 1px solid var(--line); }
.notes-heading { margin-bottom: 42px; }
.anniversary-note { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px; padding: 28px 32px; background: var(--red); color: white; }
.anniversary-date { display: flex; align-items: center; gap: 11px; padding-right: 30px; border-right: 1px solid rgba(255,255,255,.34); }
.anniversary-date strong { font: 900 clamp(25px, 3vw, 42px) "Noto Serif TC", serif; }
.anniversary-date span { color: #f2c9bf; font-size: 12px; }
.anniversary-note h3 { font-size: clamp(22px, 2.5vw, 34px); margin: 0 0 6px; }
.anniversary-note p { margin: 0; color: #f6ddd7; }
.important-note { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 28px; border: 1px solid var(--red); border-top: 0; background: var(--paper-light); }
.important-note > span { padding: 7px 9px; background: var(--ink); color: white; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.important-note p { margin: 0; line-height: 1.75; }
.important-note strong { color: var(--red); }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.notes-grid details { border: 1px solid var(--line); background: var(--paper-light); }
.notes-grid details.purchase-notes { grid-column: 1 / -1; }
.notes-grid summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; min-height: 76px; padding: 18px 22px; cursor: pointer; font: 700 18px "Noto Serif TC", serif; }
.notes-grid summary::-webkit-details-marker { display: none; }
.notes-grid summary::after { content: "＋"; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--ink); font: 400 18px "Noto Sans TC", sans-serif; grid-column: 3; grid-row: 1 / span 2; transition: transform .25s, background .25s, color .25s; }
.notes-grid details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: white; }
.notes-grid summary > span { color: var(--red); font: 900 12px "Noto Sans TC", sans-serif; letter-spacing: .08em; }
.notes-grid summary small { grid-column: 2; color: #877e6f; font: 500 11px "Noto Sans TC", sans-serif; letter-spacing: .08em; }
.details-body { padding: 4px 26px 28px; border-top: 1px solid var(--line); }
.notes-list { margin: 0; padding: 21px 0 0; list-style: none; counter-reset: notes; }
.notes-list li { counter-increment: notes; position: relative; padding: 0 0 18px 42px; color: var(--ink-soft); line-height: 1.85; font-size: 14px; }
.notes-list li:last-child { padding-bottom: 0; }
.notes-list li::before { content: counter(notes, decimal-leading-zero); position: absolute; left: 0; top: 1px; color: var(--red); font: 900 11px "Noto Sans TC", sans-serif; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.notes-closing { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); text-align: left; }
.notes-closing p { margin: 0; line-height: 1.9; color: var(--ink-soft); }
.notes-closing strong { color: var(--ink); }

.manifesto { background: var(--ink); color: var(--paper-light); text-align: center; padding: 110px 24px; position: relative; overflow: hidden; }
.manifesto::before { content: "PLAY"; position: absolute; inset: -70px 0 auto; font: 900 240px/1 "Noto Serif TC", serif; color: rgba(255,255,255,.025); }
.manifesto blockquote { font-size: clamp(28px, 4vw, 56px); line-height: 1.6; margin: 0 auto 55px; position: relative; }
.manifesto-notes { display: flex; justify-content: center; align-items: center; gap: 24px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.manifesto-notes i { display: block; width: 42px; height: 1px; background: rgba(200,169,106,.4); }
footer { padding: 44px clamp(24px, 6vw, 100px); display: flex; justify-content: space-between; align-items: center; border-top: 4px solid var(--red); }
footer p { color: var(--ink-soft); font-size: 12px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(9, 14, 12, .62); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 30; top: 0; right: 0; width: min(470px, 100vw); height: 100dvh; background: var(--paper-light); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -15px 0 50px rgba(0,0,0,.2); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 30px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); }
.cart-header h2 { font-size: 38px; margin: 0; }
.icon-button, .dialog-close { border: 0; background: transparent; font-size: 32px; cursor: pointer; line-height: 1; }
.cart-items { overflow-y: auto; padding: 0 30px; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 74px; height: 90px; object-fit: contain; padding: 4px; background: #e5dece; }
.cart-item h3 { font: 700 14px/1.5 "Noto Serif TC", serif; margin: 0 0 7px; }
.cart-item-price { color: var(--red); font-size: 13px; font-weight: 900; }
.quantity { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.quantity button { border: 1px solid var(--line); background: transparent; width: 26px; height: 26px; cursor: pointer; }
.remove-item { border: 0; background: transparent; color: #867e70; cursor: pointer; align-self: start; }
.cart-empty { margin: auto; text-align: center; padding: 30px; }
.cart-empty h3 { font-size: 22px; margin: 0; }
.cart-empty p { color: var(--ink-soft); }
.cart-summary { margin-top: auto; border-top: 1px solid var(--line); padding: 24px 30px 30px; background: #f1eadc; }
.cart-summary > div { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.cart-service-note { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(255,255,255,.55); color: var(--red-dark); font-size: 12px; line-height: 1.65; font-weight: 700; }
.cart-total { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--ink); align-items: baseline; }
.cart-total strong { color: var(--red); font: 900 25px "Noto Serif TC", serif; }
.checkout-button { width: 100%; justify-content: center; margin-top: 10px; }
.clear-button { width: 100%; border: 0; background: transparent; padding: 13px; text-decoration: underline; cursor: pointer; color: var(--ink-soft); }

dialog { border: 0; padding: 0; background: var(--paper-light); color: var(--ink); box-shadow: var(--shadow); max-height: 90vh; }
dialog::backdrop { background: rgba(9,14,12,.72); backdrop-filter: blur(4px); }
.product-dialog { width: min(920px, 92vw); }
.dialog-close { position: absolute; right: 18px; top: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--paper-light); }
.dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-layout img { width: 100%; height: 100%; min-height: 520px; object-fit: contain; padding: 28px; background: #e5dece; }
.dialog-copy { padding: 65px 50px 45px; }
.dialog-copy h2 { font-size: 34px; line-height: 1.45; margin: 0 0 16px; }
.dialog-copy .price { font-size: 28px; display: block; margin-bottom: 25px; }
.dialog-copy p { color: var(--ink-soft); line-height: 1.9; }
.dialog-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 25px 0; }
.dialog-meta div { background: var(--paper-light); padding: 14px; }
.dialog-meta small { display: block; color: #867e70; margin-bottom: 4px; }
.dialog-add { width: 100%; justify-content: center; }
.dialog-add:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.order-dialog { width: min(860px, 94vw); max-height: 92vh; padding: 0; overflow: auto; }
.checkout-header { padding: 38px 45px 28px; border-bottom: 1px solid var(--line); }
.checkout-header h2 { font-size: 38px; margin: 0 0 8px; }
.checkout-header > p:last-child { margin: 0; color: var(--ink-soft); }
.checkout-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0 45px; list-style: none; border-bottom: 1px solid var(--line); }
.checkout-progress li { position: relative; padding: 17px 4px 15px; color: #8a8173; font-size: 11px; font-weight: 800; letter-spacing: .05em; border-bottom: 3px solid transparent; }
.checkout-progress li span { display: block; margin-bottom: 4px; font: 900 10px "Noto Sans TC", sans-serif; }
.checkout-progress li.active { color: var(--red); border-color: var(--red); }
.checkout-step { padding: 34px 45px 20px; }
.checkout-step[hidden] { display: none; }
.checkout-step h3 { margin: 0 0 22px; font-size: 24px; }
.checkout-items { border-top: 1px solid var(--line); }
.checkout-line { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checkout-line strong { font: 700 15px/1.5 "Noto Serif TC", serif; }
.checkout-line small { display: block; margin-top: 4px; color: #877e6f; }
.checkout-line > span { color: var(--red); font-weight: 900; white-space: nowrap; }
.checkout-total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 12px; }
.checkout-total-row strong { color: var(--red); font: 900 28px "Noto Serif TC", serif; }
.shipping-exclusion { margin: 0 0 22px; padding: 12px 14px; background: #eae2d3; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.payment-private-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; background: var(--ink); color: white; }
.payment-private-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 900 21px "Noto Serif TC", serif; transform: rotate(-3deg); }
.payment-private-card small { display: block; margin-bottom: 5px; color: var(--gold); font-size: 10px; letter-spacing: .1em; }
.payment-private-card strong { font-size: 16px; }
.payment-private-card p { margin: 5px 0 0; color: #c9c3b8; font-size: 11px; }
.payment-private-card a { border: 1px solid var(--gold); color: var(--gold); padding: 10px 13px; font-weight: 700; }
.rules-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 25px; border: 1px solid var(--line); background: #f3eddf; }
.rules-number { width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid var(--red); color: var(--red); font: 900 25px "Noto Serif TC", serif; transform: rotate(-3deg); }
.rules-card h4 { margin: 0 0 8px; font: 700 18px/1.55 "Noto Serif TC", serif; }
.rules-card p { margin: 0 0 15px; color: var(--ink-soft); font-size: 13px; }
.rules-card a { color: var(--red); font-weight: 800; border-bottom: 1px solid var(--red); }
.agreement-check { display: flex; gap: 13px; align-items: flex-start; margin-top: 22px; padding: 18px; border: 1px solid var(--line); cursor: pointer; line-height: 1.65; font-size: 14px; }
.agreement-check input { width: 19px; height: 19px; accent-color: var(--red); flex: 0 0 auto; margin-top: 2px; }
.privacy-note { padding: 12px 14px; border-left: 3px solid #315846; background: #e5eadf; color: #315846; font-size: 12px; line-height: 1.65; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.field input { width: 100%; border: 1px solid var(--line); background: var(--paper-light); padding: 13px 14px; outline: none; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(168,50,38,.1); }
.field input:user-invalid { border-color: var(--red); }
.complete-mark { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 22px; background: var(--red); color: white; font: 900 15px "Noto Serif TC", serif; transform: rotate(-3deg); }
.complete-lead { color: var(--ink-soft); }
.order-dialog pre { background: #eae2d3; border-left: 4px solid var(--red); white-space: pre-wrap; padding: 20px; max-height: 38vh; overflow: auto; line-height: 1.75; font-family: "Noto Sans TC", sans-serif; font-size: 13px; }
.copy-order { width: 100%; justify-content: center; }
.line-community-button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 12px; padding: 13px 17px; background: #06c755; color: white; transition: transform .2s, background .2s; }
.line-community-button:hover { background: #04ae49; transform: translateY(-2px); }
.line-community-button > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: white; color: #06c755; font-size: 9px; font-weight: 900; }
.line-community-button strong { font-size: 14px; }
.line-community-button i { font-style: normal; font-size: 22px; }
.line-paste-hint { margin: 10px 0 0; color: var(--ink-soft); text-align: center; font-size: 11px; line-height: 1.6; }
.copy-order.secondary-button { width: 100%; margin-top: 10px; padding: 11px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 12px; font-weight: 700; }
.copy-order.secondary-button:hover { border-color: var(--ink); color: var(--ink); }
.checkout-actions { display: flex; justify-content: space-between; gap: 12px; padding: 20px 45px 34px; }
.checkout-back, .checkout-next { border: 1px solid var(--ink); padding: 13px 22px; cursor: pointer; font-weight: 800; }
.checkout-back { background: transparent; color: var(--ink); }
.checkout-next { margin-left: auto; background: var(--ink); color: white; }
.checkout-next:hover { background: var(--red); border-color: var(--red); }
.checkout-actions[hidden] { display: none; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 26px; transform: translate(-50%, 120px); background: var(--ink); color: white; padding: 13px 20px; box-shadow: var(--shadow); transition: transform .3s; font-size: 13px; }
.toast.show { transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-inline: 55px; }
  .catalog-tools { grid-template-columns: 1fr auto; }
  .export-button { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .site-header { height: 76px; padding: 0 18px; grid-template-columns: 1fr auto; }
  nav { display: none; }
  .brand-copy { display: none; }
  .brand-seal { width: 42px; height: 42px; }
  .cart-trigger span { display: none; }
  .cart-trigger { padding: 9px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 70px 24px 45px; }
  .hero-art { height: 360px; margin-top: 35px; }
  .sun-disc { width: 270px; right: 8%; }
  .dragon-mark { font-size: 155px; right: 18%; }
  .tile { width: 90px; height: 130px; font-size: 18px; }
  .hero-index { display: none; }
  .catalog { padding: 75px 20px; }
  .section-heading { align-items: start; }
  .section-heading > p { font-size: 12px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .search-box { max-width: none; }
  .filter-group { overflow-x: auto; }
  .export-button { grid-column: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 12px; }
  .product-info h3 { font-size: 15px; min-height: 48px; }
  .price { font-size: 16px; }
  .manifesto-notes { gap: 11px; }
  .manifesto-notes i { width: 16px; }
  .store-notes { padding: 75px 20px; }
  .anniversary-note { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .anniversary-date { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.34); padding: 0 0 18px; }
  .important-note { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .important-note > span { width: max-content; }
  .notes-grid { grid-template-columns: 1fr; }
  .notes-grid details.purchase-notes { grid-column: auto; }
  .notes-grid summary { grid-template-columns: auto 1fr auto; font-size: 16px; padding: 16px; }
  .details-body { padding-inline: 18px; }
  .notes-list li { padding-left: 36px; font-size: 13px; }
  .notes-closing { align-items: flex-start; }
  footer { flex-direction: column; align-items: start; gap: 20px; }
  .footer-brand .brand-copy { display: flex; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-layout img { min-height: 0; height: 310px; }
  .dialog-copy { padding: 32px 24px; }
  .dialog-copy h2 { font-size: 25px; }
  .checkout-header { padding: 32px 22px 22px; }
  .checkout-progress { padding: 0 14px; }
  .checkout-progress li { font-size: 9px; }
  .checkout-step { padding: 28px 22px 15px; }
  .payment-private-card { grid-template-columns: auto 1fr; align-items: center; }
  .payment-private-card a { grid-column: 1 / -1; text-align: center; }
  .checkout-fields { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .rules-card { grid-template-columns: 1fr; }
  .checkout-actions { padding: 18px 22px 28px; }
}
@media (max-width: 430px) {
  h1 { font-size: 46px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { aspect-ratio: 1/1.05; }
  .product-info h3 { min-height: 0; }
  .manifesto-notes { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
