:root {
  --cream-bg: #faf3ea;
  --paper: #fffdf8;
  --pearl: #fffaf2;
  --champagne: #f4d9a7;
  --champagne-soft: #ffe9bc;
  --rose-mist: #f9d7df;
  --dusty-rose: #c98396;
  --mauve: #704557;
  --soft-cocoa: #4b3441;
  --soft-pink: #f8ccd8;
  --pink: #ef9fb9;
  --lavender: #e7dcff;
  --gold: #ffe0a2;
  --sky: #dff0fb;
  --mint: #dcefe6;
  --ink: #46313d;
  --muted: #8f6c79;
  --line: rgba(112, 69, 87, .16);
  --glass: rgba(255, 255, 255, .64);
  --shadow: 0 30px 90px rgba(72, 49, 60, .18);
  --shadow-soft: 0 18px 46px rgba(72, 49, 60, .11);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -18px 42px rgba(255, 255, 255, .18);
  --radius: 34px;
  --header-height: 96px;
  --mobile-header-height: 118px;
  --floating-inquiry-height: 112px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(118deg, rgba(255, 253, 248, .97), rgba(236, 246, 250, .86) 48%, rgba(255, 244, 224, .92)),
    linear-gradient(180deg, rgba(255, 255, 255, .62), transparent 46%);
  max-width: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: 150px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .28), rgba(0, 0, 0, .03));
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 18px;
}

.boot-mark {
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
}

.boot-line {
  width: 180px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .8);
}

.boot-line::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--sky));
  animation: loadSweep 1.2s ease infinite;
}

.site-shell {
  min-height: 100dvh;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 25;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 247, 242, .58)),
    rgba(255, 253, 248, .66);
  box-shadow: 0 18px 48px rgba(72, 49, 60, .1), var(--inner-glow);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 0 12px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--ink);
  font-weight: 900;
  background: linear-gradient(135deg, var(--soft-pink), var(--gold));
  box-shadow: 0 10px 24px rgba(255, 185, 212, .32);
}

.brand-badge.image-badge {
  width: 68px;
  height: 44px;
  overflow: hidden;
  padding: 4px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
}

.brand-badge.image-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 14px;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.nav a {
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: .2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  transform: translateY(-1px);
}

.nav a.active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(249, 215, 223, .82), rgba(244, 217, 167, .76));
  box-shadow: 0 10px 22px rgba(112, 69, 87, .1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  padding: 4px;
  gap: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .52);
  box-shadow: var(--shadow-soft), var(--inner-glow);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.lang-switch button {
  min-width: 38px;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: .2s ease;
}

.lang-switch button.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--soft-pink), var(--gold));
  box-shadow: 0 8px 16px rgba(255, 185, 212, .2);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 42px 0 34px;
}

.screen-section {
  min-height: 100vh;
  display: grid;
  align-items: center;
  scroll-margin-top: 74px;
}

html.front-book-mode,
body.front-book-mode {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

body.front-book-mode {
  padding-bottom: 0;
}

body.front-book-mode #app {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

body:not(.front-book-mode) {
  overflow: auto;
}

body.modal-open {
  overflow: hidden;
  padding-right: var(--modal-scrollbar-compensation, 0px);
}

body.modal-fixed-scroll {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

body.modal-scroll-locked .book-page.is-active {
  overflow: hidden;
  overscroll-behavior: contain;
}

.fullpage-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  perspective: 1800px;
  background: var(--cream-bg);
}

.book-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform: translateZ(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .42), inset -1px 0 0 rgba(74, 46, 58, .06);
}

.book-page:not(.is-active):not(.is-target):not(.is-previous) {
  overflow: hidden;
  pointer-events: none;
}

.book-page.is-active,
.book-page.is-previous,
.book-page.is-target {
  opacity: 1;
  visibility: visible;
}

.book-page.is-active {
  z-index: 2;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.book-page.is-previous,
.book-page.is-target {
  overflow: hidden;
  pointer-events: none;
}

.book-page.is-previous {
  z-index: 3;
}

.book-page.is-target {
  z-index: 4;
}

.fullpage-section {
  min-height: 100dvh;
  height: 100dvh;
  display: grid;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
}

.front-book-mode .site-shell {
  min-height: 100dvh;
  overflow: hidden;
}

.fullpage-section::before,
.fullpage-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.fullpage-section::before {
  right: -12vw;
  top: -18vh;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(223, 240, 251, .58), transparent 62%);
}

.fullpage-section::after {
  left: -10vw;
  bottom: -22vh;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(249, 215, 223, .46), transparent 62%);
}

.page-hero {
  background:
    linear-gradient(120deg, rgba(255, 253, 248, .96), rgba(234, 245, 250, .88) 55%, rgba(255, 242, 218, .88)),
    radial-gradient(circle at 52% 32%, rgba(255, 255, 255, .7), transparent 34%);
}

.page-categories {
  background: linear-gradient(125deg, rgba(255, 250, 242, .98), rgba(236, 246, 250, .9) 58%, rgba(248, 236, 250, .72));
}

.page-products {
  background: linear-gradient(124deg, rgba(255, 253, 248, .98), rgba(255, 238, 230, .72) 45%, rgba(226, 242, 248, .86));
}

.page-story {
  background: linear-gradient(122deg, rgba(250, 243, 234, .98), rgba(255, 253, 248, .88) 45%, rgba(225, 239, 246, .86));
}

.page-contact {
  background:
    linear-gradient(125deg, rgba(255, 246, 241, .98), rgba(237, 247, 251, .9) 52%, rgba(255, 244, 224, .82)),
    radial-gradient(circle at 48% 82%, rgba(249, 215, 223, .45), transparent 38%);
}

.page-inner {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100vw - 96px));
  min-height: 100dvh;
  height: auto;
  margin: 0 auto;
  padding-top: calc(var(--header-height, 96px) + 24px);
  padding-bottom: calc(var(--floating-inquiry-height, 112px) + 44px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.page-stack {
  display: grid;
  gap: 20px;
}

.fullpage-section .section-head {
  margin-bottom: 0;
}

.fullpage-section .section-head h2 {
  font-size: clamp(34px, 4.5vw, 60px);
}

.page-indicator {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 30;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.page-dot {
  width: 132px;
  min-height: 38px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .38);
  box-shadow: 0 12px 28px rgba(72, 49, 60, .08);
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.page-dot span {
  font-size: 11px;
  color: var(--dusty-rose);
}

.page-dot b {
  font-size: 13px;
  font-weight: 800;
}

.page-dot.active,
.page-dot:hover {
  color: var(--ink);
  transform: translateX(-4px);
  background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(249, 215, 223, .58));
}

.page-exit-forward {
  transform-origin: left center;
  animation: pageExitForward 720ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.page-enter-forward {
  transform-origin: right center;
  animation: pageEnterForward 720ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.page-exit-back {
  transform-origin: right center;
  animation: pageExitBack 720ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.page-enter-back {
  transform-origin: left center;
  animation: pageEnterBack 720ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.book-transition-shadow {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(74, 46, 58, .10), transparent 24%, transparent 76%, rgba(255, 255, 255, .28)),
    radial-gradient(circle at 16% 50%, rgba(74, 46, 58, .08), transparent 34%);
}

.book-transition-shadow.is-active {
  animation: bookShadowSweep 720ms cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1.04fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  padding-top: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, .84);
  background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 236, 247, .48));
  box-shadow: var(--shadow-soft), var(--inner-glow);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 12px 0 0 var(--gold), 24px 0 0 var(--sky);
}

.hero h1,
.hero-copy h1 {
  margin: 20px 0 18px;
  max-width: 720px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--ink);
}

