.shop-shell {
  --shop-ink: #0e1822;
  --shop-ink-2: #172534;
  --shop-ink-3: #263646;
  --shop-text: #17202a;
  --shop-muted: #66727e;
  --shop-surface: #ffffff;
  --shop-canvas: #f3f5f5;
  --shop-canvas-warm: #f7f5ef;
  --shop-line: #d8dee2;
  --shop-line-dark: #c7cfd5;
  --shop-brass: #c79632;
  --shop-brass-dark: #986b17;
  --shop-brass-light: #e2b85d;
  --shop-success: #236347;
  --shop-error: #9c3e32;
  --shop-radius-sm: 8px;
  --shop-radius-md: 14px;
  --shop-radius-lg: 20px;
  --shop-shadow-sm: 0 1px 2px rgba(14, 24, 34, 0.06);
  --shop-shadow-md: 0 20px 54px rgba(14, 24, 34, 0.1);
  --shop-shadow-lg: 0 30px 76px rgba(14, 24, 34, 0.14);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--shop-text);
  background: var(--shop-surface);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shop-shell .section-inner {
  width: min(1280px, calc(100% - clamp(32px, 7vw, 96px)));
}

.shop-shell h1,
.shop-shell h2,
.shop-shell h3 {
  color: var(--shop-text);
  font-weight: 720;
  letter-spacing: -0.035em;
}

.shop-shell .eyebrow {
  margin-bottom: 10px;
  color: var(--shop-brass-dark);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.shop-shell [hidden] {
  display: none !important;
}

.shop-main {
  flex: 1;
}

.shop-shell .button {
  min-height: 52px;
  gap: 18px;
  padding: 14px 22px;
  border-radius: var(--shop-radius-sm);
  font-size: 0.91rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.shop-shell .button:hover {
  transform: translateY(-1px);
}

.shop-shell .button-primary {
  color: #10171e;
  background: var(--shop-brass);
  border-color: var(--shop-brass);
}

.shop-shell .button-primary:hover,
.shop-shell .button-primary:focus-visible {
  color: #10171e;
  background: var(--shop-brass-light);
  border-color: var(--shop-brass-light);
}

.shop-shell .button-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.shop-shell .button-secondary:hover,
.shop-shell .button-secondary:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.62);
}

/* Shared shop header */

.shop-shell .site-header {
  z-index: 50;
  min-height: 80px;
  display: block;
  padding: 0;
  color: #ffffff;
  background: rgba(14, 24, 34, 0.985);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.shop-header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.shop-shell .brand {
  gap: 12px;
  flex: 0 0 auto;
}

.shop-shell .brand-logo {
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 740;
  letter-spacing: 0.025em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shop-shell .site-nav a,
.shop-shell .nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 620;
}

.shop-shell .site-nav > a:hover,
.shop-shell .site-nav > a:focus-visible,
.shop-shell .nav-shop-link:hover,
.shop-shell .nav-shop-link:focus-visible,
.shop-shell .nav-shop-link.is-current,
.shop-shell .nav-dropdown-toggle:hover,
.shop-shell .nav-dropdown-toggle:focus-visible,
.shop-shell .site-nav [aria-current="page"] {
  color: #ffffff;
}

.shop-shell .nav-dropdown-menu {
  overflow: hidden;
  border-color: var(--shop-line);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(4, 10, 16, 0.22);
}

.shop-shell .nav-dropdown-menu a {
  color: var(--shop-text);
  font-size: 0.86rem;
}

.shop-shell .nav-category summary {
  color: var(--shop-text);
}

.shop-shell .nav-category summary:hover,
.shop-shell .nav-category summary:focus-visible,
.shop-shell .nav-category[open] summary {
  color: var(--shop-ink);
}

.shop-shell .nav-category-menu a {
  font-size: 0.82rem;
}

.shop-shell .nav-category-menu a[aria-current="page"] {
  color: var(--shop-brass-dark);
  background: #faf7ef;
}

.shop-shell .nav-dropdown-menu a[aria-current="page"] {
  color: var(--shop-brass-dark);
  background: #faf7ef;
}

.nav-menu-label {
  display: block;
  padding: 9px 11px 5px;
  color: #8a949d;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-shell .nav-cta {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10171e !important;
  background: var(--shop-brass);
  border: 1px solid var(--shop-brass);
  border-radius: 7px;
}

.shop-shell .nav-cta:hover,
.shop-shell .nav-cta:focus-visible {
  background: var(--shop-brass-light);
  border-color: var(--shop-brass-light);
}

.cart-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  font: 650 0.87rem/1 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.cart-button:hover,
.cart-button:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(199, 150, 50, 0.65);
}

.cart-count {
  min-width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: #0e1822;
  background: var(--shop-brass);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1;
}

/* Collection hero */

.shop-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 88px) 0 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 7%, rgba(199, 150, 50, 0.2), transparent 28rem),
    linear-gradient(124deg, #0c1620 0%, #142433 67%, #1e2c38 100%);
}

.shop-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 24%, #000 100%);
  content: "";
  pointer-events: none;
}

.shop-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(290px, 0.66fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
}

.shop-hero .eyebrow {
  color: var(--shop-brass-light);
}

.shop-hero h1 {
  max-width: none;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.1rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.shop-hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.19rem);
  line-height: 1.65;
}

.shop-hero-lead a {
  color: #ffffff;
  font-weight: 700;
  text-decoration-color: var(--shop-brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.shop-text-link {
  color: #ffffff;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration-color: var(--shop-brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.shop-hero-panel {
  padding: 27px 29px 29px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--shop-brass);
  border-radius: 3px 3px 12px 12px;
  backdrop-filter: blur(10px);
}

.shop-hero-panel span,
.shop-hero-panel strong {
  display: block;
}

.shop-hero-panel > span {
  margin-bottom: 7px;
  color: var(--shop-brass-light);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-hero-panel strong {
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.shop-hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.91rem;
  line-height: 1.65;
}

.shop-proof-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(45px, 6vw, 68px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-proof-row span {
  position: relative;
  min-height: 55px;
  display: flex;
  align-items: center;
  padding: 0 32px 0 18px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.035em;
}

.shop-proof-row span:first-child {
  padding-left: 0;
}

.shop-proof-row span::before {
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--shop-brass);
  border-radius: 50%;
  content: "";
}

/* Marketplace collection */

.shop-collection {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--shop-canvas);
}

.shop-collection-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 31px;
}

.shop-collection-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.shop-collection-count {
  margin: 0 0 5px;
  color: var(--shop-muted);
  font-size: 0.84rem;
}

.shop-collection-count strong {
  color: var(--shop-text);
  font-weight: 740;
}

.shop-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  overflow: hidden;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-md);
}

.shop-feature-media {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  color: inherit;
  background: #dce3e7;
}

.shop-feature-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(7, 16, 24, 0.22), transparent);
  content: "";
  pointer-events: none;
}

.shop-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.shop-feature-media:hover img,
.shop-feature-media:focus-visible img {
  transform: scale(1.025);
}

.shop-feature-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(14, 24, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.shop-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 68px);
}

.shop-feature-kicker {
  margin: 0 0 10px;
  color: var(--shop-brass-dark);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-feature-content h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.15vw, 3rem);
  line-height: 1.03;
}

.shop-feature-content h3 a {
  text-decoration: none;
}

.shop-feature-content h3 a:hover,
.shop-feature-content h3 a:focus-visible {
  color: var(--shop-brass-dark);
}

