/* src/styles/reset.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

html {
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Avenir, Helvetica, Arial, sans-serif;
}

body {
  color: #f5f5f5;
  --buncss-light: initial;
  --buncss-dark: ;
  color-scheme: light dark;
  display: flex;
  font-synthesis: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: #2c2c2c;
  flex-direction: column;
  height: 100%;
  font-weight: 400;
}

@media (prefers-color-scheme: dark) {
  body {
    --buncss-light: ;
    --buncss-dark: initial;
  }
}

main {
  display: flex;
  text-align: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items:  center;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
}

p {
  max-width: 1280px;
  font-size: 1.2rem;
}

a {
  color: #5fbeeb;
  position: relative;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
}

button {
  cursor: pointer;
  background-color: #1a1a1a;
  border: 1px solid #0000;
  border-radius: .5rem;
  margin: 2rem 0;
  padding: .6rem 1.2rem;
  transition: border-color .25s;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 2px 4px #0000001a;
}

button:hover {
  border-color: #5fbeeb;
}

button:focus {
  outline: 4px auto -webkit-focus-ring-color;
}

button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

code {
  background-color: #ffffff14;
  border: 1px solid #ffffff1a;
  border-radius: .375rem;
  padding: .2rem .5rem;
  font-family: SF Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
  font-size: .875em;
}

@media (max-width: 480px) {
  main {
    padding: 1rem;
  }

  p {
    font-size: 1rem;
  }

  a {
    font-size: 1.2rem;
  }
}

@media (prefers-color-scheme: light) {
  body {
    color: #1a1a1a;
    background-color: #f5f5f5;
  }

  code {
    background-color: #0000000f;
    border-color: #0000001a;
  }
}

/* src/styles/print-theme.css */
:root {
  --paper: #efece4;
  --paper-2: #e7e2d7;
  --paper-3: #ddd6c7;
  --ink: #1a1712;
  --ink-soft: #56504733;
  --ink-mid: #5c554c;
  --line: #1a171229;
  --line-strong: #1a171280;
  --cyan: #b5862f;
  --magenta: #1f6f5c;
  --yellow: #d8a93a;
  --card: #fbfaf6;
  --card-2: #fcfbf7;
  --field: #fff;
  --dot: #1613100d;
  --shadow: #1613101f;
  --header-bg: #efece4f7;
  --accent: var(--magenta);
  --gold: var(--cyan);
  --surface: var(--card);
  --border: var(--line);
  --hairline: #e6ddcb;
  --display: "Anton", "Inter", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

html[data-theme="dark"] {
  --paper: #15120e;
  --paper-2: #1d1813;
  --paper-3: #251f18;
  --ink: #efece4;
  --ink-soft: #efece433;
  --ink-mid: #a89f92;
  --line: #efece429;
  --line-strong: #efece473;
  --cyan: #d2a23f;
  --magenta: #2f8f76;
  --yellow: #e0b94e;
  --card: #1b1611;
  --card-2: #221c15;
  --field: #201a14;
  --dot: #efece40d;
  --shadow: #00000080;
  --header-bg: #15120ef7;
  --hairline: #38312a;
  --buncss-light: ;
  --buncss-dark: initial;
  color-scheme: dark;
}

html {
  --buncss-light: initial;
  --buncss-dark: ;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body.theme-print {
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.6px);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  background-size: 7px 7px;
  min-height: 100vh;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  z-index: 20;
  display: flex;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
  justify-content: space-between;
  align-items:  center;
  gap: 1.5rem;
  padding: .85rem clamp(1rem, 4vw, 2.75rem);
  top: 0;
}

.brand {
  display: flex;
  text-decoration: none;
  color: var(--ink);
  align-items: baseline;
  gap: .55rem;
}

.brand-mark {
  color: var(--magenta);
  align-self:  center;
  width: 26px;
  height: 26px;
}

.brand-word {
  font-family: var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 1.18rem;
  line-height: 1;
}

.brand-sub {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-mid);
  font-size: .62rem;
}

.site-nav {
  display: flex;
  align-items:  center;
  gap: clamp(.75rem, 1.8vw, 1.5rem);
}

.site-nav a {
  position: relative;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  padding: .2rem 0;
  font-size: .74rem;
}

.site-nav a:hover, .site-nav a.on {
  color: var(--magenta);
}

.site-nav a.on:after {
  content: "";
  position: absolute;
  background: var(--magenta);
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
}

.site-nav a.cart {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  align-items:  center;
  gap: .4rem;
  padding: .4rem .7rem;
}

.site-nav a.cart:hover {
  background: var(--ink);
  color: var(--paper);
}

.cart-count {
  background: var(--magenta);
  color: #fff;
  display: inline-flex;
  border-radius: 999px;
  justify-content: center;
  align-items:  center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .3rem;
  font-size: .66rem;
  font-style: normal;
}

.theme-toggle {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  background: none;
  border-radius: 999px;
  justify-content: center;
  align-items:  center;
  width: 2rem;
  height: 2rem;
  transition: background .15s, color .15s;
  font-size: .9rem;
  line-height: 1;
}