.hero h1 span,
.hero-copy h1 span {
  display: block;
}

.hero p,
.hero-copy p {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-metrics span {
  min-width: 154px;
  padding: 12px 14px;
  border-radius: 24px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .46);
  box-shadow: var(--shadow-soft), var(--inner-glow);
}

.hero-metrics b {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.glass-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .86);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .36)),
    rgba(255, 255, 255, .52);
  box-shadow: var(--shadow-soft), var(--inner-glow);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transform: translateZ(0);
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
  user-select: none;
}

.glass-btn.primary {
  background: linear-gradient(135deg, rgba(255, 214, 232, .95), rgba(255, 230, 167, .9));
}

.glass-btn.sky {
  background: linear-gradient(135deg, rgba(221, 243, 255, .95), rgba(234, 215, 255, .88));
}

.glass-btn.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.glass-btn.ghost {
  background: rgba(255, 255, 255, .42);
}

.glass-btn::before {
  content: "";
  position: absolute;
  inset: -60% auto auto -30%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .82), transparent);
  transform: rotate(18deg) translateX(-120%);
  transition: transform .55s ease;
  z-index: -1;
}

.glass-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(88, 68, 91, .17);
}

.glass-btn:hover::before {
  transform: rotate(18deg) translateX(260%);
}

.glass-btn:active {
  transform: translateY(1px) scale(.97);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, .72);
  pointer-events: none;
  animation: ripple .58s ease-out forwards;
}

.hero-art {
  position: relative;
  min-height: 500px;
}

.hero-art-button {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  background: transparent;
}

.hero-art img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 34px 88px rgba(72, 70, 84, .22), var(--inner-glow);
  animation: floatToy 5.5s ease-in-out infinite;
}

.hero-note {
  position: absolute;
  left: 4%;
  bottom: 7%;
  width: min(260px, 52%);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero-note b {
  display: block;
  margin-bottom: 4px;
}

.hero-note span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section.compact {
  padding-top: 72px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.product-card,
.glass-panel,
.story-panel,
.reason-card,
.admin-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .84);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .38)),
    rgba(255, 255, 255, .48);
  box-shadow: var(--shadow-soft), var(--inner-glow);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
}

.category-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 196px;
  padding: 20px;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  clip-path: polygon(50% 0, 61% 34%, 98% 34%, 68% 55%, 79% 91%, 50% 69%, 21% 91%, 32% 55%, 2% 34%, 39% 34%);
  background: linear-gradient(135deg, rgba(255, 230, 167, .9), rgba(255, 214, 232, .74));
  opacity: .7;
  filter: drop-shadow(0 10px 18px rgba(255, 185, 212, .22));
}

.category-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, .96);
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.category-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 10px 24px rgba(88, 68, 91, .1);
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-copy,
.category-foot {
  position: relative;
  z-index: 1;
}

.category-index {
  position: relative;
  z-index: 1;
  color: rgba(112, 69, 87, .44);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.category-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.category-foot b {
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 12px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 35%), rgba(255, 255, 255, .88), transparent 32%);
  opacity: 0;
  transition: opacity .2s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, .96);
}

.product-card:hover::before {
  opacity: .7;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, .7);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.045) rotate(.7deg);
}

.product-body {
  position: relative;
  padding: 12px 4px 4px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-card h3 {
  margin: 6px 0;
  font-size: 19px;
  line-height: 1.22;
}

.product-card p {
  min-height: 42px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .82);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-actions .glass-btn {
  min-height: 44px;
  padding-inline: 10px;
}

.product-actions .product-inquiry-action {
  grid-column: 1 / -1;
}

.glass-btn.is-added {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(212, 238, 255, .84), rgba(255, 231, 240, .74)),
    rgba(255, 255, 255, .78);
}

.mini-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.mini-pager span {
  min-width: 48px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(420px, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.story-panel,
.contact-band {
  padding: clamp(34px, 4vw, 58px);
}

.story-panel h2,
.contact-band h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.08;
}

.story-panel p,
.contact-band p {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.95;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-story .reason-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}

.reason-card {
  padding: clamp(24px, 2.4vw, 34px);
  min-height: 178px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, .96);
}

.reason-card b {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(18px, 1.7vw, 24px);
}

.reason-card span {
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.8;
}

.story-side {
  display: grid;
  gap: 24px;
}

.story-heading h2 {
  max-width: 760px;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.04;
}

.contact-band {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .9);
  background:
    linear-gradient(135deg, rgba(255, 214, 232, .7), rgba(221, 243, 255, .72)),
    rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.contact-page-copy {
  padding: clamp(34px, 4vw, 58px);
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, .86);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 246, 250, .45)),
    rgba(255, 255, 255, .48);
  box-shadow: var(--shadow-soft), var(--inner-glow);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.contact-page-copy h2 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.04;
}

.contact-page-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.9;
}

.contact-card-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-method-card,
.contact-direct-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .84);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .4)),
    rgba(255, 255, 255, .5);
  box-shadow: var(--shadow-soft), var(--inner-glow);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.contact-method-card {
  min-height: 210px;
  padding: 26px;
}

.contact-method-card span {
  color: var(--dusty-rose);
  font-weight: 900;
}

.contact-method-card h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.contact-method-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-direct-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.contact-direct-panel a,
.contact-direct-panel button {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 28px;
  background: rgba(255, 255, 255, .52);
}

.contact-direct-panel span {
  color: var(--muted);
  font-size: 12px;
}

.contact-direct-panel b {
  overflow-wrap: anywhere;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.35;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(74, 46, 58, .22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .18s ease;
  overscroll-behavior: contain;
  contain: layout paint;
}

.modal {
  width: min(920px, 100%);
  max-height: min(92vh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  contain: content;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, .88);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 247, 251, .62)),
    rgba(255, 253, 248, .76);
  backdrop-filter: blur(16px) saturate(1.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.16);
  box-shadow: 0 28px 80px rgba(64, 46, 58, .28);
  animation: modalIn .22s ease;
  will-change: transform, opacity;
}

.modal-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  z-index: 1;
  background: rgba(255, 253, 248, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
  font-size: 22px;
}

.modal-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
}

.modal-body {
  padding: 20px;
}

.category-modal-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .44);
}

.category-modal-hero img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: 28px;
}

.category-modal-hero p {
  margin: 0 0 12px;
  color: var(--muted);
}

.modal-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modal-product-grid .product-image {
  aspect-ratio: 4 / 3;
}

.detail-modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) 1fr;
  gap: 20px;
  align-items: start;
}

.detail-modal-media {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .46);
}

.detail-modal-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
}

.detail-modal-copy p {
  margin-top: 0;
  color: var(--muted);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.inquiry-cart-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.inquiry-cart-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .78);
}

.inquiry-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}

.inquiry-cart-head span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .68);
}

.inquiry-cart-list,
.admin-inquiry-items {
  display: grid;
  gap: 10px;
}

.inquiry-cart-item,
.admin-inquiry-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .78);
}

.inquiry-cart-item img,
.admin-inquiry-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
}

.inquiry-cart-item h4,
.admin-inquiry-product h4 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.25;
}

.inquiry-cart-item p,
.admin-inquiry-product p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-inquiry-modal {
  width: min(1080px, 100%);
}

.admin-reply-form {
  margin-top: 16px;
}

