:root {
  --navy: #0b172a;
  --navy-2: #152742;
  --ink: #182132;
  --gold: #c6a04a;
  --cream: #f6f2e9;
  --paper: #fffdfa;
  --muted: #697285;
  --line: #dcd7cd;
  --green: #234b40;
  --burgundy: #641e31;
  --shadow: 0 18px 45px rgba(11, 23, 42, 0.12);
  --radius: 18px;
  --header-height: 123px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.app-shell {
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  padding: 0 clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 23, 42, 0.08);
}
.brand {
  flex-shrink: 0;
  border: 0;
  background: none;
  padding: 0;
}
.brand img {
  width: 166px;
  height: 98px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin: auto;
  align-items: center;
}
.desktop-nav button,
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.desktop-nav button:hover {
  color: var(--gold);
}
.desktop-nav .nav-link,
.desktop-nav .nav-trigger {
  color: var(--ink);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-link:hover,
.nav-trigger:hover {
  color: var(--gold);
}
.nav-menu {
  position: relative;
}
.nav-trigger span {
  margin-left: 4px;
  color: var(--gold);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  width: max-content;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(11, 23, 42, 0.1);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: 0.18s ease;
}
.nav-dropdown-right {
  left: auto;
  right: 0;
  transform: translate(0, -8px);
}
.collections-dropdown {
  min-width: 270px;
}
.nav-cascade {
  position: relative;
}
.nav-cascade-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-cascade-trigger > span {
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
}
.nav-cascade-panel {
  position: absolute;
  z-index: 3;
  top: -10px;
  left: calc(100% - 4px);
  min-width: 245px;
  padding: 12px;
  border: 1px solid rgba(11, 23, 42, 0.1);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: 0.18s ease;
}
.suit-cascade-panel {
  width: 470px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shirt-cascade-panel {
  display: grid;
}
.nav-cascade:hover > .nav-cascade-panel,
.nav-cascade:focus-within > .nav-cascade-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.nav-cascade-group {
  padding: 4px;
  border-radius: 9px;
  background: #faf7f0;
}
.nav-cascade-group.summer-cascade-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.nav-cascade-group.summer-cascade-group > span {
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.72rem;
}
.nav-cascade-panel .nav-cascade-heading {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-menu:hover .nav-dropdown-right,
.nav-menu:focus-within .nav-dropdown-right {
  transform: translate(0, 0);
}
.nav-dropdown a,
.nav-dropdown button {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  text-align: left;
  font-size: 0.78rem;
}
.nav-dropdown a:hover,
.nav-dropdown button:hover {
  background: #f2eee4;
  color: var(--navy);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mode-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.view {
  display: none;
  min-height: 65vh;
}
.view.active {
  display: block;
}
.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--navy);
  color: white;
  overflow: hidden;
}
.hero-copy {
  padding: clamp(60px, 9vw, 140px) clamp(26px, 7vw, 110px);
  align-self: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 750;
  text-transform: uppercase;
}
.hero-copy > .eyebrow {
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.13em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero h1,
.page-intro h1,
.checkout-layout h1,
.sales-login h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 630px;
  color: #d9deea;
  font-size: 1.12rem;
  line-height: 1.75;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.primary,
.secondary {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 1px solid var(--gold);
  transition: 0.2s;
}
.primary {
  background: var(--gold);
  color: var(--navy);
}
.primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.secondary {
  background: transparent;
  color: inherit;
}
.secondary:hover {
  background: rgba(198, 160, 74, 0.12);
}
.full {
  width: 100%;
  margin-top: 12px;
}
.small {
  padding: 10px 16px;
  font-size: 0.78rem;
}
.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 52px;
  color: #b9c2d3;
  font-size: 0.75rem;
}
.trust-row span:before {
  content: "✓";
  color: var(--gold);
  margin-right: 7px;
}
.hero-visual {
  position: relative;
  min-height: 680px;
  background: #111b2c;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.88) contrast(1.03);
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy) 0, transparent 28%),
    linear-gradient(0deg, rgba(11, 23, 42, 0.28), transparent 45%);
  pointer-events: none;
}
.content-section {
  padding: clamp(60px, 8vw, 120px) clamp(22px, 7vw, 110px);
  max-width: 1500px;
  margin: auto;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-heading h2,
.feature-split h2,
.look-summary h2,
.card-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}
.occasion-price {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.025em;
}
.occasion-price strong {
  color: var(--navy);
  font-weight: 750;
}
.link-button {
  border: 0;
  background: none;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.occasion-card {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 23, 42, 0.06);
  transition: 0.25s;
}
.occasion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.occasion-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  margin-bottom: 22px;
}
.occasion-card span,
.occasion-card small {
  margin-inline: 24px;
}
.occasion-card span {
  font-family: Georgia, serif;
  font-size: 1.45rem;
}
.occasion-card small {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.feature-split > img {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.feature-split p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}
.feature-split .primary {
  margin-top: 18px;
}
.page-intro {
  padding: clamp(60px, 8vw, 110px) clamp(22px, 7vw, 110px) 35px;
  background: var(--navy);
  color: white;
}
.page-intro.compact {
  padding-bottom: 70px;
}
.page-intro h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}
.page-intro > p:last-child {
  max-width: 800px;
  color: #c6cedb;
  line-height: 1.7;
}
.catalog-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 15;
  padding: 18px clamp(22px, 7vw, 110px);
  background: rgba(246, 242, 233, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0 16px;
  min-width: 300px;
}
.search-field input {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  padding: 12px;
}
.filter-chips {
  position: relative;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 2px;
}
.filter-chips button,
.filter-menu summary {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 0.78rem;
}
.filter-menu {
  position: relative;
}
.filter-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
}
.filter-menu summary::-webkit-details-marker {
  display: none;
}
.filter-menu summary > span {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.filter-chips button.active,
.filter-menu summary.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.filter-dropdown {
  position: absolute;
  z-index: 25;
  top: calc(100% + 10px);
  left: 0;
  padding: 12px;
  border: 1px solid rgba(11, 23, 42, 0.12);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.suit-filter-dropdown {
  width: min(700px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
}
.shirt-filter-dropdown {
  width: 240px;
  display: grid;
  gap: 4px;
}
.filter-dropdown > button,
.filter-group > button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
}
.suit-filter-dropdown > button {
  grid-column: 1 / -1;
  color: var(--navy);
  font-weight: 800;
}
.filter-group {
  padding: 5px;
  border-radius: 10px;
  background: #faf7f0;
}
.filter-group .filter-group-heading {
  color: var(--navy);
  font-weight: 800;
}
.filter-group > span {
  display: block;
  padding: 6px 15px 10px;
  color: var(--muted);
  font-size: 0.72rem;
}
.filter-dropdown button:hover,
.filter-dropdown button:focus-visible {
  background: #f0eadc;
}
.product-grid {
  max-width: 1500px;
  margin: auto;
  padding: 42px clamp(22px, 7vw, 110px) 100px;
  display: grid;
  gap: 64px;
}
.collection-group {
  min-width: 0;
}
.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.collection-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0;
}
.collection-heading > span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.collection-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(11, 23, 42, 0.06);
  border: 1px solid rgba(11, 23, 42, 0.06);
  transition: 0.25s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.product-image {
  height: 440px;
  position: relative;
  background: #e9e5dd;
  overflow: hidden;
}
.product-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.suit-thumbnail-image {
  height: 480px;
  display: grid;
  place-items: center;
  background: #e8e4dc;
}
.suit-thumbnail-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  clip-path: inset(4px 0 4px 0);
  filter: saturate(1.02) contrast(1.03);
}
.suit-thumbnail-image.suit-thumbnail-cover > img {
  object-fit: cover;
  object-position: center top;
}
.shirt-thumbnail-image {
  height: auto;
  aspect-ratio: 4 / 5;
  padding: 0;
  background: #efefed;
}
.shirt-thumbnail-image > img {
  position: absolute;
  top: -1%;
  left: 50%;
  width: 138%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  object-fit: initial;
  filter: saturate(1.02) contrast(1.04);
}
.fabric-swatch-image {
  height: 300px;
  padding: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f4f1ea, #e8e2d8);
}
.fabric-swatch-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
  box-shadow:
    0 12px 28px rgba(11, 23, 42, 0.12),
    inset 0 0 0 1px rgba(11, 23, 42, 0.08);
}
.fabric-swatch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shirt-card-image {
  height: auto;
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-rows: 79% 21%;
  background: #f0f0ef;
}
.shirt-main-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
  box-sizing: border-box;
}
.shirt-main-frame > img {
  width: 100%;
  height: auto;
  display: block;
}
.shirt-main-frame.linen-shirt-frame > img {
  position: absolute;
  top: 63%;
  left: 50%;
  width: 105%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.shirt-main-frame::before,
.shirt-main-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 21%;
  background: #efefed;
}
.shirt-main-frame::before {
  left: 0;
}
.shirt-main-frame::after {
  right: 0;
}
.shirt-main-frame.linen-shirt-frame::before,
.shirt-main-frame.linen-shirt-frame::after {
  display: none;
}
.shirt-swatch-strip {
  min-height: 0;
  overflow: hidden;
}
.shirt-swatch-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.shirt-card-image .favorite {
  z-index: 3;
}
.product-image .favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}
.product-image .favorite.saved {
  background: var(--gold);
}
.product-info {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-info h3 {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  margin: 10px 0 4px;
}
.product-info > p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
  height: 2.6em;
  overflow: hidden;
}
.product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}
.product-price strong {
  font-size: 1.05rem;
}
.product-price button {
  border: 0;
  background: none;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.builder-layout,
.checkout-layout {
  padding: 50px clamp(22px, 7vw, 110px) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 40px;
  max-width: 1500px;
  margin: auto;
  align-items: start;
}
.builder-form,
.measurement-card,
.checkout-form,
.order-card,
.sales-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 8px 25px rgba(11, 23, 42, 0.05);
}
.step-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 8px 0 24px;
}
.step-heading[hidden],
.field-grid[hidden] {
  display: none;
}
.step-heading:not(:first-child) {
  margin-top: 45px;
}
.step-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
}
.step-heading h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}
.step-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-grid label,
.full-field,
.sales-login label {
  display: grid;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field-grid label[hidden] {
  display: none;
}
.field-grid .fit-field-hidden {
  display: none !important;
}
.field-grid input,
.field-grid select,
.full-field textarea,
.full-field input,
.sales-login input,
.panel-heading input,
.panel-heading select,
#summaryQuote {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}
.field-grid input:focus,
.field-grid select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 160, 74, 0.15);
}
.lining-preview {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f6f0;
  padding: 10px;
  text-transform: none;
  letter-spacing: normal;
}
.lining-preview[hidden] {
  display: none;
}
.lining-preview img {
  width: 88px;
  height: 88px;
  border-radius: 9px;
  object-fit: cover;
  object-position: center;
}
.lining-preview span {
  display: grid;
  gap: 4px;
}
.lining-preview strong {
  font-family: Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
}
.lining-preview small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.full-field {
  margin-top: 18px;
}
.design-options {
  display: grid;
  gap: 12px;
}
.design-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.design-section summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}
.design-section summary::-webkit-details-marker {
  display: none;
}
.design-section summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
}
.design-section[open] summary::after {
  content: "−";
}
.design-section summary span {
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.design-section > .field-grid {
  padding: 4px 20px 22px;
}
.custom-measurement-note {
  align-self: end;
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: #f8f6f0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.custom-measurement-note[hidden] {
  display: none;
}
.inline-size-guide {
  margin: 0 20px 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f6f0;
}
.inline-size-guide[hidden] {
  display: none;
}
.inline-size-guide figcaption {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}
.inline-size-guide figcaption strong {
  font-family: Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
}
.inline-size-guide figcaption span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.inline-size-guide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.accessory-grid {
  margin-top: 18px;
}
.look-summary {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.summary-visual {
  height: 300px;
  border-radius: 12px;
  background: center top/cover no-repeat;
  margin-bottom: 24px;
}
.summary-visual.is-suit {
  height: 380px;
  background-color: #f1eee7;
  background-size: contain;
}
.look-summary h2 {
  font-size: 2rem;
}
.summary-details {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.summary-details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 9px;
  font-size: 0.78rem;
}
.summary-details span {
  color: #aeb8c9;
}
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 22px 0 4px;
}
.price-line strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
}
.look-summary > small,
.order-card > small {
  display: block;
  color: #aeb8c9;
  line-height: 1.5;
}
.look-summary .secondary {
  color: white;
}
.design-guide-launch {
  margin-top: 18px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(202, 162, 74, 0.22);
}
.design-guide-launch:hover {
  background: white;
  border-color: white;
}
.design-guide-dialog {
  width: min(940px, calc(100vw - 28px));
  max-height: 90vh;
  overflow-y: auto;
}
.design-guide-content {
  padding: clamp(30px, 5vw, 58px);
}
.design-guide-content h2 {
  margin: 4px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400;
}
.design-guide-intro {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.design-guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.design-guide-tabs button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}
.design-guide-tabs button.active {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}
.design-guide-panel {
  display: grid;
  gap: 10px;
}
.design-guide-panel[hidden] {
  display: none;
}
.design-guide-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.design-guide-visuals figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.design-guide-visuals img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  background: white;
}
.design-guide-visuals figcaption {
  padding: 10px 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}
