@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Manrope:wght@400;500;600&display=swap");

:root {
  --page-bg: #fff8f6;
  --page-bg-strong: #f7eeeb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: #fffaf8;
  --text-strong: #47323b;
  --text-main: #68525b;
  --text-muted: #9d858d;
  --line-soft: rgba(226, 205, 208, 0.9);
  --line-strong: rgba(216, 186, 182, 0.9);
  --primary: #d87360;
  --primary-strong: #c85d62;
  --primary-soft: #fff0eb;
  --accent: #efc8b8;
  --accent-strong: #ef9c7e;
  --success: #478269;
  --warning: #d18352;
  --shadow-soft: 0 18px 42px rgba(173, 110, 112, 0.12);
  --shadow-strong: 0 26px 74px rgba(144, 87, 87, 0.18);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --display-font: "Manrope", "Segoe UI", sans-serif;
  --serif-font: "Cormorant Garamond", "Constantia", serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 221, 227, 0.66), transparent 20%),
    radial-gradient(circle at 90% 10%, rgba(255, 235, 222, 0.72), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(250, 224, 232, 0.48), transparent 24%),
    linear-gradient(180deg, #fffaf8 0%, #fbf1ee 50%, #f8efec 100%);
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(38px);
}

body::before {
  top: 72px;
  left: -42px;
  width: 160px;
  height: 160px;
  background: rgba(248, 204, 212, 0.45);
}

body::after {
  right: -48px;
  bottom: 180px;
  width: 170px;
  height: 170px;
  background: rgba(243, 212, 192, 0.44);
}

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

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

button {
  cursor: pointer;
}

.nara-body {
  overflow-x: hidden;
}

.mobile-app {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 8px), 394px);
  max-width: none;
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 6px 104px;
  overflow-x: clip;
}

.soft-header,
.page-section,
.modal-backdrop {
  animation: fade-up 0.75s ease both;
}

.soft-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.soft-header--hero {
  margin-bottom: 14px;
  padding: 2px 4px 0;
}

.soft-header__brand {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.brand-mark {
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.88;
}

.brand-title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  max-width: 19ch;
}

.brand-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.soft-header__action,
.soft-header__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--text-main);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(233, 214, 216, 0.88);
  box-shadow: 0 14px 28px rgba(165, 106, 109, 0.1);
  backdrop-filter: blur(14px);
  white-space: nowrap;
}

.soft-header__back::before {
  content: "‹";
  margin-right: 8px;
  font-size: 20px;
  line-height: 1;
}

.page-section {
  margin-top: 12px;
}

.hero-banner {
  margin-top: 8px;
}

.hero-banner__viewport {
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(245, 225, 226, 0.88);
  box-shadow: 0 24px 56px rgba(167, 101, 102, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.hero-banner--spotlight .hero-banner__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 74%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hero-banner__track {
  display: flex;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-banner__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.hero-banner__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.01);
}

.hero-banner__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-banner__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(219, 195, 191, 0.9);
  transition: width 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

.hero-banner__dot.is-active {
  width: 28px;
  background: linear-gradient(135deg, var(--accent-strong), var(--primary-strong));
}

.glass-card {
  padding: 24px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 246, 0.9));
  border: 1px solid rgba(239, 223, 225, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.product-overview {
  position: relative;
  overflow: hidden;
}

.product-overview--signature {
  box-shadow:
    0 22px 48px rgba(171, 109, 109, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.product-overview::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -20px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 201, 194, 0.26), rgba(255, 255, 255, 0));
}

.product-copy-block {
  position: relative;
  margin-top: 4px;
  padding-top: 14px;
}

.product-copy-block::before {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(223, 152, 128, 0.92), rgba(223, 152, 128, 0));
}

