:root {
  --ink: #242947;
  --muted: #73788b;
  --paper: #f7f8fb;
  --line: #e5e7ee;
  --blue: #4265df;
  --yellow: #f3cb53;
  --red: #dc5750;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 14px 50px #24294710;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--white);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #4265df90;
  outline-offset: 4px;
}
::selection {
  background: #f3cb5380;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, calc(100% - 64px));
  margin: auto;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -70px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.announcement {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 8px 20px;
}
.announcement span {
  color: #d3d8eb;
  margin-left: 20px;
}
.site-head {
  border-bottom: 1px solid var(--line);
  background: white;
}
.header-main {
  height: 96px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  width: 202px;
  height: auto;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 15px;
  flex: 1;
  margin: 0 22px;
}
.header-search input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
  min-width: 30px;
}
.header-search button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--muted);
}
.head-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
}
.head-actions a,
.head-actions button {
  display: flex;
  align-items: center;
  gap: 9px;
}
.head-actions button {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 0;
}
.cart-count {
  background: var(--blue);
  color: white;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: grid;
  place-items: center;
  margin-left: -5px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 51px;
  border-top: 1px solid #f1f2f6;
  font-size: 13px;
}
.header-nav a {
  transition: color 0.15s;
}
.header-nav a:hover {
  color: var(--blue);
}
.header-nav .guide-link {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
.nav-indicator {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--blue);
  margin: 0 8px 2px 0;
}
.setup-bar {
  background: #fff9e8;
  text-align: center;
  padding: 5px 12px;
  font-size: 11px;
  color: #7e6530;
  border-bottom: 1px solid #f1e4c0;
}
.button,
.btn {
  border: 1px solid transparent;
  padding: 13px 22px;
  border-radius: 8px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  background: var(--blue);
  color: white;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover,
.btn:hover {
  background: #3355cd;
}
.button.secondary,
.btn.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}
.button.secondary:hover,
.btn.secondary:hover {
  background: var(--paper);
}
.button.dark {
  background: var(--ink);
}
.button.ghost {
  background: transparent;
  color: var(--ink);
  padding-left: 0;
  padding-right: 0;
}
.button.small {
  padding: 8px 14px;
  font-size: 12px;
}
.text-link {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 19px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 0 0 7px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.section-head .text-link {
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.pill {
  display: inline-block;
  padding: 4px 9px;
  background: #eef1fb;
  color: #4265bc;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
}
.pill.yellow {
  background: #fff5d4;
  color: #876c23;
}
.pill.green {
  background: #eaf5ef;
  color: #347350;
}
.form-field {
  display: block;
  margin: 0 0 17px;
}
.form-field > span,
.form-field > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 7px;
}
.form-field input,
.form-field select,
.form-field textarea,
input.input,
select.input,
textarea.input {
  display: block;
  width: 100%;
  border: 1px solid #dce0e9;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  border-radius: 7px;
  line-height: 1.45;
  font-size: 14px;
  min-width: 0;
}
.form-field textarea {
  min-height: 100px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.checkbox {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0;
}
.checkbox input {
  margin-top: 4px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.checkbox a {
  text-decoration: underline;
  color: var(--ink);
}
.form-error {
  color: #b73636;
  background: #fff1f0;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
.page-main {
  padding: 45px 0 80px;
  min-height: 60vh;
  background: var(--paper);
}
.breadcrumbs {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 28px;
}
.breadcrumbs span {
  padding: 0 8px;
}
.page-title {
  font-size: 36px;
  letter-spacing: -1.3px;
  line-height: 1.2;
  margin: 0 0 15px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
}
.notice {
  font-size: 12px;
  background: #edf1fc;
  color: #435891;
  padding: 13px 16px;
  border-radius: 8px;
  line-height: 1.7;
}
.empty-state {
  text-align: center;
  padding: 60px 24px;
}
.empty-state .empty-symbol {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: #eef1fa;
  color: #8293c5;
  border-radius: 50%;
  margin: 0 auto 18px;
}
.empty-state .icon {
  width: 30px;
  height: 30px;
}
.empty-state h3 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 auto 20px;
  max-width: 390px;
}
.price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.site-footer {
  background: #f7f8fb;
  border-top: 1px solid var(--line);
  padding: 52px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 35px;
}
.footer-brand img {
  width: 170px;
  mix-blend-mode: multiply;
}
.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  max-width: 240px;
  margin-top: 20px;
}
.footer-col h3 {
  font-size: 12px;
  margin: 0 0 17px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 9px 0;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  gap: 20px;
}
.payment-word {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}
.payment-word b {
  font-size: 20px;
  letter-spacing: -1px;
  color: #3677e8;
}
.footer-disclaimer {
  font-size: 9px;
  color: #8c91a2;
  margin: 14px 0 0;
  max-width: 900px;
}
.toasts {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 9px;
  box-shadow: var(--shadow);
  margin: 8px 0;
  text-align: center;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #151b3850;
  z-index: 80;
}
.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(460px, 100%);
  background: #fff;
  z-index: 81;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 70px #141d3920;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin: 0;
  font-size: 22px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.drawer-items {
  overflow: auto;
  flex: 1;
  padding: 10px 25px;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 64px;
  height: 88px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 6px;
}
.cart-item h3 {
  font-size: 14px;
  margin: 0 0 3px;
}
.cart-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.quantity button {
  border: 0;
  background: none;
  width: 28px;
  height: 29px;
}
.quantity span {
  min-width: 20px;
  text-align: center;
  font-size: 12px;
}
.remove-item {
  border: 0;
  background: none;
  font-size: 11px;
  text-decoration: underline;
  color: var(--muted);
}
.drawer-bottom {
  padding: 22px 28px;
  border-top: 1px solid var(--line);
}
.total-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 10px 0;
  font-size: 13px;
}
.total-line.grand {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  font-weight: 700;
  font-size: 17px;
}
.full {
  width: 100%;
}
dialog {
  border: 0;
  border-radius: 16px;
  color: var(--ink);
  padding: 0;
  max-width: min(860px, calc(100% - 32px));
  width: 860px;
  max-height: 90vh;
  box-shadow: 0 25px 100px #12193635;
}
dialog::backdrop {
  background: #151b3855;
}
dialog .close-dialog {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .header-main {
    gap: 20px;
    height: 84px;
  }
  .brand img {
    width: 170px;
  }
  .header-search {
    margin: 0;
  }
  .head-actions {
    gap: 17px;
  }
  .head-actions .action-label {
    display: none;
  }
  .header-nav {
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 25px;
  }
  .footer-col:last-child {
    grid-column: 2/4;
  }
  .container {
    width: calc(100% - 40px);
  }
}
@media (max-width: 580px) {
  .container {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .announcement span {
    display: none;
  }
  .header-main {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 14px;
  }
  .brand img {
    width: 159px;
  }
  .head-actions {
    margin-left: auto;
    gap: 17px;
  }
  .header-search {
    order: 3;
    flex-basis: 100%;
    padding: 8px 12px;
    margin-top: 6px;
  }
  .header-nav {
    height: 48px;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
    scrollbar-width: none;
  }
  .header-nav .guide-link {
    display: none;
  }
  .setup-bar {
    font-size: 9px;
  }
  .section-head {
    align-items: start;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .section-head p {
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1/3;
  }
  .footer-col:last-child {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .site-footer {
    padding-top: 35px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-main {
    padding-top: 28px;
  }
  .page-title {
    font-size: 29px;
  }
  .panel {
    padding: 22px;
  }
  .empty-state {
    padding: 40px 16px;
  }
  .button,
  .btn {
    padding: 12px 18px;
  }
  .head-actions .icon {
    width: 22px;
    height: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