.admin-reply-form textarea[name="admin_reply"] {
  min-height: 260px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.admin-reply-form input[readonly] {
  color: var(--muted);
  background: rgba(255, 255, 255, .58);
}

.inquiry-cart-empty {
  min-height: 120px;
}

.modal-product {
  position: sticky;
  top: 86px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .64);
  border: 1px solid rgba(255, 255, 255, .78);
}

.modal-product img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.modal-product h4 {
  margin: 12px 0 6px;
}

.info-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(138, 96, 112, .12);
  color: var(--muted);
}

.info-list strong {
  color: var(--ink);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-options .glass-btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  padding-inline: 12px;
  white-space: nowrap;
}

.inquiry-product-picker {
  margin: 0;
}

.inquiry-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.inquiry-top-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(255, 255, 255, .72);
}

.inquiry-form {
  align-items: start;
  padding: 2px;
}

.inquiry-reminder {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 24px;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(255, 246, 225, .86), rgba(255, 233, 239, .72));
  border: 1px solid rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(138, 96, 112, .1);
}

.inquiry-reminder span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .76);
}

.inquiry-reminder p {
  margin: 0;
  line-height: 1.65;
  font-size: 13px;
}

.inquiry-shell {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 215, 223, .5), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(223, 240, 251, .58), transparent 34%),
    linear-gradient(124deg, rgba(255, 253, 248, .98), rgba(235, 246, 250, .9) 58%, rgba(255, 244, 224, .78));
}

.inquiry-page {
  min-height: 100dvh;
  padding: calc(var(--header-height, 104px) + 26px) 0 80px;
  background:
    radial-gradient(circle at 15% 12%, rgba(232, 185, 200, .20), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(221, 235, 242, .28), transparent 32%),
    radial-gradient(circle at 75% 82%, rgba(247, 216, 168, .18), transparent 36%),
    linear-gradient(135deg, #fffdf8 0%, #fbf7f0 48%, #f7f1ea 100%);
}

.premium-inquiry-page > .container {
  width: min(1520px, calc(100vw - 72px));
}

.inquiry-hero-banner {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: 44px 56px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 214, 232, .42), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(223, 240, 251, .42), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 244, 230, .52));
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 28px 90px rgba(74, 46, 58, .12);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.inquiry-hero-banner .hero-copy {
  min-width: 0;
  padding-top: 0;
}

.inquiry-back-link {
  margin: 0 0 14px;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 850;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.premium-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 13px 0 0 var(--gold);
}

.inquiry-hero-banner h1 {
  max-width: 860px;
  margin: 18px 0 16px;
  color: var(--ink);
  font-size: clamp(46px, 5.8vw, 96px);
  line-height: .96;
  letter-spacing: 0;
}

.inquiry-hero-banner p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.78;
}

.hero-visual {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px 10px 0 40px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(223, 240, 251, .42)),
    linear-gradient(90deg, rgba(255, 224, 162, .18), rgba(239, 159, 185, .14));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 22px 58px rgba(74, 46, 58, .12);
  transform: rotate(-4deg);
}

.hero-visual-card {
  position: relative;
  z-index: 1;
  width: min(280px, 82%);
  aspect-ratio: 1.34;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .84);
  box-shadow: 0 24px 62px rgba(74, 46, 58, .15), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-visual > span {
  position: absolute;
  z-index: 2;
  width: 86px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 16px 34px rgba(74, 46, 58, .08);
}

.hero-visual > span:nth-of-type(1) {
  right: 14px;
  top: 26px;
}

.hero-visual > span:nth-of-type(2) {
  left: 26px;
  bottom: 18px;
  width: 118px;
}

.inquiry-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(420px, .75fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 0;
}

.inquiry-product-selector,
.inquiry-page-list,
.inquiry-page-form-panel,
.inquiry-success-page {
  padding: 34px;
  border-radius: 40px;
}

.inquiry-product-selector {
  min-width: 0;
  height: min(980px, max(720px, calc(100dvh - 190px)));
  min-height: 720px;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .76);
  box-shadow: 0 24px 70px rgba(74, 46, 58, .10);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.inquiry-page-list {
  position: sticky;
  top: calc(var(--header-height, 104px) + 24px);
  height: min(980px, max(720px, calc(100dvh - 190px)));
  min-height: 720px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 24px 70px rgba(74, 46, 58, .11);
}

.inquiry-page-form-panel {
  grid-column: 1 / -1;
  margin-top: 0;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 24px 70px rgba(74, 46, 58, .10);
}

.inquiry-page-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.inquiry-panel-header,
.selected-panel-header {
  flex: 0 0 auto;
}

.inquiry-page-panel-head h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.12;
}

.inquiry-page-panel-head p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.inquiry-selector-layout {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding-right: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.inquiry-category-panel,
.inquiry-products-panel {
  min-width: 0;
}

.inquiry-category-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .46);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 18px 44px rgba(74, 46, 58, .06);
}

.inquiry-selector-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 900;
}

.inquiry-category-panel > .inquiry-selector-label,
.inquiry-products-toolbar {
  flex: 0 0 auto;
}

.inquiry-category-tabs {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 8px 18px 2px;
  margin: -2px 0 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 130, 149, .42) transparent;
  scroll-snap-type: y proximity;
  touch-action: pan-y;
}

.inquiry-category-tab {
  width: 100%;
  min-height: 112px;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 10px;
  padding: 18px 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 36px rgba(74, 46, 58, .08);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.inquiry-category-tabs::-webkit-scrollbar {
  width: 6px;
}

.inquiry-category-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.inquiry-category-tabs::-webkit-scrollbar-thumb {
  background: rgba(185, 130, 149, .35);
  border-radius: 999px;
}

.inquiry-category-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(185, 130, 149, .55);
}

.inquiry-category-tab:hover,
.inquiry-category-tab.active {
  transform: translateY(-4px);
  border-color: rgba(232, 185, 200, .65);
  background:
    linear-gradient(135deg, rgba(255, 230, 167, .35), rgba(255, 214, 232, .28)),
    rgba(255, 255, 255, .78);
  box-shadow: 0 20px 54px rgba(185, 130, 149, .16);
}

.inquiry-category-thumb {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(223, 240, 251, .72), rgba(255, 244, 224, .8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.inquiry-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inquiry-category-name {
  font-weight: 900;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.24;
}

.inquiry-category-tab small {
  color: var(--muted);
  font-size: 12px;
}

.inquiry-products-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .46);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 18px 44px rgba(74, 46, 58, .06);
}

.inquiry-products-toolbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 16px;
  align-items: end;
}

.inquiry-product-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 6px 14px 2px;
  -webkit-overflow-scrolling: touch;
}

.inquiry-product-scroll,
.selected-products-scroll,
.inquiry-selector-layout,
.inquiry-category-tabs {
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 130, 149, .42) transparent;
}

.inquiry-product-scroll::-webkit-scrollbar,
.selected-products-scroll::-webkit-scrollbar,
.inquiry-selector-layout::-webkit-scrollbar,
.inquiry-category-tabs::-webkit-scrollbar {
  width: 6px;
}

.inquiry-product-scroll::-webkit-scrollbar-track,
.selected-products-scroll::-webkit-scrollbar-track,
.inquiry-selector-layout::-webkit-scrollbar-track,
.inquiry-category-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.inquiry-product-scroll::-webkit-scrollbar-thumb,
.selected-products-scroll::-webkit-scrollbar-thumb,
.inquiry-selector-layout::-webkit-scrollbar-thumb,
.inquiry-category-tabs::-webkit-scrollbar-thumb {
  background: rgba(185, 130, 149, .35);
  border-radius: 999px;
}