.price-stack {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.price-stack__sale {
  color: var(--primary);
  font-family: var(--serif-font);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.price-stack__market {
  color: #c4afb4;
  font-size: 16px;
  text-decoration: line-through;
}

.product-title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--serif-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.product-subtitle {
  margin: 12px 0 0;
  color: #7b6168;
  font-size: 15px;
  line-height: 1.55;
}

.product-description {
  margin: 8px 0 0;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.75;
  max-width: 92%;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.stat-grid--premium {
  gap: 8px;
  margin-top: 18px;
}

.stat-card {
  padding: 12px 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 251, 0.95), rgba(250, 242, 239, 0.95));
  border: 1px solid rgba(241, 227, 229, 0.92);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stat-card__value {
  display: block;
  color: var(--text-strong);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.stat-card__label {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.section-heading {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.section-heading__eyebrow {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading__title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.section-heading__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.72;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-section .section-heading {
  padding-inline: 4px;
}

.detail-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(240, 223, 224, 0.9);
  box-shadow: 0 16px 40px rgba(168, 109, 109, 0.12);
}

.detail-card img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-card--copy {
  padding: 22px 20px;
}

.detail-card__copy {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.8;
}

.detail-card__copy p,
.detail-card__copy ul,
.detail-card__copy ol,
.detail-card__copy h2,
.detail-card__copy h3,
.detail-card__copy blockquote {
  margin: 0 0 12px;
}

.detail-card__copy ul,
.detail-card__copy ol {
  padding-left: 18px;
}

.detail-card__copy img {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0;
  border-radius: 18px;
}

.detail-card__copy h2,
.detail-card__copy h3 {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-weight: 500;
  line-height: 1.35;
}

.floating-buybar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(66px + env(safe-area-inset-bottom));
  z-index: 18;
  transform: translateX(-50%);
  width: min(calc(100vw - 12px), 372px);
  max-width: calc(100vw - 12px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(236, 216, 221, 0.92);
  box-shadow: 0 18px 34px rgba(144, 87, 87, 0.12);
  backdrop-filter: blur(16px);
}

.floating-buybar__copy {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(252, 244, 241, 0.92));
  border: 1px solid rgba(241, 226, 228, 0.92);
}

.floating-buybar__price {
  display: block;
  color: var(--text-strong);
  font-family: var(--serif-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.floating-buybar__name {
  display: block;
  margin-top: 4px;
  color: var(--text-main);
  font-size: 10px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #e59c5d 0%, #d67a59 58%, #c96263 100%);
  box-shadow: 0 14px 30px rgba(214, 122, 89, 0.24);
}

.secondary-button {
  color: var(--primary);
  background: linear-gradient(180deg, #fff8f4, #f8ebe5);
  border: 1px solid rgba(236, 216, 221, 0.92);
}

.ghost-button {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(236, 216, 221, 0.92);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.soft-header__action:active,
.soft-header__back:active {
  transform: translateY(1px) scale(0.99);
}

.floating-buybar__cta {
  flex: 0 0 auto;
  min-width: 0;
  width: clamp(126px, 39%, 154px);
  max-width: 44%;
  min-height: 56px;
}

.floating-buybar--compact {
  width: min(calc(100vw - 48px), 288px);
  max-width: calc(100vw - 48px);
  justify-content: center;
  padding: 8px;
  gap: 0;
}

.floating-buybar__single {
  width: 100%;
  min-height: 50px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 500;
}

.floating-buybar--fab {
  width: min(calc(100vw - 12px), 394px);
  max-width: calc(100vw - 12px);
  justify-content: flex-end;
  padding: 0 6px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.floating-buybar--fab .floating-buybar__single {
  width: 88px;
  min-width: 88px;
  height: 88px;
  min-height: 88px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(214, 122, 89, 0.28);
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}

.bottom-tabs {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(6px + env(safe-area-inset-bottom));
  z-index: 17;
  transform: translateX(-50%);
  width: min(calc(100vw - 12px), 372px);
  max-width: calc(100vw - 12px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(239, 221, 224, 0.92);
  box-shadow: 0 16px 30px rgba(159, 100, 102, 0.12);
  backdrop-filter: blur(16px);
}

.bottom-tabs__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 0 8px;
  border-radius: 15px;
  color: #8d727a;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}

.bottom-tabs__link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #e29155 0%, #d57455 58%, #c96263 100%);
  box-shadow: 0 12px 28px rgba(213, 116, 85, 0.24);
}

.customer-chat-launcher {
  position: fixed;
  z-index: 70;
  right: max(12px, calc((100vw - 394px) / 2 + 14px));
  bottom: calc(164px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #e79b66, #d77065);
  box-shadow: 0 16px 34px rgba(195, 100, 91, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.customer-chat-launcher.is-nudging {
  animation: customer-chat-pulse 1.15s ease-in-out infinite;
}

.customer-chat-launcher__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
}

.customer-chat-launcher__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.customer-chat-launcher__halo {
  fill: rgba(255, 255, 255, 0.18);
}

.customer-chat-launcher__badge {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #df3f3f;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 8px 18px rgba(223, 63, 63, 0.24);
}

.customer-chat-panel {
  position: fixed;
  z-index: 90;
  right: max(10px, calc((100vw - 394px) / 2 + 10px));
  bottom: calc(72px + env(safe-area-inset-bottom));
  width: min(calc(100vw - 20px), 374px);
  height: min(64vh, 520px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(219, 181, 170, 0.66);
  border-radius: 24px;
  background: rgba(255, 252, 249, 0.96);
  box-shadow: 0 22px 56px rgba(112, 72, 72, 0.22);
  backdrop-filter: blur(16px);
}

.customer-chat-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(219, 181, 170, 0.48);
}

.customer-chat-panel__head strong {
  display: block;
  color: #402e37;
  font-size: 15px;
}

.customer-chat-panel__head span {
  display: block;
  margin-top: 3px;
  color: #9a7882;
  font-size: 12px;
}

.customer-chat-panel__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 232, 225, 0.86);
  color: #5b3f48;
  font-size: 20px;
  cursor: pointer;
}

.customer-chat-panel__messages {
  min-height: 0;
  overflow: auto;
  padding: 16px;
}

.customer-chat-message {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.customer-chat-message__bubble {
  width: fit-content;
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 16px;
  color: #4c3942;
  background: #f7ede8;
  line-height: 1.55;
  font-size: 13px;
}

.customer-chat-message--user {
  justify-items: end;
}

.customer-chat-message--user .customer-chat-message__bubble {
  color: #fff;
  background: linear-gradient(135deg, #e59a65, #d66a66);
}

.customer-chat-message--system .customer-chat-message__bubble {
  color: #9b6b6a;
  background: transparent;
  border: 1px dashed rgba(214, 139, 120, 0.45);
}

.customer-chat-message time {
  color: #a88c95;
  font-size: 10px;
}

.customer-chat-panel__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(219, 181, 170, 0.48);
}

.customer-chat-panel__input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid rgba(219, 181, 170, 0.72);
  border-radius: 999px;
  padding: 0 14px;
  color: #4a3540;
  background: #fff;
  outline: none;
}

.customer-chat-panel__send {
  width: 78px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e49760, #d36c66);
  cursor: pointer;
}

@keyframes customer-chat-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-5px) scale(1.04);
  }
}

.panel-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 248, 0.92));
  border: 1px solid rgba(238, 221, 223, 0.9);
  box-shadow: var(--shadow-soft);
}

.panel-card--hero,
.panel-card--soft,
.panel-card--profile {
  position: relative;
  overflow: hidden;
}

.panel-card--hero::after,
.panel-card--profile::after,
.panel-card--soft::after {
  content: "";
  position: absolute;
  inset: auto auto 0 -12px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 212, 208, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.panel-card--hero {
  box-shadow:
    0 22px 46px rgba(170, 112, 113, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.panel-card--soft {
  box-shadow:
    0 18px 38px rgba(170, 112, 113, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.panel-card--profile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 244, 0.94));
  box-shadow:
    0 18px 40px rgba(170, 112, 113, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.panel-card__title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.24;
}

.panel-card__subtitle {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.72;
}

.auth-grid,
.stack-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
}

.input-control,
.textarea-control,
.select-control {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--text-strong);
  border: 1px solid rgba(233, 215, 216, 0.95);
  border-radius: 20px;
  background: rgba(255, 253, 251, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.textarea-control {
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
}

.select-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #b68788 50%),
    linear-gradient(135deg, #b68788 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.input-control:focus,
.textarea-control:focus,
.select-control:focus {
  outline: none;
  border-color: rgba(221, 145, 121, 0.95);
  box-shadow: 0 0 0 4px rgba(230, 170, 144, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.button-row > * {
  width: 100%;
  min-width: 0;
}

.button-row--stack {
  grid-template-columns: 1fr;
}

.notice {
  margin-top: 14px;
  padding: 13px 15px;
  color: var(--text-main);
  border-radius: 18px;
  background: rgba(255, 249, 245, 0.96);
  border: 1px solid rgba(240, 224, 226, 0.92);
  font-size: 13px;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: calc(104px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translate(-50%, 18px);
  min-width: 0;
  width: min(calc(100vw - 40px), 320px);
  padding: 12px 16px;
  border-radius: 18px;
  color: #5b4347;
  background: rgba(255, 251, 249, 0.98);
  border: 1px solid rgba(239, 224, 225, 0.92);
  box-shadow: 0 20px 40px rgba(191, 145, 151, 0.16);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-toast.is-success {
  color: #5b4347;
}

.site-toast.is-error {
  color: #8d4b55;
}

.hidden {
  display: none !important;
}

.profile-card {
  display: grid;
  gap: 16px;
}

.profile-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 500;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.88), transparent 36%),
    linear-gradient(135deg, rgba(248, 218, 224, 0.95), rgba(255, 245, 247, 0.96));
  box-shadow:
    0 10px 24px rgba(190, 145, 150, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.profile-meta {
  display: grid;
  gap: 4px;
}

.profile-meta__eyebrow {
  color: var(--text-muted);
  font-size: 13px;
}

.profile-meta__name {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.12;
}

.profile-meta__account {
  color: var(--text-main);
  font-size: 14px;
}

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

.info-box {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 227, 228, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.info-box__label {
  color: var(--text-muted);
  font-size: 12px;
}

.info-box__value {
  display: block;
  margin-top: 7px;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 500;
}

.order-list,
.member-list,
.reward-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.order-summary-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 227, 228, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.order-summary-card:active {
  transform: scale(0.995);
}

.order-summary-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-summary-card__head-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-summary-card__number {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.order-summary-card__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(243, 232, 233, 0.92);
  font-size: 18px;
}

.order-summary-card__body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.order-summary-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(243, 232, 233, 0.92);
  box-shadow: 0 10px 22px rgba(191, 145, 151, 0.12);
}

.order-summary-card__content {
  min-width: 0;
}

.order-summary-card__name {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.order-summary-card__meta {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 13px;
}

.order-summary-card__price {
  margin-top: 8px;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 500;
}

.order-card,
.member-card,
.reward-card {
  padding: 17px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 227, 228, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.order-card__head,
.member-card__head,
.reward-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-card__number,
.member-card__name,
.reward-card__title {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 500;
}

.order-card__items {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.order-item {
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 232, 233, 0.92);
}

.order-item__name {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
}

.order-item__meta,
.order-card__meta,
.member-card__meta,
.reward-card__meta {
  margin-top: 7px;
  color: var(--text-main);
  font-size: 14px;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.card-actions > * {
  flex: 1;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(240, 230, 223, 0.92);
  color: #8e6158;
}

.status-chip.is-paid {
  background: rgba(227, 244, 236, 0.92);
  color: var(--success);
}

.status-chip.is-pending {
  background: rgba(255, 241, 226, 0.92);
  color: var(--warning);
}

.empty-card {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 227, 228, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.empty-card__title {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 500;
}

.empty-card__desc {
  margin-top: 8px;
  color: var(--text-muted);
}

.order-summary-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 236, 227, 0.95);
  color: var(--primary);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.order-summary-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e34d4d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(227, 77, 77, 0.22);
}

.invite-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 227, 228, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.invite-link {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(216, 146, 118, 0.45);
  word-break: break-all;
  font-size: 13px;
}

.order-detail-layout {
  display: grid;
  gap: 14px;
}

.order-detail-hero {
  display: grid;
  gap: 12px;
}

.order-detail-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-detail-hero__number {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.order-detail-items {
  display: grid;
  gap: 10px;
}

.order-detail-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 232, 233, 0.92);
}

.order-detail-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.order-detail-item__name {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.order-detail-item__meta {
  margin-top: 6px;
  color: var(--text-main);
  font-size: 13px;
}

.order-detail-item__price {
  margin-top: 8px;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 500;
}

.payment-proof-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 251, 248, 0.96);
  border: 1px solid rgba(240, 227, 228, 0.92);
  display: grid;
  gap: 12px;
}

.payment-proof-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-main);
  font-size: 13px;
}

.payment-proof-card__preview {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(240, 227, 228, 0.92);
  object-fit: cover;
}

.detail-grid {
  display: grid;
  gap: 10px;
}

.detail-line {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 232, 233, 0.92);
}

.detail-line__label {
  color: var(--text-muted);
  font-size: 12px;
}

.detail-line__value {
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 36;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  background: rgba(46, 30, 35, 0.32);
  backdrop-filter: blur(10px);
}

.modal-panel {
  width: min(100%, 420px);
  padding: 24px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(238, 220, 222, 0.92);
  box-shadow: var(--shadow-strong);
}

.modal-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-panel__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 247, 245, 0.96);
  border: 1px solid rgba(237, 217, 220, 0.9);
}

.share-product {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
}

.share-product__thumb {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: url("./banner-2.png") center/cover no-repeat;
  box-shadow: 0 12px 28px rgba(173, 111, 110, 0.16);
}

.share-product__brand {
  color: var(--accent-strong);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.share-product__name {
  margin-top: 6px;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.share-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.share-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(239, 224, 226, 0.9);
}

.checkout-summary {
  display: grid;
  gap: 18px;
}

.product-summary {
  display: grid;
  gap: 16px;
}

.product-summary__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.product-summary__thumb {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 14px 34px rgba(173, 112, 112, 0.16);
}

.product-summary__name {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.16;
}

.product-summary__price {
  margin-top: 8px;
  color: var(--primary);
  font-size: 18px;
}

.product-summary__unit {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.qty-block {
  display: grid;
  gap: 10px;
}

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

.qty-control {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 12px;
  align-items: center;
}

.qty-control__button {
  min-height: 56px;
  border-radius: 20px;
  border: 1px solid rgba(234, 215, 217, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(166, 114, 112, 0.08);
}

.qty-control__value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 20px;
  border: 1px solid rgba(234, 215, 217, 0.95);
  background: rgba(255, 252, 250, 0.96);
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
}

.delivery-list {
  display: grid;
  gap: 12px;
}

.delivery-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(238, 220, 222, 0.9);
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.delivery-option__label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.delivery-option__label input {
  accent-color: var(--primary);
}

.delivery-option__title {
  color: var(--text-strong);
  font-size: 17px;
}

.delivery-option__price {
  color: var(--primary);
  font-size: 16px;
}

.delivery-option.is-active {
  border-color: rgba(221, 148, 120, 0.95);
  box-shadow: 0 14px 34px rgba(221, 148, 120, 0.12);
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(255, 245, 240, 0.96));
}

.address-note {
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 225, 227, 0.92);
}

.address-note__title {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 600;
}

.address-note__desc {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

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

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  color: var(--text-main);
}

.summary-row strong {
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 500;
}

.summary-row--total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(237, 223, 224, 0.92);
}

.summary-row--total span,
.summary-row--total strong {
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 600;
}

.checkout-submitbar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(248, 239, 236, 0), rgba(248, 239, 236, 0.95) 30%);
}

.checkout-submitbar__meta {
  min-width: 0;
}

.checkout-submitbar__label {
  color: var(--text-muted);
  font-size: 12px;
}

.checkout-submitbar__price {
  display: block;
  margin-top: 3px;
  color: var(--text-strong);
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.checkout-submitbar__button {
  min-width: 142px;
}

.payment-card {
  display: grid;
  gap: 12px;
}

.payment-card__notice {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.payment-copy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 251, 249, 0.98), rgba(248, 240, 237, 0.96));
  border: 1px solid rgba(240, 227, 228, 0.9);
}

.payment-copy-item__meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.payment-copy-item__label {
  color: var(--text-muted);
  font-size: 12px;
}

.payment-copy-item__value {
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 500;
  word-break: break-word;
}

.copy-button {
  flex: 0 0 auto;
  min-width: 70px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(236, 216, 221, 0.92);
  border-radius: 999px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(166, 114, 112, 0.08);
}

.team-grid {
  display: grid;
  gap: 14px;
}

.level-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.level-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 251, 249, 0.96);
  border: 1px solid rgba(240, 227, 228, 0.9);
}