.shop-feature-description {
  max-width: 540px;
  margin-bottom: 29px;
  color: var(--shop-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.shop-feature-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 32px;
  padding: 20px 0;
  border-block: 1px solid var(--shop-line);
  list-style: none;
}

.shop-feature-specs li {
  min-width: 0;
  padding-right: 14px;
}

.shop-feature-specs li + li {
  padding-left: 19px;
  border-left: 1px solid var(--shop-line);
}

.shop-feature-specs strong,
.shop-feature-specs span {
  display: block;
}

.shop-feature-specs strong {
  margin-bottom: 3px;
  color: var(--shop-text);
  font-size: 1.02rem;
  font-weight: 720;
}

.shop-feature-specs span {
  color: var(--shop-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.shop-feature-purchase {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.shop-feature-price {
  margin: 0;
}

.shop-feature-price span,
.shop-feature-price small {
  display: block;
  color: var(--shop-muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-feature-price strong {
  display: block;
  margin: 2px 0 1px;
  color: var(--shop-text);
  font-size: 1.84rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.shop-feature-cta {
  min-width: 228px;
}

.shop-feature-note {
  margin: 15px 0 0;
  color: var(--shop-muted);
  font-size: 0.76rem;
  text-align: right;
}

.shop-accessories {
  margin-top: clamp(58px, 7vw, 88px);
  padding-top: clamp(42px, 5vw, 62px);
  border-top: 1px solid var(--shop-line);
}

.shop-accessories-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 27px;
}

.shop-accessories-header .eyebrow {
  margin-bottom: 8px;
}

.shop-accessories-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.shop-accessories-header > p {
  max-width: 510px;
  margin: 0 0 3px;
  color: var(--shop-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.shop-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-sm);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.shop-product-card:hover {
  border-color: #bdc6cc;
  box-shadow: var(--shop-shadow-md);
  transform: translateY(-3px);
}

.shop-product-card:focus-within {
  border-color: var(--shop-brass);
  box-shadow:
    0 0 0 2px rgba(199, 150, 50, 0.2),
    var(--shop-shadow-md);
}

.shop-product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  padding: clamp(16px, 2.5vw, 28px);
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0, #f7f6f2 52%, #efeee9 100%);
  border-bottom: 1px solid var(--shop-line);
}

.shop-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 260ms ease;
}

.shop-product-card:hover .shop-product-card-media img,
.shop-product-card-media:focus-visible img {
  transform: scale(1.025);
}

.shop-product-card-media:focus-visible {
  outline: 3px solid var(--shop-brass);
  outline-offset: -4px;
}

.shop-product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 9px;
  color: #ffffff;
  background: rgba(14, 24, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.shop-product-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 29px);
}

.shop-product-card-kicker {
  margin: 0 0 7px;
  color: var(--shop-brass-dark);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.shop-product-card h3 {
  min-height: 2.8em;
  margin: 0 0 12px;
  font-size: clamp(1.23rem, 1.8vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.shop-product-card h3 a {
  color: var(--shop-text);
  text-decoration: none;
}

.shop-product-card h3 a:hover,
.shop-product-card h3 a:focus-visible {
  color: var(--shop-brass-dark);
}

.shop-product-card-description {
  min-height: 4.8em;
  margin: 0 0 19px;
  color: var(--shop-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.shop-product-card-options {
  display: grid;
  margin: 0 0 22px;
  padding: 0;
  overflow: hidden;
  background: #fafbfb;
  border: 1px solid #d9dfe3;
  border-radius: 8px;
  list-style: none;
}

.shop-product-card-options li {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  color: #303a43;
  border-bottom: 1px solid var(--shop-line);
  font-size: 0.9rem;
  font-weight: 660;
  line-height: 1.4;
}

.shop-product-card-options li:last-child {
  border-bottom: 0;
}

.shop-product-card-options li > span {
  color: #303a43;
}

.shop-product-card-option-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.shop-product-card-option-copy small {
  padding: 3px 7px;
  color: #74540e;
  background: #fbf2dc;
  border: 1px solid #e2c77e;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.shop-product-card-options strong {
  flex: 0 0 auto;
  color: var(--shop-text);
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  font-weight: 770;
}

.shop-product-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}

.shop-product-card-price {
  margin: 0;
}

.shop-product-card-price span,
.shop-product-card-price small,
.shop-product-card-price strong {
  display: block;
}

.shop-product-card-price span,
.shop-product-card-price small {
  color: var(--shop-muted);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-product-card-price strong {
  margin: 2px 0;
  color: var(--shop-text);
  font-size: 1.58rem;
  font-variant-numeric: tabular-nums;
  font-weight: 770;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.shop-product-card-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--shop-text);
  background: #f8f3e9;
  border: 1px solid #dfcfac;
  border-radius: 7px;
  font-size: 0.87rem;
  font-weight: 730;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.shop-product-card-link:hover,
.shop-product-card-link:focus-visible {
  background: #f1e4c8;
  border-color: var(--shop-brass);
}

.shop-product-card[data-product-id="dovewhite-corner"] .shop-product-card-media img {
  max-width: 340px;
  max-height: 92%;
  margin: auto;
}

.shop-quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 36px;
  padding: clamp(30px, 4vw, 46px);
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(199, 150, 50, 0.07), transparent 45%),
    var(--shop-ink);
  border-left: 4px solid var(--shop-brass);
  border-radius: 0 var(--shop-radius-md) var(--shop-radius-md) 0;
}

.shop-quote-strip .eyebrow {
  color: var(--shop-brass-light);
}

.shop-quote-strip h2 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.shop-quote-strip p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.shop-quote-strip .button {
  flex: 0 0 auto;
}

/* Product detail page */

.product-page {
  background: var(--shop-surface);
}

.product-breadcrumb-wrap {
  background: var(--shop-canvas);
  border-bottom: 1px solid var(--shop-line);
}

.product-breadcrumb {
  padding: 18px 0;
}

.product-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--shop-muted);
  font-size: 0.78rem;
  list-style: none;
}

.product-breadcrumb li + li::before {
  margin-right: 7px;
  color: #9ca5ad;
  content: "/";
}

.product-breadcrumb a {
  color: var(--shop-text);
  font-weight: 610;
  text-decoration-color: var(--shop-brass);
  text-underline-offset: 3px;
}

.product-section {
  padding: clamp(42px, 6vw, 78px) 0 clamp(72px, 9vw, 116px);
}

.product-layout {
  display: grid;
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
}

.product-gallery-column,
.product-summary {
  min-width: 0;
}

.product-gallery {
  margin: 0;
  overflow: hidden;
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-md);
}

.product-image-stage {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e7eaeb;
}

.product-image-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page--accessory .product-image-stage {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 46px);
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0, #f7f6f2 56%, #ecebe6 100%);
}

.product-page--accessory .product-image-stage img {
  object-fit: contain;
  object-position: center;
}

.product-page--c-channel .product-image-stage {
  padding: clamp(12px, 2vw, 24px);
}

.product-page--corner .product-image-stage img {
  width: auto;
  max-width: min(100%, 406px);
  height: auto;
  max-height: 100%;
}

.product-image-caption {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  color: var(--shop-muted);
  background: #ffffff;
  border-top: 1px solid var(--shop-line);
  font-size: 0.72rem;
  font-weight: 620;
}

.product-image-caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-image-caption span:first-child::before {
  width: 7px;
  height: 7px;
  background: var(--shop-brass);
  border-radius: 50%;
  content: "";
}

.product-kicker {
  margin: 2px 0 9px;
  color: var(--shop-brass-dark);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-summary > h1 {
  max-width: 640px;
  margin-bottom: 21px;
  font-size: clamp(2.5rem, 4.4vw, 3.7rem);
  font-weight: 710;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.product-price-block {
  display: grid;
  gap: 2px;
}

.product-price-prefix {
  color: var(--shop-muted);
  font-size: 0.69rem;
  font-weight: 660;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-price {
  color: var(--shop-text);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1;
}

.product-tax-note {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 2px;
  padding: 4px 9px;
  color: var(--shop-success);
  background: #edf5f1;
  border: 1px solid #cfe1d8;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 740;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-description {
  max-width: 650px;
  margin-bottom: 25px;
  color: var(--shop-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
  padding: 17px 0;
  border-block: 1px solid var(--shop-line);
}

.product-facts > div {
  min-width: 0;
  padding-right: 12px;
}

.product-facts > div + div {
  padding-left: 17px;
  border-left: 1px solid var(--shop-line);
}

.product-facts dt {
  margin-bottom: 2px;
  color: var(--shop-muted);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 0;
  color: var(--shop-text);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-config {
  display: grid;
  gap: 23px;
  padding: clamp(24px, 3.8vw, 34px);
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-md);
}

.config-header {
  padding-bottom: 19px;
  border-bottom: 1px solid var(--shop-line);
}

.config-header .eyebrow {
  margin-bottom: 6px;
}

.config-header h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  line-height: 1.12;
}

.config-header > p:last-child {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.87rem;
}

.config-section {
  min-width: 0;
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  border: 0;
}

.config-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  padding: 0;
  color: var(--shop-text);
  font-size: 0.8rem;
  font-weight: 720;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.config-section legend span {
  min-width: 29px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #f7f2e7;
  border: 1px solid #e4d5b5;
  border-radius: 999px;
  font-size: 0.64rem;
}

.config-fields {
  display: grid;
  gap: 15px;
}

.config-fields--specification {
  gap: 21px;
}

.config-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin: 0;
}

.config-field label,
.quantity-label,
.config-field-label-row,
.special-work-fields > label {
  color: var(--shop-ink-3);
  font-size: 0.78rem;
  font-weight: 680;
}

.config-field--thickness {
  max-width: 190px;
}

.config-field--length {
  gap: 9px;
}

.config-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.config-field-label-row small {
  color: var(--shop-brass-dark);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.config-field-hint {
  margin: -2px 0 2px;
  color: var(--shop-muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.select-shell {
  position: relative;
}

.select-shell::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #4e5b67;
  border-bottom: 1.5px solid #4e5b67;
  content: "";
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.config-field select,
.product-config textarea {
  width: 100%;
  color: var(--shop-text);
  background: #ffffff;
  border: 1px solid var(--shop-line-dark);
  border-radius: var(--shop-radius-sm);
  font: 640 0.9rem/1.3 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

.config-field select {
  min-height: 54px;
  padding: 12px 44px 12px 14px;
  appearance: none;
}

.product-config textarea {
  min-height: 120px;
  padding: 13px 14px;
  font-weight: 500;
  line-height: 1.55;
  resize: vertical;
}

.config-field select:hover,
.product-config textarea:hover {
  border-color: #a9b3bb;
}

.config-field select:focus,
.product-config textarea:focus {
  outline: 3px solid rgba(199, 150, 50, 0.2);
  border-color: var(--shop-brass);
}

.length-option-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
}

.length-option {
  position: relative;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 14px 13px;
  background: #ffffff;
  border: 1px solid var(--shop-line-dark);
  border-radius: 9px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.length-option:hover {
  border-color: #9daab3;
  transform: translateY(-1px);
}

.length-option:has(input:checked) {
  background: #fbf8f0;
  border-color: var(--shop-brass);
  box-shadow: inset 0 0 0 1px var(--shop-brass);
}

.length-option:has(input:focus-visible) {
  outline: 3px solid rgba(199, 150, 50, 0.25);
  outline-offset: 2px;
}

.length-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.length-option__indicator {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1.5px solid #a9b3bb;
  border-radius: 50%;
}

.length-option:has(input:checked) .length-option__indicator {
  background: var(--shop-brass);
  border-color: var(--shop-brass);
}

.length-option:has(input:checked) .length-option__indicator::after {
  width: 7px;
  height: 4px;
  border-bottom: 1.7px solid #10171e;
  border-left: 1.7px solid #10171e;
  content: "";
  transform: translateY(-1px) rotate(-45deg);
}

.length-option__details,
.length-option__price,
.length-option__details strong,
.length-option__details small,
.length-option__price strong,
.length-option__price small {
  display: block;
}

.length-option__details {
  padding-right: 23px;
}

.length-option__details strong {
  color: var(--shop-text);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.35;
}

.length-option__details small {
  margin-top: 3px;
  color: var(--shop-muted);
  font-size: 0.65rem;
  font-weight: 520;
}

.length-option__price {
  padding-top: 9px;
  border-top: 1px solid var(--shop-line);
}

.length-option__price strong {
  color: var(--shop-text);
  font-size: 0.99rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.length-option__price small {
  margin-top: 1px;
  color: var(--shop-muted);
  font-size: 0.61rem;
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.config-service-stack {
  display: grid;
  gap: 18px;
}

.quantity-field {
  align-content: start;
}

.quantity-control {
  width: 160px;
  display: grid;
  grid-template-columns: 48px 64px 48px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--shop-line-dark);
  border-radius: var(--shop-radius-sm);
}

.quantity-control button,
.quantity-control input {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0;
  color: var(--shop-text);
  background: #ffffff;
  border: 0;
  font: 680 0.95rem/1 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  text-align: center;
}

.quantity-control button {
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.quantity-control button:hover,
.quantity-control button:focus-visible {
  background: var(--shop-canvas);
}

.quantity-control input {
  border-inline: 1px solid var(--shop-line);
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.cut-service {
  min-width: 0;
}

.special-work-option {
  min-height: 154px;
  display: grid;
  grid-template-columns: 21px 106px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: 11px;
  cursor: pointer;
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 170ms ease;
}

.special-work-option:hover,
.special-work-option:focus-within {
  background: #f7f7f5;
  border-color: #bfc8ce;
}

.special-work-option:has(input:checked) {
  background: #faf7ef;
  border-color: var(--shop-brass);
  box-shadow: inset 0 0 0 1px var(--shop-brass);
}

.cut-service:has(.special-work-fields:not([hidden])) .special-work-option {
  border-radius: 11px 11px 0 0;
}

.special-work-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--shop-brass-dark);
}

.special-work-visual {
  width: 106px;
  min-height: 82px;
  display: grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #ffffff;
  border: 1px solid var(--shop-line);
  border-radius: 9px;
}

.special-work-visual svg {
  width: 95px;
  height: auto;
}

.special-work-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.special-work-eyebrow {
  color: var(--shop-brass-dark);
  font-size: 0.61rem;
  font-weight: 760;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.special-work-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.special-work-heading strong {
  color: var(--shop-text);
  font-size: 0.93rem;
  font-weight: 720;
  line-height: 1.3;
}

.special-work-heading b {
  flex: 0 0 auto;
  color: var(--shop-brass-dark);
  font-size: 1.02rem;
  font-weight: 780;
  line-height: 1.2;
}

.special-work-explainer {
  color: var(--shop-muted);
  font-size: 0.76rem;
  line-height: 1.48;
}

.special-work-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
  color: var(--shop-muted);
  font-size: 0.64rem;
  font-weight: 660;
}

.special-work-flow span:first-child,
.special-work-flow span:last-child {
  padding: 4px 7px;
  background: #ffffff;
  border: 1px solid var(--shop-line);
  border-radius: 5px;
}

.special-work-option small {
  display: block;
  color: var(--shop-muted);
  font-size: 0.66rem;
  font-weight: 540;
  line-height: 1.45;
}

.special-work-action {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  padding: 5px 9px;
  color: var(--shop-text);
  background: #ffffff;
  border: 1px solid var(--shop-line-dark);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 720;
}

.special-work-action-on {
  display: none;
}

.special-work-option:has(input:checked) .special-work-action {
  color: #ffffff;
  background: var(--shop-success);
  border-color: var(--shop-success);
}

.special-work-option:has(input:checked) .special-work-action-off {
  display: none;
}

.special-work-option:has(input:checked) .special-work-action-on {
  display: inline;
}

.special-work-fields {
  display: grid;
  gap: 10px;
  margin-top: -1px;
  padding: 18px;
  background: #faf7ef;
  border: 1px solid var(--shop-brass);
  border-radius: 0 0 11px 11px;
}

.special-work-fields-heading {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  margin-bottom: 4px;
}

.special-work-fields-heading > span:first-child {
  width: 29px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #ffffff;
  border: 1px solid #e4d5b5;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 720;
}

.special-work-fields-heading strong {
  display: block;
  color: var(--shop-text);
  font-size: 0.85rem;
  font-weight: 720;
}

.special-work-fields-heading p {
  margin-top: 2px;
}

.required-badge {
  padding: 4px 7px;
  color: var(--shop-error);
  background: #ffffff;
  border: 1px solid #e8c9c4;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 740;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.special-work-fields p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.74rem;
}

.product-config textarea[aria-invalid="true"] {
  border-color: var(--shop-error);
}

.special-work-fields-note {
  padding-left: 2px;
}

.config-summary {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(199, 150, 50, 0.08), transparent 48%),
    var(--shop-ink);
  border: 1px solid #0a121a;
  border-radius: 10px;
}

.config-summary-row,
.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.config-summary-row {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.config-summary-row output {
  color: #ffffff;
  font-weight: 700;
}

.config-total {
  margin-top: 3px;
  padding-top: 14px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  font-weight: 700;
}

.config-total output {
  color: var(--shop-brass-light);
  font-size: 1.65rem;
  font-weight: 770;
  letter-spacing: -0.035em;
}

.config-gst {
  margin: -3px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.69rem;
  text-align: right;
}

.product-submit {
  width: 100%;
  min-height: 57px !important;
  font-size: 0.94rem !important;
}

.cart-status {
  margin: -5px 0 0;
  padding: 11px 13px;
  color: var(--shop-success);
  background: #edf5f1;
  border: 1px solid #cfe1d8;
  border-radius: 7px;
  font-size: 0.79rem;
  font-weight: 650;
}

.cart-status[data-state="error"] {
  color: var(--shop-error);
  background: #fbefed;
  border-color: #eccbc6;
}

.product-help {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0;
  padding-top: 18px;
  color: var(--shop-muted);
  border-top: 1px solid var(--shop-line);
  font-size: 0.78rem;
  line-height: 1.45;
}

.product-help-icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #f8f3e9;
  border-radius: 50%;
}

.product-help strong {
  display: block;
  color: var(--shop-text);
  font-weight: 700;
}

.product-help a {
  color: var(--shop-text);
  font-weight: 720;
  text-decoration-color: var(--shop-brass);
  text-underline-offset: 3px;
}

.product-options-section {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--shop-canvas);
  border-top: 1px solid var(--shop-line);
}

.product-options-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 29px;
}

.product-options-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.product-options-header > p {
  margin: 0 0 5px;
  color: var(--shop-muted);
  font-size: 0.9rem;
}

.option-table {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-sm);
}

.option-table-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.7fr;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--shop-line);
}

.option-table-row:last-child {
  border-bottom: 0;
}

.option-table-row > :last-child {
  text-align: right;
}

.option-table-row strong {
  font-weight: 710;
}

.option-table-row > span {
  color: var(--shop-muted);
}

.option-table-row > span:last-child {
  color: var(--shop-text);
  font-weight: 720;
}

.option-table-head {
  min-height: 48px;
  color: #ffffff;
  background: var(--shop-ink);
  border-bottom: 0;
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-table-head > span,
.option-table-head > span:last-child {
  color: rgba(255, 255, 255, 0.67);
}

.special-work-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  background: #faf7ef;
  border: 1px solid #dfcfac;
  border-radius: var(--shop-radius-sm);
}

.special-work-note span {
  color: var(--shop-brass-dark);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.special-work-note strong {
  color: var(--shop-text);
  font-size: 0.88rem;
  font-weight: 680;
}

/* Professional footer */

.shop-footer {
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  background: #0a121a;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(160px, 0.65fr) minmax(260px, 1fr);
  gap: clamp(42px, 7vw, 92px);
  padding-top: clamp(52px, 7vw, 76px);
  padding-bottom: clamp(48px, 6vw, 68px);
}

.footer-brand .brand {
  margin-bottom: 21px;
}

.footer-brand > p {
  max-width: 390px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
}

.footer-heading {
  margin: 0 0 17px;
  color: #ffffff;
  font-size: 0.71rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-nav a,
.footer-contact a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.83rem;
  font-weight: 540;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--shop-brass-light);
}

.footer-contact address,
.footer-contact > p:last-child {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 17px;
  padding-bottom: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.footer-bottom a {
  color: var(--shop-brass-light);
  font-weight: 650;
  text-decoration: none;
}

/* Cart drawer */

.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(500px, 100%);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
}

.cart-dialog::backdrop {
  background: rgba(5, 10, 15, 0.68);
  backdrop-filter: blur(3px);
}

.cart-dialog-panel {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--shop-text);
  background: #ffffff;
  box-shadow: -24px 0 62px rgba(5, 10, 15, 0.28);
  animation: cart-slide-in 230ms ease-out both;
}

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

.cart-header .eyebrow {
  margin-bottom: 4px;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.1;
}

.cart-close {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--shop-text);
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: 50%;
  font: 400 1.45rem/1 system-ui, sans-serif;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.cart-close:hover,
.cart-close:focus-visible {
  background: #e9edef;
  border-color: #bcc5cc;
}

.cart-items {
  grid-row: 2;
  overflow-y: auto;
  padding: 0 26px;
}

.cart-empty {
  grid-row: 2;
  align-self: center;
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 38px 28px;
  color: var(--shop-muted);
  text-align: center;
}

.cart-empty > svg {
  margin-bottom: 16px;
  color: var(--shop-brass-dark);
}

.cart-empty strong {
  margin-bottom: 5px;
  color: var(--shop-text);
  font-size: 1.05rem;
  font-weight: 710;
}

.cart-empty p {
  margin-bottom: 20px;
  font-size: 0.84rem;
}

.cart-continue {
  min-height: 45px !important;
  color: var(--shop-text) !important;
  border-color: var(--shop-line-dark) !important;
}

.cart-continue:hover,
.cart-continue:focus-visible {
  color: var(--shop-text) !important;
  background: var(--shop-canvas) !important;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid var(--shop-line);
}

.cart-item__media {
  grid-row: 1 / span 2;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: 8px;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item:not([data-product-id="eps-coolroom-panel"]) .cart-item__media {
  background: #f5f4f0;
}

.cart-item:not([data-product-id="eps-coolroom-panel"]) .cart-item__media img {
  padding: 6px;
  object-fit: contain;
}

.cart-item__details {
  min-width: 0;
}

.cart-item__name {
  margin: 0 0 9px;
  font-size: 0.91rem;
  font-weight: 710;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.cart-item__configuration {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item__configuration li {
  padding: 4px 7px;
  color: #56636e;
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 620;
  line-height: 1.2;
}

.cart-item__instructions {
  margin: 9px 0 0;
  color: var(--shop-muted);
  font-size: 0.72rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cart-item__actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cart-item__price {
  margin: 0;
  color: var(--shop-text);
  font-size: 0.88rem;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

.cart-item__remove {
  min-height: 30px;
  padding: 3px 0;
  color: var(--shop-muted);
  background: transparent;
  border: 0;
  font: 650 0.69rem/1 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  text-decoration: underline;
  text-decoration-color: #b8c0c6;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-item__remove:hover,
.cart-item__remove:focus-visible {
  color: var(--shop-error);
}

.cart-footer {
  padding: 21px 26px 25px;
  background: var(--shop-canvas);
  border-top: 1px solid var(--shop-line);
}

.cart-total-row {
  color: var(--shop-text);
  font-size: 0.96rem;
  font-weight: 680;
}

.cart-total-row output {
  font-size: 1.45rem;
  font-weight: 770;
  letter-spacing: -0.035em;
}

.cart-tax-note {
  margin: 1px 0 17px;
  color: var(--shop-muted);
  font-size: 0.7rem;
  text-align: right;
}

.cart-delivery-credit {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 0 0 17px;
  padding: 12px 13px;
  color: #5b4a29;
  background: #fbf7ed;
  border: 1px solid #e6d6b2;
  border-radius: 9px;
}

.cart-delivery-credit[hidden] {
  display: none;
}

.cart-delivery-credit__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #ffffff;
  border: 1px solid #e3cf9f;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
}

.cart-delivery-credit strong {
  display: block;
  margin: 1px 0 2px;
  color: var(--shop-text);
  font-size: 0.76rem;
  line-height: 1.3;
}

.cart-delivery-credit p {
  margin: 0;
  color: #6e5a32;
  font-size: 0.68rem;
  line-height: 1.45;
}

.cart-delivery-credit[data-state="unlocked"],
.cart-delivery-credit[data-state="maximum"] {
  color: #285a45;
  background: #eff7f2;
  border-color: #bedaca;
}

.cart-delivery-credit[data-state="unlocked"] .cart-delivery-credit__mark,
.cart-delivery-credit[data-state="maximum"] .cart-delivery-credit__mark {
  color: #227153;
  border-color: #c5ded2;
}

.cart-delivery-credit[data-state="unlocked"] p,
.cart-delivery-credit[data-state="maximum"] p {
  color: #426a58;
}

.cart-checkout {
  width: 100%;
  color: #68737d;
  background: #e2e6e8;
  border-color: #d3d9dd;
  cursor: not-allowed;
}

.cart-checkout:disabled {
  opacity: 1;
}

.cart-coming-soon {
  margin: 10px 0 0;
  color: var(--shop-muted);
  font-size: 0.71rem;
  line-height: 1.45;
  text-align: center;
}

@keyframes cart-slide-in {
  from {
    opacity: 0.4;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 900px) {
  .shop-shell .site-nav {
    gap: 1px;
  }

  .shop-shell .site-nav > a,
  .shop-shell .nav-shop-link {
    padding: 10px 10px;
  }

  .shop-shell .nav-dropdown-menu {
    min-width: 334px;
    padding: 7px;
  }

  .shop-shell .nav-dropdown-menu a {
    min-height: 42px;
    padding: 9px 11px;
  }

  .shop-shell .nav-cta {
    margin-left: 7px;
    padding-inline: 15px !important;
  }

  .cart-button {
    width: auto;
    margin-left: 4px;
  }
}

@media (min-width: 1100px) {
  .product-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  }

  .product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 31px);
  }
}

@media (max-width: 1099px) {
  .product-gallery-column {
    max-width: 820px;
  }

  .product-summary {
    max-width: 820px;
  }
}

@media (max-width: 1179px) {
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-product-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .shop-shell .brand-copy {
    display: grid;
  }

  .shop-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.55fr);
    gap: 40px;
  }

  .shop-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-feature-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .shop-feature-content {
    max-width: 760px;
  }
}

@media (max-width: 899px) {
  .shop-header-inner {
    min-height: 74px;
    gap: 10px;
  }

  .shop-shell .site-header {
    min-height: 74px;
    backdrop-filter: none;
  }

  .shop-shell .brand {
    min-width: 0;
    margin-right: auto;
  }

  .shop-shell .nav-backdrop {
    inset: 74px 0 0;
    z-index: 49;
  }

  .shop-shell .site-nav,
  .shop-shell .site-nav.is-open {
    top: 74px;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(90vw, 400px);
    max-height: none;
    display: grid;
    gap: 5px;
    padding: 16px 16px max(26px, env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(199, 150, 50, 0.08), transparent 155px),
      var(--shop-ink-2);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    box-shadow: -22px 0 55px rgba(3, 9, 14, 0.38);
  }

  .shop-shell .site-nav > a,
  .shop-shell .nav-shop-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 680;
  }

  .shop-shell .nav-shop-link {
    padding: 11px 13px;
  }

  .shop-shell .nav-dropdown-toggle {
    display: none;
  }

  .shop-shell .nav-dropdown-menu {
    margin: 0 0 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--shop-line);
    border-radius: 10px;
  }

  .shop-shell .nav-menu-label {
    padding: 6px 7px 3px;
  }

  .shop-shell .nav-dropdown-menu a {
    color: var(--shop-text);
    font-size: 0.9rem;
  }

  .shop-shell .nav-category summary {
    color: var(--shop-text);
    background: #f6f3eb;
  }

  .shop-shell .nav-category-menu a {
    min-height: 48px;
    padding: 9px 10px;
  }

  .shop-shell .nav-all-products {
    color: var(--shop-text) !important;
    background: #f6edda;
  }

  .shop-shell .nav-cta {
    min-height: 48px;
    margin: 7px 0 0;
  }

  .shop-shell .site-nav .cart-button {
    display: none;
  }

  .mobile-cart-button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 8px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font: 680 0.78rem/1 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
  }

  .mobile-cart-button:hover,
  .mobile-cart-button:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(199, 150, 50, 0.68);
  }

  .mobile-cart-button .cart-count {
    min-width: 21px;
    height: 21px;
    margin-left: 0;
    padding-inline: 5px;
    font-size: 0.66rem;
  }

  .shop-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-hero {
    padding-top: 38px;
  }

  .shop-hero h1 {
    margin-bottom: 14px;
  }

  .shop-hero-lead {
    margin-bottom: 22px;
    line-height: 1.55;
  }

  .shop-hero-actions {
    gap: 16px;
  }

  .shop-hero-panel {
    max-width: none;
    padding: 20px 22px 21px;
  }

  .shop-hero-panel p {
    line-height: 1.5;
  }

  .shop-proof-row {
    margin-top: 28px;
  }

  .shop-accessories-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-quote-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .product-options-header {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

@media (max-width: 700px) {
  .shop-collection-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .shop-product-card h3,
  .shop-product-card-description {
    min-height: 0;
  }

  .shop-feature-media {
    aspect-ratio: 4 / 3;
  }

  .shop-feature-content {
    padding: 32px 27px;
  }

  .shop-feature-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-feature-cta {
    width: 100%;
  }

  .shop-feature-note {
    text-align: left;
  }

  .quantity-field {
    width: 172px;
  }

  .special-work-option {
    grid-template-columns: 21px minmax(0, 1fr);
  }

  .special-work-visual,
  .special-work-content {
    grid-column: 2;
  }

  .special-work-visual {
    width: 100%;
    min-height: 74px;
  }
}

@media (max-width: 640px) {
  .shop-shell .section-inner {
    width: min(100% - 32px, 1280px);
  }

  .shop-hero {
    padding-top: 27px;
  }

  .shop-hero-grid {
    gap: 18px;
  }

  .shop-hero h1 {
    margin-bottom: 11px;
    font-size: 2.78rem;
  }

  .shop-hero-lead {
    margin-bottom: 18px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .shop-hero-actions {
    gap: 12px;
  }

  .shop-hero-panel {
    padding: 16px 18px 17px;
  }

  .shop-hero-panel > span {
    margin-bottom: 4px;
  }

  .shop-hero-panel strong {
    margin-bottom: 5px;
    font-size: 1.12rem;
  }

  .shop-hero-panel p {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .shop-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
    padding: 7px 0 8px;
  }

  .shop-proof-row span,
  .shop-proof-row span:first-child {
    min-height: 43px;
    justify-content: center;
    padding: 5px 4px;
    font-size: 0.66rem;
    line-height: 1.25;
    text-align: center;
  }

  .shop-proof-row span::before {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    margin-right: 6px;
  }

  .shop-collection {
    padding-top: 42px;
  }

  .mobile-cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .shop-feature-specs {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .shop-feature-specs li {
    padding: 0;
  }

  .shop-feature-specs li + li {
    padding: 13px 0 0;
    border-top: 1px solid var(--shop-line);
    border-left: 0;
  }

  .product-section {
    padding-top: 34px;
  }

  .product-summary > h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .product-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-facts > div {
    padding: 0;
  }

  .product-facts > div + div {
    padding: 12px 0 0;
    border-top: 1px solid var(--shop-line);
    border-left: 0;
  }

  .product-config {
    padding: 22px 19px;
  }

  .product-options-header > p {
    font-size: 0.85rem;
  }

  .option-table-row {
    grid-template-columns: 0.72fr 1fr 0.65fr;
    padding: 0 14px;
    font-size: 0.79rem;
  }

  .option-table-head {
    font-size: 0.6rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .cart-dialog {
    inset: auto 0 0;
    width: 100%;
    height: min(90dvh, 820px);
    border-radius: 18px 18px 0 0;
  }

  .cart-dialog-panel {
    border-radius: 18px 18px 0 0;
    animation-name: cart-sheet-in;
  }

  .cart-dialog-panel::before {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    background: #c9d0d5;
    border-radius: 999px;
    content: "";
    transform: translateX(-50%);
  }

  .cart-header {
    padding: 27px 18px 18px;
  }

  .cart-items {
    padding: 0 18px;
  }

  .cart-footer {
    padding: 18px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item__actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@keyframes cart-sheet-in {
  from {
    opacity: 0.45;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 460px) {
  .shop-shell .section-inner {
    width: min(100% - 28px, 1280px);
  }

  .shop-shell .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.61rem;
  }

  .shop-hero-actions .button {
    width: 100%;
  }

  .shop-text-link {
    width: 100%;
    text-align: center;
  }

  .shop-hero-panel {
    padding: 23px;
  }

  .shop-feature-content {
    padding: 28px 21px;
  }

  .shop-feature-badge {
    top: 14px;
    left: 14px;
  }

  .shop-quote-strip {
    padding: 27px 22px;
  }

  .shop-quote-strip .button {
    width: 100%;
  }

  .shop-product-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-product-card-link {
    width: 100%;
    justify-content: center;
  }

  .product-image-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-config {
    padding-inline: 17px;
  }

  .length-option-list {
    grid-template-columns: 1fr;
  }

  .length-option {
    min-height: 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
  }

  .length-option__price {
    min-width: 76px;
    padding: 0 24px 0 12px;
    border-top: 0;
    border-left: 1px solid var(--shop-line);
    text-align: right;
  }

  .special-work-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .special-work-fields-heading {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .required-badge {
    grid-column: 2;
    width: fit-content;
  }

  .option-table-row {
    min-height: 58px;
    grid-template-columns: 0.72fr 1fr 0.65fr;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .option-table-head {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }
}

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

/* Checkout and payment confirmation
   Scoped to checkout-shell so the marketplace and product configurators keep
   their existing proportions. */

.checkout-shell {
  --checkout-field-height: 54px;
  --checkout-card-border: #d5dce1;
  --checkout-field-border: #bac4cc;
  --checkout-focus-ring: rgba(199, 150, 50, 0.22);
  --checkout-card-shadow:
    0 1px 2px rgba(14, 24, 34, 0.04),
    0 24px 64px rgba(14, 24, 34, 0.08);

  background:
    radial-gradient(circle at 8% 4%, rgba(199, 150, 50, 0.08), transparent 25rem),
    linear-gradient(180deg, #f8f8f5 0, #f2f4f4 54%, #eef1f2 100%);
}

.checkout-shell main {
  min-width: 0;
  flex: 1;
}

.checkout-header {
  box-shadow: 0 10px 30px rgba(5, 12, 18, 0.14);
}

.checkout-header .shop-header-inner {
  min-height: 76px;
}

.checkout-header .shop-brand {
  text-decoration: none;
}

/* Checkout markup intentionally uses a compact logo without brand-logo. */
.checkout-header .shop-brand > img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.checkout-back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.checkout-back-link span {
  color: var(--shop-brass-light);
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.checkout-back-link:hover,
.checkout-back-link:focus-visible {
  color: #ffffff;
}

.checkout-back-link:hover span,
.checkout-back-link:focus-visible span {
  transform: translateX(-3px);
}

.secure-checkout-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #dce8e2;
  background: rgba(61, 125, 91, 0.16);
  border: 1px solid rgba(132, 190, 157, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.secure-checkout-badge svg {
  color: #8dc3a5;
}

.checkout-back-link:focus-visible,
.checkout-order-card header a:focus-visible,
.checkout-result-links a:focus-visible,
.checkout-footer a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--shop-brass-light);
  outline-offset: 4px;
}

.checkout-page {
  padding: 28px 0 clamp(70px, 8vw, 112px);
}

.checkout-breadcrumb {
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--checkout-card-border);
}

.checkout-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #7a858e;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  list-style: none;
}

.checkout-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.checkout-breadcrumb li + li::before {
  width: clamp(20px, 4vw, 48px);
  height: 1px;
  display: inline-block;
  background: #cbd2d7;
  content: "";
}

.checkout-breadcrumb a {
  color: var(--shop-text);
  text-decoration-color: var(--shop-brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.checkout-breadcrumb [aria-current="step"] {
  color: var(--shop-brass-dark);
  font-weight: 760;
}

.checkout-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.58fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}

.checkout-page-heading .eyebrow {
  margin-bottom: 6px;
}

.checkout-page-heading h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5.5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.checkout-page-heading > p {
  max-width: 570px;
  margin: 0 0 4px;
  color: var(--shop-muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.checkout-cancelled-notice,
.checkout-unavailable-notice {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 0 0 26px;
  padding: 17px 20px 17px 52px;
  overflow: hidden;
  background: #fff8e8;
  border: 1px solid #ead8ab;
  border-radius: 10px;
  box-shadow: var(--shop-shadow-sm);
  font-size: 0.82rem;
  line-height: 1.55;
}

.checkout-cancelled-notice::before,
.checkout-unavailable-notice::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #684a0d;
  background: #edc66f;
  border-radius: 50%;
  content: "!";
  font-size: 0.72rem;
  font-weight: 850;
}

.checkout-unavailable-notice {
  color: #672d27;
  background: #fff3f1;
  border-color: #e8c7c2;
}

.checkout-unavailable-notice::before {
  color: #ffffff;
  background: var(--shop-error);
}

.checkout-cancelled-notice strong,
.checkout-unavailable-notice strong {
  color: var(--shop-text);
  font-size: 0.88rem;
}

.checkout-unavailable-notice a {
  color: #672d27;
  font-weight: 740;
  text-decoration-color: #c88f87;
  text-underline-offset: 3px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 420px);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.checkout-form-card,
.checkout-order-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--checkout-card-border);
  border-radius: 16px;
  box-shadow: var(--checkout-card-shadow);
}

.checkout-form-card {
  overflow: hidden;
}

.checkout-form-section {
  padding: clamp(27px, 4vw, 38px);
}

.checkout-form-section + .checkout-form-section {
  border-top: 1px solid var(--shop-line);
}

.checkout-section-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 25px;
}

.checkout-section-heading > span {
  width: 36px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #faf4e7;
  border: 1px solid #ead7ad;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.045em;
}

.checkout-section-heading h2 {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.checkout-section-heading p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

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

.checkout-form-grid label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--shop-text);
  font-size: 0.76rem;
  font-weight: 700;
}

.checkout-form-grid label > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.checkout-form-grid label small {
  color: #89939b;
  font-size: 0.65rem;
  font-weight: 580;
}

.checkout-field-wide {
  grid-column: 1 / -1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.checkout-fulfillment-options,
.checkout-delivery-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-fulfillment-options {
  display: grid;
  gap: 12px;
}

.checkout-fulfillment-option {
  position: relative;
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 22px 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 15px 17px;
  color: var(--shop-text);
  background: #fbfcfc;
  border: 1px solid var(--checkout-field-border);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.checkout-fulfillment-option:hover {
  background: #ffffff;
  border-color: #929fa9;
}

.checkout-fulfillment-option:focus-within {
  border-color: var(--shop-brass-dark);
  box-shadow: 0 0 0 4px var(--checkout-focus-ring);
}

.checkout-fulfillment-option:has(input:checked) {
  background: #fffaf0;
  border-color: var(--shop-brass);
  box-shadow: inset 4px 0 0 var(--shop-brass);
}

.checkout-fulfillment-option.is-unavailable {
  color: #6f7981;
  background: #f1f3f4;
  border-color: #d8dde0;
  cursor: not-allowed;
}

.checkout-fulfillment-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--shop-brass-dark);
}

.checkout-fulfillment-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #ffffff;
  border: 1px solid #e1d3b5;
  border-radius: 9px;
}

.checkout-fulfillment-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.checkout-fulfillment-copy strong {
  font-size: 0.91rem;
  line-height: 1.3;
}

.checkout-fulfillment-copy small {
  color: #66727c;
  font-size: 0.75rem;
  font-weight: 540;
  line-height: 1.45;
}

.checkout-fulfillment-price {
  color: var(--shop-brass-dark);
  font-size: 0.78rem;
  font-weight: 780;
  white-space: nowrap;
}

.checkout-delivery-panel {
  margin-top: 18px;
  padding: 20px;
  background: #f7f9fa;
  border: 1px solid #d8dfe3;
  border-radius: 11px;
}

.checkout-delivery-panel[hidden] {
  display: none;
}

.checkout-delivery-fields > legend {
  margin-bottom: 14px;
  color: var(--shop-text);
  font-size: 0.84rem;
  font-weight: 760;
}

.checkout-address-autocomplete {
  position: relative;
  z-index: 4;
  margin-bottom: 18px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d5dde2;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(14, 24, 34, 0.055);
}

.checkout-address-autocomplete[hidden] {
  display: none;
}

.checkout-address-autocomplete > label {
  display: block;
  margin-bottom: 7px;
  color: var(--shop-text);
  font-size: 0.78rem;
  font-weight: 740;
}

.checkout-address-search-control {
  position: relative;
}

.checkout-address-search-control > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  color: #687680;
  pointer-events: none;
  transform: translateY(-50%);
}

.checkout-address-search-control > input {
  width: 100%;
  min-width: 0;
  height: var(--checkout-field-height);
  padding: 0 68px 0 44px;
  color: var(--shop-text);
  background: #fbfcfc;
  border: 1px solid var(--checkout-field-border);
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(14, 24, 34, 0.025);
  font: 560 0.91rem/1.25 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  appearance: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.checkout-address-search-control > input::-webkit-search-cancel-button {
  margin-right: 1px;
  cursor: pointer;
}

.checkout-address-search-control > input:hover {
  background: #ffffff;
  border-color: #929fa9;
}

.checkout-address-search-control > input:focus {
  background: #ffffff;
  border-color: var(--shop-brass-dark);
  box-shadow:
    0 0 0 4px var(--checkout-focus-ring),
    0 1px 2px rgba(14, 24, 34, 0.06);
  outline: 0;
}

.checkout-address-search-progress {
  position: absolute;
  top: calc(50% - 8px);
  right: 42px;
  width: 16px;
  height: 16px;
  border: 2px solid #d4dadd;
  border-top-color: var(--shop-brass-dark);
  border-radius: 50%;
  animation: checkout-address-search-spin 700ms linear infinite;
}

.checkout-address-search-progress[hidden] {
  display: none;
}

@keyframes checkout-address-search-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 700px) {
  .product-breadcrumb-wrap {
    min-height: 44px;
  }

  .product-breadcrumb {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .product-breadcrumb li:first-child,
  .product-breadcrumb li[aria-current="page"] {
    display: none;
  }

  .product-breadcrumb li:nth-child(2)::before {
    display: none;
  }

  .product-breadcrumb li:nth-child(2) a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .product-breadcrumb li:nth-child(2) a::before {
    color: var(--shop-brass-dark);
    content: "\2190";
    font-size: 1rem;
  }

  .product-section {
    padding: 23px 0 64px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-summary {
    display: contents;
  }

  .product-kicker,
  .product-summary > h1,
  .product-price-row,
  .product-gallery-column,
  .product-description,
  .product-facts,
  .product-config {
    width: 100%;
  }

  .product-kicker {
    order: 1;
    margin: 0 0 7px;
    font-size: 0.68rem;
  }

  .product-summary > h1 {
    order: 2;
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(2.05rem, 10.5vw, 2.85rem);
    line-height: 1.02;
  }

  .product-price-row {
    order: 3;
    margin-bottom: 20px;
  }

  .product-price {
    font-size: 1.82rem;
  }

  .product-gallery-column {
    order: 4;
    margin-bottom: 21px;
  }

  .product-gallery {
    border-radius: 11px;
    box-shadow:
      0 1px 2px rgba(14, 24, 34, 0.05),
      0 13px 30px rgba(14, 24, 34, 0.08);
  }

  .product-image-stage {
    aspect-ratio: 16 / 10;
  }

  .product-page--accessory .product-image-stage {
    padding: 16px;
  }

  .product-image-caption {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 0.67rem;
  }

  .product-description {
    order: 5;
    margin-bottom: 17px;
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .product-facts {
    order: 6;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 22px;
    padding: 12px 0;
  }

  .product-facts > div {
    padding: 0 9px 0 0;
  }

  .product-facts > div + div {
    padding: 0 9px;
    border-top: 0;
    border-left: 1px solid var(--shop-line);
  }

  .product-facts dt {
    margin-bottom: 3px;
    font-size: 0.58rem;
  }

  .product-facts dd {
    font-size: 0.73rem;
    line-height: 1.35;
  }

  .product-config {
    order: 7;
    gap: 19px;
    padding: 19px 17px 21px;
    border-radius: 12px;
    box-shadow:
      0 1px 2px rgba(14, 24, 34, 0.04),
      0 13px 32px rgba(14, 24, 34, 0.07);
  }

  .config-header {
    padding-bottom: 16px;
  }

  .config-header .eyebrow {
    display: none;
  }

  .config-header h2 {
    margin-bottom: 4px;
    font-size: 1.5rem;
  }

  .config-header > p:last-child {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .config-section legend {
    margin-bottom: 11px;
    font-size: 0.74rem;
  }

  .config-field--thickness {
    max-width: none;
  }

  .config-field select {
    min-height: 52px;
    font-size: 1rem;
  }

  .config-field-hint {
    font-size: 0.68rem;
  }

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

  .length-option {
    min-height: 88px;
    gap: 8px;
    padding: 11px 10px 9px;
    border-radius: 8px;
  }

  .length-option__indicator {
    top: 10px;
    right: 10px;
    width: 17px;
    height: 17px;
  }

  .length-option__details {
    padding-right: 20px;
  }

  .length-option__details strong {
    font-size: 0.78rem;
  }

  .length-option__details small {
    font-size: 0.6rem;
  }

  .length-option__price {
    padding-top: 7px;
  }

  .length-option__price strong {
    font-size: 0.9rem;
  }

  .length-option__price small {
    font-size: 0.56rem;
  }

  .quantity-field {
    width: 100%;
  }

  .quantity-control {
    width: 100%;
    grid-template-columns: 52px minmax(70px, 1fr) 52px;
  }

  .quantity-control button,
  .quantity-control input {
    min-height: 52px;
  }

  .quantity-control input {
    font-size: 1rem;
  }

  .special-work-option {
    min-height: 0;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .special-work-option input[type="checkbox"] {
    width: 21px;
    height: 21px;
  }

  .special-work-visual {
    display: none;
  }

  .special-work-content {
    grid-column: 2;
    gap: 4px;
  }

  .special-work-eyebrow {
    font-size: 0.56rem;
  }

  .special-work-heading {
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
  }

  .special-work-heading strong {
    font-size: 0.85rem;
  }

  .special-work-heading b {
    font-size: 0.91rem;
  }

  .special-work-explainer {
    font-size: 0.7rem;
  }

  .special-work-flow {
    display: none;
  }

  .special-work-option small {
    font-size: 0.62rem;
  }

  .special-work-action {
    min-height: 27px;
    margin-top: 3px;
    font-size: 0.63rem;
  }

  .special-work-fields {
    padding: 15px 14px;
  }

  .special-work-fields-heading {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .special-work-fields-heading > span:first-child {
    width: 27px;
    height: 24px;
  }

  .product-config textarea {
    min-height: 106px;
    font-size: 1rem;
  }

  .config-selection-summary {
    margin-block: -1px -5px;
  }

  .config-summary {
    gap: 8px;
    padding: 16px;
  }

  .config-total output {
    font-size: 1.45rem;
  }

  .product-options-section {
    padding-block: 45px 58px;
  }

  .product-options-header {
    margin-bottom: 19px;
  }

  .mobile-purchase-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    min-height: calc(72px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(126px, 0.52fr);
    gap: 12px;
    align-items: center;
    padding:
      10px
      max(14px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
    visibility: visible;
    opacity: 1;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #cfd6da;
    box-shadow: 0 -13px 32px rgba(7, 15, 22, 0.16);
    backdrop-filter: blur(14px);
    transition:
      opacity 170ms ease,
      transform 190ms ease,
      visibility 0s;
  }

  .mobile-purchase-bar[hidden] {
    display: none;
  }

  .mobile-purchase-bar.is-native-action-visible,
  .cart-dialog-open .mobile-purchase-bar,
  .mobile-nav-open .mobile-purchase-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition:
      opacity 150ms ease,
      transform 190ms ease,
      visibility 0s linear 190ms;
  }

  .mobile-purchase-bar__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .mobile-purchase-bar__configuration {
    overflow: hidden;
    color: var(--shop-muted);
    font-size: 0.65rem;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-purchase-bar__total {
    color: var(--shop-text);
    font-size: 1.18rem;
    font-variant-numeric: tabular-nums;
    font-weight: 790;
    letter-spacing: -0.025em;
    line-height: 1.1;
  }

  .mobile-purchase-bar__button {
    min-height: 50px;
    padding: 10px 14px;
    color: #10171e;
    background:
      linear-gradient(135deg, #deb04d, var(--shop-brass) 65%, #bc8825);
    border: 1px solid #ad7b1e;
    border-radius: 8px;
    font: 760 0.82rem/1.1 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
  }

  .mobile-purchase-bar__button:focus-visible {
    outline: 3px solid rgba(199, 150, 50, 0.45);
    outline-offset: 2px;
  }

  .has-mobile-purchase-bar .shop-footer {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .shop-shell .section-inner {
    width: min(100% - 28px, 1280px);
  }

  .shop-hero {
    padding-top: 23px;
  }

  .shop-hero-grid {
    gap: 0;
  }

  .shop-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(2.45rem, 13vw, 3.15rem);
    line-height: 0.98;
  }

  .shop-hero-lead {
    display: -webkit-box;
    margin-bottom: 17px;
    overflow: hidden;
    font-size: 0.91rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .shop-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .shop-hero-actions .button {
    width: auto;
    min-height: 49px;
    padding-inline: 15px;
    font-size: 0.79rem;
  }

  .shop-text-link {
    width: auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding-inline: 5px;
    font-size: 0.76rem;
    text-align: left;
  }

  .shop-hero-panel {
    display: none;
  }

  .shop-proof-row {
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 21px;
    padding: 10px 14px 12px;
    overflow-x: auto;
    border-top-color: rgba(255, 255, 255, 0.1);
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .shop-proof-row::-webkit-scrollbar {
    display: none;
  }

  .shop-proof-row span,
  .shop-proof-row span:first-child {
    min-width: max-content;
    min-height: 32px;
    justify-content: flex-start;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.72rem;
    text-align: left;
    scroll-snap-align: start;
  }

  .shop-collection {
    padding: 39px 0 56px;
  }

  .shop-collection-header {
    margin-bottom: 16px;
  }

  .shop-collection-header h2 {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .shop-collection-count {
    font-size: 0.76rem;
  }

  .shop-mobile-jump {
    display: flex;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .shop-mobile-jump::-webkit-scrollbar {
    display: none;
  }

  .shop-mobile-jump a {
    min-width: max-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: #35424c;
    background: #ffffff;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none;
    scroll-snap-align: start;
  }

  .shop-mobile-jump a:first-child {
    color: #ffffff;
    background: var(--shop-ink-2);
    border-color: var(--shop-ink-2);
  }

  .shop-feature,
  .shop-product-card {
    scroll-margin-top: 84px;
  }

  .shop-feature {
    border-radius: 13px;
  }

  .shop-feature-media {
    aspect-ratio: 16 / 9;
  }

  .shop-feature-badge {
    top: 11px;
    left: 11px;
    padding: 6px 8px;
    font-size: 0.59rem;
  }

  .shop-feature-content {
    padding: 21px 18px 20px;
  }

  .shop-feature-kicker {
    margin-bottom: 6px;
    font-size: 0.63rem;
  }

  .shop-feature-content h3 {
    margin-bottom: 9px;
    font-size: clamp(1.62rem, 8vw, 2rem);
  }

  .shop-feature-description {
    display: -webkit-box;
    margin-bottom: 15px;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-feature-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 17px;
    padding: 12px 0;
  }

  .shop-feature-specs li {
    padding: 0 7px 0 0;
  }

  .shop-feature-specs li + li {
    padding: 0 7px;
    border-top: 0;
    border-left: 1px solid var(--shop-line);
  }

  .shop-feature-specs strong {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .shop-feature-specs span {
    font-size: 0.59rem;
    line-height: 1.3;
  }

  .shop-feature-purchase {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(140px, 1.1fr);
    gap: 12px;
    align-items: center;
  }

  .shop-feature-price strong {
    font-size: 1.42rem;
  }

  .shop-feature-price span,
  .shop-feature-price small {
    font-size: 0.59rem;
  }

  .shop-feature-cta {
    min-width: 0;
    min-height: 49px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .shop-feature-note {
    display: none;
  }

  .shop-accessories {
    margin-top: 45px;
    padding-top: 36px;
  }

  .shop-accessories-header {
    margin-bottom: 19px;
  }

  .shop-accessories-header h2 {
    font-size: 1.65rem;
  }

  .shop-accessories-header > p {
    display: none;
  }

  .shop-product-grid {
    gap: 12px;
  }

  .shop-product-card,
  .shop-product-card:last-child {
    width: 100%;
    min-height: 184px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    border-radius: 11px;
  }

  .shop-product-card:hover {
    transform: none;
  }

  .shop-product-card-media {
    height: 100%;
    min-height: 184px;
    aspect-ratio: auto;
    padding: 10px;
    border-right: 1px solid var(--shop-line);
    border-bottom: 0;
  }

  .shop-product-card-badge {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 6px;
    font-size: 0.52rem;
    line-height: 1.2;
  }

  .shop-product-card-content {
    min-width: 0;
    padding: 15px 14px;
  }

  .shop-product-card-kicker {
    margin-bottom: 5px;
    font-size: 0.58rem;
    line-height: 1.3;
  }

  .shop-product-card h3 {
    margin-bottom: 9px;
    font-size: 1.06rem;
    line-height: 1.2;
  }

  .shop-product-card-description,
  .shop-product-card-options {
    display: none;
  }

  .shop-product-card-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    align-items: stretch;
  }

  .shop-product-card-price span,
  .shop-product-card-price small {
    font-size: 0.56rem;
  }

  .shop-product-card-price strong {
    font-size: 1.18rem;
  }

  .shop-product-card-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 8px 9px;
    font-size: 0.72rem;
  }

  .shop-quote-strip {
    gap: 18px;
    margin-top: 24px;
    padding: 23px 19px;
    border-left-width: 3px;
  }

  .shop-quote-strip h2 {
    font-size: 1.38rem;
  }

  .shop-quote-strip p:last-child {
    font-size: 0.79rem;
    line-height: 1.5;
  }

  .shop-footer .footer-main {
    gap: 25px;
    padding-block: 41px 31px;
  }

  .shop-footer .footer-nav,
  .shop-footer .footer-contact {
    display: grid;
    gap: 0;
  }

  .shop-footer .footer-nav a,
  .shop-footer .footer-contact > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .shop-footer .footer-bottom {
    gap: 3px;
    padding-block: 15px;
    font-size: 0.72rem;
  }

  .shop-footer .footer-bottom a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .cart-dialog {
    inset: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .cart-dialog-panel {
    border-radius: 0;
  }

  .cart-dialog-panel::before {
    display: none;
  }

  .cart-header {
    min-height: 72px;
    align-items: center;
    padding: 12px 14px 11px;
  }

  .cart-header .eyebrow {
    display: none;
  }

  .cart-header h2 {
    font-size: 1.55rem;
  }

  .cart-close {
    width: 48px;
    height: 48px;
  }

  .cart-items {
    padding: 0 14px;
    overscroll-behavior: contain;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 0;
  }

  .cart-item__name {
    margin-bottom: 6px;
    font-size: 0.83rem;
  }

  .cart-item__configuration {
    gap: 4px;
  }

  .cart-item__configuration li {
    padding: 3px 6px;
    font-size: 0.61rem;
  }

  .cart-item__instructions {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    font-size: 0.65rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cart-item__actions {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(114px, 1fr) auto;
    gap: 8px;
    align-items: center;
    justify-items: stretch;
  }

  .cart-item__price {
    font-size: 0.82rem;
    text-align: left;
  }

  .cart-item__quantity {
    grid-template-columns: 44px minmax(36px, 1fr) 44px;
  }

  .cart-item__quantity button,
  .cart-item__quantity-value {
    min-height: 44px;
  }

  .cart-item__remove {
    min-width: 48px;
    min-height: 44px;
    padding-inline: 4px;
  }

  .cart-footer {
    padding:
      12px
      14px
      max(12px, env(safe-area-inset-bottom));
  }

  .cart-total-row {
    font-size: 0.85rem;
  }

  .cart-total-row output {
    font-size: 1.25rem;
  }

  .cart-tax-note {
    display: none;
  }

  .cart-delivery-credit {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    margin: 8px 0;
    padding: 8px 9px;
  }

  .cart-delivery-credit__mark {
    width: 28px;
    height: 28px;
  }

  .cart-delivery-credit strong {
    font-size: 0.7rem;
  }

  .cart-delivery-credit p {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .cart-checkout {
    min-height: 52px !important;
  }

  .cart-coming-soon {
    margin-top: 7px;
    font-size: 0.65rem;
  }

  .checkout-header-actions {
    gap: 7px;
  }

  .checkout-header .brand-copy small {
    display: none;
  }

  .secure-checkout-badge {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 0.58rem;
  }

  .checkout-page {
    padding-bottom: 54px;
  }

  .checkout-page-heading {
    gap: 9px;
    margin-bottom: 20px;
  }

  .checkout-page-heading h1 {
    font-size: clamp(2.25rem, 12vw, 2.9rem);
  }

  .checkout-page-heading > p {
    font-size: 0.79rem;
  }

  .checkout-cancelled-notice,
  .checkout-unavailable-notice {
    margin-bottom: 17px;
    padding: 14px 14px 14px 46px;
  }

  .checkout-form-card,
  .checkout-order-card {
    border-radius: 11px;
  }

  .checkout-form-section {
    padding: 23px 18px 25px;
  }

  .checkout-section-heading {
    margin-bottom: 20px;
  }

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

  .checkout-field-wide {
    grid-column: 1 / -1;
  }

  .checkout-fulfillment-option {
    min-height: 76px;
    grid-template-columns: 20px 38px minmax(0, 1fr);
    padding: 13px 12px;
  }

  .checkout-fulfillment-price {
    grid-column: 3;
  }

  .checkout-delivery-panel {
    padding: 14px 12px;
  }

  .checkout-address-autocomplete {
    padding: 12px;
  }

  .checkout-freight-note {
    margin: 0 18px 19px;
    padding: 13px;
  }

  .checkout-payment-button {
    width: calc(100% - 36px);
    min-height: 56px !important;
    margin-inline: 18px;
  }

  .checkout-form-status,
  .checkout-security-note {
    margin-inline: 18px;
  }

  .checkout-security-note {
    margin-bottom: 23px;
    font-size: 0.67rem;
    line-height: 1.45;
  }

  .checkout-order-card > header {
    padding: 15px 16px;
  }

  .checkout-order-card > header h2 {
    font-size: 1.14rem;
  }

  .checkout-order-card > header .eyebrow {
    display: none;
  }

  .checkout-order-items,
  .checkout-credit-banner,
  .checkout-order-total,
  .checkout-trust-list {
    padding-inline: 16px;
  }

  .checkout-order-item {
    padding-block: 14px;
  }
}

.checkout-address-search-hint {
  margin: 8px 0 0;
  color: #71808a;
  font-size: 0.7rem;
  line-height: 1.45;
}

.checkout-address-suggestion-panel {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 20;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #bdc7ce;
  border-radius: 9px;
  box-shadow:
    0 2px 5px rgba(14, 24, 34, 0.08),
    0 20px 44px rgba(14, 24, 34, 0.16);
}

.checkout-address-suggestion-panel[hidden] {
  display: none;
}

.checkout-address-suggestions {
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-color: #b9c2c8 transparent;
  scrollbar-width: thin;
}

.checkout-address-suggestion {
  min-height: 54px;
  display: grid;
  gap: 2px;
  align-content: center;
  padding: 10px 14px;
  border-bottom: 1px solid #e4e8ea;
  cursor: pointer;
  transition:
    color 130ms ease,
    background-color 130ms ease;
}

.checkout-address-suggestion:hover,
.checkout-address-suggestion[aria-selected="true"] {
  color: var(--shop-ink);
  background: #fff8e9;
  box-shadow: inset 3px 0 0 var(--shop-brass);
}

.checkout-address-suggestion__main {
  overflow: hidden;
  color: var(--shop-text);
  font-size: 0.8rem;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-address-suggestion__secondary {
  overflow: hidden;
  color: #68757f;
  font-size: 0.7rem;
  font-weight: 520;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-address-attribution {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 6px 12px;
  color: #5e5e5e;
  background: #fafbfb;
  border-top: 1px solid #e4e8ea;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
}

.checkout-address-attribution span {
  margin-left: 4px;
  color: inherit;
  font-weight: 400;
}

.checkout-address-search-message {
  margin: 10px 0 0;
  padding: 9px 11px;
  color: #53626c;
  background: #f5f7f8;
  border: 1px solid #d8dfe3;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 610;
  line-height: 1.45;
}

.checkout-address-search-message[hidden] {
  display: none;
}

.checkout-address-search-message[data-state="success"] {
  color: #276147;
  background: #edf7f2;
  border-color: #bedbca;
}

.checkout-address-search-message[data-state="error"] {
  color: #79342d;
  background: #fff3f1;
  border-color: #e4c1bc;
}

.checkout-address-manual-button {
  min-height: 36px;
  margin-top: 9px;
  padding: 4px 0;
  color: var(--shop-ink);
  background: transparent;
  border: 0;
  font: 700 0.72rem/1.2 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  text-decoration: underline;
  text-decoration-color: #c9a554;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.checkout-address-manual-button:hover {
  color: var(--shop-brass-dark);
}

.checkout-address-manual-button:focus-visible {
  outline: 3px solid rgba(199, 150, 50, 0.38);
  outline-offset: 3px;
}

.checkout-address-details-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.checkout-address-details-heading strong {
  color: var(--shop-text);
  font-size: 0.78rem;
  font-weight: 750;
}

.checkout-address-details-heading span {
  color: #7a858e;
  font-size: 0.66rem;
  line-height: 1.4;
  text-align: right;
}

.checkout-delivery-quote-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 18px;
  color: #ffffff;
  background: var(--shop-ink-2);
  border: 1px solid var(--shop-ink-2);
  border-radius: 8px;
  font: 730 0.82rem/1.2 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.checkout-delivery-quote-button:hover:not(:disabled),
.checkout-delivery-quote-button:focus-visible {
  background: #1e3445;
  border-color: #1e3445;
}

.checkout-delivery-quote-button:focus-visible {
  outline: 3px solid rgba(199, 150, 50, 0.38);
  outline-offset: 3px;
}

.checkout-delivery-quote-button:disabled {
  color: #77818a;
  background: #e1e5e7;
  border-color: #d3d9dd;
  cursor: progress;
}

.checkout-delivery-status {
  margin: 12px 0 0;
  padding: 11px 13px;
  color: #485761;
  background: #ffffff;
  border: 1px solid #d3dade;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.5;
}

.checkout-delivery-status[data-state="success"] {
  color: #1f664c;
  background: #edf7f2;
  border-color: #bcdccc;
}

.checkout-delivery-status[data-state="error"] {
  color: #7a3028;
  background: #fff3f1;
  border-color: #e5c2bd;
}

.checkout-form-grid input,
.checkout-form-grid select {
  width: 100%;
  min-width: 0;
  height: var(--checkout-field-height);
  padding: 0 15px;
  color: var(--shop-text);
  background-color: #fbfcfc;
  border: 1px solid var(--checkout-field-border);
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(14, 24, 34, 0.025);
  font: 560 0.91rem/1.25 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.checkout-form-grid select {
  padding-right: 44px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #596671 50%),
    linear-gradient(135deg, #596671 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  cursor: pointer;
}

.checkout-form-grid input:hover,
.checkout-form-grid select:hover {
  background-color: #ffffff;
  border-color: #929fa9;
}

.checkout-form-grid input:focus,
.checkout-form-grid select:focus {
  background-color: #ffffff;
  border-color: var(--shop-brass-dark);
  box-shadow:
    0 0 0 4px var(--checkout-focus-ring),
    0 1px 2px rgba(14, 24, 34, 0.06);
  outline: 0;
}

.checkout-form-grid input[aria-invalid="true"],
.checkout-form-grid select[aria-invalid="true"] {
  color: #6d2922;
  background-color: #fff8f7;
  border-color: var(--shop-error);
  box-shadow: 0 0 0 3px rgba(156, 62, 50, 0.12);
}

.checkout-form-grid input:disabled,
.checkout-form-grid select:disabled {
  color: #7c868e;
  background: #eceff0;
  border-color: #d3d9dd;
  cursor: not-allowed;
}

.checkout-form-grid input:-webkit-autofill {
  -webkit-text-fill-color: var(--shop-text);
  box-shadow: inset 0 0 0 1000px #fffaf0;
}

@supports selector(:user-invalid) {
  .checkout-form-grid input:user-invalid,
  .checkout-form-grid select:user-invalid {
    background-color: #fff8f7;
    border-color: var(--shop-error);
  }
}

.checkout-freight-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  margin: 0 clamp(27px, 4vw, 38px) 27px;
  padding: 17px 18px;
  color: #5e4a22;
  background: #fbf6e9;
  border: 1px solid #e7d7b3;
  border-radius: 10px;
}

.checkout-freight-note > svg {
  width: 38px;
  height: 38px;
  padding: 7px;
  color: var(--shop-brass-dark);
  background: #ffffff;
  border: 1px solid #eadab8;
  border-radius: 8px;
}

.checkout-freight-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--shop-text);
  font-size: 0.82rem;
}

.checkout-freight-note p {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.52;
}

.checkout-payment-button {
  position: relative;
  width: calc(100% - clamp(54px, 8vw, 76px));
  min-height: 58px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 clamp(27px, 4vw, 38px);
  padding-inline: 24px !important;
  overflow: hidden;
  color: #10171e;
  background:
    linear-gradient(135deg, #deb04d 0%, var(--shop-brass) 55%, #b78221 100%);
  border: 1px solid #b68120;
  box-shadow:
    0 10px 24px rgba(152, 107, 23, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.checkout-payment-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.18), transparent 78%);
  content: "";
  opacity: 0;
  transform: translateX(-80%);
  transition:
    opacity 180ms ease,
    transform 380ms ease;
}

.checkout-payment-button > span,
.checkout-payment-button > svg {
  position: relative;
  z-index: 1;
}

.checkout-payment-button:hover:not(:disabled) {
  color: #0c1319;
  background:
    linear-gradient(135deg, #ebc36b 0%, #d6a23a 55%, #c08e28 100%);
  border-color: #a9781c;
  box-shadow:
    0 13px 29px rgba(152, 107, 23, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.checkout-payment-button:hover:not(:disabled)::before {
  opacity: 1;
  transform: translateX(80%);
}

.checkout-payment-button:focus-visible {
  outline: 3px solid rgba(199, 150, 50, 0.42);
  outline-offset: 4px;
}

.checkout-payment-button:disabled,
.checkout-payment-button[aria-disabled="true"] {
  color: #78828a;
  background: #e3e7e9;
  border-color: #d2d8dc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.checkout-payment-button.is-loading {
  color: #35404a;
  background: #d7dcdf;
  border-color: #c5cdd2;
  box-shadow: none;
  cursor: progress;
}

.checkout-payment-button.is-loading > svg {
  display: none;
}

.checkout-payment-button.is-loading::after {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-left: 10px;
  border: 2px solid rgba(53, 64, 74, 0.3);
  border-top-color: #35404a;
  border-radius: 50%;
  content: "";
  animation: checkout-spin 700ms linear infinite;
}

.checkout-form-status {
  margin: 15px clamp(27px, 4vw, 38px) 0;
  padding: 12px 14px;
  color: var(--shop-success);
  background: #edf6f1;
  border: 1px solid #c9dfd3;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.5;
}

.checkout-form-status[data-state="error"] {
  color: #7a3028;
  background: #fff3f1;
  border-color: #e5c2bd;
}

.checkout-security-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin: 17px clamp(27px, 4vw, 38px) clamp(27px, 4vw, 38px);
  color: #68747d;
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: left;
}

.checkout-security-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--shop-success);
}

.checkout-security-note p {
  max-width: 480px;
  margin: 0;
}

.checkout-security-note strong {
  color: #43515b;
}

.checkout-security-note a {
  color: var(--shop-ink);
  font-weight: 750;
}

.checkout-order-card {
  position: sticky;
  top: 104px;
  max-height: calc(100dvh - 128px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.checkout-order-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 25px 21px;
  background: linear-gradient(180deg, #ffffff, #fbfcfc);
  border-bottom: 1px solid var(--shop-line);
}

.checkout-order-card > header .eyebrow {
  margin-bottom: 4px;
}

.checkout-order-card > header h2 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

.checkout-order-card > header a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: var(--shop-brass-dark);
  font-size: 0.72rem;
  font-weight: 740;
  text-decoration-color: #d7bd82;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.checkout-order-items {
  min-height: 0;
  overflow-y: auto;
  padding: 0 24px;
  overscroll-behavior: contain;
  scrollbar-color: #bcc5cb transparent;
  scrollbar-width: thin;
}

.checkout-order-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--shop-line);
}

.checkout-order-item > img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: 8px;
}

/* Generated order details currently use an unclassed direct child div. */
.checkout-order-item > div {
  min-width: 0;
}

.checkout-order-item h3 {
  margin: 0 0 5px;
  font-size: 0.82rem;
  font-weight: 740;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.checkout-order-item > div > p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.checkout-order-item-quantity {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 3px 7px;
  color: #53616c;
  background: var(--shop-canvas);
  border: 1px solid var(--shop-line);
  border-radius: 5px;
  font-size: 0.64rem;
  font-weight: 690;
  line-height: 1;
}

.checkout-order-item-service {
  margin-top: 8px !important;
  padding: 8px 9px;
  color: #665124 !important;
  background: #fbf6e9;
  border-left: 2px solid var(--shop-brass);
  border-radius: 0 5px 5px 0;
  overflow-wrap: anywhere;
}

.checkout-order-item-price {
  margin-top: 1px;
  color: var(--shop-text);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.checkout-empty-order {
  padding: 34px 25px;
  color: var(--shop-muted);
  text-align: center;
}

.checkout-empty-order strong {
  display: block;
  margin-bottom: 5px;
  color: var(--shop-text);
  font-size: 1rem;
}

.checkout-empty-order p {
  margin: 0 0 18px;
  font-size: 0.78rem;
}

.checkout-empty-order .button-secondary {
  min-height: 45px;
  color: var(--shop-text);
  background: #ffffff;
  border-color: var(--shop-line-dark);
}

.checkout-empty-order .button-secondary:hover,
.checkout-empty-order .button-secondary:focus-visible {
  color: var(--shop-text);
  background: var(--shop-canvas);
  border-color: #aeb8bf;
}

.checkout-credit-banner {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px 25px;
  color: #685328;
  background: #fbf7ed;
  border-top: 1px solid #eadcbf;
}

.checkout-credit-banner[hidden] {
  display: none;
}

.checkout-credit-banner__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--shop-brass-dark);
  background: #ffffff;
  border: 1px solid #e0cd9f;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-credit-banner strong {
  display: block;
  margin: 0 0 2px;
  color: var(--shop-text);
  font-size: 0.75rem;
  line-height: 1.35;
}

.checkout-credit-banner p {
  margin: 0;
  color: #725e37;
  font-size: 0.67rem;
  line-height: 1.48;
}

.checkout-credit-banner[data-state="unlocked"],
.checkout-credit-banner[data-state="maximum"],
.checkout-credit-banner[data-state="applied"] {
  color: #285b45;
  background: #eef7f2;
  border-color: #c4ddcf;
}

.checkout-credit-banner[data-state="unlocked"] .checkout-credit-banner__mark,
.checkout-credit-banner[data-state="maximum"] .checkout-credit-banner__mark,
.checkout-credit-banner[data-state="applied"] .checkout-credit-banner__mark {
  color: #227153;
  border-color: #c3dccf;
}

.checkout-credit-banner[data-state="unlocked"] p,
.checkout-credit-banner[data-state="maximum"] p,
.checkout-credit-banner[data-state="applied"] p {
  color: #416b58;
}

.checkout-order-total {
  padding: 21px 25px 19px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 150, 50, 0.2), transparent 14rem),
    linear-gradient(145deg, #111e29, #0d1720);
  border-top: 1px solid #0a1219;
}

.checkout-order-total > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.checkout-order-total-row + .checkout-order-total-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-order-total span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 650;
}

.checkout-order-total output {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.2;
}

.checkout-order-credit-row span,
.checkout-order-credit-row output {
  color: #bde4d0;
}

.checkout-order-credit-row[hidden] {
  display: none;
}

.checkout-order-total-final {
  margin-top: 14px !important;
  padding-top: 14px !important;
}

.checkout-order-total-final span {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 760;
}

.checkout-order-total-final output {
  color: var(--shop-brass-light);
  font-size: 1.65rem;
  font-weight: 790;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.checkout-order-total p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.51);
  font-size: 0.66rem;
  text-align: right;
}

.checkout-trust-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 18px 25px 21px;
  color: #5f6c76;
  background: #fbfcfc;
  border-top: 1px solid var(--shop-line);
  font-size: 0.68rem;
  font-weight: 620;
  list-style: none;
}

.checkout-trust-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkout-trust-list li > span {
  width: 19px;
  height: 19px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  background: var(--shop-success);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 850;
}

.checkout-footer {
  color: rgba(255, 255, 255, 0.6);
  background: var(--shop-ink);
}

.checkout-footer .footer-bottom {
  border-top: 0;
}

/* Payment confirmation */

.checkout-success-page {
  min-height: calc(100dvh - 146px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
}

.checkout-success-card {
  position: relative;
  max-width: 780px;
  display: grid;
  justify-items: center;
  padding: clamp(38px, 7vw, 68px) clamp(25px, 7vw, 70px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% -15%, rgba(199, 150, 50, 0.12), transparent 23rem),
    #ffffff;
  border: 1px solid var(--checkout-card-border);
  border-radius: 18px;
  box-shadow: var(--checkout-card-shadow);
}

.checkout-success-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #9d6f19, var(--shop-brass-light), #9d6f19);
  content: "";
}

.checkout-result-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--shop-brass-dark);
  background: #faf4e7;
  border: 1px solid #e6d1a5;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(14, 24, 34, 0.08);
  font-size: 1.65rem;
  font-weight: 820;
}

.checkout-result-icon.is-loading > span {
  width: 28px;
  height: 28px;
  border: 3px solid #e3d3ae;
  border-top-color: var(--shop-brass-dark);
  border-radius: 50%;
  animation: checkout-spin 780ms linear infinite;
}

.checkout-result-icon.is-success {
  color: #ffffff;
  background: var(--shop-success);
  border-color: var(--shop-success);
  box-shadow: 0 13px 30px rgba(35, 99, 71, 0.2);
}

.checkout-result-icon.is-error {
  color: #ffffff;
  background: var(--shop-error);
  border-color: var(--shop-error);
  box-shadow: 0 13px 30px rgba(156, 62, 50, 0.18);
}

.checkout-success-card > .eyebrow {
  margin-bottom: 8px;
}

.checkout-success-card > h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.15rem, 5.6vw, 3.75rem);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.checkout-result-message {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--shop-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.checkout-result-details {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  background: #f7f8f8;
  border: 1px solid var(--shop-line);
  border-radius: 11px;
  text-align: left;
}

.checkout-result-details > div {
  min-width: 0;
  padding: 17px 18px;
}

.checkout-result-details > div + div {
  border-left: 1px solid var(--shop-line);
}

.checkout-result-details dt {
  margin-bottom: 5px;
  color: #77828a;
  font-size: 0.62rem;
  font-weight: 730;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.checkout-result-details dd {
  margin: 0;
  color: var(--shop-text);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.checkout-invoice-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

/* The hosted-invoice link is the primary action but has no button-primary. */
.checkout-invoice-actions .button:not(.button-secondary) {
  color: #10171e;
  background: var(--shop-brass);
  border-color: var(--shop-brass);
}

.checkout-invoice-actions .button:not(.button-secondary):hover,
.checkout-invoice-actions .button:not(.button-secondary):focus-visible {
  color: #10171e;
  background: var(--shop-brass-light);
  border-color: var(--shop-brass-light);
}

.checkout-invoice-actions .button-secondary {
  color: var(--shop-text);
  background: #ffffff;
  border-color: var(--shop-line-dark);
}

.checkout-invoice-actions .button-secondary:hover,
.checkout-invoice-actions .button-secondary:focus-visible {
  color: var(--shop-text);
  background: var(--shop-canvas);
  border-color: #aeb8bf;
}

.checkout-result-next {
  width: 100%;
  margin-top: 28px;
  padding: 18px 20px;
  color: #596771;
  background: #f8f5ed;
  border: 1px solid #e5d9bd;
  border-radius: 10px;
  text-align: left;
}

.checkout-result-next strong {
  display: block;
  margin-bottom: 3px;
  color: var(--shop-text);
  font-size: 0.83rem;
}

.checkout-result-next p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.checkout-result-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 25px;
  margin-top: 27px;
}

.checkout-result-links a {
  color: var(--shop-text);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration-color: var(--shop-brass);
  text-underline-offset: 4px;
}

/* Active cart-to-checkout CTA. The disabled state remains visibly inert. */

.cart-checkout {
  min-height: 55px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10171e;
  background:
    linear-gradient(135deg, #deb04d 0%, var(--shop-brass) 58%, #b78221 100%);
  border-color: #b68120;
  box-shadow:
    0 9px 21px rgba(152, 107, 23, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.cart-checkout:hover:not(:disabled),
.cart-checkout:focus-visible:not(:disabled) {
  color: #0c1319;
  background:
    linear-gradient(135deg, #ebc36b 0%, #d6a23a 58%, #c08e28 100%);
  border-color: #a9781c;
}

.cart-checkout:focus-visible {
  outline: 3px solid rgba(199, 150, 50, 0.42);
  outline-offset: 3px;
}

.cart-checkout:disabled,
.cart-checkout[aria-disabled="true"] {
  color: #737e86;
  background: #e2e6e8;
  border-color: #d1d7db;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

@keyframes checkout-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 1080px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(325px, 370px);
    gap: 28px;
  }

  .checkout-page-heading {
    gap: 32px;
  }
}

@media (max-width: 899px) {
  .checkout-header .shop-header-inner {
    min-height: 72px;
  }

  .checkout-page {
    padding-top: 24px;
  }

  .checkout-page-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 29px;
  }

  .checkout-page-heading > p {
    max-width: 650px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-order-card {
    position: static;
    max-height: none;
    order: -1;
  }

  .checkout-order-items {
    max-height: 340px;
  }

  .checkout-form-card,
  .checkout-order-card {
    box-shadow:
      0 1px 2px rgba(14, 24, 34, 0.04),
      0 16px 42px rgba(14, 24, 34, 0.07);
  }

  .checkout-success-page {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .checkout-header-actions {
    gap: 12px;
  }

  .checkout-back-link {
    font-size: 0.74rem;
  }

  .secure-checkout-badge {
    padding-inline: 9px;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .checkout-page {
    padding-bottom: 64px;
  }

  .checkout-breadcrumb {
    margin-bottom: 27px;
    overflow-x: auto;
  }

  .checkout-breadcrumb ol {
    width: max-content;
    padding-right: 16px;
  }

  .checkout-page-heading h1 {
    font-size: clamp(2.55rem, 14vw, 3.45rem);
  }

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

  .checkout-field-wide {
    grid-column: auto;
  }

  .checkout-form-section {
    padding: 25px 20px 28px;
  }

  .checkout-fulfillment-option {
    grid-template-columns: 20px 38px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .checkout-fulfillment-icon {
    width: 36px;
    height: 36px;
  }

  .checkout-fulfillment-price {
    grid-column: 3;
    justify-self: start;
  }

  .checkout-delivery-panel {
    padding: 17px 15px;
  }

  .checkout-address-autocomplete {
    padding: 14px;
  }

  .checkout-address-search-control > svg {
    top: calc(var(--checkout-field-height) / 2);
  }

  .checkout-address-search-progress {
    top: calc((var(--checkout-field-height) / 2) - 8px);
  }

  .checkout-address-suggestion-panel {
    position: static;
    margin-top: 7px;
    box-shadow:
      0 1px 3px rgba(14, 24, 34, 0.07),
      0 10px 24px rgba(14, 24, 34, 0.1);
  }

  .checkout-address-suggestions {
    max-height: min(240px, 32dvh);
  }

  .checkout-address-suggestion {
    min-height: 52px;
    padding: 11px 12px;
  }

  .checkout-address-suggestion__main,
  .checkout-address-suggestion__secondary {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .checkout-address-manual-button {
    min-height: 48px;
    margin-top: 5px;
  }

  .checkout-address-details-heading {
    display: grid;
    gap: 3px;
  }

  .checkout-address-details-heading span {
    text-align: left;
  }

  .checkout-delivery-quote-button {
    width: 100%;
  }

  .checkout-section-heading {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }

  .checkout-section-heading > span {
    width: 32px;
    height: 29px;
  }

  .checkout-freight-note {
    grid-template-columns: 34px minmax(0, 1fr);
    margin: 0 20px 23px;
    padding: 15px;
  }

  .checkout-freight-note > svg {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .checkout-payment-button {
    width: calc(100% - 40px);
    margin-inline: 20px;
  }

  .checkout-form-status,
  .checkout-security-note {
    margin-inline: 20px;
  }

  .checkout-security-note {
    margin-bottom: 25px;
  }

  .checkout-order-card > header,
  .checkout-trust-list {
    padding-inline: 20px;
  }

  .checkout-order-items {
    padding-inline: 20px;
  }

  .checkout-order-total {
    padding-inline: 20px;
  }

  .checkout-credit-banner {
    padding-inline: 20px;
  }

  .checkout-success-page {
    padding: 38px 0 58px;
  }

  .checkout-success-card {
    border-radius: 14px;
  }

  .checkout-result-details {
    grid-template-columns: 1fr;
  }

  .checkout-result-details > div + div {
    border-top: 1px solid var(--shop-line);
    border-left: 0;
  }

  .checkout-invoice-actions {
    display: grid;
  }

  .checkout-invoice-actions .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .checkout-header .shop-brand > img {
    width: 41px;
    height: 41px;
  }

  .checkout-header .brand-copy small {
    display: none;
  }

  .checkout-header-actions .checkout-back-link {
    width: 44px;
    justify-content: center;
    font-size: 0;
  }

  .checkout-header-actions .checkout-back-link span {
    font-size: 1.18rem;
  }

  .checkout-breadcrumb li {
    gap: 8px;
  }

  .checkout-breadcrumb li + li::before {
    width: 14px;
  }

  .checkout-form-card,
  .checkout-order-card {
    border-radius: 12px;
  }

  .checkout-order-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .checkout-order-item > img {
    width: 58px;
    height: 58px;
  }

  .checkout-order-item-price {
    grid-column: 2;
    text-align: left;
  }

  .checkout-result-icon {
    width: 66px;
    height: 66px;
  }
}

/* Mobile commerce refinement
 *
 * These rules intentionally live after the original responsive layer. The
 * desktop marketplace remains unchanged while phone layouts use a shorter,
 * task-led rhythm and consistently sized touch controls.
 */

.config-selection-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.mobile-purchase-bar {
  display: none;
}

.cart-item__quantity {
  display: grid;
  grid-template-columns: 36px 40px 36px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--shop-line-dark);
  border-radius: 7px;
}

.cart-item__quantity button,
.cart-item__quantity-value {
  min-height: 36px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  color: var(--shop-text);
  background: #ffffff;
  border: 0;
  font: 720 0.8rem/1 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

.cart-item__quantity button {
  cursor: pointer;
}

.cart-item__quantity button:hover:not(:disabled),
.cart-item__quantity button:focus-visible {
  background: #f2f5f6;
}

.cart-item__quantity button:disabled {
  color: #aab1b6;
  cursor: not-allowed;
}

.cart-item__quantity-value {
  border-inline: 1px solid var(--shop-line);
  font-variant-numeric: tabular-nums;
}

.checkout-order-toggle {
  display: none;
}

.shop-mobile-jump {
  display: none;
}

@media (max-width: 899px) {
  .shop-shell {
    --header-height: 68px;
  }

  .shop-header-inner,
  .checkout-header .shop-header-inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding-block: 8px;
  }

  .shop-shell .site-header {
    min-height: 68px;
  }

  .shop-shell .brand {
    min-width: 0;
    overflow: hidden;
  }

  .shop-shell .brand-copy {
    min-width: 0;
  }

  .shop-shell .brand-copy strong,
  .shop-shell .brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shop-shell .brand-logo,
  .shop-header .shop-brand > img {
    width: 40px;
    height: 40px;
  }

  .shop-shell .nav-backdrop {
    inset: 68px 0 0;
  }

  .shop-shell .site-nav,
  .shop-shell .site-nav.is-open {
    top: 68px;
    width: min(100%, 420px);
    padding: 12px 12px max(20px, env(safe-area-inset-bottom));
  }

  .shop-shell .site-nav > a,
  .shop-shell .nav-shop-link,
  .shop-shell .nav-category-menu a,
  .shop-shell .nav-all-products,
  .shop-shell .nav-cta {
    min-height: 48px;
  }

  .shop-shell .nav-dropdown-menu {
    padding: 7px;
  }

  .shop-shell .nav-category summary {
    min-height: 48px;
    cursor: pointer;
  }

  .shop-shell .nav-category-chevron {
    display: block;
  }

  .shop-shell .nav-category > .nav-category-menu {
    display: none !important;
  }

  .shop-shell .nav-category[open] > .nav-category-menu {
    display: grid !important;
  }

  .shop-shell .nav-toggle,
  .shop-shell .mobile-cart-button {
    min-width: 46px;
    min-height: 46px;
  }

  .checkout-header .shop-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .checkout-page {
    padding-top: 18px;
  }

  .checkout-breadcrumb {
    margin-bottom: 22px;
    padding-bottom: 15px;
    scrollbar-width: none;
  }

  .checkout-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .checkout-page-heading {
    margin-bottom: 24px;
  }

  .checkout-page-heading h1 {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }

  .checkout-page-heading > p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .checkout-layout {
    gap: 16px;
  }

  .checkout-order-card {
    order: -1;
    border-radius: 13px;
  }

  .checkout-order-card > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px 19px 16px;
  }

  .checkout-order-card > header a {
    min-height: 44px;
  }

  .checkout-order-toggle {
    grid-column: 1 / -1;
    min-height: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 15px;
    gap: 12px;
    align-items: center;
    padding: 9px 12px;
    color: var(--shop-text);
    background: #f6f8f9;
    border: 1px solid #d6dde1;
    border-radius: 8px;
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
  }

  .checkout-order-toggle[hidden] {
    display: none;
  }

  .checkout-order-toggle:hover,
  .checkout-order-toggle:focus-visible {
    background: #fff9ec;
    border-color: var(--shop-brass);
  }

  .checkout-order-toggle__copy {
    min-width: 0;
    display: grid;
    gap: 1px;
  }

  .checkout-order-toggle__copy strong {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .checkout-order-toggle__copy small {
    color: var(--shop-muted);
    font-size: 0.67rem;
    font-weight: 620;
  }

  .checkout-order-toggle__total {
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 780;
    white-space: nowrap;
  }

  .checkout-order-toggle__chevron {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
  }

  .checkout-order-toggle[aria-expanded="true"]
    .checkout-order-toggle__chevron {
    transform: translateY(2px) rotate(225deg);
  }

  .checkout-order-card.is-mobile-collapsed
    > :not(header) {
    display: none !important;
  }

  .checkout-form-section {
    padding: 27px 24px 29px;
  }

  .checkout-form-grid input,
  .checkout-form-grid select,
  .checkout-address-search-control > input {
    height: 54px;
    font-size: 1rem;
  }

  .checkout-security-note {
    max-width: none;
  }
}

/* Final phone overrides stay last so checkout's legacy media rules cannot
 * re-expand controls after the mobile-commerce layer. */

@media (max-width: 700px) {
  .config-selection-summary {
    position: static;
    width: auto;
    height: auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    overflow: visible;
    margin: -3px 0 -7px;
    padding: 8px 11px;
    color: #4e5d68;
    background: #f4f6f7;
    border: 1px solid #d9e0e4;
    border-radius: 8px;
    clip: auto;
    clip-path: none;
    font-size: 0.72rem;
    font-weight: 690;
    line-height: 1.4;
    white-space: normal;
  }

  .mobile-purchase-bar {
    display: grid;
  }

  .mobile-purchase-bar[hidden] {
    display: none;
  }
}

@media (max-width: 640px) {
  .shop-mobile-jump {
    display: flex;
  }

  .cart-item__quantity button,
  .cart-item__quantity-value {
    min-height: 44px;
  }

  .checkout-header-actions {
    gap: 7px;
  }

  .checkout-header .brand-copy small {
    display: none;
  }

  .checkout-page {
    padding-bottom: 54px;
  }

  .checkout-page-heading {
    gap: 9px;
    margin-bottom: 20px;
  }

  .checkout-page-heading h1 {
    font-size: clamp(2.25rem, 12vw, 2.9rem);
  }

  .checkout-page-heading > p {
    font-size: 0.79rem;
  }

  .checkout-form-section {
    padding: 23px 18px 25px;
  }

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

  .checkout-field-wide {
    grid-column: 1 / -1;
  }

  .checkout-fulfillment-option {
    min-height: 76px;
    grid-template-columns: 20px 38px minmax(0, 1fr);
    padding: 13px 12px;
  }

  .checkout-fulfillment-price {
    grid-column: 3;
  }

  .checkout-delivery-panel {
    padding: 14px 12px;
  }

  .checkout-address-autocomplete {
    padding: 12px;
  }

  .checkout-freight-note {
    margin: 0 18px 19px;
    padding: 13px;
  }

  .checkout-payment-button {
    width: calc(100% - 36px);
    min-height: 56px !important;
    margin-inline: 18px;
  }

  .checkout-form-status,
  .checkout-security-note {
    margin-inline: 18px;
  }

  .checkout-security-note {
    margin-bottom: 23px;
    font-size: 0.67rem;
    line-height: 1.45;
  }

  .checkout-order-card > header {
    padding: 15px 16px;
  }

  .checkout-order-card > header h2 {
    font-size: 1.14rem;
  }

  .checkout-order-card > header .eyebrow {
    display: none;
  }

  .checkout-order-items,
  .checkout-credit-banner,
  .checkout-order-total,
  .checkout-trust-list {
    padding-inline: 16px;
  }
}

@media (max-width: 430px) {
  .secure-checkout-badge span {
    display: none;
  }

  .secure-checkout-badge {
    width: 42px;
    min-width: 42px;
    justify-content: center;
    padding-inline: 0;
  }

  .checkout-breadcrumb ol {
    gap: 8px;
    font-size: 0.67rem;
  }

  .checkout-breadcrumb li {
    gap: 8px;
  }

  .checkout-breadcrumb li + li::before {
    width: 13px;
  }

  .checkout-order-toggle {
    grid-template-columns: minmax(0, 1fr) auto 13px;
    gap: 8px;
  }
}

@media (max-width: 359px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field-wide {
    grid-column: auto;
  }

  .checkout-form-section {
    padding-inline: 15px;
  }

  .checkout-freight-note,
  .checkout-payment-button,
  .checkout-form-status,
  .checkout-security-note {
    margin-inline: 15px;
  }

  .checkout-payment-button {
    width: calc(100% - 30px);
  }
}

body.cart-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.checkout-order-details {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.checkout-error-summary {
  margin: 18px 18px 0;
  padding: 14px 15px;
  color: #742f28;
  background: #fff3f1;
  border: 1px solid #e5c2bd;
  border-left: 4px solid var(--shop-error);
  border-radius: 8px;
}

.checkout-error-summary[hidden] {
  display: none;
}

.checkout-error-summary:focus {
  outline: 3px solid rgba(156, 62, 50, 0.22);
  outline-offset: 2px;
}

.checkout-error-summary strong {
  display: block;
  color: var(--shop-text);
  font-size: 0.82rem;
}

.checkout-error-summary ul {
  display: grid;
  gap: 4px;
  margin: 7px 0 0;
  padding-left: 18px;
}

.checkout-error-summary a {
  color: #742f28;
  font-size: 0.75rem;
  font-weight: 680;
  text-underline-offset: 3px;
}

.checkout-field-error {
  display: block;
  margin-top: 1px;
  color: #87382f;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.4;
}

.checkout-result-status {
  width: 100%;
  display: grid;
  justify-items: center;
}

.checkout-result-status > .eyebrow {
  margin-bottom: 8px;
}

.checkout-result-status > h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.15rem, 5.6vw, 3.75rem);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

@media (max-width: 640px) {
  .checkout-error-summary {
    margin: 14px 15px 0;
  }

  .checkout-result-links {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .checkout-result-links a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    background: #f6f8f9;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    text-decoration: none;
  }
}

/* Keep the narrowest catalogue and cart layouts last in the cascade. */

@media (max-width: 430px) {
  .shop-shell .shop-header-inner {
    width: calc(100% - 20px);
  }

  .shop-shell .brand-copy strong {
    font-size: 0.84rem;
  }

  .shop-shell .brand-copy small {
    font-size: 0.57rem;
  }

  .shop-shell .brand-logo,
  .shop-header .shop-brand > img {
    width: 38px;
    height: 38px;
  }

  .shop-hero-actions {
    grid-template-columns: 1fr;
  }

  .shop-hero-actions .button,
  .shop-text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .shop-feature-purchase {
    grid-template-columns: minmax(0, 0.68fr) minmax(132px, 1.05fr);
    gap: 9px;
  }

  .shop-product-card,
  .shop-product-card:last-child {
    grid-template-columns: 101px minmax(0, 1fr);
  }

  .shop-product-card-content {
    padding-inline: 12px;
  }

  .shop-product-card h3 {
    font-size: 1rem;
  }

  .cart-item__actions {
    grid-template-columns: 1fr auto;
  }

  .cart-item__price {
    grid-column: 1 / -1;
  }

  .cart-item__quantity {
    width: min(100%, 150px);
  }

  .cart-coming-soon {
    display: none;
  }
}

@media (max-width: 359px) {
  .shop-shell .brand-copy small {
    display: none;
  }

  .shop-shell .mobile-cart-button,
  .shop-shell .nav-toggle {
    min-width: 44px;
    width: 44px;
    padding-inline: 5px;
  }

  .shop-product-card,
  .shop-product-card:last-child {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .shop-product-card-media {
    min-height: 178px;
  }

  .shop-product-card-badge {
    display: none;
  }

  .length-option-list {
    grid-template-columns: 1fr;
  }

  .length-option {
    min-height: 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
  }

  .length-option__price {
    min-width: 76px;
    padding: 0 22px 0 9px;
    border-top: 0;
    border-left: 1px solid var(--shop-line);
    text-align: right;
  }

  .mobile-purchase-bar {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 9px;
    padding-inline: 10px;
  }

  .mobile-purchase-bar__button {
    padding-inline: 9px;
  }
}
