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

:root {
  --page-grad: linear-gradient(180deg, #2d6f85 0%, #ccebf1 14%, #daf3f8 34%, #daf3f8 84%, #ffffff 100%);
  --panel: #ffffff;
  --panel-soft: #eefcff;
  --panel-strong: #daf3f8;
  --ink: #0c2a45;
  --ink-soft: rgba(12, 42, 69, 0.6);
  --line: #ccebf1;
  --chip-bg: #daf3f8;
  --chip-ink: #0c2a45;
  --nav-bg: rgba(238, 252, 255, 0.9);
  --mark-l1: #ccebf1;
  --shadow: 0 10px 30px rgba(96, 96, 96, 0.2);
  --shadow-card: 0 6px 18px rgba(96, 96, 96, 0.14);
  --input-bg: #ffffff;
  --track-bg: #daf3f8;
  --track-line: #ccebf1;
  --track-ink: rgba(12, 42, 69, 0.5);
  --btn-ink: #0c2a45;
  --btn-accent-ink: #0c2a45;
  --banner-ink: #0c2a45;
  --ghost-bg: #daf3f8;
  --ghost-ink: #0c2a45;
  --layer-bg: rgba(204, 235, 241, 0.6);
  --t-fidget: #eefcff;
  --t-toy: #e6f8fc;
  --t-holder: #eaf9fd;
  --t-personalized: #eaf9fd;
  --blue-light: #eefcff;
  --blue-mid: #ccebf1;
  --blue-deep: #0c2a45;
  --pr-mid: #6aa9be;
  --pr-frame: #a7d9e6;
  --pr-line: #ffffff;
  --pr-desk: #eefcff;
  --pr-spool: #2d6f85;
  --grad-btn: linear-gradient(180deg, #ccebf1, #daf3f8);
  --banner-grad: linear-gradient(150deg, #ccebf1 0%, #daf3f8 60%, #eefcff 100%);
  --font: "Overpass", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 16px;
}

:root[data-theme="dark"] {
  --page-grad: linear-gradient(180deg, #071525 0%, #0c2a45 50%, #2d6f85 100%);
  --panel: #0c2a45;
  --panel-soft: #0f3352;
  --panel-strong: #123a5e;
  --ink: #eef9fb;
  --ink-soft: #a7d9e6;
  --line: #2d6f85;
  --chip-bg: #0f3352;
  --chip-ink: #a7d9e6;
  --nav-bg: rgba(7, 21, 37, 0.9);
  --mark-l1: #a7d9e6;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.38);
  --input-bg: #071525;
  --track-bg: #0f3352;
  --track-line: #2d6f85;
  --track-ink: #a7d9e6;
  --btn-ink: #ffffff;
  --btn-accent-ink: #ffffff;
  --banner-ink: #ffffff;
  --ghost-bg: #0f3352;
  --ghost-ink: #eef9fb;
  --layer-bg: rgba(167, 217, 230, 0.14);
  --t-fidget: #091c30;
  --t-toy: #081a2c;
  --t-holder: #0b2440;
  --t-personalized: #061420;
  --blue-light: #a7d9e6;
  --blue-mid: #2d6f85;
  --blue-deep: #a7d9e6;
  --pr-mid: #2d6f85;
  --pr-frame: #a7d9e6;
  --pr-line: #eef9fb;
  --pr-desk: #0c2a45;
  --pr-spool: #ccebf1;
  --grad-btn: linear-gradient(180deg, #2d6f85, #0c2a45);
  --banner-grad: linear-gradient(150deg, #071525, #0c2a45 60%, #2d6f85);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-grad);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  transition: background 0.25s, color 0.25s;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--panel);
  color: var(--ink);
}
.icon-btn {
  background: var(--panel);
  border: 0;
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(96, 96, 96, 0.18);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.icon-btn:hover { transform: translateY(-2px); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(96, 96, 96, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.theme-toggle .tt-ic { display: inline-flex; align-items: center; }
.cart-btn {
  position: relative;
  background: var(--panel);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(96, 96, 96, 0.18);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e8594f;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav-toggle {
  display: none;
  background: var(--panel);
  border: 0;
  border-radius: 10px;
  font-size: 1.3rem;
  padding: 6px 11px;
  color: var(--ink);
  margin-left: auto;
}

/* ---------- Hero ---------- */
.hero {
  color: #0c2a45;
  padding: 72px 20px 60px;
  text-align: center;
  background: linear-gradient(160deg, rgba(204, 235, 241, 0.75) 0%, rgba(218, 243, 248, 0.8) 45%, rgba(238, 252, 255, 0.85) 100%);
}
:root[data-theme="dark"] .hero {
  color: #fff;
  background: linear-gradient(160deg, rgba(7, 21, 37, 0.55) 0%, rgba(12, 42, 69, 0.5) 45%, rgba(45, 111, 133, 0.42) 100%);
}
.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:root[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  margin: 18px auto 14px;
  max-width: 720px;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(96, 96, 96, 0.3);
}
.hero p.lead {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.65);
  text-shadow: 0 1px 6px rgba(96, 96, 96, 0.24);
}
:root[data-theme="dark"] .hero p.lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(7, 21, 37, 0.24);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--panel);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(96, 96, 96, 0.24); }
.btn.secondary {
  background: rgba(255, 255, 255, 0.55);
  color: #0c2a45;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  box-shadow: none;
}
.btn.secondary:hover { background: rgba(255, 255, 255, 0.8); }
:root[data-theme="dark"] .btn.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
:root[data-theme="dark"] .btn.secondary:hover { background: rgba(255, 255, 255, 0.26); }
.btn.ghost {
  background: var(--ghost-bg);
  color: var(--ghost-ink);
  box-shadow: none;
}
.hero-art {
  position: relative;
  max-width: 860px;
  margin: 40px auto 0;
  user-select: none;
  -webkit-user-select: none;
}
.hero-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
}
.hline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  letter-spacing: 0.5px;
}
.bl {
  font-family: var(--font);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  padding: 0;
  color: var(--chip-ink);
  text-shadow: 3px 4px 0 rgba(96, 96, 96, 0.3);
  opacity: 0;
  transform: translateY(4px);
  will-change: opacity, transform;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.6), opacity 0.25s;
}
.bl.on { opacity: 1; transform: translateY(0); }
.hero-title.pop .bl {
  animation: blexpl 0.55s cubic-bezier(0.25, 0.8, 0.4, 1.2) both;
}
.hero-title:not(.pop) .bl {
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.9, 0.5), opacity 0.3s;
}
@keyframes blexpl {
  0% {
    opacity: 0;
    transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.15) rotate(var(--rot, 0deg));
  }
  50% {
    opacity: 1;
    transform: translate(calc(var(--dx, 0px) * 0.4), calc(var(--dy, 0px) * 0.4)) scale(1.55) rotate(calc(var(--rot, 0deg) * 0.6));
  }
  75% {
    transform: translate(0px, 0px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.hero-img {
  width: 100%;
  display: block;
}

/* ---------- Shell ---------- */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section {
  margin: 34px auto;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 42px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.section-head { text-align: center; margin-bottom: 28px; }
.section-head .kicker {
  color: var(--chip-ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin: 6px 0 8px; }
.section-head p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* ---------- Category strip ---------- */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--panel-soft);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.16s;
  border: 1px solid var(--line);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-marks { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; }
.cat-marks span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--blue-mid), var(--blue-light));
  opacity: 0.8;
}
.cat-marks span:nth-child(1) { opacity: 0.45; }
.cat-marks span:nth-child(2) { opacity: 0.65; translate: 0 -4px; }
.cat-marks span:nth-child(3) { opacity: 0.85; translate: 0 -8px; }
.cat-card h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.cat-card p { font-size: 0.88rem; color: var(--ink-soft); height: 40px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 26px;
}
.tab {
  border: 1.5px solid var(--blue-mid);
  background: var(--panel);
  color: var(--chip-ink);
  font-weight: 700;
  padding: 9px 19px;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: background 0.15s, color 0.15s;
}
.tab:hover { background: var(--panel-soft); }
.tab.active {
  background: var(--grad-btn);
  color: var(--btn-accent-ink);
  border-color: transparent;
}

/* ---------- Product groups & cards ---------- */
.group { margin-bottom: 40px; }
.group:last-child { margin-bottom: 0; }
.group h3.group-title {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: var(--ink);
}
.group-title .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.group .count { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s, box-shadow 0.16s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art {
  position: relative;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.art-layers {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px;
  opacity: 0.5;
}
.art-layers span {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: var(--layer-bg);
}
.art-layers span:nth-child(2) { width: 82%; }
.art-layers span:nth-child(3) { width: 92%; }
.art-layers span:nth-child(4) { width: 70%; }
.product-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 18px rgba(96, 96, 96, 0.16);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 3.8rem;
  line-height: 1;
}
.product-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(96, 96, 96, 0.2));
}
.card[data-sku="p23"] .product-image { padding: 0; transform: scale(1.5) translateY(-8px); }
.card[data-sku="p14"] .product-image { padding: 0; transform: scale(1.35); }
.card[data-sku="p03"] .product-image { padding: 0; transform: scale(1.4); }
.card[data-sku="p17"] .product-image { padding: 30px; transform: scale(0.8); }
.card:hover .product-art { transform: scale(1.06) rotate(-3deg); }
.product-art { transition: transform 0.16s ease; }
.team-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.team-card .avatar { margin-bottom: 10px; }
.team-card h4 { font-size: 1rem; }
.chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chip-ink);
  background: var(--chip-bg);
  border-radius: 999px;
  padding: 4px 11px;
}
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h4 { font-size: 1.08rem; margin: 10px 0 6px; color: var(--ink); }
.card-body .desc { font-size: 0.9rem; color: var(--ink-soft); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.add-btn {
  background: var(--grad-btn);
  color: var(--btn-accent-ink);
  border: 0;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 4px 12px rgba(96, 96, 96, 0.28);
}
.add-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(96, 96, 96, 0.34); }

