:root {
  --ink: #2b2924;
  --muted-ink: #716b61;
  --cream: #f7f4ee;
  --warm-white: #fffdfa;
  --sand: #e8dfd1;
  --terracotta: #bd654c;
  --line: #dfd7ca;
  --shadow: 0 18px 45px rgb(49 40 28 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  max-width: 1440px;
  margin: 0 auto;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.5 Arial, sans-serif;
  overflow-x: hidden;
  overflow-x: clip;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 420px) 1fr;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 0 5.5vw;
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.09em;
  text-decoration: none;
}

.wordmark span {
  color: var(--terracotta);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  background: #f8f4ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgb(49 40 28 / 5%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-search:focus-within {
  background: var(--warm-white);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgb(189 101 76 / 12%);
}

.search-icon {
  display: grid;
  flex: none;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--muted-ink);
}

.search-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.site-search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.site-search input::placeholder {
  color: #8c8579;
}

.cart-button {
  justify-self: end;
  padding: 9px 4px 9px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
}

.cart-button span {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  margin-left: 5px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-size: 11px;
}

.welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  min-height: 175px;
  padding: 38px 5.5vw 34px;
  background: linear-gradient(115deg, #e9d6c0, #d9ded0);
}

.eyebrow {
  margin: 0;
  color: var(--muted-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.welcome h1 {
  max-width: 560px;
  margin: 7px 0 2px;
  font: 500 clamp(33px, 4vw, 57px) / 1.02 Georgia, serif;
  letter-spacing: -0.06em;
}

.welcome h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.welcome div > p {
  margin: 6px 0 0;
  color: var(--muted-ink);
}

.collection {
  min-width: 0;
  padding: 42px 5.5vw 80px;
  overflow-x: hidden;
  overflow-x: clip;
}

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.collection-heading h2 {
  margin: 5px 0 0;
  font: 500 clamp(28px, 3vw, 39px) / 1.05 Georgia, serif;
  letter-spacing: -0.055em;
}

.collection-controls {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 22px;
}

.category-filter {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0;
  padding: 5px 6px 5px 14px;
  color: var(--muted-ink);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgb(49 40 28 / 5%);
  font-size: 13px;
}

.category-filter > span {
  padding-right: 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.category-filter select {
  min-width: 176px;
  padding: 8px 31px 8px 12px;
  color: var(--ink);
  appearance: none;
  background-color: #f4efe6;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 11px) 50%;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.product-count {
  margin: 0;
  color: var(--muted-ink);
  font-size: 13px;
}

#product-status {
  margin: 28px 0;
  color: var(--muted-ink);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}

.catalog--rows {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 29px;
}

.catalog-row {
  width: 100%;
  min-width: 0;
}

.catalog-row__heading {
  margin-bottom: 13px;
}

.catalog-row h3 {
  min-width: 0;
  margin: 0;
  font: 500 26px/1.1 Georgia, serif;
  letter-spacing: -0.045em;
}

.catalog-row__link {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: inherit;
  text-decoration: none;
}

.catalog-row__name {
  border-bottom: 1px solid var(--muted-ink);
  transition: color 180ms ease, border-color 180ms ease;
}

.catalog-row__name::after {
  content: " ↗";
  color: var(--terracotta);
  font: 600 15px Arial, sans-serif;
}

.catalog-row__link:hover .catalog-row__name,
.catalog-row__link:focus-visible .catalog-row__name {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.catalog-row__view {
  flex: none;
  padding: 5px 9px;
  color: var(--muted-ink);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 11px Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-row-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-row {
  display: grid;
  grid-auto-columns: calc((100% - 51px) / 4);
  grid-auto-flow: column;
  gap: 17px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 1px;
  overflow-x: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
}

.product-row__control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(49, 42, 36, 0.18);
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.product-row__control:hover,
.product-row__control:focus-visible {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.product-row__control--previous {
  left: 10px;
}

.product-row__control--next {
  right: 10px;
}

.product-row .product {
  scroll-snap-align: start;
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.product-link {
  display: flex;
  flex: none;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.product img {
  display: block;
  width: 100%;
  aspect-ratio: 0.88;
  background: var(--sand);
  object-fit: cover;
  transition: transform 220ms ease;
}

.product:hover img {
  transform: scale(1.015);
}

.product .product-card-title {
  display: -webkit-box;
  height: 2.3em;
  min-height: 2.3em;
  overflow: hidden;
  margin: 13px 0 4px;
  font: 500 20px/1.15 Georgia, serif;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product p {
  margin: 0 0 11px;
  color: var(--muted-ink);
  font-size: 14px;
}

.product button,
#checkout {
  padding: 10px 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.product button {
  width: 100%;
  margin-top: auto;
}

.product button:hover,
#checkout:hover:not(:disabled) {
  color: white;
  background: var(--ink);
}

.product button:disabled,
#checkout:disabled {
  color: #9f988c;
  border-color: #bdb5a9;
  cursor: not-allowed;
}

#cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100vh;
  padding: 25px;
  overflow: auto;
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

#cart[hidden] {
  display: none;
}

.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-heading h2 {
  font: 500 29px Georgia, serif;
  letter-spacing: -0.05em;
}

.cart-heading button,
.cart-line button {
  padding: 0;
  color: var(--muted-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
}

#empty-cart {
  color: var(--muted-ink);
}

#cart-lines {
  flex: 1;
}

.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 70px;
  height: 76px;
  background: var(--sand);
  object-fit: cover;
}

.cart-line strong {
  font: 500 17px Georgia, serif;
}

.cart-line p {
  margin: 3px 0;
  color: var(--muted-ink);
  font-size: 13px;
}

.cart-footer {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.subtotal {
  display: flex;
  justify-content: space-between;
  margin: 0 0 14px;
}

#checkout {
  width: 100%;
  color: white;
  background: var(--ink);
}

.help {
  margin: 12px 0 0;
  color: var(--muted-ink);
  font-size: 12px;
}

.product-navigation {
  margin: 0;
  color: var(--muted-ink);
  font-size: 14px;
}

.collection-back {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.collection-back:hover {
  color: var(--terracotta);
}

.category-page {
  min-height: calc(100vh - 82px);
  padding-top: 40px;
}

.category-page__heading {
  margin-bottom: 19px;
}

.category-page__heading h1 {
  margin: 5px 0 0;
  font: 500 clamp(34px, 4vw, 52px) / 1.04 Georgia, serif;
  letter-spacing: -0.06em;
}

.category-page > .product-count {
  margin: 0 0 19px;
}

.product-page {
  min-height: calc(100vh - 82px);
  padding: 55px 5.5vw 80px;
}

.product-page > [role='status'] {
  color: var(--muted-ink);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.72fr);
  align-items: start;
  gap: clamp(35px, 7vw, 110px);
  max-width: 1100px;
  margin: 0 auto;
}

.product-gallery__main {
  overflow: hidden;
  background: var(--sand);
}

.product-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
}

.product-gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.gallery-thumbnail {
  padding: 0;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid transparent;
}

.gallery-thumbnail.is-selected {
  border-color: var(--ink);
}

.gallery-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail__info {
  padding-top: 25px;
}

.product-detail h1 {
  margin: 8px 0 13px;
  font: 500 clamp(35px, 4vw, 56px) / 1.03 Georgia, serif;
  letter-spacing: -0.065em;
}

.product-detail__price {
  margin: 0 0 26px;
  font-size: 17px;
  font-weight: 600;
}

.product-detail__description {
  max-width: 480px;
  margin: 0 0 29px;
  color: var(--muted-ink);
  line-height: 1.65;
}

.variant-picker {
  min-width: 0;
  padding: 0;
  margin: 0 0 20px;
  border: 0;
}

.variant-picker legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-option {
  min-width: 74px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--warm-white);
  border: 1px solid var(--line);
  font-size: 13px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.variant-option:hover:not(:disabled),
.variant-option.is-selected {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.variant-option:disabled {
  color: #9f988c;
  background: #f0ece5;
  cursor: not-allowed;
}

.variant-option small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
}

#detail-add-to-cart {
  width: 100%;
  padding: 14px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 600;
}

#detail-add-to-cart:disabled {
  color: #9f988c;
  background: transparent;
  border-color: #bdb5a9;
  cursor: not-allowed;
}

