/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .italic {
    font-style: italic;
  }
  .underline {
    text-decoration-line: underline;
  }
}
:root {
  --ink: #000000;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --card: #ffffff;
  --red: #a5272d;
  --red-dark: var(--red);
  --red-soft: #fcf4f4;
  --red-selected: #f8e9ea;
  --red-border: rgba(165,39,45,.28);
  --muted: #666666;
  --line: #dddddd;
  --green: #4d735b;
  --blue: #496c88;
  --shadow: 0 18px 50px rgba(0,0,0,.09);
  --font-sans: "Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
  --font-serif: "Noto Serif TC","Songti TC","PMingLiU",serif;
  --font-mono: "Noto Sans Mono","SFMono-Regular",Consolas,monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,textarea,select {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {
  outline: 3px solid rgba(165,39,45,.28);
  outline-offset: 3px;
}
.container {
  width: min(1180px,calc(100% - 56px));
  margin-inline: auto;
}
.eyebrow {
  display: block;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  font-weight: 500;
  text-transform: uppercase;
}
.muted-note {
  color: var(--muted);
  font-size: .82rem;
}
.primary-button,.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.primary-button {
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 22px rgba(165,39,45,.22);
}
.primary-button:hover {
  background: var(--red-dark);
}
.primary-button:disabled {
  background: #b3b3b3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.outline-button {
  border-color: var(--line);
  background: transparent;
}
.outline-button:hover {
  border-color: var(--ink);
  background: var(--card);
}
.primary-button.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 800;
}
.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
  color: var(--muted);
}
.field-error {
  color: var(--red);
  font-size: .84rem;
  margin: 8px 0 0;
}
.success-text {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
}
.testing-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 8px 20px;
  background: #fff4d6;
  border-bottom: 1px solid #e9d39a;
  color: #382b13;
  font-size: 13px;
}
.testing-notice p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  text-align: center;
}
.testing-notice strong {
  font-weight: 800;
  white-space: nowrap;
}
.testing-notice button {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.testing-notice button:hover {
  background: rgba(56,43,19,.1);
}
@media (max-width:640px) {
  .testing-notice {
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
  }
  .testing-notice p {
    justify-content: flex-start;
    text-align: left;
  }
}
.testing-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.56);
}
.testing-popup {
  width: min(100%,440px);
  padding: 32px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  text-align: center;
}
.testing-popup-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.testing-popup h2 {
  margin: 10px 0 14px;
  font-size: 25px;
  line-height: 1.3;
}
.testing-popup p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.testing-popup button {
  min-width: 160px;
  min-height: 44px;
  margin-top: 26px;
  padding: 8px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.testing-popup button:hover {
  background: var(--red-dark);
}
@media (max-width:640px) {
  .testing-popup {
    padding: 28px 22px;
  }
  .testing-popup h2 {
    font-size: 22px;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.2);
}
.header-inner {
  width: min(1220px,calc(100% - 32px));
  height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer-logo {
  width: 48px;
  height: 48px;
}
.brand b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: .1em;
  font-weight: 800;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: .55rem;
  letter-spacing: .18em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-right: auto;
  font-size: 15px;
  font-weight: 600;
}
.main-nav a {
  padding-block: 23px;
}
.main-nav a:hover {
  color: var(--red);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.icon-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}
.icon-link span {
  position: absolute;
  right: 1px;
  top: 1px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-size: .64rem;
}
.header-pill,.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 800;
}
.header-cta {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.menu-button,.mobile-only {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1240px;
  min-height: 680px;
  margin-inline: auto;
}
.hero-watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  z-index: 0;
  transform: translateY(-52%);
  color: var(--red);
  opacity: .055;
  font-family: var(--font-serif);
  font-size: clamp(220px,32vw,420px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 78px 0 48px;
}
.hero-copy {
  width: min(700px,100%);
}
.hero-copy h1 {
  margin: 18px 0 20px;
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1.15;
  letter-spacing: normal;
  font-weight: 900;
}
.hero-copy h1 em {
  color: var(--red);
  font-style: normal;
}
.hero-copy>p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.hero-copy .text-link {
  margin-top: 8px;
}
.ai-order-card {
  position: relative;
  margin-top: 32px;
  padding: 26px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.dropzone {
  padding: 8px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--card);
}
.dropzone.compact {
  background: var(--card);
}
.dropzone-button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 74px;
  padding: 12px 18px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dropzone-button svg {
  color: var(--red);
}
.dropzone-button b,.dropzone-button small,.selected-file b,.selected-file small {
  display: block;
}
.dropzone-button small,.selected-file small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .75rem;
}
.selected-file {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 10px 16px;
}
.selected-file>svg {
  color: var(--green);
}
.upload-spinner {
  animation: upload-spin .8s linear infinite;
}
@keyframes upload-spin {
  to {
    transform: rotate(360deg);
  }
}
.selected-file span {
  flex: 1;
}
.selected-file button {
  border: 0;
  background: none;
  cursor: pointer;
}
.ai-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 12px;
}
.ai-input-row textarea {
  resize: none;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-size: 16px;
  line-height: 1.6;
}
.ai-input-row .primary-button {
  align-self: end;
  height: 48px;
  min-height: 48px;
  margin-bottom: 2px;
  padding: 12px 20px;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.suggestions a,.suggestions button {
  padding: 7px 14px;
  border: 0;
  border-radius: 99px;
  background: var(--red-soft);
  color: var(--red);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.home-agent-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.home-agent-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}
.home-agent-message.user {
  flex-direction: row-reverse;
}
.home-agent-message>span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.home-agent-message>span svg {
  width: 16px;
  height: 16px;
}
.home-agent-message.user>span {
  background: var(--ink);
}
.home-agent-message p {
  max-width: min(620px,calc(100% - 50px));
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  color: var(--ink);
  line-height: 1.65;
}
.home-agent-message.user p {
  border-radius: 16px 4px 16px 16px;
  background: var(--red-soft);
}
.home-agent-product {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 14px 0 0 44px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.home-agent-product>div {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  font-size: 26px;
}
.home-agent-product>span {
  min-width: 0;
}
.home-agent-product small,.home-agent-product b,.home-agent-product p,.home-agent-product strong {
  display: block;
}
.home-agent-product small {
  color: var(--muted);
}
.home-agent-product b {
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 18px;
}
.home-agent-product p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
}
.home-agent-product strong {
  color: var(--red);
}
.home-agent-product>a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}
.home-agent-product>a svg {
  width: 16px;
}
.home-agent-products {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 12px 0 4px 38px;
}
.home-agent-product-art {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.home-agent-product-art img {
  object-fit: cover;
}
.home-agent-workspace.active {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 20px;
  margin-top: 32px;
}
.agent-chat-card,.order-data-card,.estimate-hint-card {
  border: 1px solid rgba(0,0,0,.2);
  background: var(--card);
  box-shadow: var(--shadow);
}
.agent-chat-card {
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  height: clamp(420px,68vh,680px);
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
}
.agent-chat-card>header {
  gap: 12px;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 14px 20px;
}
.agent-chat-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.agent-chat-title>span,.agent-chat-reply>span {
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-serif);
  font-weight: 800;
}
.agent-chat-title>span {
  width: 36px;
  height: 36px;
}
.agent-chat-title b,.agent-chat-title small {
  display: block;
}
.agent-chat-title b {
  font-size: 15px;
}
.agent-chat-title small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.agent-chat-title small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4e7d61;
}
.agent-chat-card>header>button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 99px;
  background: var(--paper-2,var(--paper-2));
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.agent-chat-card>header>button svg {
  width: 14px;
  height: 14px;
}
.agent-chat-messages {
  min-width: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  padding: 20px 20px 8px;
  scrollbar-gutter: stable;
}
.agent-chat-jump {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 72px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.agent-chat-jump:hover {
  border-color: var(--red);
  color: var(--red);
}
.agent-chat-jump:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.agent-generation-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
}
.agent-generation-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 800;
}
.agent-generation-card {
  width: min(440px,calc(100% - 38px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.agent-generation-card>header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.agent-generation-card>header>span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
}
.agent-generation-card>header svg {
  width: 17px;
  height: 17px;
}
.agent-generation-card>header small,.agent-generation-card>header b {
  display: block;
}
.agent-generation-card>header small {
  color: var(--red);
  font-size: 11px;
  letter-spacing: .08em;
}
.agent-generation-card>header b {
  font-size: 15px;
}
.agent-generation-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: 13px;
}
.agent-generation-card dl>div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
}
.agent-generation-card dt {
  color: var(--muted);
}
.agent-generation-card dd {
  margin: 0;
  line-height: 1.5;
}
.agent-generation-notice,.agent-generation-error,.agent-generation-selected {
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.agent-generation-error {
  color: var(--red);
}
.agent-generation-selected {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3f7354;
}
.agent-generation-selected svg {
  width: 16px;
}
.agent-generation-card>button,.agent-generation-login,.agent-generation-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--red);
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.agent-generation-card button:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.agent-generation-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--red-soft);
}
.agent-generation-progress>svg {
  width: 22px;
  color: var(--red);
  animation: agent-generation-spin 1s linear infinite;
}
.agent-generation-progress b,.agent-generation-progress small {
  display: block;
}
.agent-generation-progress small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.agent-generation-inline {
  width: min(440px,calc(100% - 38px));
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.agent-generation-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: var(--paper-2);
  cursor: zoom-in;
}
.agent-generation-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
.agent-generation-image>span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(19,29,42,.82);
  color: #fff;
  font-size: 11px;
}
.agent-generation-image:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.agent-generation-stale {
  display: block;
  margin: 8px 2px 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.agent-generation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.agent-generation-inline .agent-generation-buttons {
  margin: 10px 2px 2px;
}
.agent-generation-buttons button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.agent-generation-buttons button+button {
  background: transparent;
  color: var(--red);
}
.agent-generation-buttons svg,.agent-generation-card>button svg {
  width: 15px;
}
@keyframes agent-generation-spin {
  to {
    transform: rotate(360deg);
  }
}
.generated-artwork-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #121922;
  color: #fff;
  overflow: hidden;
}
.generated-artwork-dialog[open] {
  display: flex;
  flex-direction: column;
}
.generated-artwork-dialog::backdrop {
  background: rgba(10,15,22,.9);
}
.generated-artwork-toolbar {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  min-height: 58px;
  padding: 10px 20px;
  background: #121922;
  font-size: 14px;
  font-weight: 600;
}
.generated-artwork-toolbar button,.generated-artwork-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}
.generated-artwork-toolbar button:hover,.generated-artwork-controls button:hover:not(:disabled) {
  background: rgba(255,255,255,.2);
}
.generated-artwork-toolbar button:focus-visible,.generated-artwork-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.generated-artwork-toolbar svg,.generated-artwork-controls svg {
  width: 18px;
  height: 18px;
}
.generated-artwork-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.generated-artwork-stage-inner {
  display: grid;
  place-items: center;
}
.generated-artwork-stage img {
  display: block;
  max-width: none;
  max-height: none;
  object-fit: contain;
  user-select: none;
}
.generated-artwork-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  min-height: 66px;
  padding: 10px 16px;
  background: #121922;
}
.generated-artwork-controls>span {
  min-width: 54px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.generated-artwork-controls button:disabled {
  opacity: .35;
  cursor: not-allowed;
}
@media (max-width:600px) {
  .generated-artwork-toolbar {
    padding: 8px 12px;
  }
  .generated-artwork-controls {
    min-height: 60px;
  }
}
.agent-chat-user {
  width: max-content;
  max-width: 82%;
  margin: 0 0 16px auto;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
}
.agent-chat-reply {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.agent-chat-reply>span {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  font-size: 11px;
}
.agent-chat-reply p {
  max-width: 82%;
  margin: 0;
  padding-top: 4px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}
.agent-checkout-confirm {
  display: flex;
  margin: -4px 0 18px 38px;
}
.agent-checkout-confirm .primary-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: none;
}
.agent-reply-content {
  min-width: 0;
  max-width: calc(100% - 38px);
}
.agent-reply-content>p {
  max-width: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.agent-typing-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.agent-typing-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.agent-typing {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
.agent-typing i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: .3;
  animation: agent-typing-bounce 1.2s infinite ease-in-out;
}
.agent-typing i:nth-child(2) {
  animation-delay: .18s;
}
.agent-typing i:nth-child(3) {
  animation-delay: .36s;
}
@keyframes agent-typing-bounce {
  0%,60%,100% {
    transform: translateY(0);
    opacity: .3;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.agent-message-link {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agent-payment-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 48px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(165,39,45,.28);
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red-dark);
  text-decoration: none;
}
.agent-payment-link>svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.agent-payment-link>svg:last-child {
  width: 16px;
  margin-left: 4px;
}
.agent-payment-link span,.agent-payment-link b,.agent-payment-link small {
  display: block;
}
.agent-payment-link b {
  font-size: 14px;
}
.agent-payment-link small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}
.agent-payment-link:hover {
  border-color: var(--red);
  background: var(--red-selected);
}
.agent-chat-card .home-agent-product {
  grid-template-columns: 58px minmax(0,1fr);
  width: auto;
  margin: 0;
  padding: 10px;
  gap: 10px;
  border-radius: 15px;
}
.agent-chat-card .home-agent-product>div {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  font-size: 22px;
}
.agent-chat-card .home-agent-product b {
  font-size: 16px;
}
.agent-chat-card .home-agent-product p {
  margin: 1px 0;
  font-size: 12px;
}
.agent-chat-card .home-agent-product strong {
  font-size: 14px;
}
.agent-chat-card .home-agent-product>a {
  grid-column: 2;
  width: max-content;
  margin-top: -4px;
  font-size: 12px;
}
.agent-quote-card {
  width: min(420px,calc(100% - 38px));
  margin: 12px 0 18px 38px;
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-sans);
}
.agent-quote-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.agent-quote-heading h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.agent-quote-heading>span {
  color: var(--muted);
  font-size: 12px;
}
.agent-quote-breakdown {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
.agent-quote-breakdown>div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.agent-quote-breakdown dt {
  color: var(--muted);
}
.agent-quote-breakdown dt small {
  font-size: inherit;
}
.agent-quote-breakdown dd {
  margin: 0;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.agent-quote-pending {
  color: var(--muted);
  font-size: 12px;
}
.agent-quote-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.agent-quote-total strong {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.agent-quote-timing {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.agent-choice {
  margin: 8px 0 12px 38px;
}
.agent-next-step {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbfc;
}
.agent-next-step-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 8px;
}
.agent-next-step-label {
  flex: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.agent-next-step-heading h3 {
  flex: 1 1 140px;
  min-width: 0;
  margin: 0;
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.agent-next-step-mode {
  color: var(--muted);
  font-size: 12px;
}
.agent-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.agent-choice button {
  max-width: 100%;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #c6cfd9;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color .15s ease,background-color .15s ease,color .15s ease;
}
.agent-choice button:hover {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}
.agent-choice button.selected {
  border-color: var(--red);
  background: var(--red-selected);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red-border);
}
.agent-choice button.selected>svg {
  float: right;
  width: 15px;
  height: 15px;
  margin: 2px 0 0 8px;
  color: var(--red);
  stroke-width: 2.5;
}
.agent-choice button.agent-choice-confirm {
  margin-top: 8px;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 600;
}
.agent-choice button.agent-choice-confirm:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.agent-choice button:focus-visible,.agent-quantity-input input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.agent-choice button:disabled {
  opacity: .45;
  cursor: default;
}
.agent-choice button span,.agent-choice button small {
  display: block;
}
.agent-choice button small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.agent-quantity-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.agent-quantity-input input {
  flex: 1 1 140px;
  width: 160px;
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #c6cfd9;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.agent-speed-choice .agent-choice-options {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,140px),1fr));
}
.agent-speed-choice button {
  position: relative;
  min-height: 54px;
}
.agent-speed-choice button span {
  font-weight: 600;
}
.agent-analysis-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px 38px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
}
.agent-analysis-status>i {
  width: 14px;
  height: 14px;
  flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: upload-spin .8s linear infinite;
}
.agent-analysis-status b,.agent-analysis-status small {
  display: block;
}
.agent-analysis-status b {
  font-size: 12px;
}
.agent-analysis-status small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}
.agent-analysis-status.failed {
  border: 1px solid rgba(165,39,45,.22);
  background: var(--red-soft);
}
.agent-plan-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin: 10px 0 16px 38px;
}
.agent-plan-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.68);
}
.agent-plan-grid header,.agent-plan-grid footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.agent-plan-grid header span {
  color: var(--muted);
  font-size: 11px;
}
.agent-plan-grid header strong {
  color: var(--red);
  font-size: 17px;
}
.agent-plan-grid article>p {
  min-height: 34px;
  margin: 7px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.agent-plan-grid article>div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.agent-plan-grid article>div small {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 9px;
}
.agent-plan-grid footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.15);
}
.agent-plan-grid footer>span {
  color: var(--muted);
  font-size: 9px;
}
.agent-plan-grid button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.agent-plan-grid button svg {
  width: 12px;
}
.agent-artwork-action {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 16px 38px;
  padding: 11px 12px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.6);
}
.agent-artwork-action b,.agent-artwork-action small {
  display: block;
}
.agent-artwork-action b {
  font-size: 13px;
}
.agent-artwork-action small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}
.agent-artwork-action button {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(165,39,45,.35);
  border-radius: 8px;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.agent-artwork-action button svg {
  width: 13px;
}
.agent-cart-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 16px 38px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.agent-cart-action>div>span {
  min-width: 0;
}
.agent-cart-action>div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.agent-cart-action>div>svg {
  flex: none;
  width: 20px;
  color: var(--red);
}
.agent-cart-action b,.agent-cart-action small,.agent-cart-action strong {
  display: block;
}
.agent-cart-action b {
  font-size: 13px;
}
.agent-cart-action small {
  overflow: hidden;
  margin: 2px 0;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-cart-action strong {
  color: var(--red);
  font-size: 14px;
}
.agent-cart-action button,.agent-cart-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.agent-cart-action button svg,.agent-cart-links svg {
  width: 13px;
}
.agent-cart-action button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.agent-cart-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.agent-cart-links small {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-basis: 100%;
  justify-content: flex-end;
  color: var(--muted);
}
.agent-cart-links .agent-cart-continue {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.agent-chat-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px 16px;
}
.composer-file-input {
  display: none;
}
.composer-uploading {
  font-size: 16px;
  line-height: 1;
}
.agent-chat-composer>button {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
  cursor: pointer;
}
.agent-chat-composer svg {
  width: 16px;
  height: 16px;
}
.agent-chat-composer>div {
  position: relative;
  flex: 1;
  min-width: 0;
}
.agent-chat-composer input {
  width: 100%;
  height: 40px;
  padding: 9px 48px 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.agent-chat-composer>div>button {
  position: absolute;
  top: 4px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}
.agent-chat-composer button:disabled {
  cursor: not-allowed;
  opacity: .5;
}
.home-agent-aside {
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-data-card {
  padding: 18px;
  border-radius: 20px;
}
.order-data-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.order-data-heading b {
  font-size: 14px;
}
.order-data-heading strong {
  color: var(--muted);
  font-family: var(--font-mono,monospace);
  font-size: 12px;
}
.order-data-card>p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.order-data-progress {
  height: 5px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-2);
}
.order-data-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width .3s ease;
}
.order-data-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.order-data-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 33px;
  font-size: 13px;
}
.order-data-card li>i {
  flex: 0 0 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
}
.order-data-card li.done>i {
  border-color: #4e7d61;
  background: #4e7d61;
}
.order-data-card li>b {
  color: var(--ink);
  font-weight: 600;
}
.order-data-card li>span {
  max-width: 58%;
  margin-left: auto;
  overflow: hidden;
  color: var(--muted);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.estimate-hint-card {
  padding: 16px;
  border-radius: 20px;
  text-align: center;
}
.estimate-hint-card>svg {
  width: 36px;
  height: 36px;
  margin: 2px auto 10px;
  color: var(--red);
  stroke-width: 1.25;
}
.estimate-hint-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.benefit-strip {
  padding: 0 0 10px;
  background: var(--paper);
  color: var(--ink);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.benefit-grid>div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 22px 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.05);
}
.benefit-grid>div:last-child {
  border: 1px solid rgba(0,0,0,.08);
}
.benefit-grid svg {
  color: var(--red);
}
.benefit-grid b,.benefit-grid small {
  display: block;
}
.benefit-grid b {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}
.benefit-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.section {
  padding: 100px 0;
}
.section-heading {
  margin-bottom: 34px;
}
.section-heading h2,.about-section h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: normal;
  font-weight: 800;
}
.section-heading.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.benefit-strip + .section {
  padding: 56px 0 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.steps article {
  position: relative;
  min-height: 246px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.05);
}
.steps article>svg {
  width: 44px;
  height: 44px;
  color: var(--red);
}
.steps h3 {
  margin: 40px 0 8px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
}
.steps p {
  color: var(--muted);
}
.step-no {
  position: absolute;
  right: 28px;
  top: 24px;
  color: var(--line);
  font-family: var(--font-serif);
  font-size: 2.8rem;
}
.categories-section {
  padding: 30px 0 50px;
  background: var(--paper);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 134px;
  padding: 22px 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.05);
  transition: .2s;
}
.category-card:hover {
  background: var(--card);
}
.category-card>span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--red);
  background: var(--red-soft);
  font-family: var(--font-serif);
  font-weight: 900;
}
.category-card div {
  min-width: 0;
  flex: 1;
}
.category-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
}
.category-card p {
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}
.category-card>svg {
  display: none;
}
.category-ai-card {
  justify-content: flex-start;
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}
.category-ai-card:hover {
  background: var(--ink);
}
.category-ai-card div {
  flex: 1;
  min-width: 0;
}
.categories-section .category-ai-card h3 {
  color: #fff;
}
.category-ai-card p {
  color: #e0e0e0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  transition: .25s;
}
.product-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
}
.product-art>span {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 900;
  opacity: .85;
}
.product-art>b {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 10px;
  border-radius: 99px;
  color: white;
  background: var(--red);
  font-size: .65rem;
}
.product-card-body {
  padding: 16px 18px 18px;
}
.product-category {
  color: var(--red);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.product-card h3 {
  margin: 5px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}
.product-card p {
  min-height: 42px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .8rem;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .77rem;
}
.product-meta strong {
  color: var(--red);
}
.product-meta span {
  color: var(--muted);
}
.product-arrow {
  position: absolute;
  right: 18px;
  top: 18px;
}
.categories-section + .section.container {
  padding: 10px 0 50px;
}
.client-strip {
  padding: 34px 0;
}
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px 32px;
  margin-top: 22px;
}
.about-section {
  padding: 20px 0 50px;
  background: var(--paper);
  color: var(--ink);
}
.about-grid {
  display: block;
}
.about-grid>div>p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
}
.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 35px;
}
.about-detail-card {
  min-height: 145px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.05);
}
.about-detail-card b {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 16px;
}
.about-detail-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.about-detail-card a:hover {
  color: var(--red);
}
.footer {
  padding: 72px 0 0;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr 1fr;
  gap: 55px;
  padding-bottom: 55px;
}
.footer-brand {
  color: var(--ink);
  margin-bottom: 18px;
}
.footer p {
  color: var(--muted);
  font-size: .8rem;
}
.footer h4 {
  margin: 0 0 18px;
  color: var(--ink);
}
.footer-grid>div>a {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: .82rem;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: .65rem;
  text-decoration: none;
}
.socials a:hover,.socials a:focus-visible {
  border-color: var(--red);
  color: var(--red);
}
.category-card>.category-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 0;
  color: var(--red);
  background: transparent;
}
.category-thumb svg {
  flex: none;
}
.home-agent-product>button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  border: 0;
  padding: 0;
  background: none;
  color: var(--red);
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.home-agent-product>button svg {
  width: 16px;
}
.agent-chat-card .home-agent-product>button {
  grid-column: 2;
  margin-top: -4px;
  font-size: 12px;
}
.agent-file-finding-details summary {
  width: max-content;
  margin-top: 4px;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
}
.agent-file-finding-details[open] p {
  margin-top: 6px;
}
.cart-select-all,.cart-line-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.cart-select-all {
  padding: 0 0 12px;
  font-weight: 700;
}
.cart-line-select {
  grid-column: 1/-1;
  margin-bottom: -4px;
}
.cart-select-all input,.cart-line-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}
.option-skip {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--red);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.track-mode {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}
.track-mode button {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}
.track-mode button.active {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}
.track-phone-input {
  display: flex;
  gap: 10px;
  align-items: center;
}
.track-phone-input select {
  flex: 0 0 auto;
  max-width: 145px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
.track-phone-input input {
  min-width: 0;
  flex: 1;
}
.track-phone-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.track-phone-orders {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.track-phone-orders h2 {
  font-size: 18px;
}
.track-phone-orders button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.track-phone-orders button span {
  color: var(--muted);
  font-size: 13px;
}
.client-strip .client-logo {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 96px;
}
.client-logo-media {
  position: relative;
  display: block;
  width: min(100%,220px);
  height: 80px;
}
.client-strip .client-logo img {
  object-fit: contain;
}
.client-logo-pui::after {
  position: absolute;
  inset: 0;
  content: "";
  background: url('/partners/pui-ching.png') center/contain no-repeat;
  filter: invert(1);
  clip-path: inset(0 0 0 27%);
  pointer-events: none;
}
.client-logo-cheung {
  width: min(100%,170px);
  overflow: hidden;
}
.client-strip .client-logo-cheung img {
  object-fit: cover;
  object-position: left center;
}
.client-strip .client-logo-dark img {
  filter: invert(1);
}
@media (max-width:900px) {
  .client-logo-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width:600px) {
  .client-logo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px 20px;
  }
  .client-strip .client-logo {
    height: 76px;
  }
  .client-logo-media {
    height: 66px;
  }
}
.footer-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.footer-note .text-link {
  color: var(--red);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}
.page-shell {
  min-height: 70vh;
  padding: 70px 0 100px;
}
.page-shell:has(> .breadcrumb) {
  padding-top: 20px;
}
.breadcrumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb svg {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.breadcrumb a {
  transition: color .2s ease;
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb [aria-current="page"] {
  color: var(--ink);
}
.page-shell.narrow {
  width: min(760px,calc(100% - 40px));
}
.page-heading {
  max-width: 760px;
  margin-bottom: 42px;
}
.page-heading.compact {
  margin-bottom: 30px;
}
.page-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.page-heading h1,.account-welcome h1 {
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: normal;
  font-weight: 800;
}
.page-heading p,.account-welcome p {
  color: var(--muted);
}
.catalog-page.page-shell {
  padding-bottom: 80px;
}
.catalog-page .breadcrumb {
  margin-bottom: 20px;
}
.catalog-page .page-heading {
  margin-bottom: 10px;
}
.catalog-page .page-heading h1 {
  margin: 0;
  font-size: clamp(34px,3.4vw,48px);
  font-weight: 900;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(500px,100%);
  height: 58px;
  margin: 8px 0 34px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.catalog-search>svg {
  width: 20px;
  color: var(--muted);
}
.catalog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}
.catalog-search button {
  border: 0;
  color: var(--red);
  background: none;
  cursor: pointer;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr);
  gap: 40px;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}
.catalog-sidebar button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 53px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.catalog-sidebar button svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
.catalog-sidebar button.active {
  color: white;
  background: var(--ink);
  font-weight: 800;
}
.catalog-results {
  min-width: 0;
}
.catalog-results .results-line {
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.catalog-results .results-line b {
  font-weight: 500;
}
.catalog-results .empty-state.catalog-empty {
  min-height: 330px;
  border: 0;
  background: transparent;
}
.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.catalog-product-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 2px 8px rgba(0,0,0,.09);
  transition: transform .2s,box-shadow .2s;
}
.catalog-product-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  overflow: hidden;
  color: var(--line);
  background: var(--paper-2);
}
.catalog-product-art img {
  object-fit: cover;
}
.catalog-product-art svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.6;
}
.catalog-product-body {
  min-height: 152px;
  padding: 21px 23px 20px;
}
.catalog-product-body>span {
  color: var(--muted);
  font-size: 13px;
}
.catalog-product-body h3 {
  overflow: hidden;
  margin: 7px 0 19px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.catalog-product-body>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.catalog-product-body strong {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 21px;
  white-space: nowrap;
}
.catalog-product-body small {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper-2);
  font-size: 13px;
  white-space: nowrap;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 500px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--card);
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}
.search-box button {
  border: 0;
  background: none;
  color: var(--red);
  font-size: .75rem;
  cursor: pointer;
}
.view-toggle {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.view-toggle button {
  display: grid;
  place-items: center;
  width: 40px;
  border: 0;
  border-radius: 9px;
  background: none;
  cursor: pointer;
}
.view-toggle button.active {
  background: var(--ink);
  color: white;
}
.category-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.category-tabs button {
  flex: none;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  font-size: .77rem;
}
.category-tabs button.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.results-line {
  margin: 22px 0;
  color: var(--muted);
  font-size: .8rem;
}
.results-line span {
  float: right;
}
.product-grid.list-view {
  grid-template-columns: 1fr;
}
.product-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.product-grid.list-view .product-art {
  height: auto;
  min-height: 190px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 50px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 25px;
  background: var(--card);
}
.empty-state.compact {
  min-height: 250px;
  margin-top: 24px;
}
.empty-state>svg {
  width: 54px;
  height: 54px;
  color: var(--red);
}
.empty-state h1,.empty-state h2 {
  margin: 18px 0 5px;
  font-family: var(--font-serif);
  font-size: 2rem;
}
.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
}
.package-heading {
  max-width: 720px;
  margin-bottom: 34px;
}
.package-heading h1 {
  margin: 8px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(36px,5vw,56px);
  line-height: 1.2;
  font-weight: 900;
}
.package-heading p {
  color: var(--muted);
  font-size: 17px;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.package-card {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  transition: transform .2s,box-shadow .2s;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
}
.package-card-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 140px;
  overflow: hidden;
  color: #b3b3b3;
  background: var(--paper-2);
}
.package-card-art img,.package-detail-art img {
  object-fit: cover;
}
.package-card-art>svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
}
.package-card-art>span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
}
.package-card-body {
  padding: 18px;
}
.package-card-body>small {
  color: var(--red);
  font-weight: 700;
}
.package-card-body h2 {
  margin: 6px 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.35;
}
.package-card-body>p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.package-card-body .package-audience,.package-audience {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: auto;
  color: var(--ink);
  font-weight: 700;
}
.package-audience svg {
  width: 17px;
  height: 17px;
  color: var(--red);
}
.package-card-body .package-gift {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-height: auto;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--red);
  background: var(--red-soft);
}
.package-gift svg {
  flex: none;
  width: 16px;
  margin-top: 2px;
}
.package-card-body>div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 12px 0 6px;
}
.package-card-body>div strong {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 25px;
}
.package-card-body>div span {
  color: var(--muted);
}
.package-detail-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 46px;
  align-items: center;
  margin-bottom: 46px;
}
.package-detail-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  overflow: hidden;
  border-radius: 30px;
  color: #b3b3b3;
  background: var(--paper-2);
}
.package-detail-art>svg {
  width: 84px;
  height: 84px;
  stroke-width: 1.2;
}
.package-detail-copy h1 {
  margin: 10px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(36px,5vw,58px);
  line-height: 1.15;
  font-weight: 900;
}
.package-detail-copy>p:not(.package-audience) {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.package-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.package-order-actions .primary-button,.package-order-actions .outline-button {
  min-width: 150px;
}
.package-order-feedback {
  width: 100%;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.package-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 24px 0;
}
.package-price strong {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 42px;
}
.package-price span {
  color: var(--muted);
}
.package-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(280px,.7fr);
  gap: 28px;
  align-items: start;
}
.package-contents {
  min-width: 0;
}
.package-notes>div {
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 24px;
  background: var(--card);
}
.package-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 16px;
}
.package-section-heading span {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
}
.package-section-heading b {
  color: var(--muted);
  font-size: 13px;
}
.package-item-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.package-item {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: start;
  gap: 17px;
  min-width: 0;
  padding: 23px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(0,0,0,.055);
}
.package-group {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-family: var(--font-serif);
  font-weight: 900;
}
.package-item-products {
  display: grid;
  gap: 18px;
}
.package-item-product + .package-item-product {
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.package-item h2 {
  margin: 1px 0 7px;
  font-family: var(--font-serif);
  font-size: 20px;
}
.package-item p {
  margin: 0 0 12px;
  color: var(--muted);
}
.package-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}
.package-item-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}
.package-item-meta svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.package-item-meta .gift {
  color: var(--red);
  font-weight: 800;
}
.package-notes {
  display: grid;
  gap: 18px;
}
.package-notes>div {
  padding: 22px;
}
.package-notes h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  font-family: var(--font-serif);
  font-size: 18px;
}
.package-notes h3 svg {
  width: 18px;
  color: var(--red);
}
.package-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.config-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 30px;
  align-items: start;
}
.config-layout>* {
  min-width: 0;
}
.config-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 22px;
}
.product-summary-hero {
  display: grid;
  grid-template-columns: 260px minmax(0,1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: var(--card);
}
.product-summary-hero .product-hero-art {
  height: 190px;
  border-radius: 18px;
}
.product-summary-hero .product-hero-art>span {
  font-size: 6rem;
}
.product-summary-hero .product-thumbnails {
  display: none;
}
.product-summary-hero h1 {
  margin: 5px 0;
  font-family: var(--font-serif);
  font-size: clamp(28px,4vw,40px);
  line-height: 1.2;
  font-weight: 900;
}
.product-summary-hero p {
  margin: 0;
  color: var(--muted);
}
.config-wizard {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: var(--card);
}
.wizard-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.wizard-heading span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}
.wizard-heading strong {
  font-family: var(--font-serif);
  font-size: 20px;
}
.product-preview {
  position: sticky;
  top: 100px;
  align-self: start;
}
.product-gallery,.config-panel {
  min-width: 0;
}
.product-gallery {
  display: grid;
  width: 100%;
  gap: 12px;
}
.product-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 470px;
  border-radius: 28px;
  overflow: hidden;
}
.product-hero-art>span {
  font-family: var(--font-serif);
  font-size: 10rem;
  font-weight: 900;
  opacity: .8;
}
.product-hero-art small {
  position: absolute;
  bottom: 18px;
  right: 20px;
  color: var(--muted);
}
.product-detail-image {
  object-fit: cover;
}
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.product-thumbnails button {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}
.product-thumbnails button>span {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 900;
}
.product-thumbnails button.active {
  border: 2px solid var(--red);
  background: var(--red-soft);
}
.product-information section {
  margin-top: 25px;
}
.product-information section h2 {
  margin: 0 0 8px;
}
.product-information section p {
  margin: 0;
  color: var(--muted);
}
.preview-notice {
  display: flex;
  gap: 10px;
  margin: 15px 0 35px;
  padding: 14px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: .75rem;
}
.preview-notice p {
  margin: 0;
}
.product-preview h2 {
  font-family: var(--font-serif);
}
.product-preview>p {
  color: var(--muted);
}
.check-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  font-size: .75rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.check-list svg {
  width: 15px;
  color: var(--green);
}
.config-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.product-badge.warm {
  color: var(--red);
  background: var(--red-selected);
}
.product-badge.green {
  color: #376044;
  background: #e2eee5;
}
.product-badge.neutral {
  color: var(--muted);
  background: var(--paper-2);
}
.config-title h1 {
  margin: 7px 0;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
}
.config-title p {
  max-width: 500px;
  color: var(--muted);
}
.starting-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.starting-price strong {
  color: var(--red);
  font-size: 2rem;
}
.step-progress {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 24px 0 32px;
  overflow: auto;
}
.step-progress>span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 65px;
  height: 32px;
  border-radius: 99px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: .72rem;
}
.step-progress>span svg {
  width: 13px;
}
.step-progress>span small {
  display: none;
}
.step-progress>span.active {
  color: #fff;
  background: var(--red);
}
.step-progress>span.done {
  color: #fff;
  background: var(--green);
}
.option-groups fieldset {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.option-groups fieldset:disabled {
  opacity: .45;
}
.option-groups legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
}
.option-groups legend>span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-family: var(--font-sans);
  font-size: .72rem;
}
.option-groups legend small {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 400;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 9px;
}
.option-grid button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  cursor: pointer;
}
.option-grid button:hover {
  border-color: var(--muted);
}
.option-grid button.selected {
  border: 2px solid var(--red);
  background: var(--red-soft);
}
.option-grid button.unavailable {
  color: var(--muted);
  background: var(--paper-2);
  cursor: not-allowed;
  text-decoration: none;
}
.option-grid button.unavailable:hover {
  border-color: var(--line);
}
.option-grid button span small {
  display: block;
  color: var(--muted);
  font-size: .65rem;
}
.option-grid button>b {
  margin-left: auto;
  color: var(--red);
  font-size: .75rem;
}
.option-grid button>svg {
  width: 16px;
  margin-left: 8px;
  color: var(--red);
}
.custom-size-fields {
  padding: 0 20px 22px 59px;
}
.custom-size-fields p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .84rem;
}
.custom-size-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  max-width: 520px;
}
.custom-size-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 600;
}
.custom-size-grid input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}
.custom-size-grid input[aria-invalid="true"] {
  border-color: var(--red);
}
.custom-size-fields .form-error {
  display: block;
  margin-top: 9px;
}
.custom-size-fields .option-skip:disabled {
  opacity: .5;
  cursor: not-allowed;
}
@media (max-width:600px) {
  .custom-size-fields {
    padding-left: 18px;
    padding-right: 18px;
  }
}
.option-step {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.option-step:last-child {
  border-bottom: 0;
}
.option-step-head {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 62px;
  padding: 13px 20px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.option-step-head>span {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.option-step.active .option-step-head>span {
  background: var(--red);
}
.option-step-head>b {
  font-family: var(--font-serif);
  font-size: 17px;
}
.option-step-head>.option-step-optional {
  margin-left: 0;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper-2);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.option-step-head>small {
  margin-left: auto;
  color: var(--muted);
}
.option-step-help {
  margin: 0;
  padding: 0 20px 14px 59px;
  color: var(--muted);
  font-size: 13px;
}
.option-step .option-grid {
  padding: 0 20px 22px 59px;
}
.upload-step .config-upload {
  margin: 0;
  padding: 0 20px 22px 59px;
}
.upload-step .config-upload h3 {
  margin-top: 0;
}
.config-upload {
  margin: 35px 0 20px;
}
.config-upload h3 {
  font-family: var(--font-serif);
}
.config-upload h3 span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 400;
}
.config-upload>.agent-analysis-status {
  margin: 12px 0 0;
}
.config-artwork-check .agent-file-report {
  margin: 12px 0 0;
}
.artwork-preflight {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 16px;
  margin-top: 12px;
  border-block: 1px solid var(--paper-2);
}
.artwork-preflight>div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 0;
}
.artwork-preflight small {
  color: var(--muted);
  font-size: 10px;
}
.artwork-preflight b {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.artwork-preflight span {
  color: var(--muted);
  font-size: 10px;
}
.artwork-preflight span[data-status="pass"] {
  color: #287451;
}
.artwork-preflight span[data-status="warning"] {
  color: #9a671e;
}
.artwork-preflight span[data-status="problem"] {
  color: var(--red);
}
.quote-box {
  position: sticky;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.quote-box>div>* {
  display: block;
}
.quote-box strong {
  font-size: 1.2rem;
}
.quote-box.ready strong {
  color: var(--red);
  font-size: 2rem;
}
.quote-box span {
  color: var(--muted);
  font-size: .7rem;
}
.ai-help {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 15px;
  border-radius: 14px;
  background: var(--paper-2);
}
.ai-help>svg:first-child {
  color: var(--red);
}
.ai-help span {
  flex: 1;
}
.ai-help b,.ai-help small {
  display: block;
}
.ai-help small {
  color: var(--muted);
  font-size: .7rem;
}
.purchase-sidebar {
  position: sticky;
  top: 94px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 35px rgba(0,0,0,.07);
}
.purchase-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 4px;
}
.purchase-price>small {
  color: var(--red);
  font-size: 20px;
}
.purchase-price>strong {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
}
.purchase-price>span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
}
.purchase-no-quote {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 14px 0 6px;
  padding: 6px 0;
  text-align: center;
}
.purchase-no-quote-icon {
  display: grid;
  place-items: center;
  color: var(--red);
}
.purchase-no-quote-icon svg {
  width: 26px;
  height: 26px;
}
.purchase-no-quote b {
  color: var(--ink);
  font-size: 15px;
}
.purchase-no-quote p {
  max-width: 230px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.purchase-no-quote .primary-button {
  width: 100%;
}
.purchase-lead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}
.purchase-lead svg {
  width: 15px;
  color: var(--red);
}
.purchase-selections {
  margin: 18px 0;
  padding: 8px 0;
  border-block: 1px solid var(--line);
}
.purchase-selections>div {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 10px;
  padding: 8px 0;
  font-size: 12px;
}
.purchase-selections span {
  color: var(--muted);
}
.purchase-selections b {
  text-align: right;
}
.purchase-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 0;
  font-size: 13px;
  font-weight: 700;
}
.purchase-quantity .quantity-control {
  margin: 0;
}
.purchase-quantity .quantity-control b {
  min-width: 36px;
  text-align: center;
}
.purchase-quantity .quantity-control input {
  width: 76px;
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: center;
  padding: 5px 2px;
}
.purchase-quantity .quantity-control input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.purchase-quantity .quantity-control button:disabled {
  opacity: .4;
  cursor: default;
}
.purchase-cart-actions {
  display: grid;
  gap: 10px;
}
.purchase-cart-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 2px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.purchase-cart-status svg {
  flex: none;
}
.purchase-cart-actions .primary-button,.purchase-cart-actions .outline-button {
  width: 100%;
  min-height: 46px;
  font-size: 14px;
}
.purchase-cart-actions .primary-button {
  background: #edf3ef;
  color: #365e46;
  border: 1px solid #c8d9ce;
  box-shadow: none;
}
.purchase-cart-actions .primary-button:hover {
  background: #deebe2;
  color: #294b37;
}
.purchase-cart-actions a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.purchase-login-note {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 30px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 15px;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 900;
}
.cart-art img {
  object-fit: cover;
}
.cart-items,.cart-info {
  min-width: 0;
}
.cart-info h2 {
  overflow-wrap: anywhere;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}