.pocket-square-guide-visuals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pocket-square-guide-visuals img {
  aspect-ratio: 1;
}
.design-guide-panel details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}
.design-guide-panel summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 800;
}
.design-guide-panel details[open] summary {
  border-bottom: 1px solid var(--line);
  background: #f7f3e9;
}
.design-guide-panel details p {
  margin: 0;
  padding: 16px 18px 20px;
  color: var(--muted);
  line-height: 1.7;
}
.design-guide-detail-body {
  padding: 18px;
}
.design-guide-detail-body h3 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.design-guide-detail-body h3:not(:first-child) {
  margin-top: 26px;
}
.design-guide-detail-body > p {
  margin: 4px 0 0;
  padding: 0;
}
.design-guide-detail-body .design-guide-visuals {
  margin-bottom: 18px;
}
.design-guide-detail-body .design-guide-visuals img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.design-guide-detail-body .guide-image-single {
  grid-template-columns: minmax(0, 1fr);
}
.design-guide-detail-body .guide-image-single figure {
  max-width: 820px;
  margin-inline: auto;
}
.design-guide-detail-body .guide-size-chart figure {
  max-width: none;
}
.design-guide-detail-body .guide-size-chart {
  overflow-x: auto;
}
.design-guide-detail-body .guide-size-chart img {
  min-width: 720px;
}
.design-guide-detail-body .guide-monogram-pair img {
  width: 100%;
  height: clamp(250px, 38vw, 420px);
  object-fit: cover;
}
.guide-reference-chart {
  margin: 0 0 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.guide-reference-chart img {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}
.guide-reference-chart figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .design-guide-visuals,
  .pocket-square-guide-visuals {
    grid-template-columns: 1fr;
  }
  .design-guide-detail-body {
    padding: 12px;
  }
  .design-guide-detail-body .guide-size-chart img {
    min-width: 620px;
  }
  .guide-reference-chart img {
    min-width: 620px;
  }
}
.fit-choice-grid {
  max-width: 1100px;
  margin: 45px auto 25px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fit-choice {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 28px;
  border-radius: var(--radius);
}
.fit-choice.active {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}
.fit-choice > span {
  color: var(--gold);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.fit-choice h3 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  margin: 10px 0;
}
.fit-choice p {
  color: var(--muted);
  line-height: 1.5;
}
.measurement-card {
  max-width: 1100px;
  margin: 0 auto 100px;
}
.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.unit-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.unit-toggle button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.7rem;
}
.unit-toggle button.active {
  background: var(--navy);
  color: white;
}
.measurement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.measurement-grid label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 750;
}
.measurement-grid input {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
}
.checkout-layout {
  grid-template-columns: 1.1fr 0.65fr;
}
.checkout-layout h1 {
  font-size: clamp(3rem, 5vw, 5rem);
}
.checkout-layout > section > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}
.checkout-steps {
  display: flex;
  gap: 5px;
  margin: 32px 0;
}
.checkout-steps span {
  flex: 1;
  padding: 10px 5px;
  border-top: 3px solid var(--line);
  font-size: 0.7rem;
  color: var(--muted);
}
.checkout-steps .done,
.checkout-steps .active {
  border-color: var(--gold);
  color: var(--navy);
}
.checkout-addons {
  margin-top: 24px;
  border: 1px solid rgba(198, 160, 74, 0.55);
  border-radius: 14px;
  background: #fff;
  padding: 22px;
}
.checkout-addons h2 {
  margin: 5px 0 8px;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.checkout-addons > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.shipping-card {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 22px;
}
.shipping-card h2 {
  margin: 5px 0 8px;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.shipping-card > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.shipping-address .wide-field { grid-column: 1 / -1; }
.shipping-address .optional {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}
.shipping-rate-button { margin-top: 18px; }
.shipping-options {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.shipping-options > small { color: var(--muted); }
.shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
}
.shipping-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.shipping-option input { accent-color: var(--navy); }
.shipping-option span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.shipping-error { color: #9b2c2c; }
.checkout-choice {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.checkout-choice legend {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-choice label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.checkout-choice label:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.checkout-choice input { margin-top: 3px; accent-color: var(--navy); }
.checkout-choice span { display: grid; gap: 3px; }
.checkout-choice small { color: var(--muted); line-height: 1.45; }
.charge-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0;
  padding: 15px;
  border-radius: 12px;
  background: #f4efe3;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.55;
}
.charge-consent input { margin-top: 4px; accent-color: var(--navy); }
.receipt-shell {
  min-height: 70vh;
  padding: 70px 22px 110px;
  display: grid;
  place-items: start center;
}
.receipt-card {
  width: min(780px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 58px);
  box-shadow: 0 18px 50px rgba(11, 23, 42, 0.09);
}
.receipt-card h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.receipt-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.receipt-facts { margin: 26px 0; border-block: 1px solid var(--line); }
.receipt-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.receipt-facts div:last-child { border-bottom: 0; }
.measurement-unlock { margin: 28px 0; padding: 24px; border: 1px solid rgba(198, 160, 74, 0.65); border-radius: 14px; background: #fff; }
.measurement-unlock h2 { font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0 10px; }
.measurement-unlock > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.measurement-unlock .saia-widget-container { margin-top: 20px; }
.secure-card {
  margin-top: 22px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.secure-card div {
  display: grid;
  gap: 4px;
}
.secure-card small {
  color: var(--muted);
}
.order-card {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  background: var(--navy);
  color: white;
}
.order-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.order-item div {
  display: grid;
  gap: 4px;
}
.order-item small {
  color: #aeb8c9;
}
.order-totals {
  margin: 24px 0;
  display: grid;
  gap: 14px;
}
.order-totals div {
  display: flex;
  justify-content: space-between;
}
.order-totals .deposit-total {
  padding: 16px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  font-size: 1.15rem;
}
.experience-grid {
  max-width: 1250px;
  margin: auto;
  padding: 55px 22px 110px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.experience-grid article {
  background: var(--paper);
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.experience-grid span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
}
.experience-grid h3 {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  margin: 22px 0 10px;
}
.experience-grid p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
footer {
  background: #07111f;
  color: #c4cad4;
  padding: 35px clamp(22px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 0.75rem;
}
footer > div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer strong {
  color: white;
  letter-spacing: 0.12em;
}
.footer-links a,
.footer-links button,
.footer-contact a {
  text-decoration: underline;
  text-decoration-color: rgba(197, 162, 75, 0.6);
  text-underline-offset: 4px;
}
.footer-links button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.footer-links button:hover,
.footer-contact a:hover {
  color: white;
}
.document-view {
  min-height: 70vh;
  padding: clamp(34px, 5vw, 74px) clamp(16px, 4vw, 64px) 80px;
  background: #f4f0e7;
}
.document-toolbar {
  width: min(1180px, 100%);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(18px, 3vw, 40px);
}
.document-back {
  border: 1px solid rgba(11, 23, 42, 0.18);
  border-radius: 999px;
  padding: 11px 17px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
}
.document-back:hover {
  border-color: var(--gold);
}
.document-heading h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.document-heading > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.document-action {
  margin: 0;
  white-space: nowrap;
}
.document-action[hidden] {
  display: none;
}
.document-body {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  font-size: 1rem;
  line-height: 1.65;
}
.guide-hero-panel,
.guide-section {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(11, 23, 42, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 16px 40px rgba(11, 23, 42, 0.08);
}
.guide-hero-panel {
  overflow: hidden;
  position: relative;
  background: var(--navy);
  color: white;
}
.guide-hero-panel::after {
  content: "W";
  position: absolute;
  right: -25px;
  bottom: -90px;
  color: rgba(198, 160, 74, 0.09);
  font-family: Georgia, serif;
  font-size: 18rem;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}
.guide-kicker,
.guide-section-heading > span,
.color-profile-head .guide-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.guide-hero-panel h2,
.guide-section-heading h2,
.contact-panel h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.guide-hero-panel > p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  color: #dbe1ec;
  font-size: 1.05rem;
}
.guide-hero-panel blockquote {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 30px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.guide-section-heading {
  margin-bottom: 28px;
}
.guide-section-heading h2 {
  color: var(--navy);
}
.guide-section-heading p {
  max-width: 700px;
  margin: -8px 0 0;
  color: var(--muted);
}
.guide-two-col,
.fit-path-grid,
.guide-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.guide-two-col.compact {
  gap: 16px;
}
.guide-two-col h3,
.guide-two-col h4,
.guide-callout-grid h3,
.fit-path-grid h3,
.pairing-options h3 {
  color: var(--navy);
}
.guide-quote-card,
.guide-info-card,
.guide-callout-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}
.guide-quote-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.guide-quote-card strong {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  font-weight: 400;
  line-height: 1.2;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.principle-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.principle-grid article {
  padding: 26px;
  border-top: 3px solid var(--gold);
  background: var(--cream);
}
.principle-grid b {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.principle-grid h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.principle-grid p,
.guide-info-card p,
.guide-callout-grid p {
  margin: 0;
  color: var(--muted);
}
.fit-path-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f5ef;
}
.fit-path-grid article.featured {
  border-color: var(--gold);
  background: #fffaf0;
}
.fit-path-grid article.final-sale {
  border-color: rgba(100, 30, 49, 0.25);
  background: #fff8f8;
}
.fit-path-grid article > span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fit-path-grid h3 {
  margin: 10px 0;
  font-family: Georgia, serif;
  font-size: 1.65rem;
}
.fit-path-grid article p,
.fit-path-grid article li {
  color: var(--muted);
}
.fit-path-grid ul {
  margin: 18px 0 0;
  padding-left: 20px;
}
.guide-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}
.guide-steps li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
}
.guide-steps b {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.guide-steps strong {
  color: var(--navy);
}
.guide-steps p {
  margin: 4px 0 0;
  color: var(--muted);
}
.guide-callout-grid {
  margin-top: 20px;
}
.guide-table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.guide-table-caption {
  margin: 0;
  padding: 14px 18px;
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.guide-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.guide-table th,
.guide-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #ebe7df;
  text-align: left;
  white-space: nowrap;
}
.guide-table th {
  background: #f1eee7;
  color: var(--navy);
}
.guide-table tbody tr:nth-child(even) {
  background: #faf9f6;
}
.undertone-grid,
.contrast-grid {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.undertone-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.undertone-grid h3 {
  margin: 14px 0 8px;
}
.undertone-grid p {
  margin: 0;
  color: #dbe1ec;
}
.undertone {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 99px;
}
.undertone.cool {
  background: linear-gradient(90deg, #88a8d4, #c7acd2);
}
.undertone.warm {
  background: linear-gradient(90deg, #d19a62, #be6f58);
}
.undertone.neutral {
  background: linear-gradient(90deg, #92a3b2, #c5a47a);
}
.contrast-grid article {
  padding: 24px;
  border-top: 3px solid var(--gold);
  background: var(--cream);
}
.contrast-grid b {
  color: var(--navy);
  font-size: 1.1rem;
}
.contrast-grid p {
  margin: 7px 0;
  color: var(--muted);
}
.contrast-grid span {
  font-size: 0.92rem;
}
.guide-note {
  margin-top: 22px;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: #f2eee4;
}
.guide-note strong {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.guide-note p {
  margin: 6px 0 0;
}
.color-profile-grid {
  display: grid;
  gap: 18px;
}
.color-profile-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfaf7;
}
.color-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.color-profile-head h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.color-swatch-row {
  display: flex;
  gap: 7px;
}
.color-swatch-row span {
  width: 34px;
  height: 34px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(11, 23, 42, 0.13);
}
.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-chips span {
  padding: 7px 11px;
  border: 1px solid #ded8cc;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 0.82rem;
}
.signature-line {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
}
.signature-line strong {
  color: var(--gold);
  white-space: nowrap;
}
.use-care {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.pairing-list {
  display: grid;
  gap: 18px;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.pairing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 40px rgba(11, 23, 42, 0.08);
}
.pairing-number {
  position: absolute;
  right: 26px;
  top: 18px;
  color: #e9e5dc;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}
.pairing-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pairing-title h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
}
.pairing-title p {
  margin: 0;
  color: var(--muted);
}
.suit-color-block {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border: 5px solid #f3efe7;
  border-radius: 50%;
  background: var(--suit);
  box-shadow: 0 0 0 1px rgba(11, 23, 42, 0.13);
}
.pairing-options {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pairing-options h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.guide-check-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.guide-check-list li {
  padding: 16px 18px 16px 48px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf7;
}
.guide-check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: var(--gold);
  font-weight: 900;
}
.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--navy);
  color: white;
}
.contact-panel h2 {
  margin-bottom: 8px;
}
.contact-panel p {
  margin: 0;
  color: #cfd6e1;
}
.contact-panel > div:last-child {
  display: grid;
  gap: 10px;
}
.contact-panel a {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-align: center;
}
.contact-panel a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.measurement-widget {
  width: min(1100px, 100%);
  margin: 28px auto 0;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(11, 23, 42, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 16px 40px rgba(11, 23, 42, 0.08);
  scroll-margin-top: calc(var(--header-height) + 23px);
}
.measurement-widget[hidden] {
  display: none;
}
.measurement-widget-heading {
  margin-bottom: 28px;
}
.measurement-widget-heading h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.measurement-widget-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}
.saia-widget-container {
  width: 100%;
  min-height: 320px;
}
dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  width: min(760px, calc(100vw - 28px));
  background: var(--paper);
}
dialog::backdrop {
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: white;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  z-index: 2;
}
.dialog-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dialog-product img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top;
}
.dialog-copy {
  padding: 50px 34px;
  max-height: 580px;
  overflow-y: auto;
}
.dialog-copy h2 {
  font-family: Georgia, serif;
  font-size: 2.3rem;
  margin: 0 0 10px;
}
.dialog-copy p {
  color: var(--muted);
  line-height: 1.7;
}
.dialog-copy h3 {
  font-family: Georgia, serif;
  margin: 22px 0 4px;
}
.dialog-copy .fabric-character {
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: #f7f3e9;
}
.suit-detail-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: 92vh;
  overflow-y: auto;
}
.shirt-detail-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: 92vh;
  overflow-y: auto;
}
.square-detail-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: 90vh;
  overflow-y: auto;
}
.square-detail-dialog .dialog-product > img {
  height: 516px;
}
.square-detail-dialog .dialog-copy {
  max-height: none;
  overflow: visible;
  padding: 38px 30px;
}
.square-detail-dialog .detail-fabric-swatch img {
  height: 96px;
}
.suit-detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 48px;
  padding: 52px 58px 44px;
}
.suit-detail-summary h2,
.suit-style-guide h3 {
  font-family: Georgia, serif;
}
.suit-detail-summary h2 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.suit-detail-summary h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}
.suit-detail-summary .detail-section-label {
  margin: 26px 0 0;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.suit-detail-summary .detail-section-label + h3 {
  margin-top: 8px;
}
.suit-detail-summary p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.suit-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  padding: 20px;
  background: #f2eee4;
}
.suit-facts span {
  color: var(--muted);
}
.detail-fabric-swatch {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 23, 42, 0.1);
  border-radius: 12px;
  background: #f7f5ef;
}
.detail-fabric-swatch img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}
.detail-fabric-swatch span {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
}
.detail-fabric-swatch small,
.detail-fabric-swatch em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-fabric-swatch strong {
  color: var(--navy);
  line-height: 1.25;
}
.suit-style-guide {
  padding: 48px 58px 56px;
  background: #071528;
  color: white;
}
.suit-style-guide h3 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.suit-look-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.suit-look-grid figure {
  margin: 0;
}
.suit-look-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 444 / 933;
  object-fit: cover;
  object-position: center top;
  background: #061426;
  border-bottom: 4px solid var(--gold);
}
.shirt-detail-summary {
  padding: 54px 58px 50px;
}
.shirt-detail-copy {
  max-width: 1120px;
}
.shirt-construction-section {
  padding: 0 58px 56px;
}
.shirt-construction-section .eyebrow {
  margin-bottom: 14px;
}
.shirt-construction-section > h3 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.08;
}
.shirt-construction-visual {
  max-width: 520px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 14px;
  border-bottom: 5px solid var(--gold);
  background: #ededeb;
}
.shirt-construction-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.shirt-single-visual {
  position: relative;
  aspect-ratio: 4 / 5;
}
.shirt-single-visual img {
  position: absolute;
  top: -1%;
  left: 50%;
  width: 138%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
.shirt-single-visual::before,
.shirt-single-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 21%;
  background: #efefed;
  pointer-events: none;
}
.shirt-single-visual::before {
  left: 0;
}
.shirt-single-visual::after {
  right: 0;
}
.linen-single-visual img {
  top: 60%;
  width: 105%;
  transform: translate(-50%, -50%);
}
.linen-single-visual::before,
.linen-single-visual::after {
  display: none;
}
.shirt-options-visual {
  max-width: 1080px;
  background: #efefed;
  border: 1px solid rgba(11, 23, 42, 0.08);
  border-bottom: 5px solid var(--gold);
}
.shirt-options-visual img {
  width: 100%;
  height: auto;
  image-rendering: auto;
}
.shirt-option-labels {
  width: min(1080px, 100%);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.shirt-option-labels.has-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shirt-option-labels div {
  padding: 13px 15px;
  border: 1px solid rgba(11, 23, 42, 0.12);
  border-radius: 10px;
  background: #fff;
}
.shirt-option-labels span,
.shirt-option-labels strong {
  display: block;
}
.shirt-option-labels span {
  margin-bottom: 4px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.shirt-option-labels strong {
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
}
.shirt-detail-swatch {
  width: min(720px, 100%);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.shirt-detail-swatch img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(11, 23, 42, 0.08);
}
.shirt-detail-swatch span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fabric-intro-actions {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fabric-intro-actions a {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}
.fabric-intro-actions a:hover {
  border-color: var(--gold);
  background: rgba(198, 160, 74, 0.12);
}
.fabric-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fabric-comparison-grid article {
  padding: 22px;
  border-top: 3px solid var(--gold);
  background: var(--cream);
}
.fabric-comparison-grid span,
.fabric-profile-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fabric-comparison-grid h3 {
  margin: 8px 0 5px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.fabric-comparison-grid p {
  margin: 0;
  color: var(--muted);
}
.fabric-family-grid {
  display: grid;
  gap: 18px;
}
.fabric-profile-card {
  scroll-margin-top: calc(var(--header-height) + 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.fabric-profile-head {
  padding: 26px 28px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 0%, #f7f2e8 100%);
}
.fabric-profile-head h3 {
  margin: 8px 0 4px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}
.fabric-profile-head p {
  margin: 0;
  color: var(--muted);
}
.fabric-price {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 400;
  white-space: nowrap;
}
.fabric-price small {
  display: block;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  text-align: right;
}
.fabric-profile-body {
  padding: 26px 28px 30px;
}
.fabric-profile-story {
  margin: 0 0 22px;
  color: var(--muted);
}
.fabric-facts {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}
.fabric-facts div {
  padding: 16px;
  background: #fbfaf7;
}
.fabric-facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fabric-facts strong {
  color: var(--navy);
  font-size: 0.94rem;
}
.fabric-price-breakdown {
  margin: -6px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fabric-price-breakdown span {
  padding: 8px 12px;
  display: inline-flex;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
}
.fabric-price-breakdown strong {
  color: var(--navy);
}
.fabric-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.fabric-list-grid h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
}
.fabric-list-grid ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}
.fabric-list-grid li + li {
  margin-top: 7px;
}
.fabric-care {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #f7f2e8;
}
.fabric-care strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}
.fabric-care p {
  margin: 0;
  color: var(--muted);
}
.shirt-detail-copy h2,
.shirt-detail-copy h3,
.shirt-style-guide h3 {
  font-family: Georgia, serif;
}
.shirt-detail-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1;
}
.shirt-detail-copy h3 {
  margin: 26px 0 6px;
  font-size: 1.35rem;
}
.shirt-detail-copy p {
  color: var(--muted);
  line-height: 1.7;
}
.shirt-detail-copy .shirt-lede {
  font-size: 1.04rem;
}
.shirt-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 18px;
  margin-top: 24px;
  padding: 20px;
  background: #f2eee4;
}
.shirt-facts span {
  color: var(--muted);
}
.shirt-style-guide {
  padding: 48px 58px 56px;
  background: #071528;
  color: white;
}
.shirt-style-guide h3 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.shirt-look-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.shirt-look-grid figure {
  margin: 0;
}
.shirt-style-visual {
  position: relative;
  aspect-ratio: 0.72;
  overflow: hidden;
  background: #ededeb;
  border-bottom: 4px solid var(--gold);
  padding-top: 18px;
  box-sizing: border-box;
}
.shirt-style-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.shirt-look-grid figcaption {
  display: grid;
  gap: 5px;
  padding-top: 13px;
}
.shirt-look-grid figcaption span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shirt-look-grid figcaption strong {
  font-family: Georgia, serif;
  font-size: 1.15rem;
}
.shirt-look-grid figcaption small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}
.suit-look-grid figcaption {
  display: grid;
  gap: 7px;
  padding-top: 13px;
}
.suit-look-grid figcaption span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.suit-look-grid figcaption strong {
  font-family: Georgia, serif;
  font-size: 1rem;
}
.pocket-square-rule {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
}
.pocket-square-rule strong {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dialog-price {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  margin: 24px 0;
}
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  opacity: 0;
  background: var(--navy);
  color: white;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: 0.25s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sales-app {
  min-height: 100vh;
  background: #eef0f4;
}
.sales-login {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 35px;
}
.sales-login > img {
  width: 170px;
  height: 130px;
  object-fit: contain;
}
.sales-login h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  max-width: 720px;
}
.sales-login > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.7;
}
.sales-login form {
  display: flex;
  gap: 12px;
  align-items: end;
  margin: 25px 0;
}
.sales-login label {
  text-align: left;
}
.sales-workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px 1fr;
}
.sales-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--navy);
  color: white;
  padding: 25px 16px;
  display: flex;
  flex-direction: column;
}
.sales-sidebar img {
  width: 130px;
  height: 90px;
  object-fit: contain;
  filter: invert(1) brightness(4);
  margin: 0 auto 20px;
}
.sales-sidebar p {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 35px;
}
.sales-sidebar button {
  border: 0;
  background: none;
  color: #c8d0dd;
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 4px;
}
.sales-sidebar button.active {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}
.sales-sidebar #exitSalesMode {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.sales-main {
  min-width: 0;
  padding: 35px;
}
.sales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.sales-header h2 {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  margin: 0;
}
.sales-view {
  display: none;
}
.sales-view.active {
  display: block;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.stat-grid article {
  background: white;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  gap: 7px;
  box-shadow: 0 6px 20px rgba(11, 23, 42, 0.05);
}
.stat-grid article > span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.stat-grid strong {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  color: var(--navy);
}
.stat-grid small {
  color: var(--muted);
}
.sales-panel {
  box-shadow: none;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.panel-heading h3 {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  margin: 0;
}
.panel-heading input,
.panel-heading select {
  width: auto;
  min-width: 230px;
}
.empty-state {
  padding: 50px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.client-list,
.quote-list {
  display: grid;
  gap: 10px;
}
.client-row,
.quote-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
}
.client-row h4,
.quote-row h4 {
  margin: 0 0 5px;
}
.client-row p,
.quote-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.quote-items {
  margin: 22px 0;
  display: grid;
  gap: 8px;
}
.quote-item {
  display: flex;
  justify-content: space-between;
  background: var(--cream);
  padding: 12px 14px;
  border-radius: 10px;
}
.printable-summary {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.printable-summary .summary-logo {
  width: 120px;
}
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}
.summary-table th,
.summary-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
#clientDialog form {
  padding: 42px;
}
#clientDialog h2 {
  font-family: Georgia, serif;
  font-size: 2rem;
}
.mobile-only,
.mobile-drawer,
.drawer-backdrop {
  display: none;
}
@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }
  .occasion-grid,
  .collection-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .measurement-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-only {
    display: block;
  }
  .icon-button {
    border: 0;
    background: none;
    font-size: 1.35rem;
  }
  .topbar {
    gap: 14px;
  }
  .brand {
    margin-right: auto;
  }
  .mobile-drawer {
    display: flex;
    position: fixed;
    z-index: 60;
    inset: 0 auto 0 0;
    width: min(340px, 86vw);
    background: var(--paper);
    transform: translateX(-105%);
    transition: 0.25s;
    padding: 20px;
    flex-direction: column;
  }
  .mobile-drawer.open {
    transform: translateX(0);
  }
  .drawer-backdrop {
    position: fixed;
    z-index: 55;
    inset: 0;
    background: rgba(7, 17, 31, 0.6);
  }
  .drawer-backdrop.open {
    display: block;
  }
  .drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px 25px;
    font-weight: 800;
  }
  .drawer-head button {
    border: 0;
    background: none;
    font-size: 1.8rem;
  }
  .mobile-drawer > button,
  .drawer-section > button,
  .drawer-section > a {
    border: 0;
    background: none;
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
    color: var(--ink);
  }
  .drawer-collection-group summary {
    position: relative;
    padding: 13px 30px 13px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.86rem;
    list-style: none;
    cursor: pointer;
  }
  .drawer-collection-group summary::-webkit-details-marker {
    display: none;
  }
  .drawer-collection-group summary::after {
    content: "+";
    position: absolute;
    right: 10px;
    color: var(--gold);
    font-weight: 800;
  }
  .drawer-collection-group[open] > summary::after {
    content: "−";
  }
  .drawer-submenu {
    display: grid;
    padding: 4px 0 8px 12px;
    border-left: 1px solid rgba(198, 160, 74, 0.35);
  }
  .drawer-submenu > button {
    border: 0;
    background: none;
    padding: 10px;
    color: var(--ink);
    font-size: 0.8rem;
    text-align: left;
  }
  .drawer-collection-group.nested summary {
    padding-block: 10px;
    border-bottom: 0;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
  }
  .mobile-drawer {
    overflow-y: auto;
  }
  .drawer-section {
    display: grid;
    margin-bottom: 14px;
  }
  .drawer-section-title {
    padding: 12px 10px 5px;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
}
@media (max-width: 820px) {
  :root {
    --header-height: 96px;
  }
  .topbar {
    padding: 0 14px;
  }
  .brand img {
    width: 116px;
    height: 78px;
  }
  .mode-button {
    padding: 9px 11px;
    font-size: 0.65rem;
  }
  .text-button {
    font-size: 0.72rem;
  }
  .document-view {
    padding: 26px 10px 54px;
  }
  .document-toolbar {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 8px;
  }
  .document-back {
    width: max-content;
  }
  .document-action {
    width: 100%;
    white-space: normal;
  }
  .document-body {
    gap: 14px;
  }
  .guide-hero-panel,
  .guide-section {
    padding: 24px 18px;
    border-radius: 10px;
  }
  .guide-two-col,
  .fit-path-grid,
  .guide-callout-grid,
  .principle-grid,
  .principle-grid.three,
  .guide-steps,
  .undertone-grid,
  .contrast-grid,
  .pairing-options,
  .guide-check-list {
    grid-template-columns: 1fr;
  }
  .fabric-comparison-grid,
  .fabric-facts,
  .fabric-list-grid {
    grid-template-columns: 1fr;
  }
  .fabric-profile-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .fabric-price {
    white-space: normal;
  }
  .fabric-price small {
    text-align: left;
  }
  .shirt-detail-swatch {
    grid-template-columns: 1fr;
  }
  .guide-hero-panel::after {
    right: -55px;
    bottom: -40px;
    font-size: 10rem;
  }
  .color-profile-head,
  .signature-line,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .color-swatch-row {
    flex-wrap: wrap;
  }
  .color-swatch-row span {
    width: 30px;
    height: 30px;
  }
  .signature-line strong {
    white-space: normal;
  }
  .pairing-number {
    font-size: 3.6rem;
  }
  .pairing-title {
    padding-top: 38px;
    align-items: flex-start;
  }
  .suit-color-block {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .contact-panel > div:last-child,
  .contact-panel a {
    width: 100%;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 65px 24px 45px;
  }
  .hero-visual {
    min-height: 640px;
  }
  .hero-visual:after {
    background: linear-gradient(180deg, var(--navy), transparent 25%);
  }
  .trust-row {
    margin-top: 35px;
  }
  .occasion-grid,
  .collection-products {
    grid-template-columns: 1fr 1fr;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar {
    display: grid;
  }
  .filter-chips {
    width: 100%;
  }
  .search-field {
    min-width: 0;
  }
  .builder-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    padding: 28px 18px 70px;
  }
  .look-summary,
  .order-card {
    position: static;
  }
  .fit-choice-grid {
    grid-template-columns: 1fr;
  }
  .measurement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .sales-workspace {
    grid-template-columns: 1fr;
  }
  .sales-sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .sales-sidebar img,
  .sales-sidebar p {
    display: none;
  }
  .sales-sidebar button {
    font-size: 0.7rem;
    padding: 10px;
  }
  .sales-sidebar #exitSalesMode {
    margin: 0;
  }
  .sales-main {
    padding: 22px 15px;
  }
  .sales-header {
    align-items: start;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dialog-product {
    grid-template-columns: 1fr;
  }
  .dialog-product img {
    height: 360px;
  }
  .dialog-copy {
    padding: 30px 24px;
    max-height: none;
  }
  .square-detail-dialog .dialog-product > img {
    height: 360px;
  }
  .suit-detail-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 22px 30px;
  }
  .shirt-detail-summary {
    padding: 38px 22px 32px;
  }
  .shirt-construction-section {
    padding: 0 22px 38px;
  }
  .shirt-detail-copy h2 {
    padding-right: 34px;
  }
  .suit-detail-summary h2 {
    padding-right: 34px;
  }
  .suit-style-guide {
    padding: 36px 18px 40px;
  }
  .suit-look-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shirt-style-guide {
    padding: 36px 18px 40px;
  }
  .shirt-look-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .shirt-style-visual {
    aspect-ratio: 0.82;
  }
  footer {
    display: grid;
  }
  .sales-login form {
    display: grid;
    width: min(360px, 100%);
  }
}
@media (max-width: 560px) {
  .filter-chips {
    position: relative;
  }
  .filter-menu {
    position: static;
  }
  .filter-dropdown,
  .suit-filter-dropdown,
  .shirt-filter-dropdown {
    right: 0;
    left: 0;
    width: 100%;
  }
  .suit-filter-dropdown {
    grid-template-columns: 1fr;
    max-height: min(62vh, 520px);
    overflow-y: auto;
  }
  .hero h1 {
    font-size: 3.45rem;
  }
  .button-row > * {
    width: 100%;
  }
  .occasion-grid,
  .collection-products {
    grid-template-columns: 1fr;
  }
  .occasion-card img {
    height: auto;
  }
  .product-image {
    height: 440px;
  }
  .product-image.suit-thumbnail-image {
    height: 520px;
  }
  .product-image.shirt-thumbnail-image {
    height: 400px;
  }
  .product-image.fabric-swatch-image {
    height: 320px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .shirt-option-labels,
  .shirt-option-labels.has-three {
    grid-template-columns: 1fr;
  }
  .measurement-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-section {
    padding-inline: 18px;
  }
  .page-intro {
    padding-inline: 20px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .sales-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .top-actions .text-button {
    display: none;
  }
  .section-heading {
    align-items: start;
    display: grid;
  }
  .card-heading {
    display: grid;
  }
  .hero-visual {
    min-height: 520px;
  }
}
@media print {
  body {
    background: white;
  }
  .topbar,
  .sales-sidebar,
  .sales-header,
  .panel-heading button,
  footer,
  .sales-view:not(#sales-summaries) {
    display: none !important;
  }
  .sales-workspace,
  .sales-main {
    display: block;
    padding: 0;
  }
  .sales-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  #sales-summaries {
    display: block !important;
  }
  #summaryQuote,
  .panel-heading .eyebrow {
    display: none;
  }
  .printable-summary {
    border: 0;
    padding: 0;
  }
  .printable-summary .summary-logo {
    width: 150px;
  }
}

/* Shopping cart and catalog-owned fabric details. */
.cart-button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.cart-button svg { width: 24px; height: 24px; flex-shrink: 0; }
#cartCount { min-width: 24px; padding: 3px 6px; border-radius: 20px; background: var(--navy); color: white; font-size: 13px; text-align: center; }
.choose-fabric { margin: 10px 0 25px; text-decoration: underline; text-underline-offset: 4px; }
#lookBuilder input[readonly], #fabricSelect:disabled, #colorSelect:disabled { background: #f7f5f0; color: var(--navy); opacity: 1; cursor: default; }
#fabricSelect:disabled, #colorSelect:disabled { appearance: none; background-image: none; }
.cart-panel { max-width: 1050px; margin: 0 auto 70px; padding: clamp(20px, 4vw, 44px); border: 1px solid var(--border); border-radius: 24px; background: white; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid #e0dbd0; }
.cart-item > img { width: 90px; height: 112px; object-fit: cover; border-radius: 8px; }
.cart-item h2 { font-size: 24px; margin: 0 0 8px; }
.cart-item p { margin: 0 0 8px; color: var(--muted); }
.cart-item details { margin-top: 15px; }
.cart-item summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-item dl { font-size: 14px; }
.cart-item dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #eee; }
.cart-item dd { margin: 0; text-align: right; }
.cart-item-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 20px; }
.cart-item-actions button { text-decoration: underline; text-underline-offset: 3px; }
.cart-subtotal { display: flex; justify-content: space-between; gap: 20px; font-size: 25px; margin: 28px 0 12px; }
.cart-panel > p { color: var(--muted); }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; }
.cart-actions button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 560px) {
  .top-actions .cart-button { display: inline-flex; }
  .cart-button > span:first-of-type { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr); gap: 16px; }
  .cart-item > img { width: 58px; height: 76px; }
  .cart-item h2 { font-size: 21px; }
  .cart-item-actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-actions > button { width: 100%; }
}

.checkout-code-entry { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:8px; }
.checkout-code-entry input { flex:1; min-width:140px; text-transform:uppercase; }
#checkoutCodeNotice { color:#176747; }
