@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --atlas-paper: #eef2f1;
  --atlas-paper-light: #f7f8f6;
  --atlas-ink: #1e334a;
  --atlas-muted: #596d7e;
  --atlas-line: #cbd5d6;
  --atlas-tab: #dce5e3;
  --atlas-coral: #bd574a;
  --atlas-coral-deep: #93463e;
  --atlas-display: "Barlow", "Arial Narrow", sans-serif;
  --atlas-shadow: 0 14px 38px rgb(30 51 74 / 8%);
}

html { scroll-padding-top: 100px; }
html, body.swatch-store { background: var(--atlas-paper); }
body.swatch-store {
  min-height: 100vh;
  background-color: var(--atlas-paper);
  background-image: none;
  color: var(--atlas-ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}
/* Keep the existing thread divider sweep inside its section on narrow screens. */
body.swatch-store [data-thread-divider] { overflow-x: clip; }
body.swatch-store h1,
body.swatch-store h2,
body.swatch-store h3,
body.swatch-store h4 { font-family: var(--atlas-display); }
body.swatch-store ::selection { background: #bd574a; color: #fff; }
body.swatch-store input,
body.swatch-store textarea { caret-color: var(--atlas-coral); }
body.swatch-store .product-price,
body.swatch-store .section-count,
body.swatch-store .nav-count,
body.swatch-store .cart-total-row strong { font-variant-numeric: tabular-nums; }
body.swatch-store :focus-visible { outline: 3px solid var(--atlas-coral); outline-offset: 3px; }
body.swatch-store [hidden] { display: none !important; }
body.swatch-store a { text-underline-offset: 3px; }
body.swatch-store button { touch-action: manipulation; }
body.swatch-store ::-webkit-scrollbar { width: 10px; height: 10px; }
body.swatch-store ::-webkit-scrollbar-track { background: var(--atlas-paper); }
body.swatch-store ::-webkit-scrollbar-thumb { border: 2px solid var(--atlas-paper); background: #9aadb1; }
body.swatch-store ::-webkit-scrollbar-thumb:hover { background: #6c858c; }

/* The header is a paper index: each tab opens a real destination. */
html[data-store-appearance-ready="true"] body.swatch-store > .site-header,
body.swatch-store > .site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(170px, 225px);
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  min-height: 76px;
  margin: 0;
  padding: 10px clamp(18px, 4.5vw, 72px);
  border: 0;
  border-bottom: 1px solid var(--atlas-line);
  border-radius: 0;
  background: var(--atlas-paper-light);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .brand { text-decoration: none; }
body.swatch-store .brand .wordmark {
  color: var(--atlas-ink);
  font: 700 27px/1 var(--atlas-display);
  letter-spacing: -.03em;
}
body.swatch-store .brand .wordmark span { color: var(--accent-dark, var(--atlas-coral-deep)); }
body.swatch-store .brand small {
  display: block;
  margin-top: 5px;
  color: var(--atlas-muted);
  font: 600 10px/1.1 var(--atlas-display);
  letter-spacing: .15em;
  text-transform: uppercase;
}
body.swatch-store .site-nav {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--atlas-ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .site-nav .jelly-radio__skin {
  height: 40px;
  padding: 0 13px;
  border: 1px solid transparent !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: var(--atlas-ink) !important;
  font: 600 14px/1 var(--atlas-display);
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
body.swatch-store .site-nav .jelly-radio__chip[data-on="true"] .jelly-radio__skin {
  border-color: var(--atlas-coral) !important;
  background: var(--atlas-coral) !important;
  color: #fff !important;
}
body.swatch-store .site-nav .jelly-radio__chip:not([data-on="true"]):hover .jelly-radio__skin {
  border-color: var(--atlas-line) !important;
  background: var(--atlas-tab) !important;
}
body.swatch-store .site-nav .nav-count {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--atlas-ink) !important;
  color: #fff !important;
  font-size: 11px;
}
body.swatch-store .site-nav .site-options-trigger {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: transparent;
  color: var(--atlas-ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .site-nav .site-options-trigger:hover,
body.swatch-store .site-nav .site-options-trigger[aria-expanded="true"] { background: var(--atlas-tab); }
body.swatch-store .site-options-menu {
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 7px;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: var(--atlas-paper-light);
  box-shadow: var(--atlas-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .site-options-menu a {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--atlas-ink);
}
body.swatch-store .site-options-menu a:hover { background: var(--atlas-tab); }
body.swatch-store .store-top-search { width: 100%; max-width: none; margin: 0; padding: 0; }
body.swatch-store .catalog-search.site-search {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .catalog-search.site-search input {
  min-height: 38px;
  padding: 0 3px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--atlas-ink);
  font-size: 14px;
}
body.swatch-store .catalog-search.site-search input::placeholder { color: #657a89; opacity: 1; }
body.swatch-store .site-search-icon { color: var(--atlas-muted); }

/* The opening spread gives equal space to cloth and finished garments. */
body.swatch-store .material-opening {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  align-items: end;
  gap: clamp(24px, 5vw, 76px);
  width: min(100%, 1600px);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) clamp(18px, 5vw, 76px) clamp(42px, 5vw, 68px);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--atlas-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.swatch-store .opening-heading { max-width: 480px; padding-bottom: 3px; }
body.swatch-store .opening-heading h1 {
  max-width: 580px;
  margin: 0 0 19px;
  color: var(--atlas-ink);
  font: 600 clamp(42px, 4.45vw, 62px)/.99 var(--atlas-display);
  letter-spacing: -.03em;
}
body.swatch-store .opening-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--atlas-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}
body.swatch-store .material-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  min-width: 0;
}
body.swatch-store .material-entry {
  min-width: 0;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: var(--atlas-paper-light);
  box-shadow: none;
  overflow: hidden;
}
body.swatch-store .material-entry-link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
body.swatch-store .material-entry-photo {
  position: relative;
  display: grid;
  aspect-ratio: 1.36;
  overflow: hidden;
  background: #d9e2df;
}
body.swatch-store .material-entry-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s cubic-bezier(.2,.75,.25,1);
}
body.swatch-store .garment-feature-photo img { object-fit: contain; padding: 12px; background: #f1f3f0; }
body.swatch-store .material-entry-link:hover .material-entry-photo img { transform: scale(1.025); }
body.swatch-store .material-entry-copy {
  display: grid;
  align-content: start;
  min-height: 132px;
  padding: 16px 18px 17px;
  border-top: 1px solid var(--atlas-line);
}
body.swatch-store .material-entry-title {
  display: block;
  overflow: hidden;
  color: var(--atlas-ink);
  font: 600 clamp(19px, 1.7vw, 25px)/1.15 var(--atlas-display);
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.swatch-store .material-entry-desc {
  display: -webkit-box;
  min-height: 2.8em;
  margin-top: 6px;
  overflow: hidden;
  color: var(--atlas-muted);
  font-size: 14px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.swatch-store .material-entry-cta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--atlas-line);
  color: var(--accent-dark, var(--atlas-coral-deep));
  font-size: 14px;
  font-weight: 600;
}
body.swatch-store .home-product-availability {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid #304d45;
  background: #f7f8f4;
  color: #304d45;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}
body.swatch-store .home-product-availability.is-out { border-color: #7f4842; color: #7f4842; }
body.swatch-store .garment-feature-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  background: #e3eae7;
  color: var(--atlas-ink);
  font: 600 20px/1.2 var(--atlas-display);
  letter-spacing: .12em;
  text-align: center;
}

body.swatch-store .store-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(calc(100% - 36px), 1448px);
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid var(--atlas-line);
  background: transparent;
}
body.swatch-store .store-trust-strip > p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 17px clamp(10px, 2vw, 26px);
  border-right: 1px solid var(--atlas-line);
}
body.swatch-store .store-trust-strip > p:last-child { border-right: 0; }
body.swatch-store .store-trust-strip strong { color: var(--atlas-ink); font-size: 15px; font-weight: 600; }
body.swatch-store .store-trust-strip span { color: var(--atlas-muted); font-size: 13px; line-height: 1.35; }

/* Catalog sheets use ruled edges and real photography as the samples. */
body.swatch-store .catalog-section,
body.swatch-store .products-section,
body.swatch-store .reviews-section,
body.swatch-store .suggestion-section,
body.swatch-store .favorites-page,
body.swatch-store .orders-page {
  background: transparent;
  background-image: none;
}
body.swatch-store .catalog-section,
body.swatch-store .products-section,
body.swatch-store .reviews-section {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 78px) clamp(18px, 5vw, 76px);
}
body.swatch-store .products-section { min-height: calc(100vh - 76px); }
body.swatch-store .section-heading { align-items: end; margin-bottom: 20px; }
body.swatch-store .section-heading h1,
body.swatch-store .section-heading h2,
body.swatch-store .suggestion-copy h2,
body.swatch-store .orders-heading h2 {
  margin: 0;
  color: var(--atlas-ink);
  font: 600 clamp(30px, 3.3vw, 48px)/1.04 var(--atlas-display);
  letter-spacing: -.03em;
}
body.swatch-store .section-intro {
  max-width: 690px;
  margin: -5px 0 28px;
  color: var(--atlas-muted);
  font-size: 17px;
  line-height: 1.55;
}
body.swatch-store .section-count {
  margin: 0 0 3px;
  color: var(--atlas-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
body.swatch-store .filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
body.swatch-store .filter {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: transparent;
  color: var(--atlas-ink);
  font-size: 13px;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
body.swatch-store .filter.active {
  border-color: var(--atlas-coral);
  background: var(--atlas-coral);
  color: #fff;
  box-shadow: none;
}
body.swatch-store .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.swatch-store .fabric-card,
body.swatch-store .product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: var(--atlas-paper-light);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.swatch-store .fabric-card:hover,
body.swatch-store .product-card:hover {
  transform: translateY(-2px);
  border-color: #84999e;
  box-shadow: var(--atlas-shadow);
}
body.swatch-store .card-image {
  height: auto;
  aspect-ratio: 1.34;
  background: var(--swatch, #d7e0de);
  background-image: none;
}
body.swatch-store .fabric-card .card-image img,
body.swatch-store .product-card .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  background: transparent;
}
body.swatch-store .product-card .card-image { background: #e9efec; }
body.swatch-store .product-card .card-image img,
body.swatch-store .product-card .product-preview-button img {
  object-fit: contain !important;
  padding: 8px;
  background: #e9efec;
}
body.swatch-store .product-preview-button { background: transparent; }
body.swatch-store .product-preview-button img { position: absolute; inset: 0; }
body.swatch-store .fabric-preview-button {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: end;
  justify-content: start;
  padding: 12px;
  border: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(20 38 52 / 48%));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
body.swatch-store .fabric-preview-button > span {
  padding: 8px 10px;
  background: #f7f8f6;
  color: var(--atlas-ink);
}
body.swatch-store .stock-pill,
body.swatch-store .new-product-pill {
  z-index: 3;
  top: 11px;
  left: 11px;
  padding: 5px 8px;
  border: 1px solid #304d45;
  border-radius: 1px;
  background: #f7f8f4;
  color: #304d45;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .stock-pill.out { border-color: #7f4842; background: #f7f1ee; color: #7f4842; }
body.swatch-store .new-product-pill { top: auto; bottom: 11px; background: var(--atlas-coral); border-color: var(--atlas-coral); color: #fff; }
body.swatch-store .favorite-toggle,
body.swatch-store .share-card-button {
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #f7f8f4;
  color: var(--atlas-ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .share-card-button { top: 54px; }
body.swatch-store .card-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 220px;
  padding: 16px 17px 17px;
  border-top: 1px solid var(--atlas-line);
  background: var(--atlas-paper-light);
}
body.swatch-store .card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.swatch-store .card-body h2,
body.swatch-store .card-body h3 {
  margin: 0;
  color: var(--atlas-ink);
  font: 600 21px/1.15 var(--atlas-display);
  letter-spacing: -.025em;
}
body.swatch-store .product-title-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
body.swatch-store .product-price { color: var(--accent-dark, var(--atlas-coral-deep)); font-size: 17px; font-weight: 600; white-space: nowrap; }
body.swatch-store .tag {
  align-self: start;
  margin-top: 6px;
  color: var(--atlas-coral-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
body.swatch-store .card-body .desc {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 12px 0 14px;
  overflow: hidden;
  color: var(--atlas-muted);
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.swatch-store .product-card .card-body .desc { min-height: 3.1em; }
body.swatch-store .product-detail-link {
  align-self: flex-start;
  min-height: 40px;
  margin: auto 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-dark, var(--atlas-coral-deep));
  font-size: 14px;
  font-weight: 600;
}
body.swatch-store .product-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
body.swatch-store .add-to-cart-button,
body.swatch-store .ask-button,
body.swatch-store .restock-button,
body.swatch-store .product-detail-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin: 7px 0 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--accent-dark, var(--atlas-coral-deep));
  border-radius: 2px;
  background: var(--accent-dark, var(--atlas-coral-deep));
  color: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
}
body.swatch-store .add-to-cart-button:hover,
body.swatch-store .ask-button:hover,
body.swatch-store .product-detail-cart:hover { filter: brightness(.93); transform: none; }
body.swatch-store .restock-button {
  border-color: var(--atlas-line);
  background: transparent;
  color: var(--atlas-ink);
}
body.swatch-store .empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: var(--atlas-paper-light);
  color: var(--atlas-muted);
}
body.swatch-store .empty-state strong { color: var(--atlas-ink); }

/* Order, product detail and tracking keep the same paper-and-rule language. */
body.swatch-store .button-primary,
body.swatch-store .primary-link,
body.swatch-store .cart-submit,
body.swatch-store .product-detail-buy {
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid var(--accent-dark, var(--atlas-coral-deep));
  border-radius: 2px;
  background: var(--accent-dark, var(--atlas-coral-deep));
  color: #fff;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
body.swatch-store .button-primary:hover,
body.swatch-store .primary-link:hover,
body.swatch-store .product-detail-buy:hover { transform: none; filter: brightness(.93); box-shadow: none; }
body.swatch-store .button-primary:active,
body.swatch-store .primary-link:active,
body.swatch-store .add-to-cart-button:active,
body.swatch-store .ask-button:active { transform: scale(.985); }
body.swatch-store .quiet-button,
body.swatch-store .refresh-orders,
body.swatch-store .text-link {
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: transparent;
  color: var(--atlas-ink);
  box-shadow: none;
}
body.swatch-store .text-link { padding: 7px 0; border-width: 0 0 1px; color: var(--accent-dark, var(--atlas-coral-deep)); }
body.swatch-store .product-detail-dialog,
body.swatch-store .order-dialog {
  max-width: calc(100vw - 28px);
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: var(--atlas-paper-light);
  color: var(--atlas-ink);
  box-shadow: 0 24px 80px rgb(22 39 54 / 28%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .cart-dialog { width: min(720px, calc(100% - 28px)); }
body.swatch-store .product-detail-dialog { width: min(1040px, calc(100% - 28px)); }
body.swatch-store .product-detail-dialog::backdrop,
body.swatch-store .order-dialog::backdrop { background: rgb(20 37 52 / 54%); backdrop-filter: none; }
body.swatch-store .product-detail-layout { gap: clamp(20px, 4vw, 42px); }
body.swatch-store .product-detail-copy { padding: clamp(18px, 3vw, 32px); }
body.swatch-store .product-detail-copy h2,
body.swatch-store .dialog-panel h2 { color: var(--atlas-ink); font: 600 clamp(26px, 3vw, 38px)/1.02 var(--atlas-display); letter-spacing: -.04em; }
body.swatch-store .detail-collection-label,
body.swatch-store .product-detail-sizes-label {
  color: var(--atlas-coral-deep);
  font: 600 12px/1.2 var(--atlas-display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.swatch-store .product-detail-price { color: var(--accent-dark, var(--atlas-coral-deep)); font-size: 23px; font-weight: 600; }
body.swatch-store .product-detail-description,
body.swatch-store .dialog-description,
body.swatch-store .product-detail-note,
body.swatch-store .private-note { color: var(--atlas-muted); line-height: 1.55; }
body.swatch-store .product-detail-availability.is-available { color: #365f50; }
body.swatch-store .product-detail-availability.is-out { color: #8a4942; }
body.swatch-store .product-gallery-main,
body.swatch-store .product-card .card-image { background: #e9efec; }
body.swatch-store .product-detail-close,
body.swatch-store .dialog-close {
  z-index: 5;
  border: 1px solid var(--atlas-line);
  border-radius: 50%;
  background: var(--atlas-paper-light);
  color: var(--atlas-ink);
}
body.swatch-store .dialog-panel { gap: 13px; padding: clamp(22px, 4vw, 34px); }
body.swatch-store .dialog-panel label,
body.swatch-store .form-grid label { color: var(--atlas-ink); font-size: 14px; font-weight: 600; }
body.swatch-store .dialog-panel label > span,
body.swatch-store .form-grid label > span { color: var(--atlas-muted); font-weight: 400; }
body.swatch-store .dialog-panel input,
body.swatch-store .dialog-panel textarea,
body.swatch-store .dialog-panel select,
body.swatch-store .form-grid input,
body.swatch-store .form-grid textarea,
body.swatch-store .form-grid select,
body.swatch-store .cart-line input,
body.swatch-store .cart-line select,
body.swatch-store .coupon-entry input,
body.swatch-store .lookup-row input {
  min-height: 44px;
  border: 1px solid #aebdc0;
  border-radius: 2px;
  background: #fff;
  color: var(--atlas-ink);
  box-shadow: none;
  font-size: 15px;
}
body.swatch-store .dialog-panel textarea,
body.swatch-store .form-grid textarea { min-height: 104px; }
body.swatch-store .dialog-panel input:focus,
body.swatch-store .dialog-panel textarea:focus,
body.swatch-store .dialog-panel select:focus,
body.swatch-store .form-grid input:focus,
body.swatch-store .form-grid textarea:focus,
body.swatch-store .form-grid select:focus { outline: 2px solid var(--atlas-coral); outline-offset: 1px; }
body.swatch-store .order-policy-details,
body.swatch-store .order-review-summary,
body.swatch-store .cart-review-summary,
body.swatch-store .cart-section,
body.swatch-store .cart-line,
body.swatch-store .cart-order-item,
body.swatch-store .orders-panel,
body.swatch-store .order-track-card,
body.swatch-store .review-card,
body.swatch-store .suggestion-section,
body.swatch-store .form-grid,
body.swatch-store .favorites-heading,
body.swatch-store .favorites-empty {
  border: 1px solid var(--atlas-line);
  border-radius: 2px;
  background: var(--atlas-paper-light);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .order-policy-details { padding: 12px 14px; color: var(--atlas-muted); }
body.swatch-store .order-policy-details summary { color: var(--atlas-ink); font-weight: 600; }
body.swatch-store .cart-section { padding: 15px; }
body.swatch-store .cart-line { padding: 11px; }
body.swatch-store .cart-order-item { padding: 12px; }
body.swatch-store .cart-total-row { border-color: var(--atlas-line); }
body.swatch-store .cart-grand-total { color: var(--atlas-ink); }
body.swatch-store .orders-page {
  width: min(100%, 1500px);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 72px) clamp(18px, 5vw, 76px);
}
body.swatch-store .orders-hero { max-width: 840px; margin: 0 auto 32px; text-align: left; }
body.swatch-store .orders-hero h1,
body.swatch-store .favorites-heading h1 {
  margin: 0 0 12px;
  color: var(--atlas-ink);
  font: 600 clamp(38px, 5vw, 64px)/1 var(--atlas-display);
  letter-spacing: -.03em;
}
body.swatch-store .orders-hero > p,
body.swatch-store .favorites-heading > p { max-width: 680px; margin: 0; color: var(--atlas-muted); font-size: 17px; line-height: 1.55; }
body.swatch-store .orders-panel { max-width: 940px; margin: 0 auto; padding: clamp(18px, 3vw, 34px); }
body.swatch-store .orders-heading { align-items: center; }
body.swatch-store .orders-heading h2 { font-size: clamp(25px, 3vw, 36px); }
body.swatch-store .orders-help,
body.swatch-store .orders-privacy { color: var(--atlas-muted); font-size: 14px; line-height: 1.55; }
body.swatch-store .order-track-card { padding: 16px; }
body.swatch-store .order-status { border-radius: 1px; background: var(--atlas-tab); color: var(--atlas-ink); }
body.swatch-store .order-track-card h3 { color: var(--atlas-ink); }
body.swatch-store .order-track-image { border: 1px solid var(--atlas-line); border-radius: 1px; background: #e9efec; box-shadow: none; }
body.swatch-store .favorites-page { width: min(100%, 1600px); margin: 0 auto; padding: clamp(38px, 5vw, 72px) clamp(18px, 5vw, 76px); }
body.swatch-store .favorites-heading { margin: 0 0 22px; padding: 20px; }
body.swatch-store .favorites-heading h1 { font-size: clamp(34px, 4vw, 48px); }
body.swatch-store .favorites-heading .section-count { margin-top: 12px; }
body.swatch-store .suggestion-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(calc(100% - 36px), 1448px);
  margin: 0 auto clamp(42px, 6vw, 78px);
  padding: clamp(22px, 4vw, 44px);
}
body.swatch-store .suggestion-copy h2 { margin-bottom: 14px; }
body.swatch-store .suggestion-copy p { color: var(--atlas-muted); }
body.swatch-store .form-grid { padding: clamp(18px, 3vw, 28px); }
body.swatch-store .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  min-height: 76px;
  padding: 18px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--atlas-line);
  background: var(--atlas-paper-light);
  color: var(--atlas-muted);
  font-size: 13px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .site-footer a { color: var(--atlas-ink); }
body.swatch-store .site-footer .wordmark { color: var(--atlas-ink); }
body.swatch-store .site-footer .brand small { display: none; }
body.swatch-store .site-footer .custom-store-logo { max-width: 190px; object-fit: contain; }

/* Toast enters and leaves with the same short, quiet transition. */
body.swatch-store .toast {
  position: fixed;
  z-index: 100;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: block;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 16px;
  border: 1px solid var(--atlas-ink);
  border-radius: 2px;
  background: var(--atlas-ink);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: var(--atlas-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.swatch-store .toast.show { opacity: 1; transform: translateY(0); visibility: visible; }
body.swatch-store .toast.leaving { opacity: 0; transform: translateY(7px); visibility: visible; }

/* Catalog content is visible immediately; the gallery photograph is the motion focus. */
body.swatch-store .reveal,
body.swatch-store .reveal.visible { opacity: 1; transform: none; transition: none; }

@media (max-width: 1000px) {
  html[data-store-appearance-ready="true"] body.swatch-store > .site-header,
  body.swatch-store > .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 20px;
  }
  body.swatch-store .site-nav { justify-self: end; }
  body.swatch-store .store-top-search { grid-column: 1 / -1; }
  body.swatch-store .material-opening { grid-template-columns: 1fr; }
  body.swatch-store .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 138px; }
  html[data-store-appearance-ready="true"] body.swatch-store > .site-header,
  body.swatch-store > .site-header {
    position: sticky;
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    padding: 9px 14px 11px;
  }
  body.swatch-store .site-header .brand .wordmark { font-size: 24px; }
  body.swatch-store .site-header .brand small { display: none; }
  body.swatch-store .site-nav { justify-self: stretch; width: 100%; justify-content: space-between; gap: 2px; }
  body.swatch-store .site-nav .site-jelly-radio { width: auto; flex: 1 1 auto; }
  body.swatch-store .site-nav .jelly-radio__skin { height: 38px; padding: 0 8px; font-size: 12px; }
  body.swatch-store .site-nav .site-options-trigger { width: 38px; min-width: 38px; height: 38px; min-height: 38px; flex-basis: 38px; }
  body.swatch-store .store-top-search { grid-column: auto; }
  body.swatch-store .material-opening {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 18px 28px;
  }
  body.swatch-store .opening-heading { max-width: 660px; }
  body.swatch-store .opening-heading h1 { max-width: 660px; font-size: clamp(38px, 9vw, 56px); }
  body.swatch-store .opening-heading p { max-width: 560px; font-size: 16px; }
  body.swatch-store .material-index { gap: 10px; }
  body.swatch-store .material-entry-copy { min-height: 128px; padding: 13px; }
  body.swatch-store .material-entry-title { font-size: 18px; }
  body.swatch-store .material-entry-desc { font-size: 13px; }
  body.swatch-store .material-entry-cta { margin-top: 10px; font-size: 13px; }
  body.swatch-store .store-trust-strip { width: calc(100% - 36px); grid-template-columns: 1fr; }
  body.swatch-store .store-trust-strip > p { grid-template-columns: 140px 1fr; align-items: baseline; padding: 11px 2px; border-right: 0; border-bottom: 1px solid var(--atlas-line); }
  body.swatch-store .store-trust-strip > p:last-child { border-bottom: 0; }
  body.swatch-store .catalog-section,
  body.swatch-store .products-section,
  body.swatch-store .reviews-section { padding: 40px 18px 48px; }
  body.swatch-store .section-heading { align-items: flex-start; gap: 12px; }
  body.swatch-store .section-heading h1,
  body.swatch-store .section-heading h2 { font-size: clamp(28px, 7vw, 38px); }
  body.swatch-store .section-count { max-width: 110px; padding-top: 3px; font-size: 12px; text-align: right; }
  body.swatch-store .card-grid { gap: 12px; }
  body.swatch-store .card-image { aspect-ratio: 1.1; }
  body.swatch-store .card-body { min-height: 208px; padding: 13px; }
  body.swatch-store .card-body h2,
  body.swatch-store .card-body h3 { font-size: 18px; }
  body.swatch-store .card-body .desc { min-height: 4.3em; font-size: 13px; }
  body.swatch-store .product-price { font-size: 14px; }
  body.swatch-store .product-detail-link { font-size: 13px; }
  body.swatch-store .add-to-cart-button,
  body.swatch-store .ask-button,
  body.swatch-store .restock-button { min-height: 44px; font-size: 13px; }
  body.swatch-store .orders-page,
  body.swatch-store .favorites-page { padding: 34px 18px 48px; }
  body.swatch-store .orders-hero { margin-bottom: 22px; }
  body.swatch-store .orders-hero h1 { font-size: clamp(36px, 9vw, 52px); }
  body.swatch-store .orders-panel { padding: 18px; }
  body.swatch-store .suggestion-section { grid-template-columns: 1fr; gap: 14px; width: calc(100% - 36px); margin-bottom: 42px; padding: 18px; }
  body.swatch-store .site-footer { align-items: flex-start; flex-direction: column; padding: 18px; }
}

@media (max-width: 430px) {
  html { scroll-padding-top: 146px; }
  body.swatch-store .site-nav .jelly-radio__skin { height: 36px; padding: 0 5px; font-size: 11px; }
  body.swatch-store .site-nav .nav-count { min-width: 17px; height: 17px; font-size: 10px; }
  body.swatch-store .material-index { grid-template-columns: 1fr; }
  body.swatch-store .material-entry-link { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr; min-height: 130px; }
  body.swatch-store .material-entry-photo { min-height: 130px; aspect-ratio: auto; }
  body.swatch-store .material-entry-copy { align-content: center; min-height: 130px; border-top: 0; border-left: 1px solid var(--atlas-line); padding: 12px; }
  body.swatch-store .material-entry-title { white-space: normal; }
  body.swatch-store .material-entry-desc { min-height: 0; }
  body.swatch-store .material-entry-cta { margin-top: 8px; padding-top: 8px; }
  body.swatch-store .store-trust-strip > p { grid-template-columns: 116px 1fr; }
  body.swatch-store .card-grid { grid-template-columns: 1fr; }
  body.swatch-store .card-image { aspect-ratio: 1.38; }
  body.swatch-store .card-body { min-height: 0; }
  body.swatch-store .card-body .desc { min-height: 0; }
  body.swatch-store .product-detail-layout { grid-template-columns: 1fr; }
  body.swatch-store .product-gallery-main { height: min(38vh, 300px); }
  body.swatch-store .product-detail-copy { padding: 18px; }
  body.swatch-store .section-count { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  body.swatch-store *,
  body.swatch-store *::before,
  body.swatch-store *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  body.swatch-store .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  body.swatch-store .site-header,
  body.swatch-store .site-nav,
  body.swatch-store .site-options-menu,
  body.swatch-store .fabric-card,
  body.swatch-store .product-card,
  body.swatch-store .orders-panel,
  body.swatch-store .product-detail-dialog,
  body.swatch-store .order-dialog,
  body.swatch-store .form-grid { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* The appearance loader supplies saved owner settings; keep this public surface's new materials intact. */
html[data-store-appearance-ready="true"] body.swatch-store {
  background-color: var(--atlas-paper);
  background-image: none;
  color: var(--atlas-ink);
}
html[data-store-appearance-ready="true"] body.swatch-store > .site-header {
  border-color: var(--atlas-line);
  border-radius: 0;
  background: var(--atlas-paper-light);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-store-appearance-ready="true"] body.swatch-store .site-nav,
html[data-store-appearance-ready="true"] body.swatch-store .site-options-menu,
html[data-store-appearance-ready="true"] body.swatch-store .fabric-card,
html[data-store-appearance-ready="true"] body.swatch-store .product-card,
html[data-store-appearance-ready="true"] body.swatch-store .orders-panel,
html[data-store-appearance-ready="true"] body.swatch-store .product-detail-dialog,
html[data-store-appearance-ready="true"] body.swatch-store .order-dialog,
html[data-store-appearance-ready="true"] body.swatch-store .favorites-heading,
html[data-store-appearance-ready="true"] body.swatch-store .cart-section,
html[data-store-appearance-ready="true"] body.swatch-store .cart-line,
html[data-store-appearance-ready="true"] body.swatch-store .cart-order-item,
html[data-store-appearance-ready="true"] body.swatch-store .review-card,
html[data-store-appearance-ready="true"] body.swatch-store .suggestion-section,
html[data-store-appearance-ready="true"] body.swatch-store .form-grid,
html[data-store-appearance-ready="true"] body.swatch-store .site-footer {
  border-color: var(--atlas-line);
  border-radius: 2px;
  background-color: var(--atlas-paper-light);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-store-appearance-ready="true"] body.swatch-store .site-nav {
  border: 0;
  border-radius: 0;
  background: transparent;
}
html[data-store-appearance-ready="true"] body.swatch-store .site-options-menu {
  border-radius: 2px;
  background: var(--atlas-paper-light);
}
html[data-store-appearance-ready="true"] body.swatch-store .material-opening,
html[data-store-appearance-ready="true"] body.swatch-store .catalog-section,
html[data-store-appearance-ready="true"] body.swatch-store .products-section,
html[data-store-appearance-ready="true"] body.swatch-store .reviews-section,
html[data-store-appearance-ready="true"] body.swatch-store .suggestion-section,
html[data-store-appearance-ready="true"] body.swatch-store .orders-page,
html[data-store-appearance-ready="true"] body.swatch-store .favorites-page {
  border-radius: 0;
  background-color: transparent;
  background-image: none;
}
html[data-store-appearance-ready="true"] body.swatch-store .material-opening {
  padding: clamp(44px, 6vw, 84px) clamp(18px, 5vw, 76px) clamp(42px, 5vw, 68px);
}
@media (min-width: 1001px) {
  html[data-store-appearance-ready="true"] body.swatch-store .material-opening {
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  }
}
html[data-store-appearance-ready="true"] body.swatch-store .opening-heading h1 {
  max-width: 580px;
  margin: 0 0 19px;
  color: var(--atlas-ink);
  font: 600 clamp(42px, 4.45vw, 62px)/.99 var(--atlas-display);
  letter-spacing: -.03em;
}
html[data-store-appearance-ready="true"] body.swatch-store .catalog-section,
html[data-store-appearance-ready="true"] body.swatch-store .products-section,
html[data-store-appearance-ready="true"] body.swatch-store .reviews-section {
  padding: clamp(48px, 6vw, 78px) clamp(18px, 5vw, 76px);
}
html[data-store-appearance-ready="true"] body.swatch-store .orders-page,
html[data-store-appearance-ready="true"] body.swatch-store .favorites-page {
  padding: clamp(38px, 5vw, 72px) clamp(18px, 5vw, 76px);
}
html[data-store-appearance-ready="true"] body.swatch-store .site-header .brand .wordmark,
html[data-store-appearance-ready="true"] body.swatch-store .site-footer .wordmark { color: var(--atlas-ink); }
html[data-store-appearance-ready="true"] body.swatch-store .site-header .brand .wordmark span,
html[data-store-appearance-ready="true"] body.swatch-store .site-header .brand small { color: var(--accent-dark, var(--atlas-coral-deep)); }
html[data-store-appearance-ready="true"] body.swatch-store .site-nav .site-jelly-radio .jelly-radio__skin {
  border-radius: 2px !important;
}
html[data-store-appearance-ready="true"] body.swatch-store .button-primary,
html[data-store-appearance-ready="true"] body.swatch-store .primary-link,
html[data-store-appearance-ready="true"] body.swatch-store .products-shortcut,
html[data-store-appearance-ready="true"] body.swatch-store .add-to-cart-button,
html[data-store-appearance-ready="true"] body.swatch-store .ask-button,
html[data-store-appearance-ready="true"] body.swatch-store .cart-submit,
html[data-store-appearance-ready="true"] body.swatch-store .product-detail-buy,
html[data-store-appearance-ready="true"] body.swatch-store .product-detail-cart {
  border-radius: 2px;
  background-color: var(--accent-dark, var(--atlas-coral-deep));
  color: #fff;
  box-shadow: none;
}
html[data-store-appearance-ready="true"] body.swatch-store .filter.active {
  border-color: var(--atlas-coral);
  border-radius: 2px;
  background: var(--atlas-coral);
  color: #fff;
  box-shadow: none;
}
html[data-store-appearance-ready="true"] body.swatch-store .card-body,
html[data-store-appearance-ready="true"] body.swatch-store .card-body h2,
html[data-store-appearance-ready="true"] body.swatch-store .card-body h3,
html[data-store-appearance-ready="true"] body.swatch-store .section-heading h1,
html[data-store-appearance-ready="true"] body.swatch-store .section-heading h2,
html[data-store-appearance-ready="true"] body.swatch-store .opening-heading h1,
html[data-store-appearance-ready="true"] body.swatch-store .orders-hero h1,
html[data-store-appearance-ready="true"] body.swatch-store .favorites-heading h1,
html[data-store-appearance-ready="true"] body.swatch-store .suggestion-copy h2,
html[data-store-appearance-ready="true"] body.swatch-store .orders-heading h2 {
  color: var(--atlas-ink);
}
html[data-store-appearance-ready="true"] body.swatch-store #fabricGrid.fabric-gallery-grid .card-image {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1.34;
}

@media (max-width: 1000px) {
  html[data-store-appearance-ready="true"] body.swatch-store .material-opening {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html[data-store-appearance-ready="true"] body.swatch-store > .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 9px 14px 11px;
    border-radius: 0;
    background: var(--atlas-paper-light);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html[data-store-appearance-ready="true"] body.swatch-store .site-header .brand .wordmark { font-size: 24px; }
  html[data-store-appearance-ready="true"] body.swatch-store .site-header .brand small { display: none; }
  html[data-store-appearance-ready="true"] body.swatch-store .site-nav {
    position: static;
    display: flex;
    width: 100%;
    height: auto;
    min-width: 0;
    justify-content: space-between;
    gap: 2px;
    padding: 0;
    overflow: visible;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  html[data-store-appearance-ready="true"] body.swatch-store .site-nav .site-jelly-radio { width: auto; flex: 1 1 auto; }
  html[data-store-appearance-ready="true"] body.swatch-store .site-nav .jelly-radio__skin { height: 38px; padding: 0 8px; font-size: 12px; }
  html[data-store-appearance-ready="true"] body.swatch-store .site-nav .site-options-trigger { width: 38px; min-width: 38px; height: 38px; min-height: 38px; flex-basis: 38px; }
  html[data-store-appearance-ready="true"] body.swatch-store .material-opening {
    grid-template-columns: 1fr;
    padding: 34px 18px 28px;
  }
  html[data-store-appearance-ready="true"] body.swatch-store .catalog-section,
  html[data-store-appearance-ready="true"] body.swatch-store .products-section,
  html[data-store-appearance-ready="true"] body.swatch-store .reviews-section { padding: 40px 18px 48px; }
  html[data-store-appearance-ready="true"] body.swatch-store .orders-page,
  html[data-store-appearance-ready="true"] body.swatch-store .favorites-page { padding: 34px 18px 48px; }
  html[data-store-appearance-ready="true"] body.swatch-store .suggestion-section { padding: 18px; }
  html[data-store-appearance-ready="true"] body.swatch-store #fabricGrid.fabric-gallery-grid .card-image { aspect-ratio: 1.1; }
}

@media (max-width: 430px) {
  html[data-store-appearance-ready="true"] body.swatch-store .material-opening { grid-template-columns: 1fr; }
  html[data-store-appearance-ready="true"] body.swatch-store .material-index { grid-template-columns: 1fr; }
  html[data-store-appearance-ready="true"] body.swatch-store .material-entry-link { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr; }
  html[data-store-appearance-ready="true"] body.swatch-store .material-entry-photo { aspect-ratio: auto; }
  html[data-store-appearance-ready="true"] body.swatch-store .material-entry-copy { border-top: 0; border-left: 1px solid var(--atlas-line); }
  html[data-store-appearance-ready="true"] body.swatch-store .card-grid { grid-template-columns: 1fr; }
  html[data-store-appearance-ready="true"] body.swatch-store #fabricGrid.fabric-gallery-grid .card-image { aspect-ratio: 1.38; }
}
