:root {
  --ivory: #f8f3e9;
  --ivory-deep: #eee3d2;
  --champagne: #a88a5d;
  --charcoal: #262522;
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--charcoal);
  color: white;
  padding: .75rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }
.site-header {
  align-items: center;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  padding: .55rem clamp(1rem, 5vw, 5rem);
}
.brand { align-items: center; display: flex; gap: .8rem; text-decoration: none; }
.brand-logo { display: block; height: auto; width: clamp(5.25rem, 7vw, 7rem); }
.brand small { font-family: system-ui, sans-serif; font-size: .65rem; letter-spacing: .14em; line-height: 1.35; max-width: 13rem; text-transform: uppercase; }
nav { align-items: center; display: flex; flex-wrap: wrap; gap: clamp(.75rem, 3vw, 2rem); }
nav a { font-family: system-ui, sans-serif; font-size: .85rem; text-decoration: none; }
.nav-form, .inline-form { display: inline; margin: 0; }
.nav-form button, .text-button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.nav-form button { font-family: system-ui, sans-serif; font-size: .85rem; text-decoration: none; }
.messages { padding: .5rem clamp(1rem, 5vw, 5rem); }
.message { background: var(--white); border-left: .25rem solid var(--champagne); margin: .5rem 0; padding: .75rem 1rem; }
.message.error, .form-error { color: #8a251f; }
.hero {
  align-items: center;
  background: linear-gradient(135deg, var(--ivory), var(--ivory-deep));
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(0, .9fr) minmax(24rem, 1.1fr);
  min-height: 72vh;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
}
.hero-copy { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 5.5rem); line-height: 1; margin: .25rem 0 1.5rem; max-width: 11ch; }
.hero p:not(.eyebrow) { font-size: 1.2rem; max-width: 38rem; }
.home-hero-banner { background: var(--ivory-deep); margin: 0; width: 100%; }
.home-hero-banner img { display: block; height: auto; width: 100%; }
.hero-gallery { display: grid; gap: clamp(.5rem, 1vw, 1rem); grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(30rem, 62vw, 47rem); }
.hero-photo { margin: 0; min-height: 0; overflow: hidden; }
.hero-photo:first-child { grid-row: 1 / -1; }
.hero-photo img { display: block; height: 100%; object-fit: contain; object-position: center; width: 100%; }
.hero-gallery-secondary { align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: auto; }
.hero-gallery-secondary .hero-photo:first-child { grid-row: auto; }
.hero-gallery-secondary .hero-photo img { height: auto; }
.eyebrow { color: #725d3e; font-family: system-ui, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.button { background: var(--charcoal); color: white; display: inline-block; font-family: system-ui, sans-serif; margin-top: 1rem; padding: .85rem 1.25rem; text-decoration: none; }
.intro { background: var(--white); padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 10vw, 9rem); }
.intro h2 { font-size: clamp(2rem, 5vw, 4rem); margin: 0; }
.story { display: grid; gap: clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.2fr); }
.story-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; overflow-wrap: break-word; }
.story-body { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 48rem; }
.story-body p:first-child { margin-top: 0; }
footer { font-family: system-ui, sans-serif; font-size: .8rem; padding: 2rem clamp(1rem, 5vw, 5rem); }
.site-footer { align-items: start; background: var(--charcoal); color: var(--white); display: grid; gap: 1.5rem; grid-template-columns: 1fr 2fr 1fr; }
.footer-brand { align-self: start; }
.footer-brand img { aspect-ratio: 1; background: var(--ivory); display: block; height: auto; max-width: 8rem; object-fit: contain; padding: .35rem; width: 100%; }
.site-footer p { margin: .25rem 0; }
.site-footer nav { align-content: start; display: grid; gap: .35rem 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer address { align-content: start; align-self: start; display: grid; font-style: normal; }
.site-footer > small { grid-column: 1 / -1; opacity: .7; }
.store-banner { align-items: center; background: var(--charcoal); color: var(--white); display: flex; font-family: system-ui, sans-serif; gap: 1rem; justify-content: center; padding: .7rem 1rem; text-align: center; }
.store-banner a { font-weight: 700; }
.featured-products { background: var(--ivory); padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem); }
.featured-products .panel-heading { margin-bottom: 1.5rem; }
.featured-products h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.home-collection-index { background: var(--white); padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem); }
.home-collection-index .panel-heading { margin-bottom: 1.5rem; }
.home-collection-index h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.home-product-table { border-left: 1px solid var(--ivory-deep); border-top: 1px solid var(--ivory-deep); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-product-cell { border-bottom: 1px solid var(--ivory-deep); border-right: 1px solid var(--ivory-deep); display: grid; gap: .8rem; grid-template-rows: auto 1fr; padding: .8rem; text-decoration: none; }
.home-product-cell > strong { align-self: start; font-size: 1rem; text-align: center; }
.home-product-thumbnail { align-items: center; aspect-ratio: 1; display: flex; justify-content: center; width: 100%; }
.home-product-thumbnail img { display: block; height: 100%; object-fit: contain; width: 100%; }

.page-heading { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 2rem; }
.page-heading h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin: 0; }
.catalog-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(13rem, 18rem) 1fr;
  padding: 0 clamp(1rem, 5vw, 5rem) 5rem;
}
.filters { background: var(--white); padding: 1.25rem; }
.filters form { display: grid; gap: .65rem; }
.filters label, .result-count, .stock-state {
  font-family: system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 650;
}
input, select {
  background: var(--white);
  border: 1px solid #b8aa94;
  border-radius: 0;
  color: var(--charcoal);
  font: inherit;
  min-height: 2.75rem;
  padding: .55rem .65rem;
  width: 100%;
}
input:focus, select:focus, button:focus, a:focus-visible { outline: 3px solid #806943; outline-offset: 2px; }
.price-fields { display: grid; gap: .5rem; grid-template-columns: 1fr 1fr; }
.price-fields label { display: grid; gap: .25rem; }
.check-row { align-items: center; display: flex; gap: .5rem; margin: .5rem 0; }
.check-row input { min-height: auto; width: auto; }
button.button { border: 0; cursor: pointer; width: 100%; }
button.button:disabled { cursor: not-allowed; opacity: .5; }
.clear-link { font-family: system-ui, sans-serif; font-size: .8rem; text-align: center; }
.product-grid { align-items: start; display: grid; gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { background: var(--white); border: 1px solid var(--ivory-deep); box-shadow: 0 .6rem 1.5rem rgba(54, 45, 34, .07); min-width: 0; overflow: hidden; }
.product-card > a { display: block; text-decoration: none; }
.product-card .image-loading-frame { align-items: flex-start; display: flex; justify-content: center; }
.product-card img {
  display: block;
  height: auto;
  max-height: 34rem;
  max-width: 100%;
  width: auto;
}
.product-gallery img {
  display: block;
  height: auto;
  width: 100%;
}
.image-loading-frame { background: #e8dfd1; margin: 0; overflow: hidden; position: relative; }
.image-loading-frame img { transition: opacity .25s ease; }
.image-loader-enabled .image-loading-frame:not(.image-is-ready) img { opacity: 0; }
.image-loading-frame.image-is-ready img { opacity: 1; }
.image-loading-message {
  align-items: center;
  color: #514638;
  display: none;
  font-family: system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 650;
  gap: .65rem;
  inset: 0;
  justify-content: center;
  letter-spacing: .03em;
  position: absolute;
}
.image-loader-enabled .image-loading-frame:not(.image-is-ready) .image-loading-message {
  display: flex;
}
.image-is-ready .image-loading-message { display: none; }
.image-loading-spinner {
  animation: image-loading-spin .8s linear infinite;
  border: 3px solid rgba(81, 70, 56, .25);
  border-radius: 50%;
  border-top-color: #514638;
  height: 1.4rem;
  width: 1.4rem;
}
@keyframes image-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .image-loading-spinner { animation-duration: 1.8s; }
  .image-loading-frame img { transition: none; }
}
.image-placeholder {
  align-items: center;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #eee4d5, #ddd0bb);
  color: #7c6748;
  display: flex;
  justify-content: center;
  letter-spacing: .25em;
}
.product-card-copy { border-top: 1px solid var(--ivory-deep); padding: 1.25rem; }
.product-card h2 { font-size: 1.15rem; margin: 0; }
.product-card p { margin: .25rem 0; }
.stock-state { color: #645638; }
.view-product { border-top: 1px solid var(--ivory-deep); display: block; font-family: system-ui, sans-serif; font-size: .78rem; font-weight: 700; margin-top: 1rem; padding-top: .75rem; text-align: right; }
.pagination { align-items: center; display: flex; justify-content: space-between; margin-top: 2rem; }
.collection-product-page { grid-template-columns: minmax(0, 1fr); }
.collection-product-page .product-card > a { align-items: start; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, .6fr); }
.collection-product-page .product-card img { max-height: 46rem; }
.shop-category-group { border-top: 1px solid var(--ivory-deep); margin-top: 2rem; padding-top: 1.25rem; }
.shop-category-group:first-of-type { margin-top: .75rem; }
.shop-category-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 1rem; }
.shop-category-heading h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0; }
.shop-category-heading > span { color: #625d55; font-family: system-ui, sans-serif; font-size: .78rem; }
.shop-thumbnail-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-product-thumbnail { background: var(--white); border: 1px solid var(--ivory-deep); display: grid; gap: .35rem; padding: .65rem; text-decoration: none; }
.shop-thumbnail-image { align-items: center; aspect-ratio: 1; display: flex; justify-content: center; margin-bottom: .35rem; width: 100%; }
.shop-thumbnail-image img { display: block; height: 100%; object-fit: contain; width: 100%; }
.shop-product-thumbnail strong { line-height: 1.25; }
.shop-product-thumbnail > span:not(.shop-thumbnail-image), .shop-product-thumbnail small { font-family: system-ui, sans-serif; }
.shop-product-thumbnail small { color: #625d55; }
.product-pagination { background: var(--white); border: 1px solid var(--ivory-deep); margin: 0 0 1.25rem; min-height: 4rem; padding: .75rem 1rem; }
.product-pagination:last-child { margin: 1.25rem 0 0; }
.product-pagination > span { min-width: 10rem; }
.product-pagination > span:last-child { text-align: right; }
.product-pagination a, .product-pagination strong { font-family: system-ui, sans-serif; font-size: .78rem; }
.product-navigation { align-items: center; border-bottom: 1px solid var(--ivory-deep); border-top: 1px solid var(--ivory-deep); display: flex; gap: 2rem; justify-content: space-between; margin: 0 clamp(1rem, 6vw, 6rem); padding: 1rem 0; }
.product-navigation > div { display: flex; gap: 2rem; justify-content: flex-end; }
.product-navigation a { font-family: system-ui, sans-serif; text-decoration: none; }
.product-navigation > div a { display: grid; gap: .15rem; max-width: 16rem; }
.product-navigation > div a:last-child { text-align: right; }
.product-navigation span, .collection-link { color: #6a5b47; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-navigation strong { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.product-detail {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .8fr);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
}
.product-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.product-gallery > :first-child { grid-column: 1 / -1; }
.product-summary { align-self: start; position: sticky; top: 1rem; }
.product-summary h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin: .25rem 0 1rem; }
.product-price { font-size: 1.35rem; }
.variant-form { display: grid; gap: .6rem; margin: 2rem 0; }
.related-products { background: var(--white); padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem); }
.compact-heading { padding-bottom: 1rem; }
.cart-page { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.cart-lines { display: grid; gap: 1rem; }
.cart-line { align-items: center; background: var(--white); display: grid; gap: 1rem; grid-template-columns: 7rem minmax(10rem, 1fr) 7rem 7rem; padding: 1rem; }
.cart-line img, .cart-thumb { aspect-ratio: 4 / 5; height: auto; object-fit: contain; object-position: center; width: 100%; }
.cart-line h2 { font-size: 1.15rem; margin: 0; }
.cart-line p { margin: .2rem 0; }
.cart-line-total { text-align: right; }
.cart-summary, .dashboard-panel { align-self: start; background: var(--white); padding: 1.5rem; }
.cart-summary > p:first-child { display: flex; justify-content: space-between; }
.secondary-link { display: block; margin-top: 1rem; text-align: center; }
.muted, .help-text { color: #625d55; font-family: system-ui, sans-serif; font-size: .82rem; }
.empty-state { background: var(--white); grid-column: 1 / -1; padding: clamp(2rem, 7vw, 5rem); text-align: center; }
.auth-page { background: var(--white); margin: clamp(2rem, 7vw, 6rem) auto; max-width: 38rem; padding: clamp(1.5rem, 5vw, 3rem); }
.auth-page h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; margin: .25rem 0 1rem; }
.wide-form { max-width: 48rem; }
.account-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .3rem; }
.field label, .account-form label { font-family: system-ui, sans-serif; font-size: .85rem; font-weight: 650; }
.field input[type="checkbox"] { min-height: auto; width: auto; }
.phone-field-row { display: grid; gap: .75rem; grid-template-columns: minmax(7.5rem, .32fr) minmax(0, 1fr); }
.checkbox-field { align-items: center; display: grid; gap: .65rem; grid-template-columns: auto minmax(0, 1fr); }
.checkbox-field input { margin: 0; }
.checkbox-field label { line-height: 1.35; margin: 0; }
.checkbox-field .form-error { grid-column: 1 / -1; }
.guest-checkout-card { max-width: 54rem; }
.guest-checkout-form fieldset { border: 1px solid var(--ivory-deep); display: grid; gap: 1rem; margin: 0; padding: clamp(1rem, 3vw, 1.5rem); }
.guest-checkout-form legend { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; padding: 0 .4rem; }
#guest-billing-fields { display: grid; gap: 1rem; }
.help-text ul { margin: .25rem 0; padding-left: 1.2rem; }
.form-error { font-family: system-ui, sans-serif; font-size: .85rem; margin: .2rem 0; }
.dashboard-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.dashboard-wide { grid-column: 1 / -1; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; }
.address-card { border-top: 1px solid var(--ivory-deep); padding: 1rem 0; }
.address-card h3 { margin-bottom: .25rem; }
.tag { background: var(--ivory-deep); display: inline-block; font-family: system-ui, sans-serif; font-size: .72rem; margin: 0 .25rem .25rem 0; padding: .2rem .45rem; }
.tier-note, .tier-achieved { color: #645638; font-family: system-ui, sans-serif; font-size: .8rem; }
.tier-achieved { font-weight: 700; }
.status { background: var(--ivory-deep); display: inline-block; font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 700; padding: .3rem .55rem; }
.status-active { background: #dcebd8; color: #24451f; }
.status-suspended { background: #f4d9d5; color: #6f211a; }
.account-facts, .order-totals { margin: 1.5rem 0; }
.account-facts div, .order-totals div { border-bottom: 1px solid var(--ivory-deep); display: flex; justify-content: space-between; padding: .55rem 0; }
.account-facts dt, .order-totals dt { font-family: system-ui, sans-serif; font-weight: 650; }
.account-facts dd, .order-totals dd { margin: 0; }
.quick-order { padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.quick-product { background: var(--white); margin-bottom: 1.5rem; padding: clamp(1rem, 3vw, 2rem); }
.quick-product-heading { align-items: baseline; display: flex; gap: 1rem; justify-content: space-between; }
.quick-product-heading h2 { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; font-family: system-ui, sans-serif; min-width: 40rem; width: 100%; }
th, td { border-bottom: 1px solid var(--ivory-deep); padding: .65rem; text-align: left; }
th { background: var(--charcoal); color: white; font-size: .8rem; }
td input { min-width: 5rem; }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0 0 0 0); }
.form-actions { display: flex; justify-content: flex-end; }
.form-actions .button { width: auto; }
.checkout-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.delivery-options > div { display: grid; gap: .75rem; }
.delivery-options label {
  align-items: start;
  cursor: pointer;
  display: grid;
  gap: .65rem;
  grid-template-columns: 1rem minmax(0, 1fr);
  line-height: 1.4;
}
.delivery-options input[type="radio"] {
  accent-color: var(--charcoal);
  margin: .18rem 0 0;
  min-height: auto;
  padding: 0;
  width: 1rem;
}
.pudo-locker-finder {
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  justify-content: space-between;
  margin: .75rem 0 1.25rem;
  padding: .9rem 1rem;
  text-decoration: none;
}
.pudo-locker-finder span {
  font-size: .72rem;
  font-weight: 500;
  opacity: .8;
}
.pudo-locker-finder:hover { background: #3b3934; }
.pudo-locker-help {
  background: var(--ivory);
  border: 1px solid var(--ivory-deep);
  font-family: system-ui, sans-serif;
  margin: 0 0 1.25rem;
  padding: .8rem 1rem;
}
.pudo-locker-help summary {
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
}
.pudo-locker-help ol {
  font-size: .82rem;
  margin: .75rem 0 0;
  padding-left: 1.25rem;
}
.pudo-locker-help li + li { margin-top: .35rem; }
.order-review > div, .order-line { border-bottom: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; padding: .75rem 0; }
.order-total { font-size: 1.15rem; }
.order-list { display: grid; gap: 1rem; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.order-list > article { align-items: center; background: var(--white); display: flex; justify-content: space-between; padding: 1.25rem; }
.order-list h2 { font-size: 1.2rem; margin: 0; }
.order-list p { margin: .2rem 0; }

.operations-heading { align-items: flex-end; display: flex; gap: 2rem; justify-content: space-between; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 2rem; }
.operations-heading h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1; margin: .25rem 0; }
.operations-heading .button { flex: 0 0 auto; }
.heading-actions { align-items: center; display: flex; gap: 1.25rem; }
.operations-date { color: #625d55; margin: .5rem 0 0; }
.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 1.5rem; }
.metric-card { background: var(--white); border-top: .25rem solid var(--champagne); display: grid; min-height: 10rem; padding: 1.25rem; text-decoration: none; }
.metric-card span, .metric-card small { font-family: system-ui, sans-serif; }
.metric-card span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.metric-card strong { align-self: center; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1; }
.metric-card small { align-self: end; color: #625d55; }
.metric-attention { border-top-color: #8a642d; background: #fffaf0; }
.metric-warning { border-top-color: #8a251f; background: #fff7f5; }
.operations-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.operations-panel { background: var(--white); min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.operations-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; margin: .2rem 0; }
.operations-wide { grid-column: 1 / -1; }
.responsive-table { overflow-x: auto; }
.operations-table { min-width: 52rem; }
.operations-table th { background: transparent; border-bottom: 2px solid var(--charcoal); color: var(--charcoal); }
.priority-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.priority-list li { align-items: center; border-top: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; padding: .9rem 0; }
.priority-list small { color: #625d55; display: block; font-family: system-ui, sans-serif; }
.priority-list > li > strong { flex: 0 0 auto; font-family: system-ui, sans-serif; font-size: .8rem; }
.stock-zero { color: #8a251f; }
.operations-links { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; width: 100%; }
.operations-links a { border: 1px solid var(--ivory-deep); display: grid; padding: 1rem; }
.operations-links strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.operations-links span { color: #625d55; font-size: .75rem; }
.compact-operations-heading { padding-bottom: 1.5rem; }
.compact-operations-heading h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.admin-manual-callout { align-items: center; background: #fffaf0; border: 1px solid #d7cbb8; display: flex; gap: 2rem; justify-content: space-between; margin: 0 clamp(1rem, 5vw, 5rem) 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); }
.admin-manual-callout h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .15rem 0 .5rem; }
.admin-manual-callout p:last-child { margin-bottom: 0; }
.admin-manual-actions { align-items: center; display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .75rem 1.25rem; }
.admin-manual-actions .button { margin: 0; }
.pudo-finder { margin: 0 clamp(1rem, 5vw, 5rem) 4rem; }
.pudo-map { background: #e7e2d9; border: 1px solid var(--ivory-deep); height: min(55vh, 34rem); margin: 1.5rem 0; width: 100%; }
.pudo-locker-results { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 28rem; overflow: auto; }
.pudo-locker-card { align-items: center; border: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; padding: 1rem; }
.pudo-locker-card.selected { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.pudo-locker-card small { display: block; margin-top: .25rem; }
.pudo-locker-choice { border: 1px solid var(--ivory-deep); padding: 1rem; }
.pudo-door-choice { border: 1px solid var(--ivory-deep); padding: 1rem; }
.checkout-selected-address { background: var(--ivory); font-style: normal; padding: 1rem; }
.checkout-address-actions { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1rem; }
.checkout-address-actions a { font-family: system-ui, sans-serif; font-size: .82rem; font-weight: 650; }
.checkout-address-selection:target { outline: 3px solid #806943; outline-offset: .5rem; }
.pudo-box-editor { border: 1px solid var(--ivory-deep); display: grid; gap: 1rem; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 1rem; padding: 1rem; }
.pudo-box-editor legend { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; padding: 0 .4rem; }
.secondary-action { font-family: system-ui, sans-serif; }
.report-filter { background: var(--white); margin: 0 clamp(1rem, 5vw, 5rem) 1.5rem; padding: 1.25rem; }
.report-filter form { align-items: end; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.report-filter .button { margin: 0; white-space: nowrap; width: auto; }
.report-filter .form-error { grid-column: 1 / -1; }
.report-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-metrics .metric-card strong { font-size: clamp(1.65rem, 3vw, 2.5rem); white-space: nowrap; }
.reporting-grid { align-items: start; }
.compact-table { min-width: 0; }
.compact-table th { background: transparent; border-bottom: 2px solid var(--charcoal); color: var(--charcoal); }
.compact-table td:last-child, .compact-table th:last-child { text-align: right; }
.compact-table small { color: #625d55; display: block; }
.export-grid { display: grid; gap: .75rem; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1rem; }
.export-grid a { border: 1px solid var(--ivory-deep); display: grid; padding: 1rem; text-decoration: none; }
.export-grid strong { font-size: 1.15rem; }
.export-grid span { color: #625d55; font-family: system-ui, sans-serif; font-size: .75rem; }
.audit-list { display: grid; gap: .75rem; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.audit-list article { align-items: start; background: var(--white); display: grid; gap: 1rem; grid-template-columns: 9rem 6rem minmax(0, 1fr) 10rem; padding: 1.25rem; }
.audit-list time, .audit-category, .audit-list > article > strong { font-family: system-ui, sans-serif; font-size: .78rem; }
.audit-category { color: #725d3e; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.audit-list h2 { font-size: 1rem; margin: 0; }
.audit-list p { margin: .25rem 0 0; }
.audit-list > article > strong { text-align: right; }
.workflow-navigation { border-bottom: 1px solid #d7cbb8; border-top: 1px solid #d7cbb8; margin: 0 clamp(1rem, 5vw, 5rem) 1.5rem; padding: .8rem 0; }
.workflow-navigation a { font-weight: 650; }
.workflow-list { display: grid; gap: 1rem; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.workflow-card { background: var(--white); padding: clamp(1.25rem, 3vw, 2rem); }
.workflow-record { border-bottom: 1px solid var(--ivory-deep); padding: 1.5rem 0; }
.workflow-record:first-child { padding-top: 0; }
.workflow-record:last-child { border-bottom: 0; padding-bottom: 0; }
.workflow-record form { margin-top: 1rem; }
.workflow-record .heading-actions form { margin-top: 0; }
.workflow-record .stacked-form > div { margin-bottom: .8rem; }
.workflow-card > header { align-items: start; display: flex; gap: 1rem; justify-content: space-between; }
.workflow-card h2 { margin: 0; }
.workflow-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0; }
.workflow-facts div { border-left: 1px solid var(--ivory-deep); padding: .5rem 1rem; }
.workflow-facts dt { color: #625d55; font-family: system-ui, sans-serif; font-size: .75rem; text-transform: uppercase; }
.workflow-facts dd { margin: .2rem 0 0; }
.workflow-action { align-items: end; background: var(--ivory); display: grid; gap: 1rem; grid-template-columns: minmax(10rem, .55fr) minmax(16rem, 1fr) auto; padding: 1rem; }
.workflow-action label, .inline-search label { font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 650; }
.workflow-action textarea { background: var(--white); border: 1px solid #b8aa94; display: block; font: inherit; min-height: 4.2rem; padding: .55rem .65rem; resize: vertical; width: 100%; }
.workflow-action .button { margin: 0; white-space: nowrap; width: auto; }
.card-actions { display: flex; gap: 1.25rem; justify-content: flex-end; padding: 1rem 0 0; }
.workflow-split { display: grid; gap: 1.5rem; grid-template-columns: minmax(20rem, .8fr) minmax(0, 1.2fr); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.workflow-split .operations-panel h2 { margin-top: 0; }
.management-layout { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.management-card { background: var(--white); border: 1px solid var(--ivory-deep); min-width: 0; }
.management-card.operations-wide { grid-column: 1 / -1; }
.management-card > summary { align-items: center; cursor: pointer; display: flex; gap: 1rem; justify-content: space-between; padding: 1.25rem; }
.management-card > summary strong { font-size: 1.25rem; }
.management-card > summary span { color: #625d55; font-family: system-ui, sans-serif; font-size: .78rem; text-align: right; }
.management-card[open] > summary { border-bottom: 1px solid var(--ivory-deep); }
.management-card > div { padding: clamp(1.25rem, 3vw, 2rem); }
.management-form { max-width: 52rem; }
.management-form textarea { background: var(--white); border: 1px solid #b8aa94; color: var(--charcoal); font: inherit; min-height: 7rem; padding: .55rem .65rem; resize: vertical; width: 100%; }
.management-form select[multiple] { min-height: 9rem; }
.management-form .button { justify-self: start; width: auto; }
.compact-record-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.compact-record-list li { align-items: center; border-top: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; padding: .7rem 0; }
.compact-record-list small { color: #625d55; font-family: system-ui, sans-serif; }
.record-actions { align-items: flex-end; display: grid; gap: .45rem; justify-items: end; }
.danger-action { color: #8a251f; }
.bulk-action-bar { align-items: center; background: var(--ivory); border: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; margin: 1rem 0; padding: .8rem 1rem; }
.bulk-select { align-items: center; display: flex; font-family: system-ui, sans-serif; font-size: .75rem; gap: .4rem; margin-bottom: .35rem; }
.bulk-select input { min-height: auto; width: auto; }
.catalogue-actions { align-items: flex-start; display: grid; gap: .55rem; }
.category-assignment-form { display: grid; gap: .45rem; min-width: 11rem; }
.category-assignment-form select { width: 100%; }
.record-page-links { display: grid; gap: .75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 1rem clamp(1rem, 4vw, 4rem) 0; }
.record-page-links a { background: var(--white); border: 1px solid var(--ivory-deep); display: grid; padding: 1rem; text-decoration: none; }
.record-page-links span { color: #625d55; font-size: .75rem; }
.picture-management-table img { display: block; height: 8rem; object-fit: contain; width: 8rem; }
.setup-steps { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 1.25rem; }
.management-preview { display: block; max-height: 22rem; object-fit: contain; object-position: center; width: 100%; }
.announcement-preview { margin-top: 1.5rem; }
.inline-search > div { display: grid; gap: .5rem; grid-template-columns: 1fr auto; margin: .35rem 0 1.5rem; }
.inline-search .button { margin: 0; width: auto; }
.quote-results { border-top: 1px solid var(--ivory-deep); margin-top: 2rem; padding-top: 1rem; }
.quote-results > div { border-top: 1px solid var(--ivory-deep); display: grid; grid-template-columns: 1fr auto; padding: .75rem 0; }
.quote-results small { color: #625d55; grid-column: 1 / -1; }
.content-page { margin: 0 auto; max-width: 58rem; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); }
.content-page h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; margin: .25rem 0 1.5rem; }
.content-summary { font-size: 1.25rem; max-width: 42rem; }
.prose { font-size: 1.08rem; }
.prose p { margin: 1.25rem 0; }
.contact-layout { align-items: start; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, .9fr) minmax(22rem, 1.1fr); padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem); }
.contact-introduction h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; margin: .25rem 0 1.5rem; }
.contact-form-card { background: var(--white); border: 1px solid var(--ivory-deep); padding: clamp(1.5rem, 4vw, 3rem); }
.contact-form-card h2 { margin: .25rem 0 .75rem; }
.contact-methods { border-top: 1px solid var(--ivory-deep); margin-top: 2rem; }
.contact-methods div { border-bottom: 1px solid var(--ivory-deep); display: grid; gap: .25rem; padding: .8rem 0; }
.contact-methods strong, .contact-privacy { color: #625d55; font-family: system-ui, sans-serif; font-size: .78rem; }
.contact-topic-guidance { color: #625d55; font-family: system-ui, sans-serif; font-size: .82rem; padding-left: 1.2rem; }
.contact-honeypot { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 0; }
.request-filter { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 clamp(1rem, 5vw, 5rem) 1.5rem; }
.request-filter a { border: 1px solid var(--ivory-deep); padding: .45rem .75rem; }
.request-filter a.active { background: var(--charcoal); color: var(--white); }
.request-workbench { align-items: start; }
.request-list { display: grid; gap: 1.5rem; }
.request-card h2 { margin: .15rem 0; }
.request-contact { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0; }
.request-contact div { border-left: 1px solid var(--ivory-deep); padding-left: .75rem; }
.request-contact dt { color: #625d55; font-family: system-ui, sans-serif; font-size: .75rem; text-transform: uppercase; }
.request-contact dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.request-message { background: var(--ivory); padding: 1rem; }
.request-update-form { border-top: 1px solid var(--ivory-deep); margin-top: 1rem; padding-top: 1rem; }
.faq-list { margin-top: 2rem; }
.faq-list details { border-top: 1px solid var(--ivory-deep); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-size: 1.15rem; font-weight: 700; }
.size-table { margin: 2rem 0; }
.help-layout { align-items: start; display: grid; gap: 3rem; grid-template-columns: 15rem minmax(0, 1fr); padding: 0 clamp(1rem, 5vw, 5rem) 6rem; }
.help-task-map { display: grid; gap: .75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 clamp(1rem, 5vw, 5rem) 1.5rem; }
.help-task-map a { background: var(--white); border: 1px solid var(--ivory-deep); display: grid; gap: .3rem; min-width: 0; padding: 1rem; text-decoration: none; }
.help-task-map span { align-items: center; background: var(--charcoal); border-radius: 50%; color: var(--white); display: inline-flex; font-family: system-ui, sans-serif; font-size: .75rem; font-weight: 700; height: 1.75rem; justify-content: center; width: 1.75rem; }
.help-task-map strong { font-size: 1.05rem; }
.help-task-map small { color: #625d55; font-family: system-ui, sans-serif; line-height: 1.4; }
.help-contents { align-items: stretch; background: var(--white); display: grid; gap: 0; padding: 1rem; position: sticky; top: 1rem; }
.help-contents strong { margin-bottom: .5rem; }
.help-contents a { border-top: 1px solid var(--ivory-deep); padding: .45rem 0; }
.help-manual { max-width: 60rem; }
.help-manual section { background: var(--white); margin-bottom: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); scroll-margin-top: 1rem; }
.help-manual h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin: .2rem 0 1.25rem; }
.help-manual h3 { margin: 1.75rem 0 .5rem; }
.help-manual li { margin-bottom: .5rem; }
.help-note { background: #fffaf0; border-left: .3rem solid #806943; margin: 1.5rem 0; padding: 1rem 1.25rem; }
.help-note p { margin: .35rem 0 0; }
.help-definitions > div { border-top: 1px solid var(--ivory-deep); display: grid; gap: 1rem; grid-template-columns: 10rem 1fr; padding: .7rem 0; }
.help-definitions dt { font-weight: 700; }
.help-definitions dd { margin: 0; }
.help-manual code { background: var(--ivory); padding: .15rem .3rem; }
.prelaunch-banner { background: #29251f; color: #fffaf0; font-family: system-ui, sans-serif; font-size: clamp(.72rem, 1.4vw, .86rem); font-weight: 700; letter-spacing: .055em; line-height: 1.5; padding: .8rem clamp(1rem, 5vw, 5rem); text-align: center; }
.security-choice-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
.security-card { background: var(--white); border: 1px solid var(--ivory-deep); padding: clamp(1.25rem, 3vw, 2rem); }
.security-card h2 { margin-top: 0; }
.security-key { background: var(--ivory); display: block; font-family: ui-monospace, monospace; font-size: 1rem; overflow-wrap: anywhere; padding: 1rem; }
.security-uri { font-size: .75rem; overflow-wrap: anywhere; }
.order-timeline ol { list-style: none; margin: 1.5rem 0; padding: 0 0 0 1rem; }
.order-timeline li { border-left: 2px solid var(--ivory-deep); display: grid; gap: .2rem; padding: 0 0 1.5rem 1.5rem; position: relative; }
.order-timeline li::before { background: var(--charcoal); border: 3px solid var(--white); border-radius: 50%; content: ""; height: .75rem; left: -.45rem; position: absolute; top: .15rem; width: .75rem; }
.order-timeline li:last-child { padding-bottom: 0; }
.order-timeline span, .order-timeline small { color: #625d55; }

@media (max-width: 70rem) {
  .home-product-table { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record-page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-thumbnail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-task-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  nav { width: 100%; }
  .hero, .story, .catalog-layout, .product-detail, .cart-page, .dashboard-grid, .checkout-layout, .workflow-split, .management-layout, .help-layout, .security-choice-grid, .site-footer, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .phone-field-row { grid-template-columns: minmax(6.5rem, .38fr) minmax(0, 1fr); }
  .product-navigation { align-items: stretch; flex-direction: column; gap: 1rem; }
  .product-navigation > div { justify-content: space-between; }
  .product-navigation > div a { max-width: 48%; }
  .collection-product-page .product-card > a { display: block; }
  .product-pagination > span { min-width: 0; }
  .home-product-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-page-links { grid-template-columns: 1fr; }
  .hero-gallery { height: min(125vw, 38rem); }
  .hero-gallery-secondary { grid-template-columns: 1fr; height: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-thumbnail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-summary { position: static; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery > :first-child { grid-column: auto; }
  .cart-line { align-items: start; grid-template-columns: 5rem 1fr; }
  .cart-line form, .cart-line-total { grid-column: 2; text-align: left; }
  .dashboard-wide { grid-column: auto; }
  .operations-heading { align-items: flex-start; flex-direction: column; }
  .admin-manual-callout, .admin-manual-actions { align-items: flex-start; flex-direction: column; }
  .admin-manual-actions { width: 100%; }
  .help-task-map { grid-template-columns: 1fr; }
  .heading-actions { align-items: flex-start; flex-direction: column; }
  .metric-grid, .operations-grid { grid-template-columns: 1fr; }
  .operations-wide { grid-column: auto; }
  .management-card.operations-wide { grid-column: auto; }
  .setup-steps { grid-template-columns: 1fr; }
  .report-filter form, .report-metrics, .export-grid { grid-template-columns: 1fr; }
  .audit-list article { grid-template-columns: 1fr; }
  .audit-list > article > strong { text-align: left; }
  .workflow-navigation { align-items: flex-start; }
  .workflow-facts, .workflow-action { grid-template-columns: 1fr; }
  .help-contents { position: static; }
  .help-definitions > div { grid-template-columns: 1fr; }
  .request-contact { grid-template-columns: 1fr; }
  .site-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer > small { grid-column: auto; }
}

@media (max-width: 24rem) {
  .product-grid { grid-template-columns: 1fr; }
  .operations-links { grid-template-columns: 1fr; }
  .pudo-locker-results { grid-template-columns: 1fr; }
  .pudo-box-editor { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Checkout timing acknowledgement for made-to-order availability. */
.checkout-dispatch-warning {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 2px solid #8a6740;
  background: #fff7e8;
}

.checkout-dispatch-warning h3 {
  margin-top: 0;
}

.checkout-dispatch-warning .checkbox-field {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d7c5a8;
}

.retailer-scan-page {
  margin: 0 auto;
  max-width: 38rem;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}
.retailer-scan-page > h1 { font-size: clamp(2.4rem, 10vw, 4.5rem); }
.scan-product-confirmation,
.retailer-sale-form {
  background: var(--white);
  border: 1px solid var(--ivory-deep);
  margin: 1.25rem 0;
  padding: clamp(1.25rem, 5vw, 2rem);
}
.retailer-sale-form input[type="number"] {
  font-size: 1.5rem;
  min-height: 3.5rem;
  text-align: center;
  width: 100%;
}
.retailer-sale-form .button { font-size: 1.1rem; min-height: 3.5rem; width: 100%; }
.compact-stock-form { display: grid; gap: .6rem; min-width: 15rem; padding-top: .75rem; }
.compact-stock-form label { display: grid; gap: .25rem; }
.matrix-summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(1rem, 5vw, 5rem) 1.5rem;
}
.matrix-summary article { background: var(--white); display: grid; gap: .2rem; padding: 1.25rem; }
.matrix-summary span, .matrix-summary small { color: #625d55; font-family: system-ui, sans-serif; font-size: .75rem; }
.matrix-summary strong { font-size: 1.35rem; }
.pricing-matrix { display: grid; gap: 2rem; padding: 0 clamp(1rem, 3vw, 3rem) 5rem; }
.matrix-category { display: grid; gap: 1.25rem; }
.matrix-category > header { border-bottom: 2px solid var(--charcoal); }
.matrix-category > header h2 { margin: .2rem 0 .75rem; }
.matrix-product { background: var(--white); border: 1px solid var(--ivory-deep); padding: clamp(1rem, 2vw, 1.5rem); }
.matrix-product-heading { align-items: start; display: flex; gap: 1rem; justify-content: space-between; }
.matrix-product-heading h3 { font-size: 1.65rem; margin: 0; }
.matrix-product-heading p { color: #625d55; margin: .25rem 0 0; }
.matrix-default-form {
  align-items: end;
  background: var(--ivory);
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(5, minmax(8rem, 1fr));
  margin: 1.25rem 0;
  padding: 1rem;
}
.matrix-default-form > label { display: grid; font-family: system-ui, sans-serif; font-size: .75rem; font-weight: 650; gap: .3rem; }
.calculated-price { background: #eee9df; }
.calculated-price input[readonly] { background: #eee9df; color: var(--charcoal); cursor: not-allowed; font-weight: 700; }
.matrix-default-form .button { margin: 0; min-height: 2.75rem; width: auto; }
.matrix-checkbox { align-items: start; grid-column: span 2; grid-template-columns: auto 1fr !important; }
.matrix-checkbox input { min-height: auto; width: auto; }
.matrix-checkbox span { display: grid; gap: .15rem; }
.matrix-checkbox small { font-weight: 400; }
.money-input, .percentage-input { align-items: center; background: var(--white); border: 1px solid #b8aa94; display: grid; grid-template-columns: auto 1fr; }
.percentage-input { grid-template-columns: 1fr auto; }
.money-input > span, .percentage-input > span { padding: 0 .45rem; }
.money-input input, .percentage-input input { border: 0; min-width: 5.5rem; }
.pricing-matrix-table { min-width: 92rem; }
.pricing-matrix-table input { min-width: 5.5rem; width: 7rem; }
.pricing-matrix-table td small { display: block; }
.pricing-matrix-table .small-action { white-space: nowrap; }
.matrix-reset-row td { background: var(--ivory); padding: .35rem .7rem; text-align: right; }
.link-button { background: none; border: 0; color: #725d3e; cursor: pointer; padding: .25rem; text-decoration: underline; }

@media (max-width: 70rem) {
  .matrix-default-form { grid-template-columns: repeat(3, minmax(8rem, 1fr)); }
}

@media (max-width: 42rem) {
  .matrix-summary, .matrix-default-form { grid-template-columns: 1fr; }
  .matrix-checkbox { grid-column: auto; }
}
