:root {
  --bg: #050508;
  --bg-2: #0d0e12;
  --text: #f4f2ee;
  --muted: #9a9aaa;
  --accent: #7c9cff;
  --accent-2: #c4a6ff;
  --peach: #ffc4a2;
  --lime: var(--accent);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --card: #171a22;
  --danger: #ff6b6b;
  --radius: 22px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(36px, 9vw, 160px);
  --page: 1180px;
}

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

html {
  overflow-x: clip;
  max-width: 100%;
}
html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
}

body.menu-open,
body.drawer-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

::selection {
  background: var(--accent);
  color: #0b0d12;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Starfield (fixed background) ---------- */
.starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Starfield is a positioned layer (z-index: 0). In-flow headings/copy sit behind it
   unless the page content creates a stacking context above the canvas. */
main,
.footer {
  position: relative;
  z-index: 2;
}
html[data-theme="light"] .starfield { opacity: 0; }
body.no-stars .starfield { display: none !important; }

.sun-source {
  position: absolute;
  left: clamp(-6px, 1.2vw, 18px);
  top: 9%;
  width: min(76px, 9.5vw);
  height: min(76px, 9.5vw);
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}
.sun-glare {
  position: absolute;
  inset: -240%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 245, 0.42) 0%, rgba(255, 220, 170, 0.12) 16%, rgba(255, 170, 80, 0.04) 38%, transparent 68%);
  mix-blend-mode: screen;
  filter: blur(12px);
}
.sun-bloom {
  position: absolute;
  inset: -90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 240, 0.7) 0%, rgba(255, 210, 140, 0.18) 28%, transparent 66%);
  mix-blend-mode: screen;
  filter: blur(10px);
}
.sun-ghost {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: blur(10px) brightness(1.7) saturate(1.05);
  transform: scale(1.12);
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}
.sun-photo {
  position: absolute;
  inset: 16%;
  width: 68%;
  height: 68%;
  margin: auto;
  object-fit: contain;
  filter: brightness(1.55) contrast(1.18) saturate(0.92) drop-shadow(0 0 16px rgba(255, 244, 220, 0.75));
  pointer-events: none;
  opacity: 1;
}
.sun-hot {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 248, 230, 0.45) 32%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: sun-breathe 5.2s ease-in-out infinite;
}
.sun-source::before,
.sun-source::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 235, 0.55), transparent);
}
.sun-source::after {
  width: 280%;
  height: 1px;
  transform: translate(-50%, -50%);
  filter: blur(0.6px);
  opacity: 0.55;
}
.sun-source::before {
  width: 1px;
  height: 210%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, transparent, rgba(255, 250, 235, 0.4), transparent);
  filter: blur(0.6px);
  opacity: 0.4;
}
@keyframes sun-breathe {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
html[data-theme="light"] .sun-source {
  display: none !important;
}

/* When a modal is open (product, checkout, etc.), blur the site behind it —
   but leave the .starfield untouched so the stars stay crisp and visible. */
body.modal-open > header,
body.modal-open > main,
body.modal-open > footer,
body.modal-open > .grain,
body.modal-open > .aurora,
body.modal-open > .marquee,
body.modal-open > .cart-drawer,
body.modal-open > .mobile-menu,
body.modal-open > .preloader,
body.modal-open > .wa-fab {
  filter: blur(6px);
  transition: filter 0.35s ease;
  will-change: filter;
}
/* Ensure the modal card itself sits above the tint layer */
.modal .modal-card { position: relative; z-index: 2; }
/* Slightly lighter tint so the crisp stars behind stay visible through the blurred haze */
.modal { transition: background 0.3s ease; }
body.modal-open .modal { background: rgba(8, 10, 14, 0.32); }
/* Give the modal card its own frosted, contrasted look so the card remains clearly readable */
body.modal-open .modal-card {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ---------- Effect toggle classes (set on <body> by admin) ---------- */
body.no-grain .grain { display: none !important; }
body.no-marquee .marquee { display: none !important; }
body.no-fab .wa-fab { display: none !important; }
body.no-theme-btn #themeBtn { display: none !important; }
body.no-lang-btn #langBtn { display: none !important; }
body.no-cursor,
body.no-cursor a,
body.no-cursor button,
body.no-cursor .chip,
body.no-cursor .work-card,
body.no-cursor .product-card,
body.no-cursor .svc,
body.no-cursor .logo,
body.no-cursor .cart-btn {
  cursor: auto !important;
}
body.no-cursor input,
body.no-cursor textarea,
body.no-cursor select {
  cursor: text !important;
}

/* When effects that add DOM are disabled, no CSS action is needed since JS skips them.
   But make sure section-heads still appear if reveal is off. */
body.no-reveal .section .section-head,
body.no-reveal .reveal-up,
body.no-reveal .reveal-fade,
body.no-reveal .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}
body.no-shine .svc::before,
body.no-shine .process-grid article::before,
body.no-shine .work-card::before,
body.no-shine .product-card::before,
body.no-shine .review::before,
body.no-shine .contact-card::before {
  display: none;
}

/* ---------- Cookie Consent banner + modal ---------- */
.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9500;
  background: rgba(15, 17, 23, 0.98);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  animation: ccIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes ccIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cc-banner.is-gone { animation: ccOut 0.28s forwards; }
@keyframes ccOut {
  to { transform: translateY(20px); opacity: 0; }
}
.cc-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cc-body { flex: 1; min-width: 260px; }
.cc-body h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: -0.01em; }
.cc-body p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cc-body a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(124, 156, 255, 0.35); }
.cc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-actions .btn { min-height: 40px; padding: 10px 16px; font-size: 13.5px; }
.cc-actions .btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.cc-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }

/* Modal */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ccFade 0.2s;
}
@keyframes ccFade { from { opacity: 0; } to { opacity: 1; } }
.cc-modal.is-gone { animation: ccFadeOut 0.2s forwards; }
@keyframes ccFadeOut { to { opacity: 0; } }
.cc-modal-back {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}
.cc-modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  padding: 28px 26px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: ccSlide 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes ccSlide { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cc-modal-card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.cc-modal-card .muted { font-size: 13.5px; margin: 0 0 18px; }
.cc-x {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%; background: transparent; border: 0;
  color: var(--text); cursor: pointer;
  font-size: 22px; line-height: 1;
}
.cc-x:hover { background: rgba(255, 255, 255, 0.06); }
.cc-list { display: grid; gap: 10px; margin-bottom: 20px; }
.cc-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  cursor: pointer;
}
.cc-row:has(input:disabled) { cursor: default; opacity: 0.85; }
.cc-txt { flex: 1; min-width: 0; }
.cc-txt b { display: block; font-size: 14px; font-weight: 600; }
.cc-txt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.5; }
.cc-tog { flex-shrink: 0; position: relative; display: inline-block; }
.cc-tog input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cc-tog i {
  display: block; width: 44px; height: 24px;
  background: #2a2f3d; border-radius: 999px; position: relative;
  transition: 0.2s ease;
}
.cc-tog i::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #f4f2ee;
  transition: 0.2s ease;
}
.cc-tog input:checked + i { background: var(--accent); }
.cc-tog input:checked + i::before { transform: translateX(20px); }
.cc-tog input:disabled + i { opacity: 0.6; }
.cc-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cc-modal-actions .btn { min-height: 40px; padding: 10px 16px; font-size: 13.5px; }
html.cc-lock { overflow: hidden; }

@media (max-width: 640px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; border-radius: 14px; }
  .cc-inner { padding: 14px 16px; gap: 14px; }
  .cc-actions { width: 100%; }
  .cc-actions .btn { flex: 1; min-width: 0; padding: 10px 10px; }
}

/* ---------- Page prose (yasal sayfalar için) ---------- */
.page-prose { max-width: 780px; margin-top: 24px; }
.page-prose h2 { font-size: 20px; letter-spacing: -0.01em; margin: 28px 0 10px; }
.page-prose h3 { font-size: 16px; margin: 18px 0 6px; color: var(--text); }
.page-prose p { margin: 0 0 12px; line-height: 1.7; color: color-mix(in oklab, var(--text) 88%, transparent); }
.page-prose ul, .page-prose ol { margin: 0 0 14px 22px; padding: 0; }
.page-prose li { margin: 4px 0; line-height: 1.6; }
.page-prose strong { color: var(--text); }
.page-prose a { color: var(--accent); }
.page-prose .btn { margin: 4px 0; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.is-page main.section { padding-top: 120px; padding-bottom: 60px; }
.is-page .footer { border-top: 1px solid var(--line); padding: 32px 22px; }
.is-page .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1180px; margin: 0 auto; }
.is-page .footer-grid a { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; text-decoration: none; }
.is-page .footer-grid a:hover { color: var(--text); }
.is-page .footer-grid span { display: block; color: var(--text); font-weight: 600; margin-bottom: 10px; }
@media (max-width: 640px) { .is-page .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Checkout consent block ---------- */
.co-consent {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  margin: 14px 0 16px;
}
.co-consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--text) 90%, transparent);
}
.co-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--accent);
}
.co-consent a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(124, 156, 255, 0.35); }
.co-consent .co-req { color: color-mix(in oklab, var(--peach) 80%, transparent); font-size: 12.5px; }
.co-pay-hint { color: var(--muted); font-size: 12.5px; text-align: center; margin: 4px 0 0; }

