/* Shared storefront additions and compatibility for the existing data-driven pages. */

body {
  background: var(--paper);
}

:root {
  --orange: #6d28d9;
  --orange2: #8b5cf6;
  --ink: #0b0b0c;
  --ink2: #222226;
  --gray: #6e6c67;
  --line: #dedbd3;
  --soft: #efeee9;
}

.announce,
.waf,
.mnav {
  display: none !important;
}

.drawer {
  display: none !important;
}

.hd[hidden] {
  display: none !important;
}

.static-main,
.prose {
  width: min(100% - 48px, 900px);
  margin: 0 auto;
  padding: 64px 0 96px;
}

.prose h1,
.pagehead h1,
.sec-hd h2,
.sec h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.prose h1,
.pagehead h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 72px);
}

.prose h2,
.sec h2 {
  margin: 48px 0 14px;
  font-size: clamp(28px, 3.4vw, 42px);
}

.prose h3 {
  font-family: "Archivo", sans-serif;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.prose p,
.prose li {
  color: #45433e;
  font-size: 15px;
  line-height: 1.8;
}

.prose a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 30px 0;
  padding: 26px 28px;
  border-left: 3px solid var(--acid);
  border-radius: 0 16px 16px 0;
  background: #eeebf5;
  font-family: "Archivo", sans-serif;
  font-size: 21px;
  line-height: 1.4;
}

.pagehead {
  padding: 58px 0 42px;
  background: linear-gradient(135deg, #1a0d38, #3d1d78 55%, #7c3aed);
  color: #fff;
}

.pagehead .in,
.pagehead .wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.pagehead p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.pagehead .k,
.pagehead .eyebrow,
.pagehead .eeat-meta {
  color: var(--acid);
}

.visual-story-sec {
  background: #ece9e2;
}

.visual-story-sec img {
  border-radius: 20px;
}

/* Collection pages */

.collection-main {
  padding-bottom: 90px;
}

.collection-hero {
  padding: 54px 0 44px;
  border-bottom: 1px solid var(--line);
}

.collection-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.collection-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.collection-copy h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.86;
  text-transform: uppercase;
}

.collection-copy h1 em {
  color: var(--violet);
  font-style: normal;
}

.collection-copy p {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.collection-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.collection-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 180px 180px;
  gap: 9px;
}

.collection-mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e9e7e1;
}

.collection-mosaic a:first-child {
  grid-row: span 2;
}

.collection-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}

.collection-mosaic a:hover img {
  transform: scale(1.05);
}

