/* Colors commerce anatomy, adapted from the reviewed 21st.dev-inspired concept.
   Presentation only: native links, stock gates, prices and form contracts remain intact. */
.colors-identity:is(.colors-home, .catalog-products-first) {
  --commerce-paper: #faf7f5;
  --commerce-surface: #fff;
  --commerce-ink: #211916;
  --commerce-muted: #746762;
  --commerce-line: #e7dad5;
  --commerce-accent: #a7472d;
  --commerce-accent-soft: #f5e9e3;
}

/* Photo-first cards. The garment photograph is not tinted, stretched or recolored. */
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  transform: none;
  animation: none;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-image {
  height: auto !important;
  aspect-ratio: 3 / 4;
  border-radius: 14px !important;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 13px 2px 0;
  text-align: center;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__title-row {
  order: 0;
  display: block;
  min-width: 0;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__title-row h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__category {
  display: block;
  max-width: none;
  margin-top: 2px;
  color: var(--commerce-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__variant-row {
  order: 1;
  margin-top: 9px;
  min-height: 18px;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .swatches {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .swatches:not(.sizes) i {
  width: 17px;
  height: 17px;
  border: 2px solid var(--commerce-paper);
  box-shadow: 0 0 0 1px #21191630;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__meta {
  order: 2;
  justify-content: center;
  margin-top: 5px;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__commerce {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 9px 0 0;
  border-top: 1px solid var(--commerce-line);
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .price {
  min-width: 0;
  color: var(--commerce-ink);
  text-align: right;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .price > span {
  font-size: 11px;
  line-height: 1.6;
  color: var(--commerce-muted);
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .price strong {
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .price del {
  color: var(--commerce-muted);
  font-size: 12px !important;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .wishlist-toggle {
  top: 12px;
  left: 12px;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__compare {
  display: flex;
  top: 64px;
  left: 12px;
  margin: 0;
  padding: 0;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion :is(.wishlist-toggle button, .product-card__compare button, a.product-card__quick-add, .product-card__quick-add button) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #21191618;
  border-radius: 50%;
  background: #fff;
  color: var(--commerce-ink);
  box-shadow: 0 3px 12px #2119160a;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion :is(.wishlist-toggle button.active, .product-card__compare button.active) {
  background: var(--commerce-accent);
  color: #fff !important;
  border-color: var(--commerce-accent);
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion :is(a.product-card__quick-add, .product-card__quick-add button) {
  border-color: var(--commerce-line);
  color: var(--commerce-accent);
  box-shadow: none;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__badges {
  top: 12px;
  right: 12px;
  max-width: calc(100% - 74px);
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .sale-label {
  padding: 5px 8px;
  font-size: 11px !important;
  line-height: 1.7;
  white-space: normal;
  box-shadow: none;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .sale-label.is-unavailable {
  background: #fffdf9ee;
  color: #4b3730;
}
.colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion :is(a, button):focus-visible {
  outline: 2px solid var(--commerce-accent);
  outline-offset: 4px;
}

/* Existing query-driven catalog, with the full audience rail from the concept. */
.colors-identity.catalog-products-first .of-discover__modes {
  display: flex !important;
  gap: 6px;
  padding: 4px;
  margin-block: 16px 10px;
  border-radius: 999px;
  background: #f1ece9;
}
.colors-identity.catalog-products-first .of-discover__modes > a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--commerce-line);
  border-radius: 999px;
  background: var(--commerce-surface);
  color: var(--commerce-ink);
  font-size: 14px;
  transition: background-color .2s ease, color .2s ease;
}
.colors-identity.catalog-products-first .of-discover__modes > a[aria-current="page"] {
  border-color: var(--commerce-accent);
  background: var(--commerce-accent);
  color: #fff;
  font-weight: 750;
}
.colors-identity.catalog-products-first .orvia-catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px 28px;
}
.colors-identity.catalog-products-first .orvia-catalog-heading nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--commerce-muted);
  font-size: 12px;
}
.colors-identity.catalog-products-first .orvia-catalog-heading h1 {
  margin: 14px 0 0;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 850;
  line-height: 1.6;
}
.colors-identity.catalog-products-first .orvia-catalog-heading > span {
  flex: 0 0 auto;
  padding-bottom: 5px;
  font-size: 13px;
  color: var(--commerce-muted);
}
.colors-identity.catalog-products-first .catalog-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 72px;
}
.colors-identity.catalog-products-first .catalog-toolbar {
  gap: 9px;
  padding: 10px;
  margin-bottom: 24px;
  border: 1px solid var(--commerce-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}
.colors-identity.catalog-products-first .catalog-toolbar :is(input, select) {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--commerce-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--commerce-ink);
  font-size: 13px;
}
.colors-identity.catalog-products-first .catalog-toolbar input::placeholder { color: var(--commerce-muted); }
.colors-identity.catalog-products-first .catalog-toolbar .button,
.colors-identity.catalog-products-first .catalog-filters__form .button {
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--commerce-accent);
  border-radius: 14px !important;
  background: var(--commerce-accent) !important;
  color: #fff !important;
  font-size: 13px;
}
.colors-identity.catalog-products-first .catalog-filters {
  padding: 20px 16px;
  border: 1px solid var(--commerce-line);
  border-radius: 20px;
  background: #fffdfb;
  box-shadow: none;
}
.colors-identity.catalog-products-first .catalog-filters__header {
  margin-bottom: 12px;
  padding-bottom: 16px;
  border-bottom-color: var(--commerce-line);
}
.colors-identity.catalog-products-first .catalog-filters__header h2 { font-size: 21px; line-height: 1.6; }
.colors-identity.catalog-products-first .catalog-filters > a {
  min-height: 44px;
  padding: 10px 12px !important;
  border-bottom-color: #e7dad570;
  font-size: 13px;
}
.colors-identity.catalog-products-first .catalog-filters > a.active {
  border-bottom-color: transparent;
  border-radius: 10px !important;
  background: var(--commerce-accent-soft) !important;
  color: var(--commerce-accent) !important;
}
.colors-identity.catalog-products-first .catalog-filters > a:hover {
  padding-inline-start: 12px !important;
  color: var(--commerce-accent);
}
.colors-identity.catalog-products-first .catalog-filters__form {
  gap: 7px !important;
  padding-top: 16px !important;
  border-top-color: var(--commerce-line);
}
.colors-identity.catalog-products-first .catalog-filters__form label {
  min-height: 44px;
  padding: 10px 3px;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.colors-identity.catalog-products-first .catalog-filters__form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}
.colors-identity.catalog-products-first .catalog-query-result {
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--commerce-line);
  border-radius: 14px;
  background: var(--commerce-accent-soft);
}
.colors-identity.catalog-products-first .catalog-query-result > a { min-height: 44px; display: inline-flex; align-items: center; }
.colors-identity.catalog-products-first .catalog-grid { gap: 32px 20px; }
.colors-identity.catalog-products-first .pagination { gap: 8px; margin-block: 32px 0; }
.colors-identity.catalog-products-first .pagination :is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--commerce-line);
  border-radius: 12px;
  background: #fff;
}
.colors-identity.catalog-products-first .pagination .current { background: var(--commerce-accent); border-color: var(--commerce-accent); color: #fff; }
.colors-identity.catalog-products-first .pagination [aria-disabled="true"] { color: var(--commerce-muted); background: transparent; }
.colors-identity.catalog-products-first :is(.catalog-toolbar, .catalog-filters, .of-discover__modes, .pagination) :is(a, button, input, select):focus-visible {
  outline: 2px solid var(--commerce-accent);
  outline-offset: 3px;
}

/* Continue the same rhythm below the existing homepage experiences. */
.colors-identity.colors-home .cr-section { padding-top: clamp(36px, 4.5vw, 60px); }
.colors-identity.colors-home .cr-section__head { gap: 18px; margin-bottom: 24px; }
.colors-identity.colors-home .cr-section__head h2 { margin-block: 5px 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.6; }
.colors-identity.colors-home .cr-section__head > a { min-height: 44px; color: var(--commerce-accent); }
.colors-identity.colors-home .cr-product-grid { gap: 34px 20px; }
.colors-identity.colors-home .colors-audiences { gap: 18px; margin-top: 32px; }
.colors-identity.colors-home .colors-audiences > a { border-radius: 18px; }
.colors-identity.colors-home .colors-audiences img { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.colors-identity.colors-home .colors-audiences strong { font-size: clamp(18px, 2vw, 27px); }
.colors-identity.colors-home .colors-audiences > a:focus-visible { outline: 2px solid var(--commerce-accent); outline-offset: 4px; }
.colors-identity.colors-home .cr-service-strip { margin-block: 52px 56px; padding-block: 24px; border-color: var(--commerce-line); }
.colors-identity.colors-home .cr-service-strip b { font-size: 14px; }
.colors-identity.colors-home .cr-service-strip span { color: var(--commerce-muted); font-size: 12px; line-height: 1.8; }

@media (hover: hover) and (pointer: fine) {
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion :is(a.product-card__quick-add, .product-card__quick-add button):hover { background: var(--commerce-accent); border-color: var(--commerce-accent); color: #fff; }
  .colors-identity.colors-home .colors-audiences > a:hover img { transform: scale(1.025); }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .colors-identity.catalog-products-first .catalog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
  .colors-identity.catalog-products-first .catalog-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .colors-identity.catalog-products-first .catalog-toolbar .catalog-search { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .colors-identity.catalog-products-first .of-discover__modes { gap: 4px; margin-block: 12px 6px; }
  .colors-identity.catalog-products-first .of-discover__modes > a { padding: 8px 4px; font-size: 12px; }
  .colors-identity.catalog-products-first .orvia-catalog-heading { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 10px 18px; }
  .colors-identity.catalog-products-first .orvia-catalog-heading h1 { margin-top: 8px; font-size: 22px; line-height: 1.7; }
  .colors-identity.catalog-products-first .catalog-layout { display: block; padding-bottom: 48px; }
  .colors-identity.catalog-products-first .catalog-toolbar { gap: 8px; padding: 9px; border-radius: 16px; margin-bottom: 18px; }
  .colors-identity.catalog-products-first .catalog-toolbar :is(input, select) { font-size: 16px; }
  .colors-identity.catalog-products-first .catalog-filters { border-radius: 28px 28px 0 0; }
  .colors-identity.catalog-products-first :is(.catalog-filter-trigger, [data-filter-close]) { min-height: 44px; }
  .colors-identity.catalog-products-first .catalog-grid,
  .colors-identity.colors-home .cr-product-grid { gap: 28px 12px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card-body { padding-top: 10px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__title-row h3 { font-size: 12px; line-height: 1.85; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__category { font-size: 11px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__commerce { gap: 6px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .price strong { font-size: 12.5px !important; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .swatches { gap: 7px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .swatches:not(.sizes) i { width: 15px; height: 15px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .wishlist-toggle { top: 8px; left: 8px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__compare { top: 60px; left: 8px; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .product-card__badges { top: 8px; right: 8px; max-width: calc(100% - 66px); }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion .sale-label { padding: 4px 7px; font-size: 11px !important; }
  .colors-identity.colors-home .cr-section__head { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .colors-identity.colors-home .cr-section__head > a { flex: 0 0 auto; font-size: 12px; }
  .colors-identity.colors-home .colors-audiences { gap: 10px; margin-top: 24px; }
  .colors-identity.colors-home .colors-audiences > a { border-radius: 14px; }
  .colors-identity.colors-home .colors-audiences strong { font-size: 15px; }
  .colors-identity.colors-home .cr-service-strip { margin-block: 36px 40px; padding-block: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .colors-identity:is(.colors-home, .catalog-products-first) :is(.product-card--fashion, .of-discover__modes > a, .colors-audiences img) { animation: none !important; transition: none !important; }
  .colors-identity:is(.colors-home, .catalog-products-first) .product-card--fashion :is(a, button, img, svg, picture) { transition: none !important; }
  .colors-identity.colors-home .colors-audiences > a:hover img { transform: none; }
}