/* ---------- Legal / Info Popup Modal ---------- */
.lm-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lm-modal.is-on { display: flex; animation: lmFade 0.2s ease; }
@keyframes lmFade { from { opacity: 0; } to { opacity: 1; } }
.lm-back {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.lm-card {
  position: relative;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lmSlide 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes lmSlide { from { transform: translateY(24px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.lm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  flex-shrink: 0;
}
.lm-title {
  flex: 1;
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lm-actions { display: flex; gap: 6px; }
.lm-open, .lm-x {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--text); font-size: 20px; line-height: 1;
  text-decoration: none;
}
.lm-open { font-size: 16px; }
.lm-x { font-size: 24px; }
.lm-open:hover, .lm-x:hover { background: rgba(255, 255, 255, 0.06); }
.lm-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  scrollbar-width: thin;
}
.lm-body::-webkit-scrollbar { width: 8px; }
.lm-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
.lm-body.page-prose { max-width: none; margin-top: 0; }
.lm-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}
html.lm-lock { overflow: hidden; }
@media (max-width: 640px) {
  .lm-modal { padding: 8px; }
  .lm-card { max-height: 94vh; border-radius: 14px; }
  .lm-head { padding: 14px 16px; }
  .lm-title { font-size: 17px; }
  .lm-body { padding: 18px 18px; }
  .lm-foot { padding: 12px 16px; }
}

/* ---------- Payment Badges (footer) ---------- */
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 48px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 6px;
  background: #fff;
  color: #1a1f71;
  font-family: system-ui, sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  user-select: none;
}
.pay-badge[data-pm="visa"]        { background: #1a1f71; color: #fff; }
.pay-badge[data-pm="visa"] em     { font-style: italic; color: #f9b800; margin-left: 2px; }
.pay-badge[data-pm="mastercard"]  { background: #1a1a1a; padding: 0 8px; gap: 3px; }
.pay-badge[data-pm="mastercard"] i {
  width: 18px; height: 18px; border-radius: 50%;
  display: block; font-style: normal;
}
.pay-badge[data-pm="mastercard"] i:first-child { background: #eb001b; margin-right: -6px; }
.pay-badge[data-pm="mastercard"] i:last-child  { background: #f79e1b; mix-blend-mode: screen; }
.pay-badge[data-pm="amex"]        { background: #006fcf; color: #fff; letter-spacing: 0.14em; }
.pay-badge[data-pm="troy"]        { background: #00a24d; color: #fff; }
.pay-badge[data-pm="iyzico"]      { background: #10141a; color: #fff; letter-spacing: -0.01em; }
.pay-badge[data-pm="iyzico"] em   { color: #ffbf00; font-style: normal; }
.pay-badge[data-pm="paytr"]       { background: #0088cc; color: #fff; }
.pay-badge[data-pm="paypal"]      { background: #003087; color: #fff; }
.pay-badge[data-pm="paypal"] em   { color: #009cde; font-style: italic; }
.pay-badge[data-pm="stripe"]      { background: #635bff; color: #fff; }
.pay-badge[data-pm="shopier"]     { background: #ff5a3c; color: #fff; }
.pay-badge[data-pm="havale"]      { background: #37424f; color: #fff; }
.pay-badge[data-pm="kapida"]      { background: #e6a300; color: #1a1a1a; }
.pay-badge[data-pm="apple-pay"]   { background: #000; color: #fff; }
.pay-badge[data-pm="google-pay"]  { background: #fff; color: #202124; }
.pay-badge[data-pm="bkm"]         { background: #b30d1c; color: #fff; }

/* ---------- Cursor spotlight (large soft glow follows cursor) ---------- */
.spotlight {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 156, 255, 0.18), rgba(196, 166, 255, 0.08) 42%, transparent 68%);
  z-index: 1;
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  will-change: transform;
}
.spotlight.is-on {
  opacity: 1;
}
@media (hover: none) or (pointer: coarse) {
  .spotlight {
    display: none !important;
  }
}
html[data-theme="light"] .spotlight {
  background: radial-gradient(circle, rgba(77, 111, 255, 0.14), rgba(196, 166, 255, 0.08) 42%, transparent 68%);
  mix-blend-mode: multiply;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--peach));
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(124, 156, 255, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath fill='%23f4f2ee' stroke='%237c9cff' stroke-width='1.6' stroke-linejoin='round' d='M3 3 L21 12.2 L11.8 13.4 L10.4 23 Z'/%3E%3C/svg%3E") 3 3, auto;
  }
  a,
  button,
  .chip,
  .work-card,
  .product-card,
  .svc,
  .logo,
  .cart-btn {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect x='14.2' y='4' width='3.6' height='24' rx='1.2' fill='%239bb6ff'/%3E%3Crect x='4' y='14.2' width='24' height='3.6' rx='1.2' fill='%23ffc4a2'/%3E%3C/svg%3E") 16 16, pointer;
  }
  input,
  textarea,
  select {
    cursor: text;
  }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader.is-gone {
  opacity: 0;
  visibility: hidden;
}

.preloader-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 42%, var(--accent-2) 70%, transparent 72%);
  filter: blur(0.4px);
  animation: pulse 1.4s ease-in-out infinite;
  margin-bottom: 16px;
}

.preloader p {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--nav-h);
  padding: 0 var(--gutter);
}

.nav-inner {
  height: 100%;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav.is-on {
  background: rgba(15, 17, 23, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
}

.logo-mark {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--peach));
}

.logo-image {
  display: inline-block;
  height: 28px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-image[hidden] {
  display: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  justify-content: center;
  white-space: nowrap;
  flex: 0 1 auto;
  overflow: hidden;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}
.nav-actions > * {
  flex-shrink: 0;
}

.cart-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  background: var(--glass);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--accent);
  color: #0b0d12;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  width: 14px;
  height: 1.5px;
  background: var(--text);
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: #0c0e14;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 90px 28px;
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.is-open {
  transform: none;
}

.mobile-menu a {
  font-size: 36px;
  font-weight: 600;
}
.mobile-menu .btn {
  font-size: 16px;
  height: 46px;
  width: max-content;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lime {
  background: linear-gradient(135deg, #9bb6ff, #7c9cff);
  color: #0b0d12;
  box-shadow: 0 10px 30px rgba(124, 156, 255, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--glass);
}

.btn-full {
  width: 100%;
}

[data-copy-stage] {
  position: relative;
}
[data-i18n].is-placed {
  position: absolute;
  z-index: 6;
  margin: 0;
}
.hero-title .line:has(.is-placed),
.hero-title .line > span:has(.is-placed) {
  overflow: visible;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 32px;
  display: flex;
  align-items: center;
}

#aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
html[data-theme="light"] #aurora {
  opacity: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line > span {
  display: block;
}

.hero-lead {
  max-width: 480px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat-row div {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(12px);
}

.stat-row b {
  display: block;
  font-size: 28px;
}

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

.hero-stage {
  position: relative;
  height: min(560px, 74vh);
  display: grid;
  place-items: center;
  overflow: visible;
}

.moon-scene {
  position: relative;
  width: min(560px, 100%);
  height: 100%;
  display: grid;
  place-items: center;
  overflow: visible;
}

.orb-halo {
  position: absolute;
  width: min(328px, 70%);
  height: min(328px, 70%);
  border-radius: 50%;
  background: radial-gradient(circle at 20% 42%, rgba(255, 228, 198, 0.1) 0%, rgba(196, 204, 214, 0.035) 36%, transparent 58%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
  transform: translate(-11%, 1%);
}

.orb {
  --moon-d: min(300px, 58vw);
  position: relative;
  width: var(--moon-d);
  height: var(--moon-d);
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  z-index: 50;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
}

.orb-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.meteor-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
}
html[data-theme="light"] .meteor-fx { opacity: 0; }

.orb::after {
  display: none;
}

.orb-core {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.orb-core svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orb-arc {
  fill: #f6f1e6;
  font-family: var(--font-heading, inherit);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}
.orb-arc-bot {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  fill: rgba(246, 241, 230, 0.82);
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes moon-axis {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.orbit-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 140px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 6;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
}
.sat {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  text-align: center;
  color: inherit;
  will-change: transform, opacity;
}
.sat-body {
  width: 48px;
  height: 42px;
  position: relative;
  flex: none;
  background-image: url("../img/moon.jpg");
  background-size: 260%;
  background-repeat: no-repeat;
  filter: drop-shadow(-8px 4px 12px rgba(255, 176, 90, 0.28));
  animation: sat-tumble 16s linear infinite;
  --lit-x: 22%;
  --lit-y: 40%;
  --sat-spec: 0.28;
  --sat-dark: 0.42;
}
.orbit-slot[data-orbit="0"] .sat-body {
  width: 46px;
  height: 40px;
  clip-path: polygon(20% 10%, 58% 0%, 92% 22%, 100% 58%, 80% 94%, 36% 100%, 4% 74%, 2% 30%);
  background-position: 18% 42%;
  animation-duration: 15s;
}
.orbit-slot[data-orbit="1"] .sat-body {
  width: 40px;
  height: 46px;
  clip-path: polygon(16% 20%, 46% 2%, 90% 14%, 100% 50%, 82% 90%, 44% 100%, 6% 80%, 0% 44%);
  background-position: 72% 20%;
  animation-duration: 21s;
  animation-direction: reverse;
}
.orbit-slot[data-orbit="2"] .sat-body {
  width: 50px;
  height: 38px;
  clip-path: polygon(28% 2%, 76% 8%, 100% 40%, 88% 84%, 50% 100%, 10% 86%, 0% 46%, 10% 14%);
  background-position: 40% 78%;
  animation-duration: 12s;
}
.sat-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--lit-x) var(--lit-y), rgba(255, 244, 220, var(--sat-spec)), transparent 46%),
    linear-gradient(105deg, transparent 28%, rgba(0, 0, 0, var(--sat-dark)) 100%);
  pointer-events: none;
}
@keyframes sat-tumble {
  to { transform: rotate(360deg); }
}
.sat-label {
  display: block;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  transition: none;
}
.sat-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sat-label strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.sat:hover .sat-body {
  outline: none;
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.02);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.marquee.is-drag {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  font-weight: 600;
  font-size: 18px;
  will-change: transform;
  animation: none !important;
}

.marquee-track span::after {
  content: " · ";
  color: var(--accent);
  margin-left: 40px;
}

.section {
  padding: 72px var(--gutter);
}

.section > * {
  max-width: var(--page);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 28px;
}

.reveal-title {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--glass);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.portrait-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 156, 255, 0.45), rgba(255, 196, 162, 0.2), transparent 70%);
  animation: float 5s ease-in-out infinite;
}

.portrait span {
  position: relative;
  font-size: 64px;
  font-weight: 700;
}

.portrait p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  color: var(--muted);
  z-index: 2;
}

.about-copy h3 {
  font-size: 30px;
  margin-bottom: 12px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 12px;
}

.chips,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span,
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
}

.service-grid,
.process-grid,
.product-grid {
  display: grid;
  gap: 14px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.svc,
.process-grid article,
.work-card,
.product-card,
.contact-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.svc {
  padding: 22px;
  min-height: 180px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.svc:hover,
.work-card:hover,
.product-card:hover,
.process-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(124, 156, 255, 0.12);
}

.svc span,
.process-grid span {
  color: var(--accent);
  font-weight: 600;
}

.svc h3,
.work-meta h3,
.product-body h3,
.process-grid h3 {
  font-size: 22px;
  margin: 10px 0 8px;
}

.svc p,
.work-meta p,
.product-body p,
.process-grid p,
.hero-lead {
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
}

.work-lg {
  grid-row: span 2;
}

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

.work-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-visual {
  height: 168px;
  background: #171a22;
}

.work-lg .work-visual {
  flex: 1;
  height: auto;
  min-height: 220px;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.include-list {
  margin: 8px 0 12px 18px;
  color: var(--muted);
}

.chips a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
}

.work-wide .work-visual {
  height: 170px;
}

.v1 {
  background: radial-gradient(circle at 20% 20%, #9bb6ff, transparent 40%), radial-gradient(circle at 80% 80%, #c4a6ff, #171a22 55%);
}

.v2 {
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.3), #171a22);
}

.v3 {
  background: radial-gradient(circle at 50% 120%, rgba(255, 196, 162, 0.35), #171a22);
}

.v4 {
  background: linear-gradient(90deg, rgba(124, 156, 255, 0.35), rgba(196, 166, 255, 0.25), #171a22);
}

.work-meta {
  padding: 16px;
}

.work-meta span {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
  padding: 20px;
  min-height: 180px;
}

.shop-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.shop-note {
  max-width: 280px;
  color: var(--muted);
}

.section-head > .shop-note {
  max-width: 52ch;
  margin-top: 10px;
}

.filters {
  margin-bottom: 16px;
}

.chip.is-on,
.chip:hover {
  background: #fff;
  color: #0b0d12;
  border-color: #fff;
}

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

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: rise 0.5s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.product-art {
  height: 168px;
  position: relative;
  background: #171a22;
  overflow: hidden;
}

.product-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  max-width: var(--page);
  margin: 0 auto;
  padding: 20px var(--gutter) 8px;
}
.clients-row img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.8;
}

.product-art span {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 17, 23, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.product-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-foot > div {
  display: flex;
  gap: 6px;
}

.price {
  font-weight: 700;
  font-size: 18px;
}
.price small {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}

.product-foot .btn {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 32px;
  min-width: 0;
  overflow: hidden;
}

.contact-links {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.contact-links a {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 12px;
  min-width: 0;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

input,
select,
textarea {
  background: rgba(12, 14, 20, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

.footer {
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
}

.footer-big {
  max-width: var(--page);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(72px, 16vw, 180px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, #fff, var(--accent), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.footer-row {
  max-width: var(--page);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(428px, 100%);
  height: 100%;
  background:
    radial-gradient(1200px 280px at 100% -10%, rgba(124, 156, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #171922 0%, #12141c 100%);
  z-index: 120;
  transform: translateX(104%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.45);
}
.cart-drawer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.cart-drawer.is-open {
  transform: none;
}

.cart-head,
.cart-foot {
  padding: 20px 22px;
  position: relative;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--line);
}
.cart-head-copy h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.cart-head-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.icon-close {
  width: 40px;
  height: 40px;
  font-size: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  line-height: 1;
  flex-shrink: 0;
}
.icon-close:hover {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  background: color-mix(in oklab, var(--accent) 16%, transparent);
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 16px 18px 8px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--accent) 45%, transparent) transparent;
  overscroll-behavior: contain;
}

.cart-drawer.is-empty .cart-items {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 4px 28px;
}
.cart-empty-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 14%, var(--glass));
  border: 1px solid var(--line);
}
.cart-empty strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.cart-empty p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.cart-empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  color: #0b0d12;
  background: linear-gradient(135deg, #9bb6ff, #7c9cff);
  box-shadow: 0 10px 28px rgba(124, 156, 255, 0.28);
  text-decoration: none;
}
.cart-empty-cta:hover {
  color: #0b0d12;
  filter: brightness(1.07);
}
.cart-empty-cta svg {
  flex-shrink: 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in oklab, var(--glass) 88%, #000);
}
.cart-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #171a22;
  position: relative;
  flex-shrink: 0;
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.cart-row-top h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-row-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.cart-row-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.cart-row-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.cart-row-price b {
  font-size: 14px;
  letter-spacing: -0.02em;
}
.cart-row-price .was {
  color: var(--muted);
  font-size: 11px;
  text-decoration: line-through;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in oklab, var(--glass) 70%, transparent);
}
.qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1;
}
.qty button:hover {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
}
.qty span {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.cart-x {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cart-x:hover {
  color: var(--danger);
  background: color-mix(in oklab, var(--danger) 14%, transparent);
}

.cart-foot {
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, #101218 78%, transparent);
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
}
.cart-drawer.is-empty .cart-foot {
  display: none;
}
.cart-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 12px;
}
.cart-secure svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}
.cart-total strong {
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.cart-foot .cart-keep {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.cart-foot .cart-keep:hover {
  color: var(--text);
}

.cart-count.is-zero {
  display: none;
}
.cart-count.is-pop,
.cart-btn.is-pop {
  animation: cartPop 0.45s var(--ease);
}
@keyframes cartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.overlay,
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.62);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.overlay.is-on,
.modal.is-on {
  opacity: 1;
  visibility: visible;
}

.modal {
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 130;
}

.modal-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #171a22;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  position: relative;
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
}

.modal-art {
  height: 140px;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #171a22;
}
.modal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.muted {
  color: var(--muted);
  margin-bottom: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 16px);
  background: #fff;
  color: #0b0d12;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 160;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

html[data-theme="light"] {
  --bg: #f3f1ec;
  --bg-2: #fff;
  --text: #16181f;
  --muted: #5f6270;
  --line: rgba(22, 24, 31, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --accent: #4d6fff;
  --card: #ffffff;
}

html[data-theme="light"] .nav.is-on {
  background: rgba(243, 241, 236, 0.88);
}

html[data-theme="light"] .btn-lime,
html[data-theme="light"] .cart-empty-cta {
  color: #fff;
  background: linear-gradient(135deg, #6b8cff, #4d6fff);
}

html[data-theme="light"] .cart-drawer,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .mobile-menu {
  background: #fff;
  color: var(--text);
}

html[data-theme="light"] .cart-drawer {
  background:
    radial-gradient(1000px 240px at 100% -8%, rgba(77, 111, 255, 0.1), transparent 55%),
    #fff;
  box-shadow: -24px 0 60px rgba(22, 24, 31, 0.12);
}
html[data-theme="light"] .cart-row,
html[data-theme="light"] .cart-empty-ico {
  background: #f6f5f1;
}
html[data-theme="light"] .cart-thumb {
  background: #eceae4;
}
html[data-theme="light"] .cart-foot {
  background: #faf9f6;
  box-shadow: 0 -16px 32px rgba(22, 24, 31, 0.04);
}

html[data-theme="light"] .mobile-menu {
  background: #f3f1ec;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #fff;
}

html[data-theme="light"] .chip.is-on,
html[data-theme="light"] .chip:hover,
html[data-theme="light"] .toast {
  background: #16181f;
  color: #fff;
  border-color: #16181f;
}

html[data-theme="light"] .product-art,
html[data-theme="light"] .modal-art,
html[data-theme="light"] .work-visual {
  background: #e8e6e0;
}

html[data-theme="light"] .grain {
  opacity: 0.018;
}

html[data-theme="light"] .footer-big {
  background: linear-gradient(90deg, #16181f, var(--accent), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  font-size: 12px;
  font-weight: 700;
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}

.portrait.has-photo img {
  display: block;
}

.portrait.has-photo span,
.portrait.has-photo .portrait-glow {
  display: none;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review,
.faq details {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.review {
  padding: 22px;
}

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

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

.faq details {
  padding: 4px 18px 14px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
}

.order-ok {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 8px auto 12px;
  background: rgba(124, 156, 255, 0.18);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}
#checkoutSuccess {
  text-align: center;
}
#checkoutSuccess h3 {
  margin-bottom: 8px;
}
#checkoutSuccess .btn {
  margin-top: 18px;
}

.bank-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 13px;
}

.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.contact-card .btn {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .service-grid,
  .process-grid,
  .product-grid,
  .bento,
  .review-grid,
  .contact-card,
  .stat-row {
    grid-template-columns: 1fr;
  }
  .work-lg,
  .work-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .work-lg .work-visual {
    min-height: 180px;
    height: 180px;
    flex: none;
  }
  .hero-stage {
    height: min(420px, 78vw);
    padding: 12px 0 8px;
    overflow: hidden;
  }
  .sun-source {
    top: 7%;
    width: min(64px, 18vw);
    height: min(64px, 18vw);
    left: 4px;
    opacity: 0.9;
  }
  .moon-scene {
    width: 100%;
    overflow: hidden;
  }
  .orbit-slot {
    width: min(160px, 42vw);
    height: min(110px, 30vw);
  }
  .sat-label strong {
    white-space: normal;
  }
  .section {
    padding: 56px var(--gutter);
  }
  .shop-head,
  .footer-row {
    flex-direction: column;
  }
  .shop-head .shop-note {
    max-width: none;
  }
}

.site-banners {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
}
.maint-banner {
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #7c9cff, #c4a6ff);
  color: #0b0d12;
}
.maint-banner[hidden] {
  display: none !important;
}
body.has-site-banner .hero {
  padding-top: calc(var(--nav-h) + 56px);
}
body.has-site-banners-2 .hero {
  padding-top: calc(var(--nav-h) + 92px);
}

.page-prose,
#blog,
#page {
  max-width: 760px;
}
.page-prose h1,
#blog h1,
#page h1 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
}
.page-prose p,
#blog p,
#page p {
  color: var(--muted);
  margin-bottom: 12px;
}
#blog img,
#page img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 18px;
  display: block;
}

/* ---------- Scroll reveal (sections + section-heads + cards) ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal-up.in {
  opacity: 1;
  transform: none;
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.reveal-fade.in {
  opacity: 1;
}
.section .section-head {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.section.in .section-head {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}

/* ---------- Kicker line accent ---------- */
.kicker {
  position: relative;
  display: inline-block;
  padding-left: 22px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: translateY(-50%) scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease) 0.15s;
}
.section.in .kicker::before,
.hero .kicker::before {
  transform: translateY(-50%) scaleX(1);
}

/* ---------- Nav-link underline shimmer ---------- */
.nav-links a {
  position: relative;
  padding: 4px 2px;
  transition: color 0.18s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.32s var(--ease);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ---------- Shine hover on cards ---------- */
.svc,
.process-grid article,
.work-card,
.product-card,
.review,
.contact-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.svc::before,
.process-grid article::before,
.work-card::before,
.product-card::before,
.review::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 156, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.svc:hover::before,
.process-grid article:hover::before,
.work-card:hover::before,
.product-card:hover::before,
.review:hover::before,
.contact-card:hover::before {
  opacity: 1;
}
.svc > *,
.process-grid article > *,
.work-card > *,
.product-card > *,
.review > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

/* ---------- Product art zoom ---------- */
.product-art,
.work-visual {
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-art img,
.work-card:hover .work-visual img {
  transform: scale(1.06);
}
.product-art img,
.work-visual img {
  transition: transform 0.9s var(--ease);
}

/* ---------- Magnetic buttons ---------- */
.btn,
.icon-btn,
.cart-btn {
  will-change: transform;
}

/* ---------- Preloader ring ---------- */
.preloader-orb {
  position: relative;
}
.preloader-orb::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 156, 255, 0.4);
  border-top-color: transparent;
  animation: spin 1.1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Section separator glow ---------- */
.section::after {
  content: "";
  display: block;
  height: 1px;
  max-width: var(--page);
  margin: 60px auto 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  opacity: 0.7;
}
.section:last-of-type::after {
  display: none;
}

/* ---------- Moon halo (no color shift) ---------- */
/* Note: previous .orb spin/hue-rotate removed — moon stays neutral cream. */

/* ---------- Filter chip active glow ---------- */
.filters .chip {
  transition: 0.25s var(--ease);
}
.filters .chip.is-on {
  box-shadow: 0 8px 22px rgba(124, 156, 255, 0.24);
}

/* ---------- Product card gradient border ---------- */
.product-card {
  position: relative;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(124, 156, 255, 0.35), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.product-card:hover::after {
  opacity: 1;
}

/* ---------- Marquee gradient fade edges ---------- */
.marquee {
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}
html[data-theme="light"] .marquee::before {
  background: linear-gradient(90deg, var(--bg), transparent);
}
html[data-theme="light"] .marquee::after {
  background: linear-gradient(-90deg, var(--bg), transparent);
}

/* ---------- Enhanced button hover ---------- */
.btn-lime {
  position: relative;
  overflow: hidden;
}
.btn-lime::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease), height 0.5s var(--ease);
  pointer-events: none;
}
.btn-lime:hover::after {
  width: 240%;
  height: 340%;
}
.btn-lime > * {
  position: relative;
  z-index: 1;
}

/* ---------- Footer hover gradient sweep ---------- */
.footer-big {
  background-size: 200% 100%;
  animation: sweep 12s linear infinite;
}
@keyframes sweep {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Hero canvas glow overlay ---------- */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 480px at 0% 22%, rgba(255, 210, 150, 0.05), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Satellite hover (orbit JS owns transform) ---------- */
.sat:focus-visible {
  outline: none;
}
.sat:focus-visible .sat-body {
  filter: brightness(1.12);
}

/* ---------- Faq accent on open ---------- */
.faq details[open] {
  border-color: rgba(124, 156, 255, 0.35);
  background: rgba(124, 156, 255, 0.05);
}
.faq summary {
  transition: color 0.2s;
}
.faq details[open] summary {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  *:not(.sat),
  *:not(.sat)::before,
  *:not(.sat)::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-title .line > span,
  .reveal,
  .reveal-up,
  .reveal-fade,
  .reveal-stagger > *,
  .section .section-head {
    opacity: 1 !important;
    transform: none !important;
  }
  .spotlight {
    display: none !important;
  }
}

/* ---------- CMS-driven typography & density ---------- */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-head h2 {
  font-family: var(--font-heading, inherit);
}

body.density-cozy .section {
  padding-top: 120px;
  padding-bottom: 120px;
}
body.density-compact .section {
  padding-top: 60px;
  padding-bottom: 60px;
}
body.density-cozy .field + .field,
body.density-cozy .form-row + .form-row {
  margin-top: 18px;
}
body.density-compact .field + .field,
body.density-compact .form-row + .form-row {
  margin-top: 8px;
}

/* ---------- Asfo store payment page ---------- */
.is-pay {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background:
    radial-gradient(900px 420px at 12% -8%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 62%),
    radial-gradient(720px 360px at 100% 0%, color-mix(in oklab, var(--peach) 10%, transparent), transparent 58%),
    var(--bg);
}
.is-pay .nav-cta { display: none; }
.is-pay .pay-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 80px;
}
.pay-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pay-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.38;
  animation: payOrb 16s var(--ease) infinite alternate;
}
.pay-orb-a {
  width: 380px;
  height: 380px;
  left: -80px;
  top: 80px;
  background: color-mix(in oklab, var(--accent) 55%, transparent);
}
.pay-orb-b {
  width: 320px;
  height: 320px;
  right: -60px;
  top: 160px;
  background: color-mix(in oklab, var(--peach) 50%, transparent);
  animation-delay: -6s;
}
.pay-orb-c {
  width: 260px;
  height: 260px;
  left: 42%;
  bottom: 8%;
  background: color-mix(in oklab, var(--accent-2) 45%, transparent);
  animation-delay: -11s;
}
@keyframes payOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6px, -8px, 0) scale(1.03); }
}
.pay-intro { max-width: 640px; margin: 0 auto 18px; text-align: center; }
.pay-intro .kicker { margin-bottom: 4px; }
.pay-title {
  margin: 2px auto 6px;
  text-align: center;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.15;
  color: var(--text);
}
.pay-intro .muted { max-width: 52ch; font-size: 14px; line-height: 1.45; margin: 0 auto; }
.pay-steps {
  list-style: none;
  display: flex;
  align-items: flex-start;
  width: min(420px, 100%);
  margin: 14px 0 0;
  padding: 0;
}
.pay-steps li {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}
.pay-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  transform-origin: left center;
}
.pay-steps li.is-done:not(:last-child)::after,
.pay-steps li.is-on:not(:last-child)::after {
  background: color-mix(in oklab, var(--accent) 70%, var(--line));
}
.pay-steps li span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in oklab, var(--text) 20%, var(--line));
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  z-index: 1;
}
.pay-steps li b { font-weight: 600; color: inherit; line-height: 1.2; }
.pay-steps li.is-on { color: var(--text); }
.pay-steps li.is-on span {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0d12;
  animation: payStepPulse 2.2s ease-in-out infinite;
}
.pay-steps li.is-done span {
  background: color-mix(in oklab, var(--accent) 28%, var(--card));
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  color: var(--text);
}
@keyframes payStepPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 22%, transparent); }
}
.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 24px;
  align-items: stretch;
}
.pay-layout.is-paying { grid-template-columns: 1fr; }
.pay-layout.is-paying .pay-sum-card,
.pay-layout.is-paying .pay-panel { display: none; }
.pay-layout:has(#checkoutForm[hidden]) .pay-sum-card { display: none; }
.pay-layout:has(#checkoutForm[hidden]) { grid-template-columns: 1fr; }
.is-pay:has(.pay-layout.is-paying) .pay-intro { display: none; }
.pay-panel,
.pay-sum-card,
.pay-stage {
  background: color-mix(in oklab, var(--card) 74%, transparent);
  border: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  border-radius: 30px;
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.pay-panel {
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pay-panel .pay-form { flex: 1; }
.pay-form,
.pay-done { padding: 16px 16px 18px; display: grid; gap: 12px; align-content: start; }
.pay-form[hidden],
.pay-done[hidden],
.pay-stage[hidden],
.bank-box[hidden] { display: none !important; }
.pay-block + .pay-block {
  padding-top: 12px;
  border-top: 1px solid color-mix(in oklab, var(--line) 85%, transparent);
}
.pay-block h2 {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.035em;
}
.pay-block h2 em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.pay-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: start;
}
.pay-fields > label {
  align-content: start;
  grid-template-rows: auto auto auto;
}
.pay-fields .pay-note,
.pay-fields .pay-phone,
.pay-fields .pay-address,
.pay-fields .pay-place-row { grid-column: 1 / -1; }
.pay-place-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.pay-place-row > label {
  min-width: 0;
  align-content: start;
  grid-template-rows: auto auto auto;
}
.pay-postal input {
  font-variant-numeric: tabular-nums;
}
.pay-email { min-width: 0; }
.pay-email-box {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 62%, var(--card));
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-email-ico {
  display: grid;
  place-items: center;
  color: var(--muted);
  pointer-events: none;
}
.pay-email-box input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 13px 4px !important;
  min-width: 0;
}
.pay-email-mark {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.pay-email-mark::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}
.pay-email.is-ok .pay-email-box,
.pay-email.is-bad .pay-email-box {
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 14%, transparent);
}
.pay-email.is-ok .pay-email-box {
  border-color: color-mix(in oklab, #3ecf8e 70%, var(--line));
}
.pay-email.is-bad .pay-email-box {
  border-color: color-mix(in oklab, #ff5d6c 75%, var(--line));
  box-shadow: 0 0 0 5px color-mix(in oklab, #ff5d6c 14%, transparent);
}
.pay-email.is-ok .pay-email-ico { color: #3ecf8e; }
.pay-email.is-bad .pay-email-ico { color: #ff5d6c; }
.pay-email.is-ok .pay-email-mark,
.pay-email.is-bad .pay-email-mark {
  opacity: 1;
  transform: none;
}
.pay-email.is-ok .pay-email-mark {
  background: #3ecf8e;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.2 5.4 12.4l-1.4 1.4 5.2 5.2 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.2 5.4 12.4l-1.4 1.4 5.2 5.2 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pay-email.is-bad .pay-email-mark {
  background: #ff5d6c;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.3 5.7 13 11l5.3 5.3-1.4 1.4L11.6 12.4 6.3 17.7 4.9 16.3 10.2 11 4.9 5.7 6.3 4.3l5.3 5.3 5.3-5.3z'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.3 5.7 13 11l5.3 5.3-1.4 1.4L11.6 12.4 6.3 17.7 4.9 16.3 10.2 11 4.9 5.7 6.3 4.3l5.3 5.3 5.3-5.3z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pay-email-hint,
.pay-national-hint {
  min-height: 0;
  font-size: 12px;
  font-weight: 450;
  color: var(--muted);
  line-height: 1.3;
}
.pay-email-hint:empty,
.pay-national-hint:empty {
  display: none;
}
.pay-email.is-bad .pay-email-hint { color: #ff7b88; }
.pay-email-fix {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pay-national[hidden] { display: none !important; }
.pay-combo { position: relative; z-index: 1; min-width: 0; }
.pay-combo.is-open { z-index: 24; }
.pay-combo-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 62%, var(--card));
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-combo.is-open .pay-combo-box,
.pay-combo-box:focus-within {
  border-color: color-mix(in oklab, var(--accent) 60%, var(--line));
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 16%, transparent);
}
.pay-combo-box input[data-combo-input] {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 13px 12px 13px 15px !important;
  min-width: 0;
}
.pay-combo-chev {
  appearance: none;
  width: 36px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}
.pay-combo-chev::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -5px 0 0 -4px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
}
.pay-combo.is-open .pay-combo-chev::before { transform: rotate(225deg); margin-top: -1px; }
.pay-combo-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--card) 88%, var(--bg));
  box-shadow: 0 18px 40px color-mix(in oklab, #000 28%, transparent);
}
.pay-combo-list li {
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
}
.pay-combo-list li.is-on,
.pay-combo-list li:hover { background: color-mix(in oklab, var(--accent) 16%, transparent); }
.pay-combo-list li.is-empty { cursor: default; color: var(--muted); font-size: 12.5px; }
.pay-form label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.pay-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.pay-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in oklab, var(--bg) 62%, var(--card));
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-form textarea { min-height: 56px; resize: vertical; }
.pay-form .pay-note textarea { min-height: 44px; }
.pay-form input:not([type="checkbox"]):not([type="radio"]):focus,
.pay-form textarea:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--accent) 60%, var(--line));
  background: color-mix(in oklab, var(--card) 70%, var(--bg));
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 16%, transparent);
  transform: none;
}
.is-pay .co-consent {
  margin: 0;
  border-radius: 18px;
  padding: 16px 16px;
  background: color-mix(in oklab, var(--bg) 48%, var(--card));
  border: 1px solid var(--line);
}
.is-pay .co-consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.is-pay .co-consent input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  cursor: pointer;
}
.is-pay .co-consent input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230b0d12' d='M6.2 11.2 3.4 8.4l1.2-1.2 1.6 1.6 5.2-5.2 1.2 1.2z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pay-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}
.pay-guarantee svg { flex-shrink: 0; opacity: 0.8; }
.pay-brand { display: grid; gap: 14px; }
.pay-pick-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.pay-pick-label { margin: 0; font-size: 14px; font-weight: 650; color: var(--text); letter-spacing: -0.02em; }
.pay-pick-head span { color: var(--muted); font-size: 12px; }
.pay-pick { display: grid; gap: 10px; }
.pay-pick-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 13px 16px 13px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in oklab, var(--bg) 42%, var(--card));
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pay-pick-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(180px 120px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.pay-pick-card:hover::after { opacity: 1; }
.pay-pick-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
}
.pay-pick-card[data-pm="iyzico"]::before { background: #ffc107; }
.pay-pick-card[data-pm="paytr"]::before { background: #0a73c7; }
.pay-pick-card[data-pm="stripe"]::before { background: #635bff; }
.pay-pick-card[data-pm="shopier"]::before { background: #ff4d2d; }
.pay-pick-card[data-pm="paypal"]::before { background: #009cde; }
.pay-pick-card[data-pm="havale"]::before { background: #8fd0c6; }
.pay-pick-card[data-pm="kapida"]::before { background: #f2b01e; }
.pay-pick-card:not(.is-on)::before { opacity: 0.35; }
.pay-pick-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 32%, var(--line));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
.pay-pick-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pay-pick-logo {
  display: grid;
  place-items: center;
  width: 88px;
  min-height: 52px;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.08), transparent 55%),
    #0b0d12;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}
.pay-pick-logo .pay-mark,
.pay-pick-logo svg { display: block; }
.pay-pick-copy { display: grid; gap: 3px; min-width: 0; }
.pay-pick-copy b { font-size: 15.5px; color: var(--text); letter-spacing: -0.02em; }
.pay-pick-copy small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.pay-mark { display: inline-flex; line-height: 0; }
.pay-pick-nets,
.pay-nets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 7px;
}
.pay-pick-nets .pay-badge svg,
.pay-nets .pay-badge svg {
  width: 36px;
  height: 22px;
}
.pay-pick-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.pay-pick-card.is-on,
.pay-pick-card:has(input:checked) {
  border-color: color-mix(in oklab, var(--accent) 58%, var(--line));
  background: color-mix(in oklab, var(--accent) 13%, var(--card));
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 12%, transparent);
}
.pay-pick-card.is-on .pay-pick-check,
.pay-pick-card:has(input:checked) .pay-pick-check {
  border-color: var(--accent);
  transform: scale(1.05);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230b0d12' d='M6.2 11.2 3.4 8.4l1.2-1.2 1.6 1.6 5.2-5.2 1.2 1.2z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pay-submit {
  height: 56px;
  border-radius: 18px;
  font-size: 15.5px;
  gap: 10px;
  box-shadow: 0 14px 34px color-mix(in oklab, var(--accent) 28%, transparent);
  position: relative;
  overflow: hidden;
}
.pay-submit::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-120%);
}
.pay-submit:hover::after { animation: payShine 0.7s var(--ease); }
@keyframes payShine { to { transform: translateX(320%); } }
.pay-submit-lock { flex-shrink: 0; }
.pay-submit-amt { font-variant-numeric: tabular-nums; }
.pay-submit i {
  width: 1px;
  height: 16px;
  background: currentColor;
  opacity: 0.28;
}
.pay-sum-card {
  position: relative;
  top: auto;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: none;
}
.pay-sum-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 10%, transparent), transparent);
}
.pay-sum-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pay-sum-head span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pay-sum-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
}
#paySum { padding: 18px 20px 8px; }
.pay-sum-pay {
  display: grid;
  gap: 14px;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
}
.pay-sum-pay .pay-brand { gap: 10px; }
.pay-sum-pay .pay-pick-head {
  align-items: baseline;
  gap: 8px;
}
.pay-sum-pay .pay-pick-label { font-size: 13.5px; }
.pay-sum-pay .pay-pick { gap: 6px; }
.pay-sum-pay .pay-pick-card {
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border-radius: 12px;
  min-height: 36px;
}
.pay-sum-pay .pay-pick-card:hover { transform: none; }
.pay-sum-pay .pay-pick-logo {
  width: 40px;
  height: 26px;
  min-height: 0;
  border-radius: 8px;
}
.pay-sum-pay .pay-pick-logo .pay-mark svg,
.pay-sum-pay .pay-pick-logo svg {
  width: 34px;
  height: 18px;
}
.pay-sum-pay .pay-pick-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.pay-sum-pay .pay-pick-copy b {
  font-size: 13px;
  line-height: 1.2;
  flex-shrink: 0;
}
.pay-sum-pay .pay-pick-copy small {
  display: inline !important;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pay-sum-pay .pay-pick-copy small::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.45;
}
.pay-sum-pay .pay-pick-nets { display: none !important; }
.pay-sum-pay .pay-pick-check { width: 16px; height: 16px; }
.pay-sum-pay .co-consent {
  padding: 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
}
.pay-sum-pay .co-consent label { gap: 10px; }
.pay-sum-foot {
  flex-shrink: 0;
  display: grid;
  gap: 12px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--card) 88%, var(--bg));
}
.pay-sum-foot .pay-guarantee { justify-content: flex-start; font-size: 12px; }
.pay-sum-foot .pay-trust { padding: 0; }
.pay-sum-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 8px 0 12px;
}
.pay-sum-empty strong { font-size: 16px; letter-spacing: -0.02em; }
.pay-sum-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(72px, auto);
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
}
.pay-sum-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: color-mix(in oklab, var(--accent) 16%, var(--bg));
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pay-sum-meta { display: grid; gap: 2px; min-width: 0; }
.pay-sum-meta b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-sum-meta em { color: var(--muted); font-style: normal; font-size: 12px; }
.pay-sum-line > strong {
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.pay-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 6px;
  padding: 14px 0 4px;
  border-top: 1px dashed color-mix(in oklab, var(--line) 90%, transparent);
  font-size: 18px;
  letter-spacing: -0.03em;
}
.pay-sum-total b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-sum-disc {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 2px;
  color: color-mix(in oklab, var(--accent) 80%, var(--text));
  font-size: 13.5px;
}
.pay-sum-disc b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-coupon {
  padding: 4px 20px 16px;
}
.pay-coupon > label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.pay-coupon-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.pay-coupon-box input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in oklab, var(--bg) 62%, var(--card));
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  letter-spacing: 0.04em;
}
.pay-coupon-box input:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--accent) 60%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent);
}
.pay-coupon-box button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in oklab, var(--card) 80%, var(--bg));
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pay-coupon-box button:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
}
.pay-coupon-hint {
  min-height: 1.15em;
  font-size: 12px;
  line-height: 1.3;
}
.pay-coupon-hint.is-ok { color: color-mix(in oklab, var(--accent) 70%, #7dffb3); }
.pay-coupon-hint.is-bad { color: color-mix(in oklab, var(--peach) 80%, var(--text)); }
.pay-secure { margin: 0; padding: 10px 24px 18px; display: grid; gap: 10px; }
.pay-secure-top {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  border: 1px solid var(--line);
}
.pay-secure-top em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.pay-secure-top strong { display: block; font-size: 14px; }
.pay-secure-top span { color: var(--muted); font-size: 12.5px; }
.pay-secure-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.pay-secure-row .pay-mark svg { width: 44px; height: 27px; }
.pay-accept-lab { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 0 0; }
.pay-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 12px;
}
.pay-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 35%, transparent);
}
.pay-trust li i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.pay-done { text-align: center; padding: 48px 26px; }
.pay-done .order-ok {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: color-mix(in oklab, var(--accent) 16%, transparent);
  color: var(--accent);
}
.pay-done h3 { font-size: 26px; letter-spacing: -0.02em; word-spacing: 0.08em; }
.pay-done.is-fail .order-ok {
  background: color-mix(in oklab, #ef4444 22%, transparent);
  color: #f87171;
}
.pay-done.is-fail h3 { color: #fecaca; }
.pay-done.is-wait .order-ok {
  background: color-mix(in oklab, #f59e0b 20%, transparent);
  color: #fbbf24;
}
.is-pay .bank-box {
  margin: 0 26px 26px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 50%, var(--card));
}
.pay-stage { grid-column: 1 / -1; min-height: 420px; padding: 26px; }
.pay-stage h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.03em; }
.pay-stage .muted { margin-bottom: 16px; }
.pay-stage iframe { width: 100%; min-height: 720px; border: 0; border-radius: 16px; background: #fff; }
.pay-stage .pay-html { min-height: 480px; }

html[data-theme="light"] .is-pay {
  background:
    radial-gradient(1100px 520px at 6% -10%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 58%),
    radial-gradient(760px 380px at 100% 0%, color-mix(in oklab, var(--peach) 22%, transparent), transparent 52%),
    #efece6;
}
html[data-theme="light"] .pay-orb { opacity: 0.28; }
html[data-theme="light"] .pay-title {
  color: var(--text);
}
html[data-theme="light"] .pay-steps li span { box-shadow: 0 0 0 6px #efece6; }
html[data-theme="light"] .pay-steps li.is-on span {
  color: #fff;
  box-shadow: 0 0 0 6px #efece6, 0 0 0 8px color-mix(in oklab, var(--accent) 22%, transparent);
}
html[data-theme="light"] .pay-panel,
html[data-theme="light"] .pay-sum-card,
html[data-theme="light"] .pay-stage {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(22, 24, 31, 0.08);
  box-shadow:
    0 22px 50px rgba(22, 24, 31, 0.08),
    inset 0 1px 0 #fff;
}
html[data-theme="light"] .pay-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-theme="light"] .pay-form textarea {
  background: #f6f3ed;
}
html[data-theme="light"] .pay-form input:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="light"] .pay-form textarea:focus {
  background: #fff;
}
html[data-theme="light"] .pay-email-box {
  background: #f6f3ed;
}
html[data-theme="light"] .pay-combo-box {
  background: #f6f3ed;
}
html[data-theme="light"] .pay-combo-list {
  background: #fff;
  box-shadow: 0 16px 36px rgba(22, 24, 31, 0.12);
}
html[data-theme="light"] .pay-email.is-ok .pay-email-box,
html[data-theme="light"] .pay-email.is-bad .pay-email-box {
  background: #fff;
}
html[data-theme="light"] .pay-pick-card {
  background: #f6f3ed;
}
html[data-theme="light"] .pay-pick-logo {
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.1), transparent 55%),
    #11141c;
}
html[data-theme="light"] .pay-pick-card.is-on,
html[data-theme="light"] .pay-pick-card:has(input:checked) {
  background: color-mix(in oklab, var(--accent) 8%, #fff);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 10%, transparent);
}
html[data-theme="light"] .pay-secure-top,
html[data-theme="light"] .is-pay .co-consent,
html[data-theme="light"] .is-pay .bank-box,
html[data-theme="light"] .pay-trust li {
  background: #f6f3ed;
}
html[data-theme="light"] .pay-sum-head {
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 8%, #fff), transparent);
}
html[data-theme="light"] .pay-sum-foot {
  background: color-mix(in oklab, #fff 90%, var(--bg));
}
html[data-theme="light"] .pay-coupon-box input,
html[data-theme="light"] .pay-coupon-box button {
  background: #f6f3ed;
}
html[data-theme="light"] .pay-submit { box-shadow: 0 14px 30px rgba(77, 111, 255, 0.22); }
html[data-theme="light"] .cc-banner {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(22, 24, 31, 0.12);
}

@media (max-width: 860px) {
  .pay-layout { grid-template-columns: 1fr; }
  .pay-fields { grid-template-columns: 1fr; }
  .pay-place-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pay-sum-card { position: static; max-height: none; }
  .pay-pick-card { grid-template-columns: auto minmax(0, 1fr); }
  .pay-pick-check { display: none; }
  .is-pay .nav-cta { display: none; }
  .pay-intro h1 { font-size: clamp(26px, 8vw, 32px); }
  .pay-panel,
  .pay-sum-card { height: auto; }
}
@media (max-width: 520px) {
  .pay-place-row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pay-orb,
  .pay-steps li.is-on span { animation: none; }
  .pay-submit::after { display: none; }
  .is-pay-ready .pay-intro,
  .is-pay-ready .pay-panel,
  .is-pay-ready .pay-sum-card,
  .is-pay-ready .pay-pick-card {
    animation: none;
    filter: none;
    transform: none;
  }
}

.is-pay-ready .pay-intro {
  animation: payRise 0.72s var(--ease) both;
}
.is-pay-ready .pay-panel {
  animation: payRise 0.76s var(--ease) 0.1s both;
}
.is-pay-ready .pay-sum-card {
  animation: payRise 0.76s var(--ease) 0.18s both;
}
.is-pay-ready .pay-pick-card {
  animation: payRise 0.55s var(--ease) both;
  animation-delay: calc(0.22s + var(--i, 0) * 70ms);
}
.is-pay .pay-intro .kicker::before {
  transform: translateY(-50%) scaleX(0);
}
.is-pay-ready .pay-intro .kicker::before {
  transform: translateY(-50%) scaleX(1);
}
@keyframes payRise {
  from { transform: translateY(18px); filter: blur(6px); }
  to { transform: none; filter: none; }
}
.pay-done .order-ok { animation: payPop 0.55s var(--ease) both; }
@keyframes payPop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.acc-nav-wrap {
  position: relative;
  z-index: 40;
}
.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.account-btn.is-in {
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line));
  background: color-mix(in oklab, var(--accent) 16%, transparent);
}
.account-btn.is-in::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
  flex: none;
}
.acc-nav-wrap.is-open .account-btn.is-in::after {
  transform: rotate(-135deg) translateY(-1px);
}
.account-btn.is-on,
.account-btn:hover {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
}
.acc-nav-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(260px, 78vw);
  padding: 8px;
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, white 10%, var(--line));
  background: color-mix(in oklab, var(--bg-2) 88%, #0a0c12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 2px;
}
.acc-nav-pop[hidden] { display: none; }
.acc-nav-who {
  padding: 10px 12px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.acc-nav-who b { display: block; font-size: 13px; }
.acc-nav-who span { display: block; font-size: 12px; color: var(--muted); word-break: break-all; }
.acc-nav-pop a,
.acc-nav-pop button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.acc-nav-pop a:hover,
.acc-nav-pop button:hover,
.acc-nav-pop a.is-on {
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.acc-nav-pop button[data-acc-nav-out] {
  margin-top: 4px;
  color: var(--danger);
}
.mob-acc-links {
  display: grid;
  gap: 6px;
  width: 100%;
}
.mob-acc-links a,
.mob-acc-links button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.mob-acc-links button { color: var(--danger); }

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.fav-btn svg { pointer-events: none; }
.fav-btn svg path { fill: none; }
.fav-btn.is-on {
  color: #ff7aa2;
  border-color: color-mix(in oklab, #ff7aa2 50%, var(--line));
  background: color-mix(in oklab, #ff7aa2 16%, var(--bg));
}
.fav-btn.is-on svg path { fill: currentColor; }
.product-art { position: relative; }

.pay-member-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--accent) 8%, var(--glass));
}
.pay-member-bar p { margin: 0; font-size: 13px; }
.pay-member-bar a { font-weight: 600; }
.pay-addr-pick { margin-bottom: 12px; }
.pay-addr-pick select {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  padding: 0 12px;
}
.pay-save-addr { margin-top: 8px; }

.is-account .acc-page {
  position: relative;
  z-index: 2;
  padding: 110px 0 72px;
}
.is-auth {
  min-height: 100vh;
}
.is-auth .acc-page {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: 108px 20px 28px;
}
.is-auth .footer { display: none; }
.acc-stage {
  width: min(1080px, 100%);
  position: relative;
  isolation: isolate;
}
.acc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.acc-orb-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: -70px;
  background: color-mix(in oklab, var(--accent) 55%, transparent);
}
.acc-orb-b {
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: -80px;
  background: color-mix(in oklab, var(--accent-2) 40%, transparent);
}
.acc-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, white 10%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in oklab, white 6%, transparent), transparent 28%),
    color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(22px);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.acc-story {
  padding: 48px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(720px 380px at 0% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 62%);
  position: relative;
}
.acc-story::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(transparent, color-mix(in oklab, white 14%, transparent), transparent);
}
.acc-story h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
  font-weight: 700;
}
.acc-lead {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.acc-feats {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.acc-feat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
  background: color-mix(in oklab, white 4%, transparent);
}
.acc-feat i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 16%, transparent);
}
.acc-feat b { display: block; font-size: 14px; }
.acc-feat span { color: var(--muted); font-size: 12px; }
.acc-guest {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.acc-panel {
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: color-mix(in oklab, black 18%, transparent);
}
.acc-panel-lead {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.acc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, white 6%, transparent);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.acc-tabs button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.acc-tabs button.is-on {
  background: linear-gradient(135deg, #9bb6ff, #7c9cff);
  color: #0b0d12;
  box-shadow: 0 8px 22px rgba(124, 156, 255, 0.28);
}
.acc-form {
  display: none;
  gap: 13px;
}
.acc-form.is-on,
.acc-form:not([hidden]) {
  display: grid;
}
.acc-form[hidden] {
  display: none !important;
}
.acc-form > label:not(.acc-field):not(.acc-check) {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.acc-form h2 { margin: 0 0 4px; font-size: 22px; }
.acc-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.acc-field-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 8px 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, white 4%, var(--glass));
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.acc-field-box:focus-within {
  border-color: color-mix(in oklab, var(--accent) 70%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
.acc-field-box svg { flex: none; color: var(--muted); }
.acc-field-box input,
.acc-form textarea,
.acc-form select {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 6px;
  font: inherit;
  outline: none;
}
.acc-form textarea {
  min-height: 84px;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.acc-form input:not(.acc-field-box input),
.acc-form select {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 10px 12px;
}
.acc-eye {
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.acc-eye:hover,
.acc-eye.is-on { color: var(--text); }
.acc-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.acc-check input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--accent); }
.acc-form-note { font-size: 12px; margin: 2px 0 0; color: var(--muted); text-align: center; }
.acc-form-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.acc-submit { height: 52px; font-size: 15px; margin-top: 4px; }
.acc-form-msg {
  margin: 0;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
}
.acc-form-msg.is-err {
  background: color-mix(in oklab, #ff6b6b 16%, transparent);
  color: #ffb4b4;
}
.acc-form-msg.is-ok {
  background: color-mix(in oklab, var(--accent) 16%, transparent);
  color: var(--text);
}
.acc-tabs[hidden] { display: none !important; }
.acc-verify-copy {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.acc-verify-copy strong {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
}
.acc-code-box input {
  text-align: center;
  letter-spacing: 0.42em;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.acc-verify-back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0 0;
  text-align: center;
}
.acc-verify-back:hover { color: var(--text); }
.acc-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 22px;
  font-size: 12px;
  color: var(--muted);
}
.acc-foot a {
  color: var(--muted);
  margin-left: 14px;
}
.acc-foot a:hover { color: var(--text); }

.is-acc-app .acc-page {
  padding: 104px 20px 80px;
}
.acc-app {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}
.is-acc-app .acc-orb-a {
  width: 420px;
  height: 420px;
  left: -140px;
  top: -80px;
  opacity: 0.38;
}
.is-acc-app .acc-orb-b {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 220px;
  opacity: 0.28;
}
.acc-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.acc-side,
.acc-main {
  border: 1px solid color-mix(in oklab, white 10%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in oklab, white 6%, transparent), transparent 32%),
    color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(22px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.acc-side {
  position: sticky;
  top: 92px;
  border-radius: 26px;
  padding: 18px 14px 14px;
}
.acc-side-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid color-mix(in oklab, white 8%, var(--line));
}
.acc-bell-wrap { position: relative; margin-left: auto; flex: none; }
.acc-bell {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, white 4%, transparent);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}
.acc-bell:hover,
.acc-bell[aria-expanded="true"] {
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
}
.acc-bell-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #7c9cff;
  color: #0b0d12;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.acc-bell-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 78vw);
  z-index: 30;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 10%, var(--line));
  background: color-mix(in oklab, #141820 88%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  padding: 10px;
}
.acc-bell-pop header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px 8px;
}
.acc-bell-pop header strong { font-size: 14px; }
.acc-bell-pop header button {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.acc-bell-pop header button:hover { color: var(--text); }
.acc-bell-list { display: grid; gap: 4px; max-height: 280px; overflow: auto; }
.acc-bell-empty {
  margin: 0;
  padding: 18px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.acc-bell-all {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.acc-bell-all:hover { color: var(--text); }
.acc-note {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}
.acc-note:hover {
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.acc-note b { font-size: 13px; }
.acc-note span { font-size: 12px; color: var(--muted); }
.acc-note em { font-size: 11px; color: var(--muted); font-style: normal; }
.acc-note.is-new {
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-color: color-mix(in oklab, var(--accent) 22%, transparent);
}
.acc-notes { display: grid; gap: 8px; }
.acc-side-who { min-width: 0; }
.acc-side-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.acc-side-mail {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acc-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(135deg, #9bb6ff, #7c9cff);
  color: #0b0d12;
  box-shadow: 0 10px 24px rgba(124, 156, 255, 0.28);
}
.acc-hello { display: block; font-size: 16px; margin: 2px 0 0; letter-spacing: -0.02em; }
.acc-sub { color: var(--muted); margin: 0 0 8px; }
.acc-nav { display: grid; gap: 3px; }
.acc-nav a,
.acc-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 10px 12px;
  border-radius: 13px;
  color: var(--muted);
  text-decoration: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.acc-nav svg { flex: none; opacity: 0.8; }
.acc-nav a.is-on,
.acc-nav a:hover,
.acc-logout:hover {
  color: var(--text);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.acc-nav a.is-on {
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 28%, transparent);
}
.acc-nav a.is-on svg { opacity: 1; color: var(--accent); }
.acc-logout { margin-top: 10px; color: #ffb4b4; }
.acc-logout:hover { background: color-mix(in oklab, #ff6b6b 14%, transparent); }
.acc-main {
  border-radius: 28px;
  padding: 28px 30px 32px;
  min-height: 560px;
}
.acc-loading {
  margin: 48px 0;
  text-align: center;
  color: var(--muted);
}
.acc-head { margin-bottom: 22px; }
.acc-kicker,
.acc-main .kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.acc-kicker a { color: var(--accent); }
.acc-head h1,
.acc-main h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.acc-head .acc-lead,
.acc-hero-lead {
  margin: 10px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
}
.acc-main h2 { font-size: 17px; margin: 0; letter-spacing: -0.02em; }
.acc-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 4px 6px;
  margin-bottom: 8px;
}
.acc-hero-mail {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.acc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: none;
}
.acc-hero-actions-inline { margin: 0 0 18px; }
.acc-link-btn,
.acc-link-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.acc-link-btn {
  color: #0b0d12;
  background: color-mix(in oklab, var(--accent) 88%, white);
  border-color: color-mix(in oklab, var(--accent) 40%, transparent);
}
.acc-link-btn:hover { filter: brightness(1.06); }
.acc-link-quiet {
  color: var(--text);
  background: transparent;
  border-color: color-mix(in oklab, white 12%, var(--line));
}
.acc-link-quiet:hover {
  background: color-mix(in oklab, white 5%, transparent);
}
.acc-link-btn-wide { width: 100%; min-height: 46px; }
button.acc-link-btn,
button.acc-link-quiet { appearance: none; }
.acc-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 26px;
}
.acc-kpi {
  display: grid;
  gap: 8px;
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
  border-radius: 20px;
  padding: 16px 16px 15px;
  text-decoration: none;
  color: var(--text);
  background: color-mix(in oklab, white 4%, var(--glass));
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.acc-kpi:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  background: color-mix(in oklab, var(--accent) 8%, var(--glass));
}
.acc-kpi i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 16%, transparent);
}
.acc-kpi b { display: block; font-size: 30px; letter-spacing: -0.05em; line-height: 1; }
.acc-kpi span { color: var(--muted); font-size: 13px; }
.acc-block {
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
  border-radius: 22px;
  padding: 8px;
  background: color-mix(in oklab, black 16%, transparent);
}
.acc-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 8px;
}
.acc-block-head a {
  font-size: 13px;
  color: var(--accent);
}
.acc-orders,
.acc-addrs,
.acc-favs,
.acc-coupons { display: grid; gap: 10px; }
.acc-block .acc-orders { gap: 6px; }
.acc-order,
.acc-addr,
.acc-fav,
.acc-coupon,
.acc-order-card,
.acc-empty,
.acc-danger {
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
  border-radius: 18px;
  padding: 16px 18px;
  background: color-mix(in oklab, white 3.5%, var(--glass));
}
.acc-order {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.18s, background 0.18s;
}
.acc-order:hover {
  border-color: color-mix(in oklab, var(--accent) 42%, var(--line));
  background: color-mix(in oklab, var(--accent) 8%, var(--glass));
}
.acc-order-id b { display: block; letter-spacing: -0.02em; }
.acc-order-id span,
.acc-order span { display: block; color: var(--muted); font-size: 12px; }
.acc-order-sum { font-size: 16px; letter-spacing: -0.03em; }
.acc-order-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.acc-support-form { margin-top: 4px; max-width: 560px; }
.acc-combo { position: relative; }
.acc-combo-btn {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
  background: color-mix(in oklab, white 4%, var(--glass));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.acc-combo-btn span { min-width: 0; display: grid; gap: 2px; }
.acc-combo-btn b {
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.acc-combo-btn em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-combo-btn svg {
  flex: none;
  color: var(--muted);
  transition: transform 0.18s;
}
.acc-combo-btn:hover {
  border-color: color-mix(in oklab, var(--accent) 42%, var(--line));
}
.acc-combo.is-open .acc-combo-btn {
  border-color: color-mix(in oklab, var(--accent) 70%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent);
}
.acc-combo.is-open .acc-combo-btn svg { transform: rotate(180deg); }
.acc-combo-list {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: none;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 10%, var(--line));
  background: color-mix(in oklab, #12141c 88%, black);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}
.acc-combo.is-open .acc-combo-list {
  display: grid;
}
.acc-combo-filter {
  width: 100%;
  min-height: 40px;
  margin: 0 0 2px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in oklab, white 6%, transparent);
  color: var(--text);
  font: inherit;
  outline: none;
}
.acc-combo-h {
  margin: 8px 8px 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.acc-combo-opt {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(7.2rem, auto) 1fr auto;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.acc-combo-opt b { letter-spacing: -0.02em; }
.acc-combo-opt em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}
.acc-combo-opt-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}
.acc-combo-opt-pills .acc-pill { padding: 3px 8px; font-size: 11px; }
.acc-combo-opt:hover,
.acc-combo-opt.is-on {
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.acc-combo-opt:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--accent) 50%, transparent);
}
.acc-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acc-topic {
  display: block;
  cursor: pointer;
}
.acc-topic input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.acc-topic span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
  background: color-mix(in oklab, white 3%, var(--glass));
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.18s, background 0.18s;
}
.acc-topic:hover span,
.acc-topic input:checked + span {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  background: color-mix(in oklab, var(--accent) 14%, var(--glass));
}
.acc-topic input:focus-visible + span {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.acc-thread { display: grid; gap: 10px; margin: 4px 0 20px; }
.acc-bubble.is-fresh { animation: acc-pop 0.34s ease; }
@keyframes acc-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.acc-bubble {
  max-width: 76%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
}
.acc-bubble header {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.acc-bubble p { margin: 0; white-space: pre-wrap; }
.acc-bubble.is-me {
  justify-self: end;
  background: color-mix(in oklab, var(--accent) 12%, var(--glass));
}
.acc-bubble.is-asfo {
  justify-self: start;
  background: color-mix(in oklab, white 4%, var(--glass));
}
.acc-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acc-pills-lg { margin: 0 0 18px; }
.acc-pill {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: color-mix(in oklab, white 3%, transparent);
  text-decoration: none;
}
.acc-pill.is-ok {
  color: #b8f0c8;
  border-color: color-mix(in oklab, #6ee7a0 35%, var(--line));
  background: color-mix(in oklab, #6ee7a0 12%, transparent);
}
.acc-pill.is-wait {
  color: #f3d59a;
  border-color: color-mix(in oklab, #e8b86d 35%, var(--line));
  background: color-mix(in oklab, #e8b86d 12%, transparent);
}
.acc-pill.is-bad {
  color: #ffb4b4;
  border-color: color-mix(in oklab, #ff6b6b 35%, var(--line));
  background: color-mix(in oklab, #ff6b6b 12%, transparent);
}
.acc-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
.acc-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 16px; }
.acc-addr header { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.acc-addr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.acc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-fav { display: grid; grid-template-columns: 92px 1fr; gap: 14px; }
.acc-fav-art {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  overflow: hidden;
  background: #171a22;
}
.acc-fav-art img { width: 100%; height: 100%; object-fit: cover; }
.acc-coupon { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-coupon b { font-size: 18px; letter-spacing: 0.04em; }
.acc-empty { text-align: center; padding: 42px 20px; }
.acc-empty p { margin: 8px 0 0; color: var(--muted); }
.acc-empty .btn,
.acc-empty .acc-link-btn { margin-top: 16px; }
.acc-empty-ico {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  position: relative;
}
.acc-empty-ico::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1.7px solid var(--accent);
  border-radius: 6px;
}
.acc-main .acc-form { margin-top: 6px; }
.acc-main .acc-addrs + .acc-form,
.acc-main .acc-form + .acc-form,
.acc-main .acc-form + .acc-danger { margin-top: 18px; }

html[data-theme="light"] .acc-form-msg.is-err { color: #8a1f1f; }
html[data-theme="light"] .account-btn.is-in { color: var(--text); }
html[data-theme="light"] .acc-board,
html[data-theme="light"] .acc-side,
html[data-theme="light"] .acc-main {
  background: color-mix(in oklab, white 82%, transparent);
}
html[data-theme="light"] .acc-tabs button.is-on { color: #fff; }
html[data-theme="light"] .acc-panel { background: color-mix(in oklab, white 40%, transparent); }
html[data-theme="light"] .acc-block,
html[data-theme="light"] .acc-kpi,
html[data-theme="light"] .acc-order,
html[data-theme="light"] .acc-addr,
html[data-theme="light"] .acc-fav,
html[data-theme="light"] .acc-coupon,
html[data-theme="light"] .acc-order-card,
html[data-theme="light"] .acc-empty,
html[data-theme="light"] .acc-danger,
html[data-theme="light"] .acc-bell-pop,
html[data-theme="light"] .acc-note.is-new {
  background: color-mix(in oklab, white 70%, transparent);
}
html[data-theme="light"] .acc-bell-pop {
  box-shadow: 0 16px 36px rgba(20, 24, 36, 0.12);
}
html[data-theme="light"] .acc-pill.is-ok { color: #1b6b3a; }
html[data-theme="light"] .acc-pill.is-wait { color: #8a5a10; }
html[data-theme="light"] .acc-pill.is-bad { color: #8a1f1f; }
html[data-theme="light"] .acc-combo-list {
  background: color-mix(in oklab, white 92%, #d8dde8);
  box-shadow: 0 16px 36px rgba(20, 24, 36, 0.12);
}

@media (max-width: 980px) {
  .acc-board,
  .acc-shell { grid-template-columns: 1fr; }
  .acc-story { padding: 28px 24px 8px; }
  .acc-story::after { display: none; }
  .acc-story h1 { font-size: 34px; }
  .acc-feats { grid-template-columns: 1fr; }
  .acc-panel { padding: 24px; }
  .acc-code-box input { font-size: 18px; letter-spacing: 0.28em; }
  .acc-side { position: static; }
  .acc-bell-pop { right: 0; left: auto; }
  .acc-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
  }
  .acc-nav a,
  .acc-logout {
    width: auto;
    white-space: nowrap;
    margin: 0;
  }
  .acc-kpis { grid-template-columns: 1fr 1fr; }
  .acc-hero { flex-direction: column; align-items: flex-start; }
  .acc-order { grid-template-columns: 1fr auto; }
  .acc-combo-opt { grid-template-columns: 1fr auto; }
  .acc-combo-opt em { grid-column: 1 / -1; order: 3; }
  .acc-combo-list { max-height: 240px; }
  .acc-bubble { max-width: 92%; }
  .acc-grid-2 { grid-template-columns: 1fr; }
  .is-auth .acc-page { padding: 96px 14px 16px; min-height: auto; }
  .is-acc-app .acc-page { padding: 96px 14px 40px; }
  .acc-main { padding: 22px 18px 24px; min-height: 0; }
  .acc-board { min-height: 0; }
}
@media (max-width: 720px) {
  .account-btn { max-width: 92px; padding: 0 10px; font-size: 12px; }
  .acc-feat span { display: none; }
  .acc-order { grid-template-columns: 1fr; }
  .acc-pills { order: 3; }
}

html:has(body.is-support-chat),
body.is-support-chat {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}
body.is-support-chat .footer,
body.is-support-chat .grain,
body.is-support-chat .acc-orb { display: none; }
body.is-support-chat .acc-page {
  padding: 80px 16px 12px;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
body.is-support-chat .acc-app,
body.is-support-chat .acc-shell {
  height: 100%;
  min-height: 0;
}
body.is-support-chat .acc-shell {
  align-items: stretch;
}
body.is-support-chat .acc-side {
  position: static;
  overflow: auto;
  max-height: 100%;
}
body.is-support-chat .acc-main {
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  display: flex;
  overflow: hidden;
}
.asfo-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.asfo-chat-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid color-mix(in oklab, white 8%, var(--line));
}
.asfo-chat-head h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.asfo-chat-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.asfo-chat-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: none;
}
.asfo-chat-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.asfo-chat-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 0 4px rgba(110, 231, 160, 0.16);
}
.asfo-chat-log {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.asfo-msg-row {
  display: flex;
  width: 100%;
  max-width: 100%;
}
.asfo-msg-row.is-me { justify-content: flex-end; }
.asfo-msg-row.is-them { justify-content: flex-start; }
.asfo-chat-day {
  align-self: center;
  margin: 6px 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  background: color-mix(in oklab, white 5%, transparent);
}
.asfo-msg {
  max-width: min(76%, 520px);
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 8%, var(--line));
}
.asfo-msg header {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.asfo-msg p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.asfo-msg.is-me {
  background: color-mix(in oklab, var(--accent) 16%, var(--glass));
  border-bottom-right-radius: 6px;
}
.asfo-msg.is-them {
  background: color-mix(in oklab, white 5%, var(--glass));
  border-bottom-left-radius: 6px;
}
.asfo-msg.is-fresh { animation: acc-pop 0.32s ease; }
.asfo-msg-files { display: grid; gap: 8px; margin-top: 8px; }
.asfo-msg-img {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  max-width: 260px;
}
.asfo-msg-img img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.asfo-msg-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: color-mix(in oklab, white 6%, transparent);
  text-decoration: none;
  color: inherit;
}
.asfo-msg-file i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--accent) 22%, transparent);
}
.asfo-msg-file b { display: block; font-size: 13px; }
.asfo-msg-file em { font-style: normal; font-size: 11px; color: var(--muted); }
.asfo-chat-bar {
  flex: none;
  padding: 10px 14px 14px;
  border-top: 1px solid color-mix(in oklab, white 8%, var(--line));
  background: color-mix(in oklab, var(--bg) 55%, transparent);
}
.asfo-chat-bar.is-drop {
  outline: 2px dashed color-mix(in oklab, var(--accent) 50%, transparent);
  outline-offset: -6px;
}
.asfo-chat-files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.asfo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
}
.asfo-chip button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
}
.asfo-chat-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.asfo-chat-row textarea {
  width: 100%;
  min-height: 44px;
  max-height: 140px;
  resize: none;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, white 4%, transparent);
  padding: 10px 12px;
  color: inherit;
  font: inherit;
}
.asfo-icon-btn,
.asfo-send {
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, white 4%, transparent);
  color: inherit;
  cursor: pointer;
}
.asfo-icon-btn { width: 40px; }
.asfo-send {
  padding: 0 16px;
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
  font-weight: 600;
}
.asfo-send:disabled { opacity: 0.5; }
.asfo-chat-note { margin: 6px 2px 0; font-size: 12px; color: var(--muted); }
.asfo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 8, 12, 0.84);
  display: grid;
  place-items: center;
  padding: 24px;
}
.asfo-lightbox[hidden] { display: none; }
.asfo-lightbox img { max-width: min(920px, 92vw); max-height: 86vh; border-radius: 12px; }
.asfo-lightbox button {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 980px) {
  body.is-support-chat .acc-page { padding: 72px 10px 8px; }
  body.is-support-chat .acc-side { display: none; }
  .asfo-msg { max-width: 92%; }
}

/* ---------- Mobile: scroll + overflow hardening ---------- */
@media (max-width: 980px) {
  :root {
    --gutter: clamp(16px, 4.5vw, 28px);
    --nav-h: 64px;
  }
  html,
  body {
    overflow-x: clip;
    overscroll-behavior-x: none;
    width: 100%;
    max-width: 100%;
  }
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 16px);
    padding-bottom: 24px;
  }
  .hero-title,
  .section-title,
  .shop-head h2,
  h1, h2, h3 {
    overflow-wrap: anywhere;
  }
  .nav,
  .footer,
  .section,
  .hero-grid,
  .product-card,
  .work-card,
  .pay-page,
  .acc-page,
  .contact-card,
  .cc-banner,
  .cc-inner,
  .cc-body {
    min-width: 0;
    max-width: 100%;
  }
  .cc-body { min-width: 0; }
  .marquee { touch-action: pan-y; }
  .cart-drawer,
  .mobile-menu {
    max-width: 100vw;
  }
  .pay-orb,
  .acc-orb {
    max-width: 100%;
    pointer-events: none;
  }
  .acc-stage,
  .is-auth .acc-page,
  .is-account .acc-page,
  .pay-page,
  .is-pay {
    overflow-x: clip;
  }
  .acc-orb-a { width: 200px; height: 200px; }
  .acc-orb-b { width: 160px; height: 160px; right: -24px; }
  input,
  select,
  textarea {
    max-width: 100%;
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  .stat-row,
  .bento,
  .process-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .btn-row,
  .hero-cta {
    flex-wrap: wrap;
  }
  .work-card,
  .product-card {
    width: 100%;
  }
}