.theme-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-mid);
  font-size: .7rem;
}

.eyebrow:before {
  content: "✕ ";
  color: var(--cyan);
}

.ink-cyan {
  color: var(--cyan);
}

.ink-magenta {
  color: var(--magenta);
}

.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-block;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  padding: .85rem 1.4rem;
  transition: transform .12s, background .18s, color .18s;
  font-size: .8rem;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  color: var(--ink);
  background: none;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.crop {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  border: 2px solid var(--ink);
  width: 16px;
  height: 16px;
}

.crop.tl {
  border-bottom: 0;
  border-right: 0;
  top: 10px;
  left: 10px;
}

.crop.tr {
  border-bottom: 0;
  border-left: 0;
  top: 10px;
  right: 10px;
}

.crop.bl {
  border-top: 0;
  border-right: 0;
  bottom: 10px;
  left: 10px;
}

.crop.br {
  border-top: 0;
  border-left: 0;
  bottom: 10px;
  right: 10px;
}

.proof-loading {
  position: absolute;
  display: flex;
  font-family: var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  gap: .8rem;
  font-size: .75rem;
  inset: 0;
}

.reg-dot {
  border: 2px solid var(--ink);
  border-top-color: var(--magenta);
  animation: reg-spin .9s linear infinite;
  border-radius: 50%;
  width: 26px;
  height: 26px;
}

@keyframes reg-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  display: flex;
  border-top: 1.5px solid var(--ink);
  font-family: var(--mono);
  letter-spacing: .08em;
  color: var(--ink-mid);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:  center;
  gap: .6rem 1.5rem;
  padding: 1.6rem clamp(1rem, 4vw, 2.75rem);
  font-size: .72rem;
}