.level-item__title {
  color: var(--text-strong);
  font-size: 15px;
}

.level-item__value {
  color: var(--text-main);
}

.subtle-text {
  color: var(--text-muted);
}

.is-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .soft-header,
  .page-section,
  .modal-backdrop,
  .hero-banner__track {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 360px) {
  .field-row,
  .button-row,
  .info-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .floating-buybar,
  .checkout-submitbar {
    flex-direction: column;
    align-items: stretch;
  }

  .bottom-tabs {
    gap: 5px;
    padding: 5px;
    width: min(calc(100vw - 10px), 348px);
  }

  .floating-buybar__cta,
  .checkout-submitbar__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .mobile-app {
    width: min(calc(100vw - 8px), 394px);
    padding-inline: 6px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .soft-header {
    grid-template-columns: 1fr;
  }

  .soft-header__action,
  .soft-header__back {
    justify-self: start;
  }

  .brand-title {
    font-size: 16px;
  }

  .floating-buybar {
    gap: 9px;
    padding: 8px;
    border-radius: 20px;
    width: min(calc(100vw - 10px), 374px);
    max-width: calc(100vw - 10px);
  }

  .floating-buybar__price {
    font-size: 18px;
  }

  .floating-buybar__name {
    font-size: 10px;
  }

  .floating-buybar__cta {
    width: clamp(124px, 40%, 152px);
    font-size: 15px;
    padding-inline: 14px;
  }

  .floating-buybar--compact {
    width: min(calc(100vw - 40px), 276px);
    max-width: calc(100vw - 40px);
    padding: 7px;
  }

  .floating-buybar__single {
    min-height: 48px;
    font-size: 14px;
  }

  .floating-buybar--fab {
    width: min(calc(100vw - 10px), 394px);
    max-width: calc(100vw - 10px);
    padding-right: 4px;
  }

  .floating-buybar--fab .floating-buybar__single {
    width: 82px;
    min-width: 82px;
    height: 82px;
    min-height: 82px;
    font-size: 12px;
  }

  .bottom-tabs {
    gap: 5px;
    padding: 5px;
    border-radius: 18px;
    width: min(calc(100vw - 10px), 374px);
    max-width: calc(100vw - 10px);
  }

  .bottom-tabs__link {
    min-height: 40px;
    font-size: 12.5px;
    padding-inline: 6px;
  }

  .soft-header__action,
  .soft-header__back {
    min-width: 72px;
    padding-inline: 14px;
  }
}