.cart-info p {
  margin: 4px 0;
  color: var(--muted);
  font-size: .75rem;
}
.cart-specs {
  display: grid;
  gap: 4px;
  margin: 10px 0;
}
.cart-specs>div {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr);
  gap: 12px;
  align-items: start;
}
.cart-specs dt,.cart-specs dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.cart-specs dt {
  color: var(--muted);
}
.cart-specs dd {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.cart-info small,.cart-info span {
  display: block;
  color: var(--muted);
  font-size: .68rem;
}
.cart-price {
  text-align: right;
}
.cart-amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-amount>strong {
  color: var(--red);
  font-size: 1.2rem;
}
.cart-amount>small {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}
.quantity-control {
  display: flex;
  align-items: center;
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.quantity-control button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  cursor: pointer;
}
.quantity-control button svg {
  width: 13px;
}
.quantity-control span {
  min-width: 45px;
  text-align: center;
  font-size: .7rem;
}
.remove-button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: .7rem;
}
.remove-button svg {
  width: 13px;
}
.cart-summary {
  position: sticky;
  top: 95px;
  padding: 26px;
  border-radius: 20px;
  background: var(--ink);
  color: white;
}
.cart-summary>div {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  color: #cccccc;
  font-size: .8rem;
}
.cart-summary .summary-total {
  color: white;
}
.summary-total strong {
  color: #efb6b9;
  font-size: 1.7rem;
}
.cart-summary hr {
  border: 0;
  border-top: 1px solid #444444;
}
.cart-summary>p {
  display: flex;
  gap: 7px;
  color: #bbbbbb;
  font-size: .65rem;
}
.cart-summary>p svg {
  flex: none;
  width: 14px;
}
.checkout-page .page-heading h1 {
  font-size: clamp(28px,4vw,38px);
}
.checkout-layout {
  position: relative;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  width: calc(100% - 388px);
  gap: 18px;
  align-items: stretch;
}
.checkout-form section {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 5px 18px rgba(0,0,0,.05);
}
.checkout-section-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
}
.checkout-section-title:before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--red);
}
.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.checkout-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.checkout-form label em {
  color: var(--red);
  font-style: normal;
}
.checkout-form input,.checkout-form select,.checkout-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  outline: 0;
  font: inherit;
  font-size: 16px;
}
.checkout-form textarea {
  min-height: 105px;
  resize: vertical;
}
.phone-field {
  display: flex;
  gap: 8px;
}
.phone-field select {
  flex: none;
  width: auto;
  min-width: 108px;
}
.phone-field input {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
}
.checkout-choices {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.checkout-form .checkout-choices {
  margin-top: 14px;
}
.checkout-rush-choices {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.checkout-muted {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.checkout-rush-restriction {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.checkout-rush-restriction p {
  margin: 0;
}
.checkout-rush-restriction ul {
  margin: 8px 0 12px;
  padding-left: 20px;
  color: var(--text-heading);
}
.checkout-rush-restriction li {
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.checkout-rush-restriction a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px 16px;
  text-align: left;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}
.checkout-choice.selected {
  border-color: var(--red);
  background: var(--red-soft);
}
.checkout-choice>i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
}
.checkout-choice.selected>i {
  color: white;
  border-color: var(--red);
  background: var(--red);
}
.checkout-choice>i svg {
  width: 13px;
}
.checkout-choice span b,.checkout-choice span small {
  display: block;
}
.checkout-choice span small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.checkout-address {
  margin-top: 16px;
}
.delivery-address-picker {
  margin-top: 16px;
}
.delivery-address-picker .checkout-address {
  margin-top: 12px;
}
.delivery-address-picker small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.delivery-address-picker small.checkout-error {
  color: var(--red);
}
.address-candidate-anchor {
  position: relative;
}
.address-candidate-anchor textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  outline: 0;
  font: inherit;
  font-size: 16px;
}
.address-candidate-trigger {
  min-height: 40px;
  margin-top: 12px;
  padding: 7px 17px;
  font-size: 13px;
}
.address-candidate-trigger:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.address-candidate-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: min(340px,55vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.address-candidate-dropdown-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 9px;
  border-bottom: 1px solid var(--line);
}
.address-candidate-dropdown-head strong {
  font-size: 13px;
}
.address-candidate-dropdown-head span {
  flex: 1;
  color: var(--muted);
  font-size: 12px;
}
.address-candidate-dropdown-head button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}
.address-candidate-dropdown-head button:hover {
  background: var(--paper-2);
}
.address-candidate-list {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}
.address-candidate-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.address-candidate-list button:hover,.address-candidate-list button:focus-visible {
  background: var(--red-soft);
}
.address-candidate-list strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.address-candidate-list span {
  flex: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.address-candidate-manual {
  width: 100%;
  padding: 10px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--red);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.address-candidate-dropdown p {
  margin: 0;
  padding: 2px 10px 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.address-candidate-dropdown p.address-candidate-dropdown-hint {
  padding: 14px 10px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width:640px) {
  .address-candidate-dropdown {
    max-height: min(300px,50vh);
  }
}
.checkout-payment-note {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
.checkout-login-link {
  color: var(--red);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-created-page {
  max-width: 600px;
}
.checkout-created-card {
  margin-top: 20px;
  padding: 30px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}
.checkout-created-card .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .08em;
}
.checkout-created-card .eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
}
.checkout-created-card h1 {
  margin: 14px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(26px,4vw,32px);
  line-height: 1.2;
}
.checkout-created-card>p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}
.checkout-created-number b {
  font-family: var(--font-mono);
  font-size: 1em;
  overflow-wrap: anywhere;
}
.checkout-created-amount {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--paper-2);
}
.checkout-created-amount>span {
  color: var(--muted);
  font-size: 14px;
}
.checkout-created-amount>strong {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.2;
}
.checkout-created-amount>p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.checkout-created-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.checkout-created-actions .primary-button,.checkout-created-actions .outline-button {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-width: 1px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 22px;
}
.checkout-created-actions .primary-button {
  box-shadow: 0 4px 12px rgba(165,39,45,.16);
}
.checkout-created-card>small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
@media (max-width:480px) {
  .checkout-created-card {
    padding: 24px 20px 20px;
    border-radius: 18px;
  }
  .checkout-created-amount {
    padding: 16px;
  }
  .checkout-created-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.checkout-complete-page {
  max-width: 720px;
}
.checkout-complete-card {
  margin-top: 28px;
  padding: 52px 46px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}
.checkout-complete-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}
.checkout-complete-icon svg {
  width: 38px;
  height: 38px;
}
.checkout-complete-card.pending .checkout-complete-icon {
  background: #a67b35;
}
.checkout-complete-card.loading>svg {
  width: 48px;
  height: 48px;
  color: var(--muted);
}
.checkout-complete-card h1 {
  margin: 8px 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(34px,6vw,48px);
}
.checkout-complete-card dl {
  margin: 0;
  border-block: 1px solid var(--line);
}
.checkout-complete-card dl>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.checkout-complete-card dl>div:last-child {
  border-bottom: 0;
}
.checkout-complete-card dt {
  color: var(--muted);
}
.checkout-complete-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}
.checkout-complete-card .status-paid {
  color: var(--green);
}
.checkout-complete-card>p {
  margin: 22px auto;
  color: var(--muted);
}
.checkout-complete-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.checkout-summary {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 5px 18px rgba(0,0,0,.05);
}
.checkout-lines {
  margin: 16px 0;
  border-block: 1px solid var(--line);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.checkout-line span {
  min-width: 0;
}
.checkout-line b,.checkout-line small {
  display: block;
}
.checkout-line small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.checkout-line strong {
  flex: none;
  color: var(--red);
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 18px 0;
}
.checkout-total strong {
  color: var(--red);
  font-size: 1.8rem;
}
.checkout-summary>small {
  color: var(--muted);
}
.kpay-hosted-page {
  min-height: 100vh;
  color: #293342;
  background: #fff;
  font-family: "Noto Sans TC","PingFang HK","Microsoft JhengHei",system-ui,sans-serif;
}
.kpay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  max-width: 1040px;
  margin: auto;
  padding: 0 32px;
  border-bottom: 1px solid #e5e7eb;
}
.kpay-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kpay-brand>span {
  font-size: 29px;
  font-weight: 800;
  color: #294b73;
}
.kpay-brand b {
  font-size: 17px;
  font-weight: 650;
}
.kpay-brand small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6b7280;
}
.kpay-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 12px;
}
.kpay-secure svg {
  width: 15px;
  height: 15px;
}
.kpay-stage {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 64px;
  max-width: 960px;
  margin: 88px auto 0;
  padding: 0 32px 64px;
  align-items: start;
}
.kpay-panel {
  min-width: 0;
  padding: 12px 0;
}
.kpay-panel>h1 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.025em;
  text-align: left;
}
.kpay-panel>p {
  margin: 0 0 24px;
  max-width: 440px;
  font-size: 14px;
  color: #667080;
  line-height: 1.9;
  text-align: left;
}
.kpay-panel>p:last-child {
  margin: 26px 0 0;
}
.kpay-panel a {
  color: #586579;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.kpay-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  margin: 0 10px 10px 0;
  border: 1px solid #294b73;
  border-radius: 5px;
  background: #294b73;
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  vertical-align: top;
}
.kpay-pay-button:hover {
  background: #203c5c;
}
.kpay-pay-button.secondary {
  color: #344256;
  border-color: #cbd1d9;
  background: #fff;
}
.kpay-pay-button.secondary:hover {
  background: #f3f5f8;
}
.kpay-pay-button:disabled {
  opacity: .5;
  cursor: wait;
}
.kpay-hosted-page :is(button,a):focus-visible {
  outline: 3px solid #93acc9;
  outline-offset: 3px;
}
.kpay-summary {
  padding: 24px;
  background: #f5f6f8;
  border-radius: 6px;
}
.kpay-summary dl {
  margin: 0;
}
.kpay-summary dl>div+div {
  margin-top: 24px;
}
.kpay-summary dt {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 7px;
}
.kpay-summary dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.kpay-summary dd.kpay-summary-amount {
  font-size: 21px;
  font-weight: 600;
}
.kpay-state-icon {
  margin: 0 0 16px;
  color: #294b73;
}
.kpay-state-icon svg {
  width: 28px;
  height: 28px;
}
.kpay-panel>p.kpay-error {
  color: var(--red);
  font-size: 13px;
}
@media (max-width:640px) {
  .kpay-header {
    min-height: 68px;
    padding: 0 24px;
  }
  .kpay-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
    padding: 0 24px 40px;
  }
  .kpay-panel>h1 {
    font-size: 23px;
  }
  .kpay-summary {
    padding: 20px;
  }
  .kpay-summary dl>div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
  }
  .kpay-summary dl>div+div {
    margin-top: 16px;
  }
  .kpay-summary dt {
    margin: 0;
    flex-shrink: 0;
  }
  .kpay-summary dd {
    text-align: right;
  }
}
.cart-page .page-heading h1 {
  font-size: clamp(28px,4vw,38px);
}
.cart-empty .empty-badge {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.cart-empty h2 {
  margin-top: 8px;
}
.cart-empty .primary-button {
  padding: 18px 34px;
  border-radius: 999px;
  font-size: 18px;
}
.track-page.page-shell {
  padding-top: 36px;
}
.track-page .page-heading {
  max-width: 680px;
  margin-bottom: 24px;
}
.track-page .page-heading h1 {
  margin: 12px 0 10px;
  font-size: clamp(26px,3.5vw,36px);
  font-weight: 900;
}
.track-form {
  display: flex;
  max-width: 420px;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.track-form label {
  font-size: 14px;
  font-weight: 600;
}
.track-form input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--card);
  font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size: 16px;
}
.track-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(165,39,45,.12);
}
.track-form .primary-button {
  align-self: flex-start;
  padding: 15px 26px;
  font-size: 16px;
}
.tracking-payment-action {
  margin-top: 14px;
}
.tracking-payment-action .track-form {
  gap: 10px;
}
.tracking-payment-action .track-form p {
  margin: 0 0 4px;
  color: var(--muted);
}
.tracking-payment-action .track-phone-input {
  margin-top: 8px;
}
.tracking-payment-action .track-phone-input input {
  margin-top: 0;
}
.tracking-payment-action .track-form small {
  color: var(--muted);
}
.tracking-card {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.tracking-head {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  color: white;
  background: var(--ink);
}
.tracking-head span,.tracking-head small {
  color: #cccccc;
  font-size: .7rem;
}
.tracking-head h2 {
  margin: 5px 0 0;
  font-family: var(--font-serif);
}
.tracking-head>div:last-child {
  text-align: right;
}
.tracking-head b {
  display: block;
  color: #efb6b9;
}
.tracking-head .tracking-status-label {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 9px;
  border: 1px solid #444444;
  border-radius: 999px;
  color: #eeeeee;
}
.tracking-details {
  padding: 20px 28px;
  border-top: 1px solid var(--line);
}
.tracking-details h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.tracking-details>p {
  margin: 0;
  color: var(--muted);
}
.logistics-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.logistics-heading>div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.logistics-heading h3 {
  margin: 0;
}
.logistics-heading svg {
  width: 19px;
  color: var(--red);
}
.logistics-heading>span {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}
.logistics-grid>div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.logistics-grid>div:nth-child(odd) {
  padding-right: 24px;
}
.logistics-grid dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .72rem;
}
.logistics-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: .9rem;
  font-weight: 700;
}
.carrier-latest {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 10px;
  margin-top: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.carrier-latest>svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--red);
}
.carrier-latest span,.carrier-latest small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
}
.carrier-latest p {
  margin: 4px 0 6px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.55;
}
.carrier-timeline {
  padding-top: 17px;
}
.carrier-timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.carrier-timeline-heading h4 {
  margin: 0;
  font-size: .85rem;
}
.carrier-timeline-heading span {
  color: var(--muted);
  font-size: .72rem;
}
.carrier-timeline ol {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.carrier-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 13px minmax(0,1fr);
  gap: 10px;
  padding: 0 0 16px;
}
.carrier-timeline li:before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: var(--line);
}
.carrier-timeline li:last-child {
  padding-bottom: 0;
}
.carrier-timeline li:last-child:before {
  display: none;
}
.carrier-timeline li>i {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  border: 3px solid var(--card);
  border-radius: 50%;
  background: var(--red);
}
.carrier-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: .72rem;
}
.carrier-event-meta b {
  color: var(--ink);
  font-size: .75rem;
}
.carrier-event-meta time {
  white-space: nowrap;
}
.carrier-timeline li p {
  margin: 4px 0;
  overflow-wrap: anywhere;
  font-size: .86rem;
  line-height: 1.5;
}
.carrier-timeline li small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: .72rem;
}
.carrier-timeline li small svg {
  width: 12px;
  height: 12px;
}
.carrier-events-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 16px 0 0 23px;
  padding: 0;
  border: 0;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.carrier-events-toggle svg {
  width: 15px;
  height: 15px;
}
.tracking-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.tracking-item p,.tracking-item small {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .78rem;
}
.tracking-item strong {
  flex: none;
  color: var(--red);
}
.tracking-total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
}
.tracking-total b {
  color: var(--red);
  font-size: 1.1rem;
}
.timeline {
  padding: 30px;
}
.timeline>div {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  min-height: 92px;
}
.timeline>div:after {
  content: "";
  position: absolute;
  left: 18px;
  top: 37px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline>div:last-child:after {
  display: none;
}
.timeline>div>span {
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: start;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  font-size: .75rem;
}
.timeline>div.complete>span {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.timeline>div.current>span {
  color: white;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 6px var(--paper-2);
}
.timeline h3,.timeline p {
  margin: 0;
}
.timeline p,.timeline small {
  color: var(--muted);
  font-size: .74rem;
}
.pickup-note {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  background: var(--paper-2);
}
.pickup-note svg {
  color: var(--red);
}
.pickup-note b,.pickup-note small {
  display: block;
}
.pickup-note small {
  color: var(--muted);
}
.pickup-note>svg:last-child {
  margin-left: auto;
  color: var(--muted);
}
@media (max-width:640px) {
  .tracking-head {
    gap: 18px;
  }
  .tracking-head>div:last-child {
    max-width: 45%;
  }
  .tracking-details {
    padding: 18px 20px;
  }
  .logistics-grid {
    grid-template-columns: 1fr;
  }
  .logistics-grid>div:nth-child(odd) {
    padding-right: 0;
  }
  .carrier-event-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}
.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-panel {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 50px rgba(0,0,0,.08);
}
.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.auth-panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}
.auth-panel>p {
  margin: 0;
  color: var(--muted);
}
.auth-panel form {
  margin-top: 28px;
  text-align: left;
}
.auth-panel label,.business-form label {
  display: block;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 800;
}
.input-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  padding: 0 14px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
}
.input-with-icon svg {
  width: 17px;
  color: var(--muted);
}
.input-with-icon span {
  padding-right: 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}