/* ---------- Custom orders banner ---------- */
.custom-banner {
  background: var(--banner-grad);
  color: var(--banner-ink);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.custom-banner h3 { font-size: 1.6rem; margin-bottom: 8px; }
.custom-banner p { max-width: 560px; opacity: 0.95; }
.custom-banner a.btn { color: var(--banner-ink); background: rgba(255, 255, 255, 0.16); box-shadow: none; }
.custom-banner a.btn.outline {
  background: transparent;
  color: var(--banner-ink);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
}
.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.cart-item .thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.cart-item .thumb .art { height: 84px; }
.cart-item .product-art { width: 56px; height: 56px; font-size: 2rem; }
.cart-item .product-image { padding: 5px; }
.cart-info { flex: 1; min-width: 0; }
.cart-info h4 { font-size: 1rem; }
.cart-info .unit { font-size: 0.85rem; color: var(--ink-soft); }
.opts {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.opts .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-mid);
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}
.qty button:hover { background: var(--blue-mid); color: var(--btn-accent-ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart-line-total { font-weight: 800; color: var(--ink); }
.remove {
  background: none;
  border: 0;
  color: #d1405c;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  margin-top: 8px;
  padding: 0;
}
.summary {
  background: var(--panel-soft);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
}
.summary h3 { margin-bottom: 14px; font-size: 1.2rem; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.95rem; color: var(--ink-soft); }
.summary .row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.summary .btn { width: 100%; text-align: center; margin-top: 14px; }
.summary .note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.empty {
  text-align: center;
  padding: 50px 20px;
}
.empty .empty-mark { margin-bottom: 14px; }
.empty-mark svg { opacity: 0.55; margin: 0 auto; }
.empty h3 { margin: 0 0 6px; }
.empty p { color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- Forms ---------- */
fieldset { border: 0; }
legend {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.85rem; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(95, 158, 214, 0.2);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.hint { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Simple checkout ---------- */
.simple-checkout { max-width: 640px; margin: 0 auto; }
.order-lines {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.order-lines .line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.92rem;
}
.order-lines .dim { color: var(--ink-soft); font-size: 0.85rem; }
.order-lines .total-line {
  border-top: 1px dashed var(--line);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 800;
}
.simple-checkout fieldset { margin-bottom: 20px; }
.simple-checkout .btn { width: 100%; text-align: center; }

/* ---------- Confirmation ---------- */
.confirm {
  text-align: center;
  padding: 46px 20px;
}
.confirm .confirm-mark { margin-bottom: 14px; }
.confirm .confirm-mark svg { margin: 0 auto; }
.confirm h2 { margin: 0 0 8px; }
.confirm p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 14px; }
.order-num {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 16px;
}
.order-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.order-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.order-id { font-weight: 800; color: var(--chip-ink); }
.order-date { color: var(--ink-soft); font-size: 0.88rem; }
.order-items { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; }
.order-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; }
.badge-status {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-status.step1 { background: var(--chip-bg); color: var(--chip-ink); }
.badge-status.step2 { background: #fff3e0; color: #b56a13; }
.badge-status.step3 { background: #e7f6ec; color: #1e7d45; }
.badge-status.step4 { background: #eef0fb; color: #4b4fd6; }
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.account-profile {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
  text-align: center;
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: var(--btn-accent-ink);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.account-profile h3 { margin-bottom: 2px; }
.account-profile .mail { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 16px; word-break: break-all; }
.account-profile .signout {
  width: 100%;
  background: linear-gradient(180deg, #f0a3b3, #e37f97);
  color: #fff;
  border: 0;
  font-weight: 700;
  padding: 11px;
  border-radius: 999px;
}
.account-profile .signout:hover { transform: translateY(-2px); }
.mini-btn {
  width: 100%;
  background: var(--ghost-bg);
  border: 0;
  color: var(--ghost-ink);
  font-weight: 700;
  padding: 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.mini-btn:hover { transform: translateY(-1px); }
.name-edit {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.name-edit input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--input-bg);
  color: var(--ink);
}
.name-edit .save {
  background: var(--grad-btn);
  color: var(--btn-accent-ink);
  border: 0;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ---------- Auth ---------- */
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.auth-tabs button {
  flex: 1;
  padding: 11px;
  border-radius: 12px;
  border: 1.5px solid var(--blue-mid);
  background: var(--panel);
  font-weight: 800;
  color: var(--chip-ink);
}
.auth-tabs button.active { background: var(--grad-btn); color: var(--btn-accent-ink); border-color: transparent; }
.auth-form .form-field { margin-bottom: 14px; }
.auth-form .btn { width: 100%; text-align: center; }
.auth-note { font-size: 0.82rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.auth-err {
  display: none;
  background: #fdecea;
  color: #b3362f;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 13px;
  margin-bottom: 12px;
  text-align: center;
}
.gbtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s, box-shadow 0.15s;
}
.gbtn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gbtn svg { flex-shrink: 0; }
.gbtn-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0 6px;
  min-height: 46px;
}
.link-btn {
  background: none;
  border: none;
  color: var(--blue-mid);
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 0;
  font-size: 0.9rem;
  font-family: var(--font);
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.back {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0;
}
.g-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.g-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pts-chip {
  display: inline-block;
  background: linear-gradient(180deg, #ffd76a, #f6a83c);
  color: #6b3d00;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(246, 168, 60, 0.35);
}
.panel {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-card);
}
.panel h3 { margin-bottom: 12px; font-size: 1.15rem; }
.reward-panel {
  background: linear-gradient(160deg, var(--panel-soft), var(--panel-strong));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.rp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rp-title h3 { font-size: 1.3rem; margin-bottom: 4px; }
.rp-title p { color: var(--ink-soft); font-size: 0.88rem; }
.pts-big {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffd76a, #f6a83c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.rp-progress {
  height: 12px;
  border-radius: 999px;
  background: var(--track-bg);
  border: 1px solid var(--track-line);
  overflow: hidden;
  margin-bottom: 8px;
}
.rp-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd76a, #f6a83c);
  transition: width 0.4s ease;
}
.rp-next { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 16px; }
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.reward-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-card);
}
.reward-card .rp-pts { font-weight: 800; color: #c98614; font-size: 0.9rem; }
.reward-card h4 { font-size: 1rem; }
.reward-card p { font-size: 0.82rem; color: var(--ink-soft); flex: 1; }
.redeem {
  align-self: flex-start;
  background: linear-gradient(180deg, #ffd76a, #f6a83c);
  color: #6b3d00;
  border: 0;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 4px 12px rgba(246, 168, 60, 0.3);
}
.redeem:hover { transform: translateY(-2px); }
.reward-card .need { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); align-self: flex-start; }
.voucher-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding: 10px 0;
}
.voucher-row:first-of-type { border-top: 0; }
.voucher-code { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.copy {
  background: var(--chip-bg);
  border: 0;
  color: var(--chip-ink);
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.copy:hover { background: var(--blue-mid); color: var(--btn-accent-ink); }
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed var(--line);
  padding: 10px 0;
}
.order-row:first-of-type { border-top: 0; }
.order-items { color: var(--ink-soft); font-size: 0.85rem; }
.order-total { font-weight: 800; white-space: nowrap; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 25, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal {
  background: var(--panel);
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(96, 96, 96, 0.4);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--line);
}
.modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--ghost-bg);
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 800;
  color: var(--ghost-ink);
}
.modal-body { padding: 26px 26px 10px; }
.modal-title { font-size: 1.25rem; margin-bottom: 18px; padding-right: 30px; }
.modal-foot { padding: 14px 26px 24px; display: flex; justify-content: flex-end; gap: 10px; }
.opt-row { margin-bottom: 16px; }
.opt-label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  box-shadow: 0 0 0 1.5px var(--line);
  cursor: pointer;
  transition: transform 0.12s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: 0 0 0 2.5px var(--ink); }

/* ---------- About ---------- */
.about-hero { text-align: center; }
.about-hero .about-mark { margin-bottom: 14px; }
.about-hero .about-mark svg { margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.step-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.step-card .step-num {
  width: 34px; height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: var(--btn-accent-ink);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-card h4 { margin-bottom: 4px; }
.step-card p { font-size: 0.88rem; color: var(--ink-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.value-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.value-card .v-mark { margin-bottom: 10px; color: var(--chip-ink); }
.value-card h4 { margin-bottom: 4px; }
.value-card p { font-size: 0.88rem; color: var(--ink-soft); }
.svc-box {
  background: var(--banner-grad);
  color: var(--banner-ink);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 0;
  text-align: center;
}
.svc-box a { text-decoration: underline; font-weight: 700; }
.svc-box .btn { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 46px;
  background: linear-gradient(180deg, rgba(204, 235, 241, 0.96), rgba(218, 243, 248, 0.97));
  color: #0c2a45;
}
:root[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, rgba(12, 42, 69, 0.96), rgba(7, 21, 37, 0.97));
  color: #a7d9e6;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 24px;
}
.footer-logo { font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 9px; }
.footer-brand p { margin: 10px 0; opacity: 0.9; max-width: 440px; font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 700; font-size: 0.92rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-service h3 { margin-bottom: 10px; }
.footer-service p { opacity: 0.92; max-width: 640px; font-size: 0.92rem; }
.footer-mail { margin-top: 10px; }
.footer-mail a { text-decoration: underline; font-weight: 700; }
.footer-copy {
  margin-top: 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 18px;
  font-size: 0.82rem;
  opacity: 0.8;
}
:root[data-theme="dark"] .footer-copy {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--panel);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--nav-bg);
    padding: 12px 18px;
    gap: 4px;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout, .account-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .summary, .account-profile { position: static; }
  .footer-links { justify-content: center; }
  .footer-brand, .footer-service { text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .cat-card p { height: auto; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h4 { font-size: 0.95rem; }
  .card-body .desc { font-size: 0.8rem; }
  .price { font-size: 0.95rem; }
  .add-btn { padding: 8px 11px; font-size: 0.8rem; }
  .section { padding: 30px 18px; }
  .hero { padding: 52px 14px 44px; }
  .logo span { display: none; }
  .tt-tx { display: none; }
}