.inquiry-product-scroll::-webkit-scrollbar-thumb:hover,
.selected-products-scroll::-webkit-scrollbar-thumb:hover,
.inquiry-selector-layout::-webkit-scrollbar-thumb:hover,
.inquiry-category-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(185, 130, 149, .55);
}

.inquiry-products-toolbar strong {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.18;
}

.inquiry-search {
  min-width: 0;
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(218, 196, 204, .7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  justify-self: end;
}

.inquiry-search span {
  color: var(--muted);
  font-size: 20px;
}

.inquiry-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.inquiry-select-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-select-product-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 14px 42px rgba(74, 46, 58, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.inquiry-select-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 220, 165, .76);
  box-shadow: 0 24px 56px rgba(72, 49, 60, .12);
}

.inquiry-select-image {
  grid-row: auto;
  width: 96px;
  height: 96px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}

.inquiry-select-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.inquiry-select-product-card:hover .inquiry-select-image img {
  transform: scale(1.04);
}

.inquiry-select-copy {
  min-width: 0;
}

.inquiry-select-category,
.inquiry-select-sku,
.inquiry-select-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.inquiry-select-copy h3 {
  margin: 3px 0 5px;
  font-size: 17px;
  line-height: 1.24;
}

.inquiry-select-desc {
  display: -webkit-box;
  margin-top: 6px;
  min-height: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.inquiry-select-actions {
  grid-column: 3;
  align-self: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
}

.inquiry-select-actions .glass-btn {
  flex: 0 0 auto;
  min-width: 118px;
  width: 100%;
  justify-content: center;
}

.inquiry-picker-pager {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
}

.compact-empty {
  min-height: 260px;
}

.loading-dot {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(239, 159, 185, .18);
  border-top-color: rgba(239, 159, 185, .8);
  border-radius: 999px;
  animation: spin .8s linear infinite;
}

.inquiry-page-count {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .82);
  font-weight: 850;
}

.inquiry-page-products {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 6px 18px 2px;
  -webkit-overflow-scrolling: touch;
}

.selected-panel-footer {
  flex: 0 0 auto;
  padding-top: 8px;
}

.selected-summary {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 244, 230, .42)),
    rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 16px 42px rgba(74, 46, 58, .08);
}

.selected-summary .submit-anchor {
  width: 100%;
  justify-content: center;
  min-height: 52px;
}

.inquiry-page-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 16px 34px rgba(72, 49, 60, .08);
  transition: opacity .18s ease, transform .18s ease, max-height .18s ease, margin .18s ease, padding .18s ease;
}

.inquiry-page-product.is-removing {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateX(14px) scale(.98);
  overflow: hidden;
}

.inquiry-page-product img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
}

.inquiry-page-product h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.inquiry-page-product p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.compact-row {
  gap: 8px;
}

.inquiry-page-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
  border-radius: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, .54);
  border: 1px solid rgba(255, 255, 255, .76);
}

.inquiry-page-empty span {
  color: rgba(239, 159, 185, .9);
  font-size: 54px;
}

.inquiry-page-empty p {
  max-width: 420px;
  margin: 0;
  line-height: 1.7;
}

.inquiry-page-form {
  margin-top: 18px;
}

.inquiry-contact-form-section {
  scroll-margin-top: calc(var(--header-height, 104px) + 28px);
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inquiry-form-grid .wide,
.inquiry-form-grid .full {
  grid-column: 1 / -1;
}

.inquiry-page-error {
  display: none;
  padding: 12px 14px;
  border-radius: 18px;
  color: #9f4d5c;
  background: rgba(255, 237, 241, .82);
  border: 1px solid rgba(189, 109, 120, .18);
}

.inquiry-page-error.is-visible {
  display: block;
}

.submit-wide {
  width: 100%;
  min-height: 54px;
  justify-content: center;
}

.inquiry-success-page {
  grid-column: 1 / -1;
  min-height: min(560px, calc(100dvh - var(--header-height, 104px) - 180px));
  display: grid;
  align-content: center;
  gap: 18px;
  text-align: left;
}

.inquiry-success-page h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1;
}

.inquiry-success-page p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.75;
}

.inquiry-success-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 14px;
}

.inquiry-success-stats span {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .78);
}

.inquiry-success-stats b {
  color: var(--ink);
  overflow-wrap: anywhere;
}

body.inquiry-page-active .floating-inquiry-pill {
  display: none;
}

@media (max-width: 1180px) {
  .premium-inquiry-page > .container {
    width: min(100%, calc(100vw - 40px));
  }

  .inquiry-hero-banner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    padding: 38px;
  }

  .inquiry-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiry-page-list {
    position: static;
    height: min(620px, max(480px, 62dvh));
    min-height: 480px;
  }

  .inquiry-products-toolbar {
    grid-template-columns: 1fr;
  }

  .inquiry-category-tabs {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .inquiry-category-tab {
    min-height: 118px;
    padding: 18px 20px;
  }

  .inquiry-select-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .inquiry-select-product-grid {
    grid-template-columns: 1fr;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid.inquiry-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid.inquiry-form-grid .wide,
.form-grid.inquiry-form-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
}

.field-help,
.field-error {
  display: block;
  font-size: 12px;
  line-height: 1.55;
}

.field-help {
  color: var(--muted);
}

.field-error {
  min-height: 18px;
  color: #bd6d78;
}

.input,
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 20px;
  color: var(--ink);
  border: 1px solid rgba(138, 96, 112, .18);
  background: rgba(255, 255, 255, .78);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.inquiry-form .wide:last-child {
  display: flex;
  justify-content: flex-end;
}

.inquiry-form .wide:last-child .glass-btn {
  min-width: 220px;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.input:focus {
  border-color: rgba(255, 185, 212, .9);
  box-shadow: 0 0 0 4px rgba(255, 214, 232, .34);
  background: rgba(255, 255, 255, .94);
}

.field.has-error input {
  border-color: rgba(223, 119, 129, .82);
  box-shadow: 0 0 0 4px rgba(255, 205, 207, .28);
  background: rgba(255, 250, 249, .96);
}

.detail-page {
  padding: 132px 0 120px;
}

.category-hero {
  min-height: calc(72vh - 74px);
  display: grid;
  align-items: center;
  padding: 132px 0 34px;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
  gap: 30px;
  align-items: center;
}

.category-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.category-hero p {
  max-width: 660px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.category-hero-art {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow);
}

.category-hero-art img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 28px;
}

.contact-floating-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  padding: 16px 18px 16px 22px;
  border-radius: 40px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .78);
  background:
    linear-gradient(135deg, rgba(255, 214, 232, .72), rgba(207, 239, 255, .68)),
    rgba(255, 255, 255, .56);
  box-shadow: 0 24px 60px rgba(80, 55, 35, .16), var(--inner-glow);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.floating-inquiry-pill {
  right: 24px;
  left: auto;
  bottom: 22px;
  width: auto;
  max-width: min(760px, calc(100% - 48px));
  display: inline-flex;
  grid-template-columns: none;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  transform: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(249, 215, 223, .52)),
    rgba(255, 253, 248, .62);
  box-shadow: 0 18px 48px rgba(72, 49, 60, .13), var(--inner-glow);
}

.floating-inquiry-pill .glass-btn,
.pill-contact {
  white-space: nowrap;
}

body.modal-open .floating-inquiry-pill,
body.keyboard-open .floating-inquiry-pill,
body.input-focused .floating-inquiry-pill {
  display: none;
}

.pill-contact {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .42);
}

button.pill-contact {
  cursor: pointer;
}

.contact-floating-copy {
  min-width: 0;
}