.collection-grid-wrap {
  padding-top: 38px;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.collection-toolbar h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.collection-toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 12px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pagination a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pagination span {
  background: var(--ink);
  color: #fff;
}

.collection-note {
  max-width: 760px;
  margin: 46px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

/* Catalog page */

.catalog-hero {
  padding: 62px 0 34px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.84;
  text-transform: uppercase;
}

.catalog-hero h1 em {
  color: var(--violet);
  font-style: normal;
}

.catalog-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(16px);
}

.catalog-search {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  outline: 0;
  font-size: 12px;
}

.catalog-search:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.catalog-select {
  height: 46px;
  padding: 0 34px 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.catalog-count {
  min-width: 110px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.catalog-grid {
  padding: 30px 0 90px;
}

.catalog-empty {
  padding: 60px 0;
  color: var(--muted);
  text-align: center;
}

.catalog-card[hidden] {
  display: none !important;
}

.catalog-loadmore-wrap {
  display: flex;
  justify-content: center;
  padding: 34px 0 10px;
}

.catalog-loadmore {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-loadmore:hover {
  background: var(--ink);
  color: #fff;
}

.directory-hero {
  padding: 58px 0 40px;
  border-bottom: 1px solid var(--line);
}

.directory-hero h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.84;
  text-transform: uppercase;
}

.directory-hero h1 em {
  color: var(--violet);
  font-style: normal;
}

.directory-hero p {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.directory-stats {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.directory-stats span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 10px;
  padding: 34px 0 90px;
}

.directory-card {
  position: relative;
  display: block;
}

.directory-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eceae4;
  transition: background 0.2s, border-color 0.2s;
}

.directory-card:hover .directory-media {
  border-color: var(--ink);
  background: #fff;
}

.directory-media img {
  max-width: 58%;
  max-height: 46%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}

.directory-card:hover .directory-media img {
  transform: scale(1.06);
}

.directory-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 2px 0;
}

.directory-body b {
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.directory-body span {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

/* Product detail */

.pdp {
  padding: 30px 0 88px;
}

.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-breadcrumb a:hover {
  color: var(--violet);
}

.pdp-breadcrumb span {
  color: #aaa79f;
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 48px;
  align-items: start;
}

.pdp-gallery {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.pdp-main-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: #ecebe6;
}

.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5%;
  mix-blend-mode: multiply;
}

.pdp-image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 99px;
  background: var(--acid);
  color: var(--ink);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pdp-thumbs::-webkit-scrollbar {
  display: none;
}

.pdp-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ecebe6;
  transition: border-color 0.2s, background 0.2s;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pdp-thumb.on {
  border-color: var(--ink);
  background: #fff;
}

.pdp-panel {
  min-width: 0;
}

.pdp-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.pdp-brand {
  color: var(--violet);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #46701d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79ca32;
  box-shadow: 0 0 0 4px rgba(121, 202, 50, 0.13);
}

.pdp-title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.pdp-sku {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pdp-price {
  font-family: "Archivo", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pdp-price-note {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pdp-highlights {
  display: grid;
  gap: 7px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.pdp-highlights li {
  position: relative;
  padding-left: 18px;
  color: #494640;
  font-size: 11px;
}

.pdp-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 900;
}

.pdp-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pdp-option-head b {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdp-option-head span {
  color: var(--muted);
  font-size: 9px;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 6px;
  margin-bottom: 18px;
}

.size-grid button {
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.size-grid button:hover {
  border-color: var(--ink);
}

.size-grid button.on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pdp-cart-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
}

.qty-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.qty-box span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.qty-box input {
  width: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  outline: 0;
  text-align: center;
}

.pdp-add {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.pdp-add:hover {
  background: var(--violet);
}

.pdp-add.added {
  background: #5c9c21;
}

.pdp-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pdp-wa:hover {
  border-color: var(--ink);
}

.pdp-wa svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.pdp-qc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid #d8ef62;
  border-radius: 10px;
  background: #f7ffdf;
  color: var(--ink);
}

.pdp-qc-link span:first-child {
  display: grid;
  gap: 3px;
}

.pdp-qc-link b {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-qc-link small {
  color: var(--muted);
  font-size: 10px;
}

.pdp-qc-link > span:last-child {
  font-size: 18px;
}

.pdp-qc-link:hover {
  border-color: var(--ink);
  background: #efffb5;
}

.qc-product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  max-width: 980px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.qc-product-links b {
  flex-basis: 100%;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qc-product-links a {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
}

.pdp-service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.pdp-service span {
  padding: 12px 8px;
  background: #fff;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.pdp-service b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 9px;
  text-transform: uppercase;
}

.pdp-accordions {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.pdp-accordions details {
  border-bottom: 1px solid var(--line);
}

.pdp-accordions summary {
  position: relative;
  padding: 15px 26px 15px 0;
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  list-style: none;
  text-transform: uppercase;
}

.pdp-accordions summary::-webkit-details-marker {
  display: none;
}

.pdp-accordions summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  color: var(--violet);
  font-size: 19px;
  font-weight: 400;
  transition: transform 0.2s;
}

.pdp-accordions details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-body {
  padding: 0 24px 20px 0;
  color: #56534c;
  font-size: 11px;
  line-height: 1.75;
}

.accordion-body p {
  margin: 0 0 11px;
}

.accordion-body ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.pdp-story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  margin-top: 80px;
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.pdp-story h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
}

.pdp-story h2 em {
  color: var(--violet);
  font-style: normal;
}

.pdp-story-copy p {
  max-width: 680px;
  margin: 0 0 16px;
  color: #4f4c46;
  font-size: 14px;
  line-height: 1.8;
}

.pdp-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.pdp-assurance div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.pdp-assurance b {
  display: block;
  margin-bottom: 6px;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.pdp-assurance span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.related-block {
  padding: 50px 0 0;
}

.related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.related-head h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 12px;
}

/* Cart and checkout */

.commerce-page {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
  padding: 56px 0 90px;
}

.commerce-head {
  margin-bottom: 30px;
}

.commerce-head .k {
  margin-bottom: 8px;
  color: var(--violet);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.commerce-head h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
}

.commerce-head p {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 20px;
  align-items: start;
}

.cart-panel,
.order-summary,
.checkout-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.order-summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.order-summary h2,
.form-section h2 {
  margin: 0 0 16px;
  font-family: "Archivo", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.summary-row b {
  color: var(--ink);
}

.summary-row.total {
  padding-top: 18px;
  color: var(--ink);
  font-weight: 700;
}

.checkout-btn,
.btn-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.checkout-btn:hover,
.btn-solid:hover {
  background: var(--violet);
}

.commerce-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

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

.cart-brand {
  color: var(--violet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-item h3 {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-row button {
  min-width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.remove-item {
  width: auto !important;
  padding: 0 10px;
  border-radius: 99px !important;
  color: var(--muted) !important;
  font-size: 9px;
}

.cart-line-total {
  white-space: nowrap;
}

.cart-empty {
  padding: 42px 12px;
  text-align: center;
}

.cart-empty h2 {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
}

.cart-empty p {
  color: var(--muted);
  font-size: 12px;
}

.checkout-steps {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
}

.checkout-steps span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-steps span.on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.form-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.form-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 400 12px/1.4 "DM Sans", sans-serif;
  outline: 0;
  text-transform: none;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--violet);
}

.contact-choice {
  display: flex;
  gap: 8px;
}

.contact-choice label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 9px;
  text-transform: none;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.payment-methods span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

/* QC gallery */

.qc-simple-page,
.qc-detail-page {
  background: var(--paper);
  color: var(--ink);
}

.qc-simple-inner,
.qc-detail-grid {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.qc-simple-head,
.qc-detail-head {
  padding: 54px 0 26px;
  background: transparent;
  color: var(--ink);
}

.qc-title-row h1,
.qc-detail-title h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-transform: uppercase;
}

.qc-title-row p,
.qc-detail-title p {
  color: var(--muted);
  font-size: 13px;
}

.qc-breadcrumb {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.qc-breadcrumb a:hover {
  color: var(--violet);
}

.qc-inspected {
  background: var(--acid) !important;
  color: var(--ink) !important;
  font-weight: 800;
}

.qc-browse-bar {
  background: #fff;
  border-block: 1px solid var(--line);
}

.qc-browse-inner,
.qc-simple-grid-wrap,
.qc-detail-grid-wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.qc-simple-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.qc-simple-card {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

.qc-card-image {
  background: #ecebe6 !important;
}

.qc-card-image img {
  transition: transform 0.35s ease;
}

.qc-simple-card:hover .qc-card-image img {
  transform: scale(1.04);
}

.qc-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 70px;
}

.qc-detail-photo {
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #ecebe6;
  cursor: zoom-in;
  text-align: inherit;
}

.qc-detail-photo img {
  width: 100%;
  height: auto;
}

.qc-lightbox {
  display: none;
  width: min(94vw, 1180px);
  height: min(92vh, 920px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #101114;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.qc-lightbox[open] {
  display: block;
}

.qc-lightbox::backdrop {
  background: rgba(5, 7, 9, 0.9);
  backdrop-filter: blur(8px);
}

.qc-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #101114;
  opacity: 1;
}

.qc-lightbox-close,
.qc-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(15, 16, 18, 0.72);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.qc-lightbox-close {
  top: 16px;
  right: 16px;
  font-size: 27px;
}

.qc-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 31px;
}

.qc-lightbox-prev {
  left: 16px;
}

.qc-lightbox-next {
  right: 16px;
}

.qc-lightbox-counter {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 16, 18, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.qc-category-head h2,
.qc-category-head h3 {
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

/* Blog/content */

.sec {
  padding: 64px 0;
}

.sec-hd {
  margin-bottom: 24px;
}

.sec-hd h2 {
  margin: 0;
}

.post-card,
.blog-card {
  border-radius: 16px;
  overflow: hidden;
}

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

  .qc-simple-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .static-main,
  .prose {
    width: min(100% - 32px, 900px);
    padding: 44px 0 70px;
  }

  .collection-hero {
    padding: 34px 0 30px;
  }

  .collection-hero-in {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .collection-copy h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .collection-mosaic {
    grid-template-rows: 140px 140px;
  }

  .collection-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 9px;
  }

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .collection-toolbar {
    align-items: flex-start;
  }

  .collection-toolbar h2 {
    font-size: 24px;
  }

  .catalog-hero {
    padding: 46px 0 28px;
  }

  .catalog-hero h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .catalog-search {
    flex: 1 0 100%;
  }

  .catalog-select {
    flex: 1;
    min-width: 0;
  }

  .catalog-count {
    min-width: auto;
    align-self: center;
  }

  .pdp {
    padding-top: 18px;
  }

  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-main-image {
    border-radius: 16px;
  }

  .pdp-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .pdp-story {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 54px;
    padding: 42px 0;
  }

  .pdp-assurance {
    grid-template-columns: 1fr;
  }

  .related-block {
    padding-top: 30px;
  }

  .commerce-page {
    width: min(100% - 32px, 1200px);
    padding: 40px 0 70px;
  }

  .commerce-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .qc-simple-inner,
  .qc-detail-grid,
  .qc-browse-inner,
  .qc-simple-grid-wrap,
  .qc-detail-grid-wrap {
    width: min(100% - 32px, var(--max));
  }

  .qc-simple-head,
  .qc-detail-head {
    padding-top: 38px;
  }

  .qc-simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .qc-detail-grid {
    grid-template-columns: 1fr;
  }

  .qc-lightbox {
    width: 96vw;
    height: 88vh;
    border-radius: 12px;
  }

  .qc-lightbox-close,
  .qc-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .qc-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .qc-lightbox-prev {
    left: 8px;
  }

  .qc-lightbox-next {
    right: 8px;
  }

  .pagehead {
    padding: 42px 0 34px;
  }
}

@media (min-width: 901px) {
  .hero-product small,
  .section-kicker,
  .product-brand,
  .pdp-breadcrumb,
  .qc-breadcrumb,
  .commerce-head .k,
  .qc-browse-label,
  .form-grid label,
  .contact-choice label {
    font-size: 11px;
  }

  .product-badge,
  .pdp-option-head b,
  .pdp-option-head span,
  .pdp-sku,
  .pdp-price-note,
  .pdp-brand,
  .pdp-stock,
  .pdp-image-badge,
  .catalog-count {
    font-size: 10px;
  }

  .btn,
  .checkout-btn,
  .btn-solid,
  .pdp-add,
  .pdp-wa,
  .catalog-loadmore,
  .newsletter-form button {
    font-size: 11px;
  }

  .catalog-search,
  .form-grid input,
  .form-grid textarea {
    font-size: 14px;
  }

  .catalog-select {
    font-size: 12px;
  }

  .summary-row,
  .cart-item h3 {
    font-size: 13px;
  }

  .commerce-note,
  .cart-brand,
  .remove-item,
  .checkout-steps span,
  .payment-methods span {
    font-size: 10px;
  }

  .footer-col h4,
  .footer-col h2,
  .footer-bottom {
    font-size: 10px;
  }

  .footer-col a {
    font-size: 12px;
    line-height: 1.5;
  }
}

.mobile-nav {
  display: none !important;
}

@media (max-width: 900px) {
  .toast {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  body.product-page .toast {
    bottom: calc(94px + env(safe-area-inset-bottom));
  }
}

.promo-track {
  width: 100%;
  overflow: hidden;
}

.promo-group {
  display: flex;
  flex: none;
  gap: 34px;
  align-items: center;
  padding-right: 34px;
}

.promo-group[aria-hidden="true"] {
  display: none;
}

@media (max-width: 900px) {
  .promo-bar {
    height: 34px;
  }

  .promo-track {
    width: max-content;
    padding-left: 0;
    justify-content: flex-start;
    animation: promo-marquee 22s linear infinite;
  }

  .promo-group,
  .promo-group[aria-hidden="true"] {
    display: flex;
    gap: 30px;
    padding-right: 30px;
  }

  .promo-group span + span::before {
    margin-right: 30px;
  }

  @keyframes promo-marquee {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .promo-bar {
    height: auto;
    min-height: 34px;
  }

  .promo-track {
    width: 100%;
    animation: none;
    transform: none;
  }

  .promo-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 14px;
    padding: 7px 12px;
    white-space: normal;
    text-align: center;
  }

  .promo-group[aria-hidden="true"] {
    display: none;
  }

  .promo-group span + span::before {
    margin-right: 14px;
  }
}

.wordmark {
  align-items: center;
  gap: 8px;
}

.brand-symbol {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
}

.wordmark-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.catalog-seo-copy,
.collection-seo-copy,
.directory-seo-copy {
  max-width: 860px;
  margin: 56px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.catalog-seo-copy h2,
.collection-seo-copy h2,
.directory-seo-copy h2 {
  margin: 0 0 18px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-seo-copy p,
.collection-seo-copy p,
.directory-seo-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.collection-seo-copy p + p,
.directory-seo-copy p + p {
  margin-top: 18px;
}

.footer-brand .brand-symbol {
  width: 52px;
  height: 52px;
}

.mobile-menu-top .brand-symbol {
  width: 38px;
  height: 38px;
}

@media (max-width: 360px) {
  .site-header .wordmark-copy,
  .mobile-menu-top .wordmark-copy {
    display: none;
  }
}

/* Accessibility and mobile interaction pass */

:root {
  --muted: #5d5a54;
}

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

.pdp-breadcrumb span,
.brand-head span {
  color: var(--muted);
}

.newsletter p {
  color: #f5f0ff;
}

.newsletter-note {
  color: #f2eaff;
}

.footer-brand p {
  color: #b9b5ad;
}

.footer-col h4,
.footer-col h2,
.footer-bottom {
  color: #a6a29a;
}

.footer-col a {
  color: #e3e0da;
}

.hero-arrow,
.hero-pause {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s;
}

.hero-arrow:hover,
.hero-pause:hover {
  background: #fff;
  color: var(--ink);
}

.hero-pause[aria-pressed="true"] {
  border-color: var(--acid);
  color: var(--acid);
}

.hero-pause svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pdp-mobile-buy {
  display: none;
}

.checkout-steps span.done {
  border-color: var(--violet);
  background: #f1eaff;
  color: var(--violet);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.product-page {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .promo-bar {
    height: 34px;
    font-size: 10px;
  }

  .promo-track {
    gap: 12px;
  }

  .header-actions {
    gap: 0;
  }

  .mobile-menu-top {
    margin-bottom: 28px;
  }

  .mobile-menu nav a {
    padding: 12px 0;
    font-size: 26px;
    letter-spacing: -0.03em;
  }

  .mobile-menu-contact {
    margin-top: 28px;
    padding: 20px;
  }

  .icon-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .mobile-nav {
    padding-top: 5px;
  }

  .mobile-nav a {
    position: relative;
    min-height: 52px;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .mobile-nav a.active {
    color: var(--violet);
  }

  .mobile-nav a.active::before {
    content: "";
    position: absolute;
    top: -5px;
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--violet);
  }

  .mobile-nav svg {
    width: 21px;
    height: 21px;
  }

  .hero-dot {
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
  }

  .hero-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.48);
    transform: translate(-50%, -50%);
  }

  .hero-dot.active {
    width: 56px;
    background: transparent;
  }

  .hero-dot.active::after {
    width: 40px;
    background: var(--acid);
  }

  .hero-arrow,
  .hero-pause {
    width: 44px;
    height: 44px;
  }

  .rail-arrow,
  .fav-btn {
    width: 44px;
    height: 44px;
  }

  .fav-btn {
    top: 7px;
    right: 7px;
  }

  .fav-btn svg {
    width: 17px;
    height: 17px;
  }

  .section-link {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 55%;
    min-height: 44px;
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
    white-space: normal;
  }

  .tab {
    min-height: 44px;
    font-size: 11px;
  }

  .btn,
  .btn-solid,
  .checkout-btn,
  .pdp-add,
  .pdp-wa,
  .newsletter-form button,
  .catalog-loadmore {
    font-size: 11px;
  }

  .product-brand,
  .product-badge,
  .pdp-brand,
  .pdp-stock,
  .pdp-price-note,
  .pdp-image-badge {
    font-size: 10px;
  }

  .product-price span,
  .pdp-sku,
  .pdp-option-head b,
  .pdp-option-head span {
    font-size: 11px;
  }

  .pdp-breadcrumb {
    font-size: 11px;
    line-height: 1.5;
  }

  .size-grid {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
  }

  .size-grid button {
    min-height: 44px;
    font-size: 12px;
  }

  .pdp-cart-row {
    grid-template-columns: 92px 1fr;
    gap: 10px;
  }

  .qty-box {
    min-height: 56px;
  }

  .qty-box span {
    font-size: 10px;
  }

  .qty-box input {
    width: 42px;
    min-height: 44px;
    font-size: 16px;
  }

  .pdp-add,
  .pdp-wa {
    min-height: 52px;
  }

  .pdp-mobile-buy {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    box-sizing: border-box;
    max-width: calc(100vw - 24px);
    z-index: 1080;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 9px 9px 16px;
    border: 1px solid rgba(11, 11, 12, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 38px rgba(11, 11, 12, 0.18);
    backdrop-filter: blur(16px);
  }

  .pdp-mobile-buy-copy {
    display: grid;
    gap: 2px;
  }

  .pdp-mobile-buy-copy strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .pdp-mobile-buy-copy small {
    color: var(--muted);
    font-size: 10px;
  }

  .pdp-mobile-add {
    min-width: 142px;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 99px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .pdp-mobile-add.added {
    background: var(--violet);
  }

  .catalog-search,
  .catalog-select {
    height: 48px;
    font-size: 16px;
  }

  .catalog-count {
    font-size: 12px;
  }

  .catalog-loadmore {
    min-height: 48px;
  }

  .form-grid label,
  .contact-choice label {
    font-size: 11px;
  }

  .form-grid input,
  .form-grid textarea,
  .qc-browse-inner input,
  .qc-browse-inner select,
  .qc-search-wrap input {
    min-height: 48px;
    font-size: 16px !important;
  }

  .contact-choice label {
    min-height: 48px;
  }

  .checkout-steps span {
    min-height: 36px;
    padding: 10px 12px;
    font-size: 10px;
  }

  .commerce-note,
  .payment-methods span,
  .cart-brand {
    font-size: 11px;
  }

  .summary-row {
    font-size: 12px;
  }

  .cart-item h3 {
    font-size: 14px;
  }

  .qty-row button {
    min-width: 44px;
    height: 44px;
  }

  .remove-item {
    height: 44px !important;
    padding-inline: 14px !important;
    font-size: 11px !important;
  }

  .footer-col h4,
  .footer-col h2 {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .footer-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    font-size: 12px;
  }

  .footer-socials a {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .footer-bottom {
    font-size: 11px;
    line-height: 1.6;
  }
}

@media (max-width: 560px) {
  .mobile-menu nav a {
    font-size: 23px;
  }
}

@media (max-width: 900px) {
  .site-header .wordmark,
  .footer-brand .wordmark {
    min-height: 44px;
    align-items: center;
  }

  .btn {
    min-height: 44px;
  }

  .newsletter-form input {
    min-height: 44px;
    font-size: 16px;
  }

  .newsletter-form button {
    min-height: 44px;
  }

  .pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 11px;
  }

  .pdp-breadcrumb a,
  .qc-breadcrumb a,
  .qc-simple-note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .section-kicker,
  .product-badge,
  .product-brand,
  .category-card small,
  .qc-card-body small,
  .qc-card-body em,
  .newsletter-note,
  .eyebrow,
  .tag,
  .pdp-assurance span,
  .commerce-head .k,
  .qc-browse-label,
  .qc-simple-note,
  .pdp-mobile-buy-copy small {
    font-size: 11px;
  }

  .hero-index,
  .promo-track,
  .mobile-nav a {
    font-size: 11px;
  }
}

/* Keep cart item titles and line totals inside the mobile panel. */
.cart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.cart-item > img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f6f6;
}

.cart-item-main {
  min-width: 0;
}

.cart-item h3 {
  overflow-wrap: anywhere;
}

.cart-line-total {
  justify-self: end;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .cart-item > img {
    width: 76px;
    height: 76px;
  }

  .cart-line-total {
    grid-column: 2;
    justify-self: start;
  }

  .qty-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .edit-grid {
    gap: 10px;
  }

  .edit-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .edit-card {
    min-height: 220px;
    border-radius: 16px;
  }

  .edit-card-body {
    right: 10px;
    bottom: 12px;
    left: 10px;
  }

  .edit-card-body small {
    margin-bottom: 4px;
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .edit-card-body h3 {
    font-size: clamp(16px, 5vw, 20px);
    line-height: 0.96;
  }
}

.product-size-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 2px;
  color: var(--muted, #6b7280);
  font-size: 11px;
  line-height: 1.25;
}

.product-size-range span:first-child {
  color: var(--ink, #111);
  font-weight: 700;
}

.product-size-range.is-request {
  color: #7c3aed;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 620px) {
  .product-size-range {
    font-size: 10px;
  }
}