.foot-reg {
  color: var(--cyan);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot-links a {
  color: var(--ink-mid);
  text-decoration: none;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

.promo-bar {
  display: block;
  text-align: center;
  background: var(--ink, #1a1712);
  color: var(--paper, #f4f1ea);
  text-decoration: none;
  letter-spacing: .01em;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 600;
}

a.promo-bar:hover {
  background: var(--accent, #1f6f5c);
}

.newsletter {
  max-width: 320px;
  margin-top: .8rem;
}

.newsletter-pitch {
  opacity: .85;
  margin: 0 0 .5rem;
  font-size: .82rem;
}

.newsletter-row {
  display: flex;
  gap: .4rem;
}

.newsletter-row input {
  border: 1.4px solid var(--hairline, #e6ddcb);
  font: inherit;
  background: var(--paper, #fff);
  color: var(--ink, #1a1712);
  border-radius: 6px;
  flex: 1;
  min-width: 0;
  padding: .5rem .65rem;
}

.newsletter-done {
  color: var(--accent, #1f6f5c);
  font-weight: 600;
}

.newsletter-error {
  color: #d6455f;
  margin: .3rem 0 0;
  font-size: .78rem;
}

.pwa-install {
  border: 1.5px solid var(--gold, #b5862f);
  color: var(--gold, #b5862f);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border-radius: 7px;
  padding: .4rem .7rem;
  font-size: .8rem;
  font-weight: 700;
}

.pwa-install:hover {
  background: var(--gold, #b5862f);
  color: #fff;
}

.notify-toggle {
  border: 1.5px solid var(--accent, #1f6f5c);
  color: var(--accent, #1f6f5c);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border-radius: 7px;
  padding: .4rem .7rem;
  font-size: .8rem;
  font-weight: 700;
}

.notify-toggle:hover {
  background: var(--accent, #1f6f5c);
  color: #fff;
}

.notify-toggle:disabled {
  opacity: .5;
  cursor: default;
}

.bnpl-note {
  display: flex;
  color: var(--muted, #7a7264);
  flex-wrap: wrap;
  align-items:  center;
  gap: .5rem;
  margin: .7rem 0 0;
  font-size: .8rem;
  line-height: 1.4;
}

.bnpl-pill {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent, #1f6f5c);
  white-space: nowrap;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: .62rem;
  font-weight: 800;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  background: var(--ink, #1a1712);
  color: #fff;
  border-radius: 0 0 8px;
  padding: .6rem 1rem;
  font-weight: 700;
  top: 0;
  left: -9999px;
}

.skip-link:focus {
  left: 0;
}

.account-export {
  color: var(--muted, #7a7264);
  text-decoration: underline;
  font-size: .78rem;
}

.consent-banner {
  position: fixed;
  z-index: 900;
  display: flex;
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 8px 30px var(--shadow);
  border-radius: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:  center;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
  padding: .9rem 1.1rem;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
}

.consent-banner p {
  flex: 1;
  min-width: 220px;
  margin: 0;
  font-size: .84rem;
  line-height: 1.45;
}

.consent-actions {
  display: flex;
  gap: .5rem;
}

.consent-accept, .consent-reject {
  font: inherit;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 700;
}

.consent-accept {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.consent-reject {
  color: var(--ink);
  background: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.shop-footer {
  display: flex;
  border-top: 1.5px solid var(--ink);
  flex-wrap: wrap;
  align-items:  flex-start;
  gap: clamp(1.5rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 2rem 1.4rem;
}

.shop-footer .foot-brand {
  display: flex;
  flex-direction: column;
}

.shop-footer .foot-name {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.1rem;
}

.shop-footer .foot-tag {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-mid);
  font-size: .7rem;
}

.shop-footer .foot-col {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.shop-footer .foot-col h4 {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-mid);
  margin: 0 0 .3rem;
  font-size: .7rem;
}

.shop-footer .foot-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
}

.shop-footer .foot-col a:hover {
  color: var(--accent);
}

.shop-footer .foot-copy {
  font-family: var(--mono);
  color: var(--ink-mid);
  align-self:  flex-end;
  font-size: .72rem;
}

.nav-toggle {
  display: none;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  background: none;
  border-radius: 8px;
  padding: .35rem .6rem;
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 1279px) {
  .brand-sub {
    display: none;
  }
}

@media (max-width: 1139px) {
  .site-header {
    position: sticky;
    gap: .75rem;
  }

  .brand-word {
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items:  center;
  }

  .site-nav {
    display: none;
    position: absolute;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .6rem clamp(1rem, 4vw, 2.75rem) 1rem;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 24px #0000001f;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid var(--hairline);
    padding: .6rem .2rem;
    font-size: 1rem;
  }

  .site-nav a.cart {
    display: flex;
    align-items:  center;
    gap: .4rem;
  }
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.checkout-actions button {
  margin: 0;
}

.cta-ghost {
  border: 1.5px solid var(--ink, #1a1712);
  color: var(--ink, #1a1712);
  font: inherit;
  cursor: pointer;
  background: none;
  border-radius: 8px;
  padding: .7rem 1rem;
  font-weight: 700;
}

.cta-ghost:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ink-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.ink-chip {
  display: inline-flex;
  border: 1.5px solid var(--line);
  font-family: var(--mono);
  background: var(--paper);
  border-radius: 999px;
  align-items:  center;
  gap: .35rem;
  padding: .2rem .55rem;
  font-size: .7rem;
}

.ink-chip i {
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  width: .75rem;
  height: .75rem;
}

.pms-request-input {
  border: 1.5px solid var(--line-strong);
  background: var(--field);
  font-family: var(--mono);
  width: 100%;
  padding: .5rem .6rem;
  font-size: .78rem;
}

.foot-contact {
  color: var(--ink-mid);
  margin: .5rem 0 .75rem;
  font-size: .8rem;
  font-style: normal;
  line-height: 1.6;
}

.foot-contact a {
  color: var(--ink);
}

/* src/styles/indexes/quote.css */
.quote-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 1.2rem 4rem;
}

.quote-head {
  margin-bottom: 1.8rem;
}

.quote-head .eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  font-size: .72rem;
}

.quote-head h1 {
  font-family: var(--display);
  color: var(--ink);
  margin: .3rem 0 .6rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.quote-head p {
  color: var(--ink-mid);
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.quote-field span {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-mid);
  font-size: .72rem;
}

.quote-input {
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  padding: .7rem .8rem;
  font-family: inherit;
  font-size: .95rem;
}

.quote-input:focus {
  outline: none;
  border-color: var(--ink);
}

.quote-upload {
  display: flex;
  align-items:  center;
  gap: 1rem;
}

.quote-attached {
  font-family: var(--mono);
  color: var(--accent);
  font-size: .75rem;
}

.quote-error {
  color: var(--red, #c0392b);
  font-size: .9rem;
}

.quote-done {
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) 0;
}

.quote-done h1 {
  font-family: var(--display);
  color: var(--ink);
  margin-bottom: .6rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.quote-done p {
  color: var(--ink-mid);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

.quote-own-garments {
  display: flex;
  align-items:  flex-start;
  gap: .5rem;
  margin: .4rem 0;
  font-size: .85rem;
}

.estimate {
  border: 1.5px solid var(--ink);
  background: var(--card, #fbfaf6);
  box-shadow: 6px 6px 0 var(--shadow, #1613101f);
  max-width: 720px;
  margin: 0 auto 1.6rem;
  padding: 1rem 1.2rem;
}

.estimate h2 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0 0 .2rem;
  font-size: 1.3rem;
}

.estimate-sub {
  color: var(--ink-mid);
  margin: 0 0 .8rem;
  font-size: .82rem;
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .7rem;
}

.estimate-grid label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .78rem;
}

.estimate-grid input, .estimate-grid select {
  font: inherit;
  border: 1.5px solid var(--line, #d8d2c4);
  background: var(--field, #fff);
  color: var(--ink);
  padding: .45rem .55rem;
}

.estimate-result {
  margin: .9rem 0 0;
  font-size: 1rem;
}