.detail-message {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--muted-ink);
  font-size: 14px;
}

.product-information-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.product-information {
  border-bottom: 1px solid var(--line);
}

.product-information summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.product-information summary::-webkit-details-marker {
  display: none;
}

.product-information summary span {
  font-size: 20px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.product-information[open] summary span {
  transform: rotate(45deg);
}

.product-information > div {
  padding: 0 0 16px;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.65;
}

.product-information p {
  margin: 0 0 10px;
}

.product-information p:last-child {
  margin-bottom: 0;
}

.measurement-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.measurement-cards {
  display: grid;
  gap: 10px;
}

.measurement-card {
  padding: 13px 14px;
  background: #f3eee6;
  border-left: 3px solid var(--terracotta);
}

.measurement-card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font: 600 14px/1.35 Arial, sans-serif;
}

.measurement-card p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  margin: 4px 0;
}

.measurement-card p span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.measurement-list div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) 1.2fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.measurement-list dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.measurement-list dd {
  margin: 0;
  text-align: right;
}

.measurement-text {
  margin: 0;
  padding: 12px 14px;
  background: #f3eee6;
  border-left: 3px solid var(--terracotta);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-row {
    grid-auto-columns: calc((100% - 34px) / 3);
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: auto;
    padding: 18px 5vw;
  }

  .site-search {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .welcome {
    align-items: start;
    flex-direction: column;
    gap: 13px;
    min-height: 0;
    padding: 29px 5vw;
  }

  .collection {
    padding: 32px 5vw 60px;
  }

  .collection-controls {
    justify-content: stretch;
    margin-top: -6px;
  }

  .category-filter,
  .category-filter select {
    width: 100%;
  }

  .category-filter {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 5px;
    padding: 11px 12px;
    border-radius: 15px;
  }

  .category-filter > span {
    padding-right: 0;
  }

  .category-filter select {
    border-left: 0;
    border-radius: 10px;
  }

  .product-navigation {
    display: none;
  }

  .product-page {
    padding: 34px 5vw 60px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-detail__info {
    padding-top: 0;
  }

  .measurement-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .measurement-list dd {
    text-align: left;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 12px;
  }

  .catalog--rows {
    gap: 26px;
  }

  .catalog-row h3 {
    font-size: 23px;
  }

  .catalog-row__view {
    display: none;
  }

  .product-row {
    grid-auto-columns: calc((100% - 17px) / 2);
  }

  .product-row__control {
    width: 38px;
    height: 38px;
  }

  .product-row__control--previous {
    left: 5px;
  }

  .product-row__control--next {
    right: 5px;
  }

  .product .product-card-title {
    font-size: 18px;
  }
}

/* SEO content and accessibility additions retain the original storefront controls. */
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 12px; background: var(--warm-white); color: var(--ink); }
.skip-link:focus { top: 10px; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.category-nav { display:flex; gap:12px 24px; flex-wrap:wrap; padding:12px 5.5vw; border-bottom:1px solid var(--line); background:var(--warm-white); font-size:13px; }
.category-nav a { text-decoration:none; padding:5px 0; }
.category-nav a:hover { text-decoration:underline; }
.breadcrumbs ol { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:0 0 24px; font-size:12px; color:var(--muted-ink); }
.breadcrumbs li { overflow-wrap:anywhere; }
.breadcrumbs li+li::before { content:' / '; margin-right:6px; }
.category-intro { max-width:760px; color:var(--muted-ink); margin-bottom:24px; }
.subcategory-links { display:flex; flex-wrap:wrap; gap:12px 20px; margin:20px 0; font-size:14px; }
.editorial-section, .site-footer { padding:32px 5.5vw; border-top:1px solid var(--line); }
.editorial-section { max-width:1000px; }
.editorial-section h2, .category-guidance h2, .related-products>h2 { font:500 28px/1.2 Georgia,serif; }
.site-footer { background:var(--warm-white); }
.site-footer p { font-size:14px; color:var(--muted-ink); }
.site-footer nav { display:flex; flex-wrap:wrap; gap:16px 24px; font-size:14px; }
.information-page { max-width:900px; margin:auto; padding:40px 5.5vw 70px; }
.information-page h1 { font:500 clamp(32px,4vw,48px)/1.1 Georgia,serif; }
.information-page h2 { font:500 26px/1.2 Georgia,serif; margin-top:32px; }
.information-page p { line-height:1.75; }
.guide-basis { color:var(--muted-ink); font-size:13px; }
.category-guidance { margin-top:48px; max-width:800px; border-top:1px solid var(--line); }
.category-guidance li { margin:10px 0; }
.product-card-option { display:block; font-size:11px; color:var(--muted-ink); line-height:1.4; margin-top:3px; overflow-wrap:anywhere; }
.product .product-card-title { display:block; height:auto; overflow:visible; -webkit-line-clamp:unset; }
.product img, .product-gallery__main img { height:auto; object-fit:contain; background:var(--warm-white); }
.product-gallery__thumbnails { display:flex; overflow-x:auto; gap:9px; padding:2px 0 8px; scroll-snap-type:x proximity; }
.gallery-thumbnail { flex:0 0 78px; scroll-snap-align:start; }
.gallery-thumbnail img { width:76px; height:76px; object-fit:contain; }
.product-gallery { min-width:0; }
.product-information summary h2 { margin:0; font:600 14px/1.5 Arial,sans-serif; }
.table-scroll { overflow-x:auto; max-width:100%; }
.spec-table { width:100%; border-collapse:collapse; font-size:12px; }
.spec-table caption { text-align:left; padding:8px 0; font-weight:600; }
.spec-table th,.spec-table td { text-align:left; padding:9px 6px; border-bottom:1px solid var(--line); }
.spec-table th { font-weight:600; }
.availability,.product-sku { color:var(--muted-ink); font-size:13px; margin:8px 0; }
.product-sku { margin-bottom:22px; }
.product-detail__price { margin-bottom:8px; }
.product-help,.purchase-policies { font-size:13px; line-height:1.7; }
.purchase-policies { display:flex; gap:18px; flex-wrap:wrap; margin-top:28px; }
.related-products { margin-top:48px; padding-top:20px; border-top:1px solid var(--line); }
.cart-line a { text-decoration:none; }
@media(max-width:640px) {
  .category-nav { flex-wrap:nowrap; overflow-x:auto; padding:8px 5vw; gap:22px; }
  .category-nav a { white-space:nowrap; min-height:36px; display:flex; align-items:center; }
  .gallery-thumbnail { flex-basis:70px; }
  .gallery-thumbnail img { width:68px; height:68px; }
  .product-detail h1 { font-size:34px; }
  .product-row { overflow-x:auto; }
  .site-footer nav a { padding:6px 0; }
}
@media(prefers-reduced-motion:reduce) {
  html, .product-row { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; }
}