.contact-floating-copy b {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.contact-floating-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.contact-floating-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-media {
  position: sticky;
  top: 96px;
  padding: 12px;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.detail-thumbs img {
  aspect-ratio: 1;
  border-radius: 18px;
}

.detail-content h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.detail-lead {
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}

.detail-info-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.detail-info-card {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .82);
  box-shadow: 0 18px 48px rgba(72, 49, 60, .08), var(--inner-glow);
}

.detail-info-card.wide {
  grid-column: 1 / -1;
}

.detail-info-card h2 {
  margin: 0 0 14px;
  font-size: clamp(19px, 2vw, 28px);
}

.detail-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.detail-info-card p + p {
  margin-top: 12px;
}

.detail-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(138, 96, 112, .12);
}

.detail-info-row:last-child {
  border-bottom: 0;
}

.detail-info-row span {
  color: var(--muted);
}

.detail-info-row b {
  max-width: 62%;
  color: var(--ink);
  text-align: right;
  line-height: 1.5;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.spec {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .78);
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.spec b {
  display: block;
  margin-top: 4px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 253, 248, .74);
  backdrop-filter: blur(18px);
}

.admin-sidebar .brand {
  margin-bottom: 24px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav button {
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  background: transparent;
}

.admin-nav button.active,
.admin-nav button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
}

.admin-main {
  padding: 24px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card {
  padding: 18px;
  margin-bottom: 16px;
}

.admin-card h2,
.admin-card h3 {
  margin: 0 0 14px;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-card-head h2 {
  margin-bottom: 6px;
}

.admin-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.admin-count-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .88);
}

.admin-section-title {
  margin: 20px 0 4px !important;
  padding-top: 18px;
  color: var(--ink);
  border-top: 1px solid rgba(138, 96, 112, .14);
}

.cms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255, 255, 255, .82);
}

.cms-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(255, 255, 255, .68);
}

.cms-tabs button.active,
.cms-tabs button:hover {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 218, 226, .82), rgba(255, 237, 178, .72));
}

.cms-panel {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cms-panel.active {
  display: grid;
}

.cms-image-field {
  gap: 10px;
}

.cms-image-preview {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(138, 96, 112, .16);
}

.cms-image-preview img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 10px;
}

.cms-image-preview.empty {
  border-style: dashed;
}

.cms-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-image-actions input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-subsection-title {
  margin: 10px 0 0 !important;
  color: var(--muted);
  font-size: 14px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .72);
}

.admin-row.active {
  background: linear-gradient(135deg, rgba(255, 224, 232, .78), rgba(221, 243, 255, .72));
  border-color: rgba(255, 255, 255, .95);
}

.admin-row img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
}

.admin-row h4 {
  margin: 0 0 4px;
}

.admin-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.category-product-manager {
  border-color: rgba(255, 255, 255, .92);
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(238, 250, 255, .62));
}

.product-scope-list {
  margin-top: 10px;
}

.readonly-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .78);
}

.security-status,
.security-note {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .78);
}

.security-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.security-status span,
.security-note {
  color: var(--muted);
}

.security-note {
  margin-top: 12px;
  line-height: 1.7;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-stack {
  align-content: center;
  gap: 18px;
}

.login-card {
  width: min(430px, 100%);
  padding: 26px;
}

.login-card h1 {
  margin: 18px 0 10px;
}

.login-card[hidden] {
  display: none;
}

.login-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.login-text-btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.login-text-btn:hover {
  color: var(--ink);
}

.password-reset-card {
  width: min(520px, 100%);
}

.reset-status {
  margin: 8px 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  line-height: 1.7;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .78);
}

.toast-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  animation: toastIn .2s ease;
}

.empty {
  padding: 20px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(138, 96, 112, .25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .38);
}

.hidden {
  display: none !important;
}