.input-with-icon input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
}
.auth-phone-input select {
  flex: 0 0 auto;
  max-width: 45%;
  border: 0;
  border-right: 1px solid var(--line);
  padding-right: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.auth-phone-input input {
  font-size: 16px;
}
.auth-resend {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}
.auth-resend p {
  margin: 0;
}
.auth-resend small {
  line-height: 1.6;
}
.auth-resend-button {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  border-color: #a9232d;
  color: #a9232d;
  background: #fff;
}
.auth-resend-button:disabled {
  opacity: 1;
  border-color: #d5d9de;
  background: #f1f3f5;
  color: #626b76;
  cursor: not-allowed;
  box-shadow: none;
}
.auth-resend-button:not(:disabled):hover {
  background: #fff3f4;
}
.auth-resend-button:focus-visible {
  outline: 2px solid #a9232d;
  outline-offset: 3px;
}
.auth-phone-input:focus-within {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.development-code-notice {
  margin: -6px 0 16px;
  padding: 10px 12px;
  border: 1px solid #d7b77b;
  border-radius: 10px;
  background: #fff5d9;
  color: #70521d;
  font-size: .82rem;
}
.development-code-notice strong {
  margin-left: 5px;
  font-size: 1rem;
  letter-spacing: .14em;
}
.account-welcome {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 35px 0;
}
.account-stats>div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}
.account-stats svg {
  color: var(--red);
}
.account-stats b,.account-stats small {
  display: block;
}
.account-stats b {
  font-size: 1.4rem;
}
.account-stats small {
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr;
  gap: 18px;
}
.dashboard-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.card-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
}
.card-heading a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-size: .74rem;
}
.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.order-row b,.order-row small {
  display: block;
}
.order-row small {
  color: var(--muted);
  font-size: .68rem;
}
.dashboard-card:not(.wide)>a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}
.status {
  padding: 4px 9px;
  border-radius: 99px;
  font-size: .65rem;
  font-weight: 800;
}
.status.green {
  color: #376044;
  background: #e2eee5;
}
.status.blue {
  color: #3e627c;
  background: #e1ebf2;
}
.status.warm {
  color: var(--red);
  background: var(--red-selected);
}
.order-list {
  display: grid;
  gap: 16px;
}
.order-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.order-card-head,.order-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.order-card-head b,.order-card-head small {
  display: block;
}
.order-card-head small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .68rem;
}
.order-card-head svg {
  width: 13px;
}
.order-card-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.order-card-body>svg {
  color: var(--red);
}
.order-card-body h2,.order-card-body p {
  margin: 0;
}
.order-card-body h2 {
  font-family: var(--font-serif);
}
.order-card-body p {
  color: var(--muted);
  font-size: .72rem;
}
.order-card-body strong {
  color: var(--red);
  font-size: 1.3rem;
}
.order-card-actions .outline-button,.order-card-actions .primary-button {
  min-height: 42px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.profile-message {
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid #d7b77b;
  border-radius: 11px;
  background: #fff5d9;
  color: #70521d;
}
.address-list {
  display: grid;
  gap: 10px;
}
.address-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.address-list article>svg {
  width: 18px;
  color: var(--red);
}
.address-list b,.address-list small {
  display: block;
}
.address-list small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}
.address-list button {
  padding: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.address-list button svg {
  width: 17px;
}
.address-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.address-form h3 {
  margin: 0 0 15px;
  font-family: var(--font-serif);
}
.address-form label {
  display: block;
  margin-bottom: 13px;
  font-size: .78rem;
  font-weight: 800;
}
.address-form input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
}
@media (max-width:900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
.business-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}
.business-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.business-form section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.form-section-title {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.form-section-title>span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
}
.form-section-title h2,.form-section-title p {
  margin: 0;
}
.form-section-title h2 {
  font-family: var(--font-serif);
}
.form-section-title p {
  color: var(--muted);
  font-size: .7rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.business-form label input,.business-form label textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  outline: 0;
}
.business-form label textarea {
  min-height: 120px;
  resize: vertical;
}
.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-weight: 400 !important;
}
.business-form .consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
}
.business-form .consent span {
  min-width: 0;
  line-height: 1.55;
}
.business-aside {
  position: sticky;
  top: 95px;
  padding: 28px;
  border-radius: 20px;
  color: white;
  background: var(--ink);
}
.business-aside>svg {
  color: #efb6b9;
}
.business-aside h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
}
.business-aside>p,.business-aside small {
  color: #cccccc;
}
.business-aside ul {
  padding: 0;
  list-style: none;
}
.business-aside li {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  font-size: .78rem;
}
.business-aside li svg {
  width: 16px;
  color: #8bb095;
}
.business-aside>div {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #444444;
}
.business-aside>div svg {
  flex: none;
  width: 18px;
  color: #efb6b9;
}
.business-aside b,.business-aside small {
  display: block;
}
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 20px;
}
.success-state>svg {
  width: 70px;
  height: 70px;
  color: var(--green);
}
.success-state h1 {
  margin: 10px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
}
.success-state p {
  color: var(--muted);
}
.agent-page {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  padding: 64px 28px 56px;
}
.agent-watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  z-index: 0;
  transform: translateY(-52%);
  color: var(--red);
  opacity: .055;
  font-family: var(--font-serif);
  font-size: clamp(220px,32vw,420px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.agent-intro {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.agent-intro h1 {
  margin: 18px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(36px,5.5vw,64px);
  font-weight: 900;
  line-height: 1.15;
}
.agent-intro h1 em {
  color: var(--red);
  font-style: normal;
}
.agent-intro>p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.agent-intro>a {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}
.agent-shell {
  position: relative;
  z-index: 1;
  min-height: 220px;
  margin-top: 32px;
  padding: 24px 28px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 5px 18px rgba(0,0,0,.07);
}
.agent-shell .dropzone {
  padding: 0;
  border: 2px dashed var(--line);
  border-radius: 16px;
  background: transparent;
}
.agent-shell .dropzone-button {
  min-height: 88px;
  padding: 20px 24px;
  gap: 14px;
}
.agent-shell .dropzone-button svg {
  width: 28px;
  height: 28px;
}
.agent-prompt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}
.agent-prompt textarea {
  flex: 1;
  resize: none;
  box-sizing: border-box;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  outline: 0;
  font: 15px/1.6 var(--font-sans);
}
.agent-prompt textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(165,39,45,.1);
}
.agent-prompt button {
  display: flex;
  align-items: center;
  align-self: flex-end;
  flex-shrink: 0;
  gap: 6px;
  height: 48px;
  margin-bottom: 2px;
  padding: 12px 20px;
  border: 0;
  border-radius: 99px;
  color: white;
  background: var(--red);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.agent-prompt button:disabled {
  background: #b3b3b3;
  cursor: not-allowed;
}
.agent-prompt button svg {
  width: 15px;
}
.agent-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.agent-suggestions>span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.agent-suggestions button {
  padding: 7px 14px;
  border: 0;
  border-radius: 99px;
  color: var(--red);
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.agent-conversation {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.agent-message {
  display: flex;
  gap: 10px;
  max-width: 72%;
  margin-bottom: 14px;
}
.agent-message>span {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  background: var(--red);
}
.agent-message>span svg {
  width: 15px;
}
.agent-message p {
  margin: 0;
  padding: 11px 14px;
  border-radius: 4px 15px 15px 15px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.65;
}
.agent-message.user {
  margin-left: auto;
  flex-direction: row-reverse;
}
.agent-message.user>span,.agent-message.user p {
  color: white;
  background: var(--ink);
}
.agent-message.user p {
  border-radius: 15px 4px 15px 15px;
}
.agent-recommendation {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 6px 0 4px 42px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.agent-recommendation>div {
  display: grid;
  place-items: center;
  height: 64px;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
}
.agent-recommendation small,.agent-recommendation b,.agent-recommendation p {
  display: block;
  margin: 0;
}
.agent-recommendation small,.agent-recommendation p {
  color: var(--muted);
  font-size: 12px;
}
.agent-recommendation strong,.agent-recommendation>a {
  color: var(--red);
  font-size: 13px;
}
.agent-recommendation>a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}
.agent-recommendation>a svg {
  width: 15px;
}
.agent-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.agent-note>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  transform: rotate(-6deg);
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 7px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(165,39,45,.18);
}
.ai-page {
  display: grid;
  grid-template-columns: 400px minmax(0,1fr);
  width: min(1180px,calc(100% - 56px));
  height: clamp(640px,calc(100vh - 128px),760px);
  margin: 28px auto 72px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}
.ai-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  color: white;
  background: var(--ink);
}
.ai-sidebar h1 {
  max-width: 310px;
  margin: 16px 0;
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1.18;
  font-weight: 900;
}
.ai-sidebar>p {
  max-width: 280px;
  margin: 0;
  color: #cccccc;
  line-height: 1.8;
}
.ai-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 25px;
}
.ai-features span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
}
.ai-features svg {
  width: 16px;
  color: #8bb095;
}
.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto auto;
  min-width: 0;
  padding: 32px 40px 28px;
  background: var(--paper-2);
}
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.chat-head>div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-head>div>svg {
  color: var(--red);
}
.chat-head b,.chat-head small {
  display: block;
}
.chat-head small {
  color: var(--muted);
}
.online-dot {
  color: var(--green);
  font-size: .7rem;
}
.online-dot:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
}
.messages {
  min-height: 0;
  overflow: auto;
  padding: 28px 4px 20px;
}
.message {
  display: flex;
  gap: 10px;
  max-width: 72%;
  margin-bottom: 18px;
}
.message>span {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  background: var(--red);
}
.message>span svg {
  width: 15px;
}
.message p {
  margin: 0;
  padding: 13px 16px;
  border-radius: 5px 16px 16px 16px;
  background: var(--card);
  box-shadow: 0 5px 20px rgba(0,0,0,.06);
  font-size: .88rem;
  line-height: 1.7;
}
.message.user {
  margin-left: auto;
  flex-direction: row-reverse;
}
.message.user>span {
  background: var(--ink);
}
.message.user p {
  color: white;
  background: var(--ink);
  border-radius: 16px 5px 16px 16px;
}
.typing {
  display: flex;
  gap: 4px;
  padding: 18px !important;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: pulse 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: .15s;
}
.typing i:nth-child(3) {
  animation-delay: .3s;
}
@keyframes pulse {
  50% {
    opacity: .3;
  }
}
.recommend-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px 41px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.recommend-art {
  display: grid;
  place-items: center;
  height: 70px;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
}
.recommend-card h3,.recommend-card p {
  margin: 0;
}
.recommend-card p,.recommend-card small {
  color: var(--muted);
  font-size: .68rem;
}
.recommend-card strong {
  color: var(--red);
  font-size: .78rem;
}
.recommend-card>a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 800;
}
.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.chat-input input {
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  background: none;
  font-size: 16px;
}
.chat-input button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--red);
  cursor: pointer;
}
.chat-input button:disabled {
  background: #b3b3b3;
}
.chat-suggestions {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding-top: 10px;
}
.chat-suggestions button {
  flex: none;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .68rem;
}
@media (max-width:1020px) {
  .desktop-only {
    display: none;
  }
  .menu-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
  }
  .main-nav {
    position: absolute;
    inset: 72px 0 auto;
    display: none;
    padding: 18px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav a {
    padding: 12px 0;
  }
  .mobile-only {
    display: block;
  }
  .category-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .catalog-layout {
    grid-template-columns: 220px minmax(0,1fr);
    gap: 25px;
  }
  .catalog-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .config-layout {
    grid-template-columns: 1fr;
  }
  .product-preview {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .product-gallery {
    align-self: start;
  }
  .product-hero-art {
    height: 400px;
  }
  .cart-layout,.business-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary,.business-aside {
    position: static;
  }
  .checkout-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 18px;
  }
  .checkout-form > section {
    order: 0;
  }
  .checkout-form > .checkout-summary {
    order: 1;
    position: static;
    width: auto;
  }
  .checkout-form > .checkout-error {
    order: 2;
  }
  .checkout-form > button {
    order: 3;
  }
  .checkout-form > .checkout-payment-note {
    order: 4;
  }
  .checkout-form > .checkout-login-link {
    order: 5;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .ai-page {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ai-sidebar {
    min-height: 300px;
    padding: 52px 7vw;
  }
  .chat-panel {
    min-height: 620px;
  }
}
@media (max-width:700px) {
  .category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .category-card {
    min-width: 0;
  }
  .container {
    width: min(100% - 40px,1180px);
  }
  .header-inner {
    width: calc(100% - 32px);
    height: 64px;
    gap: 12px;
  }
  .header-actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 4px;
  }
  .site-header .brand b {
    font-size: 1rem;
  }
  .header-pill {
    width: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .main-nav {
    top: 64px;
    padding-inline: 20px;
  }
  .hero-inner {
    padding-top: 54px;
  }
  .hero-copy h1 {
    font-size: 44px;
    line-height: 1.2;
  }
  .ai-order-card {
    padding: 14px;
    border-radius: 20px;
  }
  .ai-input-row {
    grid-template-columns: 1fr;
  }
  .ai-input-row .primary-button {
    width: 100%;
  }
  .home-agent-product {
    grid-template-columns: 52px 1fr;
    margin-left: 0;
  }
  .home-agent-product>div {
    width: 52px;
    height: 52px;
  }
  .home-agent-product>a {
    grid-column: 2;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .benefit-grid>div {
    min-height: 92px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.08);
  }
  .section {
    padding: 70px 0;
  }
  .benefit-strip + .section {
    padding: 48px 0 36px;
  }
  .categories-section {
    padding: 26px 0 42px;
  }
  .categories-section + .section.container {
    padding: 26px 0 42px;
  }
  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }
  .section-heading h2,.about-section h2 {
    font-size: 28px;
    line-height: 1.5;
  }
  .steps,.product-grid,.about-grid,.footer-grid,.account-stats {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .category-card {
    min-height: 150px;
    padding: 18px 16px;
  }
  .product-art {
    height: 190px;
  }
  .about-grid {
    gap: 30px;
  }
  .about-details {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .page-shell {
    padding: 50px 0 75px;
  }
  .page-heading h1,.account-welcome h1 {
    font-size: 38px;
  }
  .catalog-page.container {
    width: calc(100% - 40px);
  }
  .catalog-layout {
    display: block;
  }
  .catalog-sidebar {
    position: static;
    display: flex;
    max-height: none;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 14px;
    scrollbar-width: none;
  }
  .catalog-sidebar button {
    flex: none;
    width: auto;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
  }
  .catalog-sidebar button svg {
    display: none;
  }
  .catalog-results .results-line {
    margin-top: 8px;
  }
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }
  .catalog-product-art {
    height: 190px;
  }
  .product-grid.list-view .product-card {
    display: block;
  }
  .shop-toolbar {
    align-items: stretch;
  }
  .view-toggle {
    flex: none;
  }
  .product-preview {
    display: block;
    width: 100%;
  }
  .product-thumbnails {
    margin-top: 10px;
  }
  .product-hero-art {
    width: 100%;
    height: 350px;
  }
  .config-panel {
    width: 100%;
  }
  .config-title {
    flex-direction: column;
  }
  .config-title h1 {
    font-size: 2.35rem;
  }
  .step-progress {
    max-width: 100%;
  }
  .option-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .quote-box {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .quote-box .primary-button {
    width: 100%;
  }
  .cart-item {
    grid-template-columns: 75px minmax(0,1fr);
  }
  .cart-art {
    width: 75px;
    height: 75px;
  }
  .cart-price {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .account-welcome {
    align-items: start;
    flex-direction: column;
  }
  .account-welcome .outline-button {
    margin-top: 10px;
  }
  .order-row {
    grid-template-columns: 1fr auto;
  }
  .order-row>strong,.order-row>svg {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .order-card-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .ai-sidebar {
    padding: 55px 24px;
  }
  .chat-panel {
    padding: 24px 20px;
    min-height: 720px;
  }
  .recommend-card {
    grid-template-columns: 60px 1fr;
    margin-left: 0;
  }
  .recommend-card>a {
    grid-column: 2;
  }
  .message {
    max-width: 94%;
  }
  .container,.catalog-page.container {
    width: min(100% - 56px,1180px);
  }
  .home-agent-workspace.active {
    grid-template-columns: minmax(0,1fr);
  }
  .agent-chat-card {
    height: min(620px,calc(100dvh - 96px));
    min-height: 420px;
  }
  .agent-chat-card .home-agent-product {
    margin-left: 0;
  }
  .agent-quote-card {
    width: 100%;
    margin-left: 0;
    padding: 16px;
  }
  .agent-quote-breakdown dt small {
    display: block;
    font-size: 11px;
  }
  .agent-choice {
    margin-left: 0;
  }
  .agent-checkout-confirm {
    margin-left: 0;
  }
  .agent-checkout-confirm .primary-button {
    width: 100%;
  }
  .agent-next-step {
    padding: 10px;
  }
  .agent-choice button,.agent-quantity-input input {
    min-height: 40px;
  }
  .agent-next-step-heading h3 {
    flex-basis: 120px;
  }
  .agent-choice button.agent-choice-confirm {
    width: 100%;
  }
  .home-agent-products {
    grid-template-columns: minmax(0,1fr);
    margin-left: 0;
  }
  .agent-plan-grid {
    grid-template-columns: minmax(0,1fr);
    margin-left: 0;
  }
  .agent-artwork-action {
    margin-left: 0;
  }
  .agent-cart-action {
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
  }
  .agent-cart-action button,.agent-cart-links a {
    justify-content: center;
  }
  .agent-cart-links a {
    flex: 1;
  }
  .agent-cart-links small {
    justify-content: flex-start;
  }
  .agent-page {
    padding: 46px 28px 52px;
  }
  .agent-intro h1 {
    font-size: 42px;
  }
  .agent-intro>p {
    font-size: 15px;
  }
  .agent-shell {
    padding: 18px;
    border-radius: 20px;
  }
  .agent-shell .dropzone-button {
    min-height: 82px;
    padding: 16px;
  }
  .agent-prompt {
    flex-direction: column;
  }
  .agent-prompt textarea,.agent-prompt button {
    width: 100%;
  }
  .agent-prompt button {
    justify-content: center;
    margin: 0;
  }
  .agent-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .agent-suggestions button {
    flex: none;
  }
  .agent-message {
    max-width: 94%;
  }
  .agent-recommendation {
    grid-template-columns: 54px minmax(0,1fr);
    margin-left: 0;
  }
  .agent-recommendation>div {
    height: 54px;
  }
  .agent-recommendation>a {
    grid-column: 2;
  }
  .ai-page {
    margin-top: 20px;
    margin-bottom: 48px;
    border-radius: 20px;
  }
  .ai-sidebar {
    min-height: 260px;
    padding: 38px 24px;
  }
  .ai-sidebar h1 {
    max-width: 280px;
    font-size: 38px;
  }
  .chat-panel {
    min-height: 600px;
    padding: 24px 20px;
  }
  .checkout-form section {
    padding: 20px;
  }
  .checkout-choices {
    grid-template-columns: 1fr;
  }
  .product-summary-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .product-summary-hero .product-hero-art {
    height: 240px;
  }
  .option-step-help {
    padding-left: 18px;
  }
  .option-step .option-grid,.upload-step .config-upload {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width:1020px) {
  .purchase-sidebar {
    position: static;
  }
}
.artwork-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
}
.artwork-editor-shell {
  width: min(1120px,100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}
.artwork-editor-shell>header,.artwork-editor-shell>footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}
.artwork-editor-shell>header {
  border-bottom: 1px solid var(--line);
}
.artwork-editor-shell>header div {
  display: grid;
  gap: 3px;
}
.artwork-editor-shell>header small {
  color: var(--muted);
}
.artwork-editor-shell>header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
}
.artwork-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}
.artwork-editor-toolbar button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.artwork-editor-toolbar svg {
  width: 15px;
}
.artwork-editor-toolbar button:disabled {
  opacity: .35;
}
.artwork-editor-shell>main {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 20px;
  overflow: auto;
  background: #eeeeee;
}
.artwork-stage {
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  background: #fff;
}
.artwork-editor-shell>footer {
  border-top: 1px solid var(--line);
}
.artwork-editor-shell>footer span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}
.artwork-editor-shell>footer i {
  width: 14px;
  height: 2px;
}
.artwork-editor-shell>footer .primary-button {
  display: flex;
  align-items: center;
  gap: 7px;
}
.artwork-editor-shell>footer svg {
  width: 17px;
}
.artwork-editor-loading {
  padding: 30px 40px;
  border-radius: 14px;
  background: var(--card);
}
.agent-artwork-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.agent-file-report {
  margin: 14px 0 14px 48px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-size: 12px;
  line-height: 1.55;
}
.agent-file-report>header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.agent-file-report>header div {
  min-width: 0;
  overflow-wrap: anywhere;
  display: grid;
  gap: 4px;
}
.agent-file-report>header small {
  color: var(--muted);
  font-size: 10px;
}
.agent-file-report>header b {
  font-size: 13px;
  line-height: 1.5;
}
.agent-file-report>header span {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 10px;
}
.agent-file-report.risk-high>header span {
  color: var(--red);
  background: var(--red-selected);
}
.agent-file-findings {
  display: grid;
  gap: 0;
  margin-top: 10px;
}
.agent-file-findings article {
  display: grid;
  grid-template-columns: 9px minmax(0,1fr);
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid var(--paper-2);
}
.agent-file-findings i {
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: #4e856b;
}
.agent-file-findings i[data-severity="warning"] {
  background: #c8892c;
}
.agent-file-findings i[data-severity="problem"] {
  background: var(--red);
}
.agent-file-findings article div {
  display: grid;
  gap: 2px;
}
.agent-file-findings article b {
  font-size: 12px;
}
.agent-file-findings p,.agent-file-findings small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.agent-file-notice {
  margin: 8px 0;
  color: var(--muted);
  font-size: 10px;
}
.agent-file-report>footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.agent-file-report>footer button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 11px;
}
@media (max-width:640px) {
  .artwork-editor-overlay {
    padding: 0;
  }
  .artwork-editor-shell {
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
  }
  .artwork-editor-shell>main {
    min-height: 52vh;
    padding: 12px;
  }
  .artwork-editor-shell>footer {
    align-items: stretch;
    flex-direction: column;
  }
  .artwork-editor-shell>footer .primary-button {
    justify-content: center;
  }
}
@media (max-width:900px) {
  .package-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .package-detail-hero,.package-detail-layout {
    grid-template-columns: 1fr;
  }
  .package-detail-art {
    min-height: 320px;
  }
  .package-notes {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px) {
  .package-grid,.package-notes,.package-item-list {
    grid-template-columns: 1fr;
  }
  .package-card-art {
    height: 130px;
  }
  .package-detail-art {
    min-height: 260px;
  }
  .package-item {
    padding: 20px 18px;
  }
  .package-detail-copy h1 {
    font-size: 36px;
  }
  .package-order-actions .primary-button,.package-order-actions .outline-button {
    flex: 1 1 100%;
  }
  .agent-file-report {
    margin-left: 0;
    padding: 14px;
  }
  .agent-file-report>footer button {
    flex: 1 1 calc(50% - 7px);
  }
}
@media (max-width:520px) {
  .artwork-preflight {
    grid-template-columns: 1fr;
  }
}
.agent-human-service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 14px 0 14px 48px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--red-soft);
}
.agent-human-service-copy {
  flex: 1 1 220px;
  min-width: 0;
}
.agent-human-service-copy b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.agent-human-service-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.agent-human-service>a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--red);
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s,border-color .15s;
}
.agent-human-service>a:hover {
  background: var(--red);
  border-color: var(--red);
  filter: brightness(.92);
}
.agent-human-service>a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.agent-human-service>a svg {
  flex: none;
  width: 16px;
  height: 16px;
}
@media (max-width:700px) {
  .agent-human-service {
    margin-left: 0;
    padding: 16px;
    gap: 12px;
  }
  .agent-human-service-copy {
    flex-basis: 100%;
  }
  .agent-human-service>a {
    width: 100%;
  }
}
.catalog-package-card {
  display: flex;
  flex-direction: column;
}
.catalog-package-card .catalog-product-art {
  flex: none;
  background: #fff;
}
.catalog-package-card .catalog-product-art img {
  object-fit: contain;
}
.catalog-package-card .catalog-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.catalog-package-card .catalog-product-body h3 {
  white-space: normal;
  overflow: visible;
  min-height: 0;
}
.catalog-package-card .catalog-product-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.catalog-package-card .catalog-product-body > div {
  margin-top: auto;
  justify-content: flex-start;
  gap: 6px;
}
.catalog-package-card .catalog-product-body > div small {
  background: none;
  padding: 0;
}
.catalog-package-link {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink);
}
.package-gallery {
  min-width: 0;
}
.package-gallery-main,.package-gallery-empty {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 5/4;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.package-gallery-main {
  padding: 16px;
  cursor: zoom-in;
}
.package-gallery-main img,.package-gallery-thumbs img,.package-gallery-full-image img {
  object-fit: contain;
}
.package-gallery-main img {
  padding: 16px;
}
.package-gallery-empty svg {
  width: 64px;
  height: 64px;
  color: var(--muted);
}
.package-gallery-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.95);
  font-size: 12px;
}
.package-gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.package-gallery-caption span:last-child {
  white-space: nowrap;
}
.package-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px;
  margin: -4px;
}
.package-gallery-thumbs button {
  position: relative;
  flex: 0 0 76px;
  height: 76px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.package-gallery-thumbs img {
  padding: 5px;
}
.package-gallery-thumbs button[aria-pressed="true"] {
  border: 2px solid var(--red);
}
.package-gallery-dialog {
  width: min(1080px,calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.package-gallery-dialog::backdrop {
  background: rgba(0,0,0,.72);
}
.package-gallery-viewer {
  display: flex;
  flex-direction: column;
}
.package-gallery-viewer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.package-gallery-viewer button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.package-gallery-viewer button:disabled {
  opacity: .35;
  cursor: default;
}
.package-gallery-full-image {
  position: relative;
  height: min(65dvh,700px);
  min-height: 160px;
  margin: 12px 20px;
}
.package-gallery-viewer footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.package-gallery-viewer footer p {
  margin: 0;
  text-align: center;
  font-size: 14px;
}
.package-gallery-viewer footer p span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width:640px) {
  .package-gallery-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }
  .package-gallery-full-image {
    height: 55dvh;
    margin: 8px;
  }
  .package-gallery-thumbs button {
    flex-basis: 64px;
    height: 64px;
  }
}
.purchase-minimum-charge {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0 16px;
  color: #526071;
  font-size: 13px;
  line-height: 1.6;
}
.purchase-minimum-charge small {
  flex-basis: 100%;
  font-size: 12px;
}
:root {
  --text-body: #526071;
  --text-heading: #344256;
  --border-subtle: #e6ebf0;
}
body {
  color: var(--text-body);
}
.brand {
  color: var(--ink);
}
.site-header {
  border-bottom-color: var(--border-subtle);
}
.main-nav,.header-pill {
  color: var(--text-heading);
  font-weight: 600;
}
.hero-copy h1 {
  color: var(--text-heading);
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.28;
}
.hero-copy>p {
  color: #687789;
}
.ai-order-card,.agent-chat-card,.order-data-card,.estimate-hint-card {
  border-color: var(--border-subtle);
  box-shadow: 0 3px 14px rgba(52,66,86,.025);
}
.home-agent-workspace {
  --ink: #526071;
  --muted: #687789;
  --line: #e6ebf0;
  color: var(--ink);
}
.agent-chat-card {
  background: #ffffff;
}
.agent-chat-card>header,.agent-chat-composer {
  background: #ffffff;
}
.agent-chat-title b,.order-data-card h3 {
  color: var(--text-heading);
  font-weight: 600;
}
.agent-chat-card .agent-chat-user {
  background: #f2f5f8;
  color: var(--text-body);
}
.agent-chat-reply p {
  color: var(--text-body);
  line-height: 1.85;
}
.agent-message-link {
  color: var(--red);
  text-decoration-color: var(--red-border);
}
.agent-message-link:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}
.agent-chat-card .agent-choice button,.agent-chat-card .agent-quantity-input input {
  border-color: #c6cfd9;
  background: #ffffff;
}
.agent-chat-card .agent-choice button:hover {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}
.agent-chat-card .agent-choice button.selected {
  border-color: var(--red);
  background: var(--red-selected);
  color: var(--red);
}
.agent-chat-card .agent-choice button.agent-choice-confirm {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}
.agent-chat-composer input {
  background: #ffffff;
  border-color: #c6cfd9;
}
.agent-chat-composer input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.agent-chat-composer input::placeholder {
  color: #737373;
  opacity: 1;
}
.agent-quote-card strong,.agent-quote-card b {
  color: var(--text-heading);
  font-weight: 600;
}
.agent-confirmed-report {
  margin: 14px 0 14px 38px;
  color: var(--muted);
  font-size: 13px;
}
.agent-confirmed-report summary {
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid #c6cfd9;
  border-radius: 8px;
  cursor: pointer;
}
.agent-confirmed-report summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.agent-confirmed-report .agent-file-report {
  margin: 12px 0;
}
.section-heading h2,.about-section h2,.steps h3,.category-card h3,.benefit-grid b,.home-agent-product b {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-heading);
}
.benefit-grid>div,.steps article,.category-card {
  border-color: var(--border-subtle);
  box-shadow: none;
}
.agent-chat-title b {
  letter-spacing: 0;
}
.agent-chat-messages {
  scrollbar-color: #bcc5ce transparent;
  scrollbar-width: thin;
}
.agent-quote-card,.agent-file-report {
  border-color: var(--border-subtle);
}
.agent-file-report > footer button.artwork-confirm,
button.artwork-confirm {
  background: #eaf3ed;
  border-color: #b8d4c1;
  color: #285b3c;
}
.agent-file-report > footer button.artwork-confirm[data-risk="medium"],
.agent-file-report > footer button.artwork-confirm[data-risk="high"],
button.artwork-confirm[data-risk="medium"], button.artwork-confirm[data-risk="high"] {
  background: #fff4dc;
  border-color: #dfc387;
  color: #755016;
}
button.artwork-retry, .secondary-button.artwork-retry {
  padding: 8px 12px;
  border: 1px solid #bfd1e1;
  border-radius: 8px;
  background: #eef5fa;
  color: #315a7b;
}
.agent-file-report > footer button.artwork-upload,
.secondary-button.artwork-upload {
  background: #f5f5f3;
  border-color: #d7d9d4;
  color: #555e57;
}
button.artwork-confirm:disabled, button.artwork-retry:disabled {
  opacity: .6;
  cursor: default;
}
button.artwork-confirm:focus-visible, button.artwork-retry:focus-visible, button.artwork-upload:focus-visible {
  outline: 2px solid #66818d;
  outline-offset: 3px;
}
.cart-items > .agent-file-report {
  margin-left: 0;
}
.artwork-cart-notice {
  color: #606960;
  font-size: 13px;
  line-height: 1.6;
}
.checkout-pickup-points {
  margin-top: 18px;
}
.checkout-pickup-points select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line,#dedede);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.checkout-pickup-address {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line,#dedede);
  border-radius: 8px;
}
.checkout-pickup-address p {
  margin: 6px 0;
  white-space: pre-line;
}
.cart-price .quantity-control input {
  width: 84px;
  min-width: 0;
  border: 0;
  border-radius: 4px;
  padding: 5px 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
}
.cart-price .quantity-control input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.upload-step .option-step-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
}
.upload-step .option-step-head > b {
  min-width: 0;
}
.upload-step .option-step-head > small {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  margin-left: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-file {
  min-width: 0;
  max-width: 100%;
}
.selected-file > span {
  min-width: 0;
  overflow: hidden;
}
.selected-file > svg, .selected-file > button {
  flex-shrink: 0;
}
.selected-file b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.purchase-selections > div {
  grid-template-columns: 85px minmax(0, 1fr);
}
.purchase-selections .purchase-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropzone .field-error {
  overflow-wrap: anywhere;
}
.pickup-note > span {
  min-width: 0;
  flex: 1;
}
.order-note-content {
  display: block;
  min-width: 0;
  max-width: 100%;
  max-height: 9em;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.categories-section .category-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  min-height: 104px;
  padding: 22px 20px;
}
.categories-section .category-card > .category-thumb {
  flex: 0 0 20px;
  width: 20px;
  height: 27px;
}
.categories-section .category-thumb svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 600px) {
  .categories-section .category-card {
    gap: 8px;
    min-height: 96px;
    padding: 16px 12px;
  }
  .categories-section .category-card h3 {
    font-size: 15px;
  }
  .categories-section .category-card > .category-thumb {
    height: 24px;
  }
}
.cart-heading {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cart-clear,.cart-bulk-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 10px 0;
  white-space: nowrap;
}
.cart-clear:hover,.cart-bulk-delete:not(:disabled):hover {
  color: var(--red);
}
.cart-bulk-delete:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.cart-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.cart-toolbar .cart-select-all {
  padding: 0;
}
.cart-selection-count {
  font-size: 12px;
  color: var(--muted);
}
.cart-bulk-delete {
  margin-left: auto;
}
.cart-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 13px;
  color: var(--muted);
}
.cart-pagination>div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-pagination button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.cart-pagination button:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.cart-pagination button:not(:disabled):hover {
  border-color: var(--red);
  color: var(--red);
}
.cart-summary .cart-summary-count {
  color: #eee;
  gap: 14px;
  align-items: baseline;
}
.cart-summary-count b {
  text-align: right;
}
@media (max-width:560px) {
  .cart-toolbar {
    gap: 10px;
  }
  .cart-pagination {
    flex-wrap: wrap;
  }
  .cart-heading h1 {
    margin: 0;
  }
  .cart-clear {
    font-size: 12px;
  }
}
.header-pending-payment {
  color: var(--red);
  border-color: var(--red-border);
  background: var(--red-soft);
  white-space: nowrap;
}
.header-pending-payment:hover,.header-pending-payment-strip:hover {
  color: var(--red-dark);
}
.header-pending-payment-strip {
  display: none;
}
@media (max-width:1020px) {
  .header-pending-payment-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 5px 12px;
    border-top: 1px solid var(--red-border);
    color: var(--red);
    background: var(--red-soft);
    font-size: 12px;
    font-weight: 700;
  }
  .site-header.has-pending-payment .main-nav {
    top: 108px;
  }
}
@media (max-width:700px) {
  .site-header.has-pending-payment .main-nav {
    top: 100px;
  }
}
.header-payment-menu {
  position: relative;
}
.header-payment-menu > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--red-border);
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-size: .8rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}
.header-payment-menu > summary::-webkit-details-marker {
  display: none;
}
.header-payment-menu > summary b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
}
.header-payment-menu > summary:focus-visible,.header-payment-list a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.header-payment-list {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  max-height: min(360px,60vh);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.header-payment-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 8px;
  color: var(--text-heading);
  font-size: 12px;
}
.header-payment-list a:hover {
  background: var(--red-soft);
  color: var(--red);
}
.header-payment-list small {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--red);
  white-space: nowrap;
}
.header-payment-menu.mobile {
  display: none;
}
@media (max-width:1020px) {
  .header-payment-menu.mobile {
    display: block;
  }
  .header-payment-menu.mobile > summary {
    justify-content: center;
    min-height: 36px;
    padding: 5px 12px;
    border: 0;
    border-top: 1px solid var(--red-border);
    border-radius: 0;
    font-size: 12px;
  }
  .header-payment-menu.mobile .header-payment-list {
    top: calc(100% + 4px);
    right: 12px;
    left: 12px;
    width: auto;
  }
}
.auth-verification-dialog {
  width: min(420px,calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 70px #0003;
}
.auth-verification-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}
.auth-verification-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.auth-verification-heading h3 {
  margin: 0;
  font-size: 20px;
}
.auth-verification-heading button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f5;
  color: inherit;
  font-size: 26px;
  cursor: pointer;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
    }
  }
}

