@font-face {
  font-family: Montserrat;
  src: url("fonts/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Montserrat, system-ui, sans-serif;
  color: #211f20;
  background: #fff;
  --brand: #c60c30;
  --brand-dark: #a50926;
  --ink: #211f20;
  --quiet: #5b5458;
  --border: #e1dadd;
  --light: #f7f4f5;
  --white: #fff;
  --green: #225739;
  --radius: 1.15rem;
  --content: 77rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #8d1931; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.14; }
h1 { font-size: clamp(2.0rem, 4.7vw, 4.1rem); font-weight: 780; letter-spacing: -.065em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); letter-spacing: -.04em; font-weight: 760; }
h3 { font-size: clamp(1.3rem, 2.25vw, 1.85rem); letter-spacing: -.03em; }
h4 { font-size: 1.1rem; letter-spacing: -.025em; }
.wrap { width: min(calc(100% - 5rem), var(--content)); margin-inline: auto; min-width: 0; }
.skip { position: fixed; z-index: 10; top: .5rem; left: 1rem; clip-path: inset(50%); background: white; padding: .8rem; }
.skip:focus { clip-path: none; }
html:has(.sticky-basket) { scroll-padding-bottom: 5rem; }
.demo { border-top: .25rem solid var(--brand); background: var(--light); color: var(--quiet); text-align: center; font-size: .8rem; font-weight: 650; padding: .36rem .4rem; }
.site-header { border-bottom: 1px solid var(--border); }
.header-content { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; padding-block: .35rem; }
.brand { display: block; padding: .75rem; background: white; margin-inline-start: -.75rem; flex-shrink: 0; }
.brand img { width: clamp(8.6rem, 22vw, 12.7rem); height: auto; }
.button, .outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.8rem;
  padding: .64rem 1rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  text-align: center;
  font-size: .93rem;
  font-weight: 720;
  line-height: 1.3;
  text-decoration: none;
}
.button { color: white; background: var(--brand); }
.button:hover { background: var(--brand-dark); }
.button:disabled { opacity: .68; cursor: wait; }
.outline { color: var(--ink); background: white; border-color: var(--border); }
.outline:hover { border-color: var(--brand); }
.small { padding: .45rem .72rem; font-size: .85rem; min-height: 2.6rem; }
.count { background: #faedf0; border-radius: 10rem; color: var(--brand-dark); font-size: .78rem; padding: .14rem .4rem; min-width: 1.5rem; }
.hero {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f1f3;
  min-height: 21rem;
}
.hero-copy { padding: clamp(1.6rem, 4.2vw, 4rem); align-self: center; }
.eyebrow { color: var(--brand-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 770; }
.hero h1 { margin: .54rem 0 1rem; max-width: 12ch; }
.hero p:not(.eyebrow) { max-width: 38ch; color: var(--quiet); margin-bottom: 1.15rem; }
.hero-image {
  display: grid;
  align-items: center;
  justify-items: center;
  background: #efe4e8;
  overflow: hidden;
  min-height: 12rem;
}
.hero-image img { width: min(88%,26rem); height: min(30vw, 22rem); object-fit: contain; mix-blend-mode: multiply; }
.campaign-strip { margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: .85rem; overflow: hidden; }
.campaign-strip > div { padding: .8rem clamp(.7rem, 2.1vw, 1.7rem); display: grid; gap: .08rem; }
.campaign-strip > div + div { border-left: 1px solid var(--border); }
.campaign-strip strong { color: var(--brand-dark); font-size: clamp(1.12rem, 2.3vw, 1.55rem); font-weight: 760; }
.campaign-strip span, .fineprint { color: var(--quiet); font-size: .86rem; }
.collection-head { margin: 3.5rem 0 1.6rem; }
.collection-head h2 { margin: .3rem 0 .55rem; }
.collection-head p:not(.eyebrow) { max-width: 63ch; color: var(--quiet); }
.category-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.category-nav a { border: 1px solid var(--border); border-radius: 1rem; min-height: 2.45rem; padding: .42rem .76rem; font-size: .88rem; font-weight: 650; text-decoration: none; }
.category-nav a:hover, .category-nav a[aria-current] { border-color: var(--brand); color: var(--brand-dark); }
.category { margin: 2.05rem 0 2.9rem; scroll-margin-top: 1rem; }
.category > h3 { margin-bottom: .95rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.product { border: 1px solid var(--border); border-radius: var(--radius); overflow: clip; display: flex; flex-direction: column; min-width: 0; }
.product-media { display: grid; place-items: center; min-width: 0; height: clamp(10rem, 20vw, 17rem); overflow: hidden; background: #f4f2f3; }
.product-media img { width: 90%; height: 91%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.pen-grid .product-media { position: relative; height: 9rem; }
.pen-grid .pen-original img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: clamp(10rem, 21vw, 16rem);
  width: 3rem;
  transform: translate(-50%, -50%) rotate(90deg);
}
.product-copy { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; gap: .65rem; }
.description { color: var(--quiet); font-size: .88rem; flex-grow: 1; }
.price-line { display: flex; align-items: baseline; gap: .45rem; }
.price-line strong { color: var(--brand-dark); font-size: 1.55rem; font-weight: 790; letter-spacing: -.03em; }
.price-line span { color: var(--quiet); font-size: .85rem; }
.progress-box { display: grid; gap: .42rem; }
.progress-label { display: flex; justify-content: space-between; gap: .45rem; font-size: .82rem; color: var(--quiet); }
.progress-label strong { color: var(--ink); white-space: nowrap; }
progress { display: block; appearance: none; border: 0; width: 100%; height: .4rem; background-color: #eee7e9; border-radius: 1rem; overflow: hidden; }
progress::-webkit-progress-bar { background-color: #eee7e9; }
progress::-webkit-progress-value { background-color: var(--brand); border-radius: 1rem; }
progress::-moz-progress-bar { background-color: var(--brand); }
.product-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; border-top: 1px solid var(--border); padding-top: .72rem; font-size: .83rem; font-weight: 650; }
.quantity-form { display: flex; flex-wrap: wrap; align-items: center; gap: .48rem; }
.stepper { display: inline-flex; align-items: center; border-radius: .55rem; border: 1px solid var(--border); background: white; }
.stepper input { border: 0; width: 4.6rem; min-height: 2.6rem; text-align: center; font-weight: 700; padding: .25rem; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.stepper button { border: 0; background: transparent; color: var(--brand-dark); min-width: 2.55rem; min-height: 2.6rem; font-weight: 750; font-size: 1.1rem; }
.stepper button:hover:not(:disabled) { background: #faedf0; }
.stepper button:disabled { color: #83777b; cursor: default; }
.input-error { flex-basis: 100%; color: var(--brand-dark); }
.input-error:empty { display: none; }
.sticky-basket { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2; background: white; box-shadow: 0 -7px 28px #291b2310; border-top: 1px solid var(--border); padding: .68rem 0 max(.68rem, env(safe-area-inset-bottom)); }
.sticky-basket .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sticky-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .75rem; }
.sticky-total > span { color: var(--quiet); font-size: .88rem; }
.sticky-total > strong { font-size: 1.25rem; }
.sticky-basket a { min-width: 9rem; }
.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; padding: 1rem 0; font-size: .82rem; color: var(--quiet); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
body:has(.sticky-basket) .site-footer { padding-bottom: 5.5rem; }
.page-head { margin: 2.7rem 0 1.8rem; }
.page-head h1 { margin: .42rem 0 .7rem; font-size: clamp(2rem, 5.1vw, 3.6rem); letter-spacing: -.055em; }
.page-head p:not(.eyebrow) { max-width: 66ch; color: var(--quiet); margin-bottom: .4rem; }
.plain-link, .text-button { color: var(--brand-dark); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.text-button { border: 0; background: transparent; padding: .28rem 0; text-align: left; }
.panel, .summary { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1rem, 2.1vw, 1.6rem); min-width: 0; }
.summary { background: var(--light); }
.summary h2, .panel h2, .basket-item h2 { font-size: 1.23rem; letter-spacing: -.028em; }
.summary > * + * { margin-top: .78rem; }
.summary > p { color: var(--quiet); font-size: .91rem; }
.summary .plain-link { display: block; }
.summary-amount { display: block; color: var(--brand-dark); line-height: 1.24; font-size: 1.85rem; letter-spacing: -.035em; }
.summary-items { padding: 0; list-style: none; }
.summary-items li { border-bottom: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: .65rem; padding: .75rem 0; font-size: .9rem; }
.summary-items small { display: block; color: var(--quiet); margin-top: .22rem; }
.empty, .receipt { max-width: 48rem; }
.basket-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.basket-rows { display: grid; gap: .8rem; min-width: 0; }
.basket-item { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; border: 1px solid var(--border); border-radius: .9rem; padding: .8rem; }
.basket-item p { font-size: .86rem; color: var(--quiet); margin: .28rem 0 .4rem; }
.basket-image { height: 6.5rem; width: 6.5rem; object-fit: contain; background: var(--light); border-radius: .55rem; }
.line-amount { white-space: nowrap; font-size: .96rem; }
.remove { font-size: .86rem; }
.notice { border: 1px solid var(--border); background: var(--light); border-radius: .65rem; padding: .82rem 1rem; margin-block: 1rem; }
.notice ul { margin: .45rem 0 0; }
.danger { border-color: #e5a9b3; background: #fff0f2; color: #85112a; }
.fields { display: grid; justify-items: start; gap: 1rem; }
.fields > *, .field { width: 100%; min-width: 0; }
.fields > .button { width: auto; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 680; font-size: .9rem; }
.field input, .field select, .field textarea, .admin-quantity { width: 100%; background-color: white; border: 1px solid #a69a9f; min-height: 2.8rem; border-radius: .5rem; padding: .5rem .68rem; }
.field select { appearance: none; padding-right: 2.1rem; background-image: linear-gradient(45deg, transparent 50%, #50464b 50%),linear-gradient(135deg, #50464b 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select:disabled { background-color: #f5f2f3; color: #655d61; opacity: 1; }
.field-hint { color: var(--quiet); font-size: .82rem; }
.demo-notice { background: var(--light); padding: 1rem; border-radius: .55rem; }
.demo-notice p, .check-label { font-size: .88rem; }
.demo-notice p { margin: .35rem 0 .66rem; }
.check-label { display: flex; align-items: baseline; gap: .55rem; }
.check-label input { accent-color: var(--brand); transform: scale(1.15); }
.sign-in { max-width: 36rem; }
.operator-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.operator-head .operator-actions { margin-top: .9rem; }
.filter-panel { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem 1rem; }
.filter-panel .operator-actions { grid-column: 1 / -1; }
.operator-totals { margin-top: 1.4rem; }
.operator-section { margin-top: 1.65rem; }
.operator-section h2 { font-size: 1.64rem; margin-bottom: .65rem; }
.operator-section .fineprint { margin-bottom: .55rem; }
.table-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--border); border-radius: .65rem; }
table { width: 100%; min-width: 35rem; border-collapse: collapse; font-size: .86rem; line-height: 1.4; }
th, td { text-align: left; padding: .67rem .72rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
thead, tfoot { background: var(--light); }
tbody th { font-weight: 680; }
tbody a { color: var(--brand-dark); }
tfoot td { font-weight: 740; }
tfoot tr:last-child > *, tbody:last-child tr:last-child > * { border-bottom: 0; }
.success-text { color: var(--green); font-weight: 720; }
.group-panel { border: 1px solid var(--border); border-radius: .7rem; padding: .8rem 1rem; }
.group-panel summary { font-weight: 720; cursor: pointer; min-height: 1.8rem; }
.group-panel h3, .group-panel h4 { font-size: 1rem; margin: 1rem 0 .45rem; }
.group-panel h3 { color: var(--brand-dark); }
.order-meta { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; }
.order-meta dt, .audit-state dt { color: var(--quiet); font-size: .85rem; }
.order-meta dd, .audit-state dd { margin: 0; font-weight: 660; overflow-wrap: anywhere; }
.admin-quantity { width: 6rem; }
.audit-item { margin-top: .7rem; }
.audit-state { margin: .5rem 0 0; }
.audit-state > div { display: flex; justify-content: space-between; gap: 1rem; padding-top: .25rem; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(2rem, 6vw, 4rem); }
  .basket-item { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .basket-image { width: 4.5rem; height: 4.5rem; }
  .line-amount { grid-column: 2; }
}
@media (max-width: 610px) {
  .wrap { width: calc(100% - 2rem); }
  .header-content { min-height: 3.8rem; }
  .brand { margin-inline-start: -.5rem; padding: .5rem; }
  .hero { margin-top: .9rem; min-height: 0; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.03rem, 8.6vw, 3.25rem); }
  .hero-copy { padding: 1.4rem; }
  .hero-image { min-height: 8.7rem; height: 8.7rem; }
  .hero-image img { height: 8.7rem; width: 12rem; }
  .campaign-strip { margin-top: .75rem; }
  .campaign-strip > div { padding: .55rem .49rem; line-height: 1.32; }
  .campaign-strip span { font-size: .73rem; overflow-wrap: anywhere; }
  .collection-head { margin-top: 2.05rem; }
  .category { margin-top: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { height: 13rem; }
  .pen-grid .pen-original img { height: 15.5rem; }
  .basket-layout { grid-template-columns: minmax(0,1fr); }
  .page-head { margin-top: 1.8rem; }
  .filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header-content:has(.operator-actions) { padding-bottom: .55rem; }
  .operator-actions .small { min-height: 2.35rem; }
  .audit-state > div { display: grid; gap: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.header-content {
  display: grid;
  grid-template-columns: minmax(9rem, 1.12fr) minmax(0, 2.4fr) minmax(9rem, 1.12fr);
  gap: .9rem;
}
.store-title {
  align-self: center;
  text-align: center;
  line-height: 1.25;
  font-size: clamp(.79rem, 1.25vw, 1.04rem);
  letter-spacing: .035em;
  font-weight: 760;
  text-wrap: balance;
}
.header-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem; }
.header-actions .operator-actions { justify-content: flex-end; }
.consents { display: grid; gap: .6rem; }
table .table-product-image { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.product-preview { width: min(13rem, 100%); height: 9rem; object-fit: contain; background: var(--light); border-radius: .5rem; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.settings-grid .panel h2 { margin-bottom: .8rem; }
.settings-grid .panel:not(:has(form)) { grid-column: 1 / -1; }
@media (max-width: 780px) {
  .header-content { grid-template-columns: minmax(0, 1fr) auto; padding-bottom: .65rem; gap: .35rem .65rem; }
  .header-actions { max-width: min(54vw, 25rem); }
  .store-title { order: 1; grid-column: 1 / -1; justify-self: center; max-width: 49ch; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .header-actions .small { padding-inline: .44rem; font-size: .76rem; gap: .25rem; }
  .header-content .brand img { width: 7.7rem; }
}