@keyframes loadSweep {
  from { transform: translateX(-90%); }
  to { transform: translateX(260%); }
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

@keyframes floatToy {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pageExitForward {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    filter: brightness(1);
  }
  100% {
    opacity: 0;
    transform: rotateY(-16deg) translateX(-7%) scale(.985);
    filter: brightness(.96);
  }
}

@keyframes pageEnterForward {
  0% {
    opacity: 0;
    transform: rotateY(16deg) translateX(8%) scale(.985);
    filter: brightness(1.04);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes pageExitBack {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    filter: brightness(1);
  }
  100% {
    opacity: 0;
    transform: rotateY(16deg) translateX(7%) scale(.985);
    filter: brightness(.96);
  }
}

@keyframes pageEnterBack {
  0% {
    opacity: 0;
    transform: rotateY(-16deg) translateX(-8%) scale(.985);
    filter: brightness(1.04);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes bookShadowSweep {
  0%, 100% { opacity: 0; }
  45% { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  body {
    padding-bottom: 180px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero-grid,
  .story-grid,
  .detail-grid,
  .category-hero-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .modal-product {
    position: static;
  }

  .contact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-art {
    min-height: auto;
  }

  .screen-section {
    min-height: auto;
  }

  .category-grid,
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-media {
    position: static;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-floating-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .contact-floating-actions {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 210px;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-badge {
    width: 38px;
    height: 38px;
  }

  .brand-badge.image-badge {
    width: 58px;
    height: 38px;
    padding: 3px;
    border-radius: 16px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .category-hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 15px;
  }

  .section {
    padding: 56px 0;
  }

  .section.compact {
    padding-top: 56px;
  }

  .section-head,
  .footer-inner,
  .admin-top {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid,
  .reason-grid,
  .form-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .admin-row {
    grid-template-columns: 58px 1fr;
  }

  .admin-actions {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .admin-main {
    padding: 14px;
  }

  .modal-body {
    padding: 14px;
  }

  .modal {
    border-radius: 28px;
  }

  .inquiry-top-card {
    padding: 12px;
    border-radius: 22px;
  }

  .inquiry-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cms-panel {
    grid-template-columns: 1fr;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .inquiry-reminder {
    grid-template-columns: 30px 1fr;
    padding: 12px;
  }

  .inquiry-form .wide:last-child,
  .inquiry-form .wide:last-child .glass-btn {
    width: 100%;
    min-width: 0;
  }

  .contact-floating-bar {
    bottom: 12px;
    width: calc(100% - 20px);
    padding: 14px;
    border-radius: 28px;
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
  }

  .contact-floating-copy b {
    font-size: 16px;
  }

  .contact-floating-copy span {
    font-size: 12px;
  }

  .contact-floating-actions .glass-btn {
    flex: 1 1 auto;
    min-width: 42%;
  }

  .category-card,
  .product-card,
  .story-panel,
  .reason-card,
  .admin-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .toast-host {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 980px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 28px;
  }

  .fullpage-section {
    padding: 112px 0 86px;
  }

  .page-indicator {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 74px;
    grid-auto-flow: column;
    grid-auto-columns: auto;
    transform: translateX(-50%);
  }

  .page-dot {
    width: 38px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 6px;
  }

  .page-dot b {
    display: none;
  }

  .page-dot.active,
  .page-dot:hover {
    transform: translateY(-3px);
  }

  .floating-inquiry-pill {
    left: 50%;
    right: auto;
    bottom: 14px;
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    width: auto;
    max-width: calc(100% - 20px);
    transform: translateX(-50%);
  }

  .contact-floating-actions {
    justify-content: center;
  }

  .modal-product-grid {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-card-stack {
    grid-template-columns: 1fr;
  }

  .contact-method-card {
    min-height: auto;
    padding: 20px;
  }

  .contact-method-card h3 {
    margin-top: 12px;
  }

  .contact-direct-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.front-book-mode {
    padding-bottom: 0;
  }

  .site-header {
    top: 8px;
    border-radius: 24px;
  }

  .header-inner {
    padding: 8px 10px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand span span {
    display: none;
  }

  .fullpage-section {
    padding: 126px 0 86px;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
    margin: 14px 0 10px;
  }

  .hero-copy p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .hero-metrics {
    margin-top: 14px;
  }

  .hero-metrics span {
    min-width: 126px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .hero-art img {
    max-height: 30vh;
    object-fit: cover;
  }

  .hero-note {
    display: none;
  }

  .fullpage-section .section-head h2 {
    font-size: 30px;
  }

  body.front-book-mode .section-head {
    gap: 10px;
  }

  body.front-book-mode .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.front-book-mode .category-card {
    min-height: 146px;
    padding: 12px;
    border-radius: 24px;
  }

  body.front-book-mode .category-icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
  }

  body.front-book-mode .category-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  body.front-book-mode .category-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
  }

  body.front-book-mode .category-foot {
    font-size: 11px;
  }

  body.front-book-mode .product-grid {
    grid-template-columns: 1fr;
  }

  body.front-book-mode .product-card {
    max-width: 430px;
    margin: 0 auto;
  }

  body.front-book-mode .product-image {
    aspect-ratio: 16 / 9;
  }

  .page-story .story-grid {
    gap: 12px;
  }

  .page-story .story-panel,
  .page-story .reason-card {
    padding: 14px;
    border-radius: 24px;
  }

  .page-story .story-panel h2,
  .page-story .story-heading h2 {
    font-size: 26px;
  }

  .page-story .story-panel p,
  .page-story .reason-card span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 12px;
  }

  .page-story .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-story .reason-card {
    min-height: 116px;
  }

  .page-story .reason-card b {
    font-size: 14px;
  }

  .contact-page-copy {
    padding: 18px;
    border-radius: 26px;
  }

  .contact-page-copy h2 {
    margin: 10px 0;
    font-size: 32px;
  }

  .contact-page-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 14px;
    font-size: 13px;
  }

  .contact-card-stack {
    gap: 10px;
  }

  .contact-method-card {
    padding: 14px;
    border-radius: 24px;
  }

  .contact-method-card h3 {
    margin: 6px 0 4px;
    font-size: 16px;
  }

  .contact-method-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
  }

  .contact-direct-panel {
    padding: 10px;
    gap: 8px;
    border-radius: 24px;
  }

  .contact-direct-panel a,
  .contact-direct-panel button {
    padding: 10px 12px;
    border-radius: 18px;
  }

  .contact-direct-panel b {
    font-size: 13px;
  }

  .mini-pager {
    justify-content: flex-start;
  }

  .floating-inquiry-pill .phone-contact {
    display: none;
  }

  .page-indicator {
    bottom: 106px;
  }

  .pill-contact {
    max-width: 178px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-modal-hero,
  .detail-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --mobile-header-height: 112px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  html.front-book-mode,
  body.front-book-mode {
    height: 100%;
    overflow: hidden;
  }

  body.front-book-mode #app,
  .front-book-mode .site-shell,
  .fullpage-shell {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .fullpage-shell {
    perspective: 900px;
  }

  .book-page {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .book-page.is-active {
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: auto;
  }

  .book-page.is-previous,
  .book-page.is-target {
    overflow: hidden;
  }

  .fullpage-section {
    height: auto;
    min-height: 100dvh;
    align-items: stretch;
    overflow: visible;
    padding: 0;
  }

  .page-inner {
    width: min(100%, 1180px);
    min-height: 100dvh;
    height: auto;
    padding-top: calc(var(--mobile-header-height, 112px) + 16px);
    padding-bottom: calc(160px + env(safe-area-inset-bottom));
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 20px);
    border-radius: 24px;
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
  }

  .header-inner {
    min-height: auto;
    padding: 10px;
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand span span {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .hero-grid,
  .story-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  .hero-copy p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .glass-btn {
    min-height: 44px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  .hero-metrics span {
    width: 100%;
    min-width: 0;
  }

  .hero-art img {
    max-height: none;
    object-fit: contain;
  }

  .hero-note {
    display: block;
    position: static;
    width: min(100%, 340px);
    margin: -8px auto 0;
  }

  .page-stack {
    gap: 18px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fullpage-section .section-head h2 {
    font-size: clamp(30px, 8.5vw, 44px);
  }

  body.front-book-mode .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.front-book-mode .category-card {
    min-height: auto;
    padding: 22px;
    border-radius: 28px;
  }

  body.front-book-mode .category-card p,
  .page-story .story-panel p,
  .page-story .reason-card span,
  .contact-page-copy p,
  .contact-method-card p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  body.front-book-mode .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.front-book-mode .product-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  body.front-book-mode .product-image {
    aspect-ratio: 4 / 3;
  }

  .page-story .reason-grid,
  .contact-card-stack,
  .contact-direct-panel {
    grid-template-columns: 1fr;
  }

  .page-story .reason-card {
    min-height: auto;
  }

  .contact-page-copy,
  .page-story .story-panel,
  .page-story .reason-card {
    border-radius: 26px;
  }

  .floating-inquiry-pill {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: auto;
    max-width: none;
    padding: 10px;
    border-radius: 999px;
    transform: none;
  }

  .floating-inquiry-pill .phone-contact,
  .floating-inquiry-pill .email-contact,
  .floating-inquiry-pill .pill-contact {
    display: none;
  }

  .floating-inquiry-pill .glass-btn {
    min-width: 0;
    min-height: 44px;
    padding-inline: 10px;
  }

  .page-indicator {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .modal,
  .glass-modal {
    width: min(92vw, 460px);
    max-height: 88dvh;
    overflow-y: auto;
    border-radius: 28px;
  }

  .modal-body {
    overflow: visible;
  }

  .category-modal-hero,
  .detail-modal-grid,
  .category-hero-grid,
  .detail-grid,
  .detail-info-layout,
  .inquiry-cart-grid,
  .inquiry-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .detail-page {
    padding: calc(var(--mobile-header-height, 112px) + 16px) 0 calc(160px + env(safe-area-inset-bottom));
  }

  .detail-page .container {
    width: min(100% - 24px, 1180px);
  }

  .detail-media,
  .inquiry-cart-panel,
  .modal-product {
    position: static;
    top: auto;
  }

  .detail-content h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  .detail-info-card {
    padding: 20px;
    border-radius: 28px;
  }

  .detail-info-row {
    display: grid;
    gap: 6px;
  }

  .detail-info-row b {
    max-width: none;
    text-align: left;
  }

  .inquiry-cart-panel {
    order: -1;
    padding: 12px;
    border-radius: 26px;
  }

  .inquiry-cart-item,
  .admin-inquiry-product {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
  }

  .inquiry-cart-item img,
  .admin-inquiry-product img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .inquiry-cart-item .glass-btn,
  .admin-inquiry-product .glass-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .category-hero {
    min-height: auto;
    padding: calc(var(--mobile-header-height, 112px) + 16px) 0 calc(150px + env(safe-area-inset-bottom));
  }

  .inquiry-top-card,
  .inquiry-reminder {
    align-items: flex-start;
  }

  .inquiry-form .wide:last-child,
  .inquiry-form .wide:last-child .glass-btn {
    grid-column: 1;
  }

  .page-enter-forward,
  .page-exit-forward,
  .page-enter-back,
  .page-exit-back {
    animation-duration: 520ms;
  }
}

/* Final responsive fullpage safety layer: keep the book shell, let the active page scroll. */
html.front-book-mode,
body.front-book-mode {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

body.front-book-mode #app,
.front-book-mode .site-shell,
.fullpage-shell {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.book-page {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.book-page:not(.is-active):not(.is-target):not(.is-previous),
.book-page.is-previous,
.book-page.is-target {
  overflow: hidden;
  pointer-events: none;
}

.book-page.is-active {
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: auto;
}

.fullpage-section {
  min-height: 100dvh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
}

.page-inner,
.book-page-inner,
.section-inner {
  width: min(1400px, calc(100vw - 96px));
  min-height: 100dvh;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  padding-top: calc(var(--header-height, 96px) + 24px);
  padding-bottom: calc(var(--floating-inquiry-height, 112px) + 44px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .page-inner,
  .book-page-inner,
  .section-inner {
    width: min(1400px, calc(100vw - 96px));
    padding-top: calc(var(--header-height, 92px) + 24px);
    padding-bottom: calc(var(--floating-inquiry-height, 104px) + 40px);
  }
}

@media (max-width: 1024px) {
  .page-inner,
  .book-page-inner,
  .section-inner {
    width: calc(100vw - 48px);
    min-height: 100dvh;
    padding-top: calc(var(--mobile-header-height, var(--header-height, 112px)) + 20px);
    padding-bottom: calc(var(--floating-inquiry-height, 118px) + 52px + env(safe-area-inset-bottom));
  }

  .page-indicator {
    bottom: calc(var(--floating-inquiry-height, 118px) + 18px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--floating-inquiry-height, 118px) + 54px + env(safe-area-inset-bottom));
  }

  .fullpage-shell,
  .book-page,
  .fullpage-section {
    height: 100dvh;
    min-height: 100dvh;
  }

  .book-page {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-inner,
  .book-page-inner,
  .section-inner {
    width: calc(100vw - 28px);
    min-height: 100dvh;
    height: auto;
    padding-top: calc(var(--mobile-header-height, var(--header-height, 118px)) + 18px);
    padding-bottom: calc(var(--floating-inquiry-height, 118px) + 64px + env(safe-area-inset-bottom));
  }

  .hero-grid,
  .story-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1,
  .hero h1 {
    font-size: clamp(36px, 10vw, 56px);
    line-height: 1.08;
  }

  .hero-copy p,
  .hero p {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions,
  .button-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .glass-btn,
  .button-row .glass-btn {
    flex: 1 1 150px;
    min-width: 0;
  }

  .hero-art {
    min-height: 240px;
  }

  .hero-art img {
    width: 100%;
    max-height: none;
    object-fit: contain;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.front-book-mode .category-grid,
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.front-book-mode .category-card,
  .category-card {
    min-height: auto;
    padding: 22px;
    border-radius: 28px;
  }

  body.front-book-mode .category-card p,
  .category-card p,
  .page-story .story-panel p,
  .page-story .reason-card span,
  .contact-page-copy p,
  .contact-method-card p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  body.front-book-mode .product-grid,
  .hot-products-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.front-book-mode .product-card,
  .product-card {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 16px;
    border-radius: 28px;
  }

  body.front-book-mode .product-image,
  .product-card-image,
  .product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .story-layout,
  .contact-layout,
  .brand-layout,
  .story-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-grid,
  .page-story .reason-grid,
  .contact-cards,
  .contact-card-stack,
  .contact-direct-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brand-story-card,
  .why-card,
  .contact-card,
  .story-panel,
  .reason-card,
  .contact-page-copy,
  .contact-method-card,
  .contact-direct-panel {
    border-radius: 28px;
  }

  .story-panel,
  .reason-card,
  .contact-page-copy,
  .contact-method-card {
    min-height: auto;
  }

  .floating-inquiry-pill {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: auto;
    max-width: none;
    padding: 10px;
    border-radius: 999px;
    transform: none;
  }

  .glass-modal,
  .inquiry-modal,
  .inquiry-cart-modal,
  .modal {
    width: min(92vw, 460px);
    max-height: 88dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 28px;
  }

  .modal-backdrop {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .page-inner,
  .book-page-inner,
  .section-inner {
    width: calc(100vw - 22px);
    padding-top: calc(var(--mobile-header-height, var(--header-height, 112px)) + 14px);
    padding-bottom: calc(var(--floating-inquiry-height, 124px) + 62px + env(safe-area-inset-bottom));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions .glass-btn,
  .button-row .glass-btn {
    flex-basis: 100%;
  }
}

@media (max-height: 760px) {
  .book-page {
    overflow-y: auto;
  }

  .page-inner,
  .book-page-inner,
  .section-inner {
    min-height: auto;
    padding-top: calc(var(--header-height, 90px) + 18px);
    padding-bottom: calc(var(--floating-inquiry-height, 112px) + 44px + env(safe-area-inset-bottom));
  }
}

@media (max-height: 640px) {
  .page-inner,
  .book-page-inner,
  .section-inner {
    padding-top: calc(var(--header-height, 80px) + 14px);
    padding-bottom: calc(var(--floating-inquiry-height, 118px) + 52px + env(safe-area-inset-bottom));
  }
}

/* Advanced local interaction effects */
.fly-to-inquiry-clone {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(72, 49, 60, .22);
  opacity: .96;
  will-change: transform, opacity;
  transition: transform .66s cubic-bezier(.22, 1, .36, 1), opacity .66s ease;
}

.floating-inquiry-pill.is-bumping {
  animation: inquiryBump .44s cubic-bezier(.2, 1.28, .38, 1);
}

.floating-inquiry-pill.has-items .glass-btn:first-child::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 6px rgba(239, 159, 185, .14);
}

.inquiry-expand-backdrop {
  animation: inquiryBackdropIn .22s ease both;
}

.inquiry-expand-backdrop.is-closing {
  animation: inquiryBackdropOut .24s ease both;
}

.inquiry-expand-modal {
  transform-origin: var(--inquiry-origin-x, 50%) var(--inquiry-origin-y, 100%);
  animation: inquiryCapsuleOpen .28s cubic-bezier(.2, .92, .28, 1) both;
  will-change: transform, opacity;
}

.inquiry-expand-backdrop.is-closing .inquiry-expand-modal {
  animation: inquiryCapsuleClose .2s cubic-bezier(.4, 0, .2, 1) both;
}

.inquiry-expand-modal .modal-head,
.inquiry-expand-modal .modal-body {
  animation: modalContentReveal .36s ease both;
  animation-delay: .08s;
}

.inquiry-form {
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}

.inquiry-panel.has-success {
  display: grid;
  align-items: center;
}

.inquiry-form.is-submitted {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(2px);
}

.inquiry-success-card {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .86);
  background:
    linear-gradient(135deg, rgba(221, 243, 255, .88), rgba(255, 236, 247, .84)),
    rgba(255, 255, 255, .68);
  box-shadow: var(--shadow-soft), var(--inner-glow);
  animation: successCardIn .34s ease both;
}

.inquiry-success-card span {
  color: var(--dusty-rose);
  font-size: 12px;
  font-weight: 900;
}

.inquiry-success-card h4 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}

.inquiry-success-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.75;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 167, .62), inset 0 0 46px rgba(255, 230, 167, .18);
  transition: opacity .24s ease;
}

.product-card:hover::after,
.product-card.is-leaving::after {
  opacity: 1;
}

.product-actions {
  opacity: .86;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.product-card:hover .product-actions,
.product-card:focus-within .product-actions,
.product-card.is-leaving .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover .tag {
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
}

.product-card.is-leaving {
  pointer-events: none;
  transform: translateY(-6px) scale(.985);
  opacity: .74;
}

.product-card.is-leaving .product-image img {
  transform: scale(1.065);
}

body.route-transition-out .site-shell {
  opacity: .14;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.detail-enter-page .detail-media {
  animation: detailImageIn .44s cubic-bezier(.22, 1, .36, 1) both;
}

.detail-enter-page .detail-content {
  animation: detailContentIn .46s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: .06s;
}

.detail-enter-page .detail-info-card {
  animation: detailContentIn .42s cubic-bezier(.22, 1, .36, 1) both;
}

.detail-enter-page .detail-info-card:nth-child(2) { animation-delay: .05s; }
.detail-enter-page .detail-info-card:nth-child(3) { animation-delay: .09s; }
.detail-enter-page .detail-info-card:nth-child(4) { animation-delay: .13s; }
.detail-enter-page .detail-info-card:nth-child(5) { animation-delay: .17s; }

.detail-main-button {
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .42);
}

.detail-main-image {
  transition: opacity .22s ease, transform .28s ease, filter .22s ease;
}

.detail-main-image.is-switching {
  opacity: 0;
  transform: scale(1.015);
  filter: blur(4px);
}

.detail-thumbs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.detail-thumb {
  min-width: 0;
  padding: 4px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .44);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.detail-thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.detail-thumb.active,
.detail-thumb:hover {
  border-color: rgba(239, 159, 185, .72);
  box-shadow: 0 12px 28px rgba(112, 69, 87, .14);
  transform: translateY(-2px);
}

.image-preview-backdrop {
  z-index: 95;
}

.image-preview-modal {
  position: relative;
  width: min(92vw, 920px);
  max-height: 90dvh;
  padding: 12px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, .88);
  background: rgba(255, 253, 248, .78);
  box-shadow: var(--shadow);
  animation: modalIn .22s ease both;
}

.image-preview-modal img {
  width: 100%;
  max-height: calc(90dvh - 24px);
  object-fit: contain;
  border-radius: 26px;
}

.image-preview-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
}

.glass-btn.is-loading {
  pointer-events: none;
  opacity: .82;
}

.glass-btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid rgba(112, 69, 87, .22);
  border-top-color: var(--ink);
  animation: spin .72s linear infinite;
}

.glass-btn:disabled {
  cursor: not-allowed;
  opacity: .6;
}

@keyframes inquiryBump {
  0%, 100% { transform: translateZ(0) scale(1); }
  38% { transform: translateZ(0) scale(1.045); }
  68% { transform: translateZ(0) scale(.985); }
}

@keyframes inquiryBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes inquiryBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes inquiryCapsuleOpen {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes inquiryCapsuleClose {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.96);
  }
}

@keyframes modalContentReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes successCardIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes detailImageIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes detailContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .inquiry-page {
    padding: calc(var(--mobile-header-height, var(--header-height, 96px)) + 18px) 0 calc(56px + env(safe-area-inset-bottom));
  }

  .premium-inquiry-page > .container {
    width: calc(100vw - 24px);
  }

  .inquiry-hero-banner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 22px;
    border-radius: 32px;
  }

  .inquiry-hero-banner h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .inquiry-hero-banner p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 132px;
  }

  .hero-visual-card {
    width: min(220px, 72%);
    border-radius: 28px;
  }

  .inquiry-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .inquiry-product-selector {
    border-radius: 28px;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 18px;
    box-shadow: 0 18px 48px rgba(74, 46, 58, .08);
  }

  .inquiry-selector-layout {
    display: grid;
    grid-template-rows: auto auto;
    gap: 18px;
    overflow: visible;
  }

  .inquiry-category-panel,
  .inquiry-products-panel {
    max-height: none;
    padding: 16px;
    border-radius: 26px;
    overflow: visible;
  }

  .inquiry-category-tabs {
    grid-template-columns: 1fr;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .inquiry-category-tab {
    min-height: 104px;
    padding: 16px;
    border-radius: 22px;
  }

  .inquiry-category-thumb {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .inquiry-selector-layout,
  .inquiry-products-panel {
    min-height: auto;
  }

  .inquiry-products-panel {
    min-height: 0;
  }

  .inquiry-product-scroll {
    flex: 0 1 auto;
    max-height: 520px;
    min-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 20px;
  }

  .inquiry-products-toolbar {
    gap: 12px;
  }

  .inquiry-search {
    min-height: 46px;
    border-radius: 22px;
    justify-self: stretch;
    width: 100%;
  }

  .inquiry-select-product-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 14px;
    border-radius: 22px;
  }

  .inquiry-select-image {
    grid-row: auto;
    width: 96px;
    height: 96px;
    border-radius: 18px;
  }

  .inquiry-select-copy h3 {
    font-size: 16px;
  }

  .inquiry-select-desc {
    min-height: 0;
    -webkit-line-clamp: 1;
  }

  .inquiry-select-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .inquiry-select-actions .glass-btn {
    flex: 1 1 132px;
    width: auto;
  }

  .inquiry-picker-pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: stretch;
  }

  .inquiry-picker-pager .glass-btn {
    justify-content: center;
  }

  .inquiry-page-list {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 18px;
  }

  .selected-products-scroll {
    flex: 0 1 auto;
    max-height: 360px;
    min-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 18px;
  }

  .inquiry-product-selector,
  .inquiry-page-list,
  .inquiry-page-form-panel,
  .inquiry-success-page {
    border-radius: 28px;
  }

  .inquiry-page-form-panel {
    padding: 18px;
  }

  .form-grid.inquiry-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .inquiry-page-panel-head {
    display: grid;
  }

  .inquiry-page-count {
    justify-self: start;
  }

  .inquiry-page-product {
    grid-template-columns: 72px minmax(0, 1fr);
    border-radius: 22px;
  }

  .inquiry-page-product img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .inquiry-page-product .button-row {
    justify-content: start;
  }

  .inquiry-success-page {
    min-height: auto;
    padding-block: 34px;
  }

  .inquiry-success-stats {
    grid-template-columns: 1fr;
  }

  .inquiry-page-form .field input,
  .inquiry-page-form .field textarea,
  .inquiry-page-form .field select {
    min-height: 48px;
  }

  .page-exit-forward,
  .page-exit-back {
    animation-name: mobilePageExit;
  }

  .page-enter-forward,
  .page-enter-back {
    animation-name: mobilePageEnter;
  }

  .product-actions {
    opacity: 1;
    transform: none;
  }

  .product-card::after {
    display: none;
  }

  .inquiry-expand-modal {
    animation-name: mobileModalUp;
  }

  .inquiry-expand-backdrop.is-closing .inquiry-expand-modal {
    animation-name: mobileModalDown;
  }

  .modal-backdrop {
    background: rgba(74, 46, 58, .18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .modal,
  .contact-floating-bar,
  .site-header,
  .category-card,
  .product-card,
  .story-panel,
  .reason-card {
    backdrop-filter: blur(8px) saturate(1.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
  }
}

@keyframes mobilePageExit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

@keyframes mobilePageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mobileModalUp {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mobileModalDown {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(22px) scale(.98); }
}

@media (hover: none) {
  .category-card:hover,
  .product-card:hover,
  .reason-card:hover,
  .glass-btn:hover {
    transform: none;
  }

  .product-card:hover .product-image img {
    transform: none;
  }
}

@media (max-width: 480px) {
  .inquiry-category-tabs {
    grid-template-columns: 1fr;
    max-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .fly-to-inquiry-clone {
    display: none !important;
  }
}
