/* Reference-led storefront. Blue glass for the shop; restrained, cool-white purchase panels. */
.commerce {
  --shop-line: #d6e2ee;
  --shop-muted: #6884a5;
  padding: 20px 0 30px;
  color: var(--ink);
}
.commerce button,
#cart-drawer button {
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}
.commerce p {
  line-height: 1.5;
}
.commerce .icon,
#cart-drawer .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.commerce .button {
  gap: 12px;
  font-size: 14px;
  padding: 12px 24px;
}
.commerce a {
  text-decoration: none;
}
.commerce .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.commerce input,
.commerce select,
.commerce textarea,
#cart-drawer textarea {
  font: inherit;
  color: var(--ink);
}
.commerce :focus-visible,
#cart-drawer :focus-visible {
  outline: 2px solid #4b80b7;
  outline-offset: 3px;
}
.commerce-status {
  position: fixed;
  z-index: 90;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 30px);
  background: #173d66;
  color: white;
  border-radius: 30px;
  box-shadow: 0 8px 30px #16385930;
  font-size: 13px;
  text-align: center;
}
.commerce-status:not(:empty) {
  padding: 12px 22px;
}
.commerce-status:empty {
  display: none;
}
.round-control {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #dce7f3;
  background: #ffffffbd;
  color: #214e7d;
  box-shadow: 0 4px 10px #335a8020;
}
.round-control:hover {
  background: #dfeefa;
}
.round-control .icon {
  width: 19px;
  height: 19px;
}
.round-control.is-saved {
  background: #dceafb;
  color: #2e6397;
}
.round-control.is-saved svg {
  fill: #83acd659;
}
.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  padding: 8px 0;
  font-size: 13px;
  cursor: pointer;
}
.category-pill {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 30px;
  background: #e8f2ff90;
  padding: 5px 12px;
  color: #537eaf;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
}
.preview-caption {
  color: #6983a0;
  font-size: 11px;
  line-height: 1.5;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.panel-heading a {
  font-size: 12px;
  text-decoration: underline;
}
.panel-heading h2 {
  margin: 0;
}
.panel-heading small {
  font:
    14px Arial,
    sans-serif;
  letter-spacing: 0;
}
/* Hero and collection shelves match the proportions of the supplied shop design. */
.shop-hero {
  position: relative;
  isolation: isolate;
  min-height: 345px;
  padding: 26px 34px 20px;
  display: flex;
  align-items: center;
}
.shop-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -100px calc((1180px - 100vw) / 2) -10px 22%;
  background:
    linear-gradient(90deg, #edf3fa 0%, #edf3fa8c 25%, transparent 56%),
    linear-gradient(0deg, #edf3fa, transparent 28%),
    url("/assets/images/venture-consumer.webp") center/cover;
  pointer-events: none;
}
.shop-hero-copy {
  max-width: 540px;
}
.shop-hero .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.shop-hero h1 {
  font-size: clamp(36px, 4.3vw, 55px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 0 0 13px;
  max-width: 560px;
}
.shop-hero-copy > p:not(.eyebrow) {
  font-size: 16px;
  max-width: 440px;
  margin-bottom: 18px;
}
.shop-hero .actions {
  gap: 16px;
}
.shop-promises {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.shop-promises > span {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-right: 15px;
  border-right: 1px solid var(--shop-line);
}
.shop-promises > span:last-child {
  border: 0;
  padding-right: 0;
}
.shop-promises strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
}
.shop-promises small {
  font-size: 10px;
  color: var(--shop-muted);
  display: block;
  margin-top: 4px;
  white-space: nowrap;
}
.shop-promises .icon {
  width: 27px;
  height: 27px;
}
.hero-note {
  position: absolute;
  right: 12px;
  top: 25px;
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1.7 !important;
  color: #547fad;
}
.hero-note span {
  display: block;
  margin-top: 7px;
}
.collection-preview {
  font-size: 10px;
  text-align: right;
  color: #6c84a0;
  padding: 0 10px 7px;
}
.collection-preview span {
  padding: 0 6px;
}
.collection-shelf {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  padding: 20px 24px;
  gap: 22px;
  margin-bottom: 10px;
  border-radius: 21px;
  background: linear-gradient(120deg, #ffffffad, #e9f5ffb0) !important;
  box-shadow: 0 12px 32px #406d9f0a;
}
.shelf-intro {
  align-self: center;
}
.shelf-intro .category-pill {
  margin: 0 0 14px;
}
.shelf-intro h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 5px;
}
.shelf-description {
  display: flex;
  align-items: start;
  gap: 12px;
  margin: 4px 0 23px;
}
.shelf-description .icon {
  width: 20px;
  height: 20px;
}
.shelf-description p {
  font-size: 12px;
  color: #6180a9;
  margin: 3px 0 0;
  max-width: 230px;
}
.shelf-intro .button {
  font-size: 12px;
  min-width: 195px;
  padding: 11px 20px;
}
.shelf-content {
  min-width: 0;
  position: relative;
  padding-top: 20px;
  padding-right: 30px;
}
.filter-link {
  position: absolute;
  right: 0;
  top: -12px;
  border: 1px solid white;
  background: #ffffff96;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-link .icon {
  width: 13px;
  height: 13px;
}
.product-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0;
}
.product-track::-webkit-scrollbar {
  display: none;
}
.product-card {
  position: relative;
  min-width: 0;
  flex: 0 0 calc((100% - 36px) / 4);
  background: #ffffffa8;
  border: 1px solid #ffffffc9;
  border-radius: 10px;
  scroll-snap-align: start;
  overflow: hidden;
}
.product-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 9px;
}
.product-card > .product-link {
  display: block;
}
.product-card .product-photo {
  border-radius: 9px 9px 6px 6px;
  aspect-ratio: 1/1;
}
.product-card-copy {
  padding: 8px 9px 2px;
}
.product-card h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -0.15px;
}
.product-card p {
  font-size: 10px;
  line-height: 1.3;
  color: #6e8db4;
  margin: 0;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 8px 9px;
}
.card-bottom strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.quick-add {
  width: 29px;
  height: 29px;
  font-size: 22px;
}
.product-card > .favorite {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 25px;
  height: 25px;
  box-shadow: none;
}
.product-card > .favorite .icon {
  width: 17px;
  height: 17px;
}
.collection-shelf .product-card > .favorite {
  display: none;
}
.shelf-next {
  position: absolute;
  right: -14px;
  top: 43%;
  width: 38px;
  height: 38px;
}
.shelf-next .icon {
  transform: rotate(-90deg);
}
.shop-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 22px;
  gap: 20px;
  border-radius: 20px;
  margin-top: 10px;
}
.shop-values > span {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 12px;
  border-right: 1px solid var(--shop-line);
}
.shop-values > span:last-child {
  border: 0;
}
.shop-values strong {
  font-size: 11px;
  display: block;
}
.shop-values small {
  font-size: 10px;
  color: #6d8bb0;
  display: block;
  margin-top: 5px;
}
.shop-values .icon {
  width: 30px;
  height: 30px;
}
/* Query view: search controls, persistent filter rail and compact product grid. */
.browse-hero {
  min-height: 260px;
}
.browse-hero .shop-hero-copy {
  max-width: 510px;
}
.shop-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  border-radius: 18px;
  margin-bottom: 12px;
}
.shop-toolbar label {
  min-width: 0;
}
.shop-toolbar select {
  border: 1px solid white;
  background: #ffffffb0;
  border-radius: 30px;
  font-size: 11px;
  padding: 10px 8px;
  width: 100%;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 250px !important;
  background: white;
  border-radius: 30px;
  padding: 3px 4px 3px 13px;
  box-shadow: 0 4px 14px #3f6d9615;
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 12px;
}
.search-field .icon {
  width: 18px;
  height: 18px;
}
.search-field .button {
  padding: 8px 22px;
  font-size: 12px;
}
.browse-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 14px;
}
.browse-sidebar {
  border-radius: 18px;
  padding: 19px 20px;
  align-self: start;
}
.browse-sidebar h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 15px;
}
.browse-sidebar fieldset {
  border: 0;
  border-top: 1px solid var(--shop-line);
  padding: 16px 0 18px;
  margin: 0;
  min-width: 0;
}
.browse-sidebar legend {
  float: left;
  width: 100%;
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 12px;
}
.browse-sidebar fieldset label {
  clear: both;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin: 10px 0;
}
.browse-sidebar input[type="radio"] {
  appearance: none;
  width: 13px;
  height: 13px;
  border: 1px solid #7099c5;
  border-radius: 50%;
  margin: 0;
  background: #fff;
}
.browse-sidebar input:checked {
  background: #346fab;
  box-shadow: inset 0 0 0 2px white;
}
.browse-sidebar label small {
  margin-left: auto;
  color: #7895b5;
}
.browse-sidebar input[type="range"] {
  width: 100%;
  accent-color: #477fb8;
}
.browse-sidebar fieldset p {
  font-size: 12px;
  clear: both;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #7997b9;
  margin-top: 8px;
}
.browse-sidebar .button {
  font-size: 11px;
  padding: 10px;
  width: 100%;
}
.browse-results {
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
}
.results-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  margin-bottom: 15px;
}
.view-switch {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.view-switch button {
  border: 1px solid #fff;
  background: #edf6ff;
  border-radius: 6px;
  padding: 6px;
}
.view-switch .icon {
  width: 17px;
  height: 17px;
}
.view-switch [aria-pressed="true"] {
  background: #cfe4f8;
}
.filter-chip {
  border: 1px solid white;
  background: #ffffff70;
  padding: 7px 16px;
  border-radius: 25px;
  font-size: 11px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.results-end {
  font-size: 11px;
  color: #6584a9;
  text-align: center;
  margin: 25px 0 5px;
}
.list-view {
  grid-template-columns: 1fr 1fr;
}
.list-view .product-link {
  display: flex;
  align-items: center;
}
.list-view .product-photo {
  width: 100px;
}
.list-view .card-bottom {
  padding-left: 110px;
}
.list-view .favorite {
  left: 7px;
  right: auto;
}
/* An actual radial size picker in the browser top layer. */
.option-wheel {
  position: fixed;
  inset: auto;
  margin: 0;
  width: 260px;
  height: 266px;
  border: 1px solid #fff;
  background: radial-gradient(circle at 50% 60%, #f9fcff, #e7f2fcf5);
  color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 15px 65px #163b6840;
  padding: 15px;
  overflow: visible;
  backdrop-filter: blur(14px);
}
.option-wheel::backdrop {
  background: transparent;
}
.option-wheel > p {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}
.option-wheel > p small {
  display: block;
  font-size: 10px;
  font-weight: normal;
  margin-top: 5px;
  color: #6283a8;
}
.wheel-close {
  position: absolute;
  top: 7px;
  right: 11px;
  border: 0;
  background: none;
  font-size: 19px;
  color: #b04e58 !important;
}
.wheel-ring {
  position: relative;
  height: 193px;
  margin-top: 5px;
}
.wheel-ring:before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed #9fbfdb;
  border-radius: 50%;
}
.wheel-option {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(#fff, #eaf3fd);
  border: 1px solid #bed4eb;
  color: #183e67;
  font-size: 12px;
  box-shadow: 0 5px 14px #345f8620;
  transition: transform 0.15s;
}
.wheel-option:hover {
  transform: scale(1.07);
  background: #224e7a;
  color: #fff !important;
}
.wheel-option small {
  font-size: 10px;
}
.wheel-option > span {
  position: absolute;
  bottom: -4px;
  right: 1px;
  width: 20px;
  height: 20px;
  background: #315f8d;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.option-0 {
  top: 0;
  left: calc(50% - 37px);
}
.option-1 {
  bottom: 4px;
  left: 7px;
}
.option-2 {
  bottom: 4px;
  right: 7px;
}
.wheel-center {
  position: absolute;
  top: 91px;
  left: calc(50% - 15px);
  color: #4d78a4;
}
.wheel-center .icon {
  width: 29px;
  height: 29px;
}
/* Product reference: vertical image rail, photo, purchase panel, tabs and small related cards. */
#page-overlay[data-module="shop"] {
  width: min(1240px, 96vw);
  max-height: 94dvh;
  border-radius: 20px;
  padding: 24px;
  background: #f7faff;
  border: 1px solid #fff;
}
#page-overlay[data-module="shop"] .overlay-content {
  max-height: calc(94dvh - 48px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}
#page-overlay[data-module="shop"] .dialog-close {
  z-index: 5;
  right: 13px;
  top: 12px;
  width: 30px;
  height: 30px;
  font-size: 25px;
  background: #f3f7fc;
  box-shadow: none;
}
#page-overlay[data-module="shop"] .commerce {
  width: 100%;
  padding: 0;
}
#page-overlay[data-module="shop"] .commerce-status {
  position: sticky;
  left: auto;
  transform: none;
  margin: 14px auto 0;
  bottom: 0;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 34px;
  padding: 0 0 30px;
}
.product-gallery {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-self: start;
}
.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-thumbnails button {
  border: 1px solid transparent;
  padding: 2px;
  background: transparent;
  border-radius: 7px;
  overflow: hidden;
}
.gallery-thumbnails button[aria-pressed="true"] {
  border-color: #204d7d;
}
.gallery-thumbnails .product-photo {
  border-radius: 5px;
  aspect-ratio: 1/1.15;
  object-fit: cover;
}
.gallery-thumbnails .crop-1 {
  transform: scale(1.3);
}
.gallery-thumbnails .crop-2 {
  transform: scale(1.65);
  object-position: 50% 70%;
}
.gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 0.91;
  max-height: 570px;
}
.gallery-photo {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-main[data-view="1"] .gallery-photo {
  transform: scale(1.3);
}
.gallery-main[data-view="2"] .gallery-photo {
  transform: scale(1.7);
  transform-origin: 50% 65%;
}
.gallery-main.is-zoomed .gallery-photo {
  transform: scale(2);
}
.gallery-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  border-radius: 30px;
  padding: 8px 12px;
  background: #edf5ffcf;
  font-size: 10px;
  color: #2d5277;
}
.gallery-previous,
.gallery-next {
  position: absolute;
  top: calc(50% - 17px);
  font: 27px Georgia !important;
}
.gallery-previous {
  left: 12px;
}
.gallery-next {
  right: 12px;
}
.gallery-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
}
.product-description {
  padding-top: 5px;
  padding-right: 4px;
}
.product-brand {
  font:
    20px Georgia,
    serif;
}
.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.product-title-row h1 {
  font:
    clamp(32px, 3.4vw, 46px) / 1.05 Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 0;
}
.product-title-row > div {
  display: flex;
  gap: 9px;
}
.product-title-row .round-control {
  box-shadow: none;
  border: 0;
  background: #e8eef5;
  width: 36px;
  height: 36px;
}
.product-tagline {
  margin: 9px 0 8px;
  font-size: 15px;
  color: #5b7290;
}
.product-rating {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6984a2;
  margin: 8px 0 22px;
}
.product-rating > span {
  color: #9cb2c8;
  font-size: 19px;
}
.product-story {
  font-size: 13px;
  color: #49627f;
  margin: 0 0 24px;
}
.product-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  border-bottom: 1px solid var(--shop-line);
  padding-bottom: 24px;
  margin-bottom: 20px;
}
.product-benefits > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.product-benefits .icon {
  width: 22px;
  height: 25px;
}
.product-selection {
  display: flex;
  gap: 22px;
  align-items: center;
}
.product-options {
  display: flex;
  gap: 9px;
  border: 0;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}
.product-options legend,
.quantity-label {
  font-size: 11px;
  margin-bottom: 10px;
  display: block;
}
.product-options label {
  position: relative;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.product-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.product-options label > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #d5e0eb;
  background: #f5f8fc;
  padding: 11px 10px;
  border-radius: 9px;
  font-size: 11px;
}
.product-options small {
  font-size: 9px;
  color: #7890aa;
}
.product-options b {
  font-size: 13px;
  font-weight: 500;
}
.product-options input:checked + span {
  border-color: #315e8b;
  background: #e9f2fc;
}
.product-options input:focus-visible + span {
  outline: 2px solid #5186bd;
}
.quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d3dfea;
  border-radius: 12px;
  gap: 4px;
  background: #f9fbfd;
  padding: 3px;
  min-width: 110px;
  height: 36px;
}
.quantity button {
  border: 0;
  border-radius: 9px;
  background: #e8eff6;
  width: 28px;
  height: 28px;
  font-size: 18px;
  display: grid;
  place-items: center;
}
.quantity > span {
  font-size: 12px;
  min-width: 25px;
  text-align: center;
}
.product-quantity input {
  border: 0;
  background: transparent;
  width: 26px;
  padding: 0;
  text-align: center;
  font-size: 12px;
  appearance: textfield;
}
.product-quantity input::-webkit-inner-spin-button {
  appearance: none;
}
.product-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.product-buy .button {
  font-size: 13px;
  padding: 12px 16px;
}
.product-buy .icon {
  width: 18px;
  height: 18px;
}
.product-description > .preview-caption {
  text-align: center;
  margin: 9px 0 18px;
  font-size: 10px;
}
.commerce-trust {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #586e88;
}
.commerce-trust > span,
.commerce-trust > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}
.commerce-trust small {
  font-size: 8px;
  color: #8799ad;
  display: block;
  margin-top: 2px;
}
.commerce-trust .icon {
  width: 22px;
  height: 22px;
}
.product-tabs {
  margin: 0 0 24px;
}
.product-tabs [role="tablist"] {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--shop-line);
  padding: 0 8px;
}
.product-tabs [role="tab"] {
  padding: 13px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 13px;
  color: #677a92;
}
.product-tabs [aria-selected="true"] {
  border-color: #224c78;
  color: #183c66;
}
.product-tabs [role="tabpanel"] {
  padding: 20px 10px;
  min-height: 135px;
}
.product-tabs h2 {
  font:
    23px Georgia,
    serif;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.product-tabs p {
  font-size: 13px;
  max-width: 770px;
  color: #657b94;
}
.review-placeholder {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 36px;
  align-items: center;
}
.review-placeholder > div:first-child > strong {
  font-size: 50px;
  font-weight: 400;
  display: inline-block;
  margin-right: 15px;
}
.review-placeholder > div:first-child > span {
  font-size: 22px;
  color: #9bb4cd;
}
.related-products h2 {
  font:
    21px Georgia,
    serif;
  margin: 10px 0 14px;
}
.related-products .product-track {
  gap: 15px;
}
.mini-card {
  flex-basis: calc((100% - 45px) / 4);
  display: grid;
  grid-template-columns: 1fr 30px;
  padding: 5px 8px 5px 5px;
  gap: 3px;
  min-height: 82px;
  box-shadow: 0 7px 18px #3c5f8210;
  border-radius: 9px;
}
.mini-card .product-link {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.mini-card .product-photo {
  width: 66px;
  height: 74px;
  border-radius: 6px;
  flex-shrink: 0;
}
.mini-card .product-card-copy {
  padding: 0;
}
.mini-card h3 {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 18px;
}
.mini-card .product-card-copy p {
  display: none;
}
.mini-card .card-bottom {
  padding: 0;
  display: contents;
}
.mini-card .card-bottom > strong {
  position: absolute;
  left: 82px;
  bottom: 14px;
  font-size: 10px;
}
.mini-card .quick-add {
  align-self: end;
  margin-bottom: 5px;
  width: 27px;
  height: 27px;
  background: #e7eef6;
  box-shadow: none;
  border: 0;
}
/* Cart: right-hand drawer and the same content expanded on its own URL. */
#cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(460px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: 20px 0 0 20px;
  background: #f8faff;
  color: var(--ink);
  box-shadow: -20px 0 70px #18395e30;
  overflow: hidden;
}
#cart-drawer::backdrop {
  background: #12283c80;
  backdrop-filter: blur(4px);
}
.drawer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 26px 20px;
  position: relative;
  background: transparent;
}
.drawer-heading h2 {
  font:
    600 23px Arial,
    sans-serif;
  margin: 0;
  letter-spacing: -0.7px;
}
.drawer-heading h2 small {
  font-size: 19px;
}
.drawer-heading .dialog-close {
  position: static;
  font-size: 27px;
  background: none;
  width: 27px;
  height: 27px;
  box-shadow: none;
}
.drawer-scroll {
  overflow-y: auto;
  max-height: calc(100dvh - 73px);
  padding: 0 26px 25px;
  scrollbar-width: thin;
}
#cart-drawer .commerce-status {
  position: absolute;
  left: 15px;
  right: 15px;
  transform: none;
  width: auto;
  bottom: 12px;
  margin: 0;
}
.cart-delivery-note {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--shop-line);
  padding: 13px 0 20px;
  font-size: 12px;
}
.cart-delivery-note small {
  display: block;
  font-size: 10px;
  color: #7a91ab;
  line-height: 1.4;
  margin-top: 5px;
}
.cart-delivery-note > .icon {
  width: 26px;
  height: 26px;
}
.cart-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 110px;
  gap: 13px;
  border-bottom: 1px solid #dce5ee;
  padding: 17px 0;
  align-items: center;
}
.cart-row .product-photo {
  width: 78px;
  height: 92px;
  border-radius: 7px;
}
.cart-item-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-item-copy a {
  text-decoration: none;
  color: var(--ink);
}
.cart-item-copy strong {
  font-size: 13px;
  font-weight: 500;
}
.cart-item-copy > a > strong {
  font-size: 12px;
}
.cart-item-copy > span {
  font-size: 11px;
  color: #8394aa;
}
.cart-item-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 17px;
  padding: 2px 0 7px;
}
.remove-item {
  align-self: end;
  border: 0;
  background: none;
  font-size: 19px;
  padding: 0 3px;
  line-height: 1;
}
.order-note {
  border-bottom: 1px solid #dce5ee;
  padding: 20px 0;
  font-size: 12px;
}
.order-note summary {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.order-note summary::-webkit-details-marker {
  display: none;
}
.order-note summary > .icon {
  width: 18px;
  height: 18px;
}
.order-note summary > .icon:last-child {
  margin-left: auto;
  width: 13px;
}
.order-note textarea {
  width: 100%;
  min-height: 75px;
  padding: 10px;
  margin-top: 12px;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: white;
  resize: vertical;
}
.order-note small {
  font-size: 10px;
  color: #879aaf;
}
.cart-suggestions {
  margin: 25px 0 20px;
}
.cart-suggestions > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cart-suggestions h3 {
  font:
    19px Georgia,
    serif;
  margin: 0;
}
.cart-suggestions a {
  font-size: 11px;
  color: var(--ink);
}
.cart-suggestions .mini-card {
  flex-basis: calc((100% - 10px) / 2);
  min-width: 175px;
  grid-template-columns: 1fr 23px;
  min-height: 88px;
}
.cart-suggestions .product-track {
  gap: 10px;
}
.cart-suggestions .mini-card .product-photo {
  width: 53px;
  height: 75px;
}
.cart-suggestions .mini-card .card-bottom > strong {
  left: 67px;
  font-size: 10px;
  bottom: 22px;
}
.cart-suggestions .mini-card h3 {
  font:
    11px Arial,
    sans-serif;
  margin-bottom: 28px;
}
.cart-suggestions .mini-card .quick-add {
  width: 25px;
  height: 25px;
}
.cart-summary {
  margin-top: 23px;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  margin: 16px 0;
}
.totals strong {
  font-weight: 500;
}
.totals .total-line {
  border-top: 1px dashed #c3d3e4;
  padding-top: 19px;
  margin-top: 20px;
  font-size: 18px;
}
.totals .total-line strong {
  font-weight: 600;
}
.cart-summary .button {
  display: flex;
  width: 100%;
  font-size: 13px;
  padding: 13px;
  gap: 10px;
  text-decoration: none;
  margin-top: 12px;
}
.cart-summary .checkout-link {
  margin-top: 20px;
}
.cart-summary .continue-shopping {
  background: transparent;
  box-shadow: none;
  border: 1px solid #d0deed;
}
.detailed-cart-link {
  display: block;
  text-align: center;
  font-size: 11px;
  text-decoration: underline !important;
  margin-top: 12px;
}
.cart-summary > .preview-caption {
  text-align: center;
  font-size: 10px;
  margin: 13px 0 20px;
}
.cart-summary .commerce-trust {
  margin: 15px 0 0;
}
.cart-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 25px;
}
.cart-page-heading h1 {
  font:
    44px Georgia,
    serif;
  margin: 8px 0;
}
.cart-page-heading > a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-page-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: start;
}
.cart-main,
.cart-page-layout > .cart-summary {
  padding: 24px;
  border-radius: 20px;
}
.cart-page-layout > .cart-summary {
  margin: 0;
}
.cart-page-layout .cart-row {
  grid-template-columns: 100px 1fr 120px;
  padding: 20px 0;
}
.cart-page-layout .cart-row .product-photo {
  width: 90px;
  height: 95px;
}
.cart-page-layout .cart-summary h2 {
  font:
    24px Georgia,
    serif;
  margin: 0 0 23px;
}
.cart-page-layout .cart-suggestions .mini-card {
  flex-basis: calc((100% - 20px) / 3);
}
.empty-bag {
  text-align: center;
  padding: 60px 20px;
}
.empty-bag > .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}
.empty-bag h2 {
  font:
    28px Georgia,
    serif;
}
.empty-bag p {
  font-size: 13px;
  color: #6985a3;
  margin-bottom: 25px;
}
.empty-bag .button {
  margin-top: 15px;
}
/* Checkout: reference stepper and two-column details, carrying into the final preview. */
[data-commerce="checkout"] {
  padding-top: 30px;
}
.checkout-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.checkout-wordmark {
  font:
    36px Georgia,
    serif;
  letter-spacing: -1px;
}
.checkout-wordmark small {
  display: block;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 3px;
  margin-top: 5px;
  color: #6984a1;
}
.checkout-security {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.checkout-security > .icon {
  padding: 8px;
  width: 38px;
  height: 38px;
  background: #fff9;
  border-radius: 50%;
}
.checkout-security small {
  font-size: 10px;
  display: block;
  color: #7a8fa7;
  margin-top: 3px;
}
.checkout-steps {
  list-style: none;
  display: flex;
  max-width: 650px;
  margin: -15px auto 20px;
  padding: 0;
  justify-content: space-between;
}
.checkout-steps li {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #8598ac;
}
.checkout-steps li:before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(-50% + 17px);
  width: calc(100% - 34px);
  height: 1px;
  background: #c2d0df;
}
.checkout-steps li:first-child:before {
  display: none;
}
.checkout-steps li > span {
  margin: 0 auto 7px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #bacddd;
  border-radius: 50%;
  background: #f7faff;
}
.checkout-steps strong {
  font-size: 12px;
  font-weight: 400;
}
.checkout-steps [aria-current="step"] {
  color: var(--ink);
}
.checkout-steps [aria-current="step"] > span {
  background: #183f68;
  color: #fff;
  border-color: #183f68;
}
.checkout-steps .step-done > span {
  color: #2d638c;
  background: #dfeef9;
}
.checkout-steps .step-done .icon {
  width: 16px;
  height: 16px;
}
.checkout-preview-note {
  text-align: center;
  color: #7a91aa;
  font-size: 10px;
  margin: 15px 0 23px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
  align-items: start;
}
.checkout-panel,
.checkout-summary,
.confirmation-panel {
  padding: 24px;
  border-radius: 14px;
  background: #fbfdffbc !important;
}
.checkout-panel h1 {
  font:
    30px Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0;
}
.checkout-panel h3 {
  font-size: 13px;
  margin: 20px 0 14px;
}
.checkout-panel > p {
  font-size: 13px;
  color: #6e86a2;
  margin: 10px 0 23px;
}
.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkout-fields label,
.gift-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #526b87;
}
.checkout-fields input,
.gift-fields input {
  border: 1px solid #d1deea;
  background: #ffffffac;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
.checkout-fields .field-wide {
  grid-column: 1/-1;
}
.form-divider {
  height: 1px;
  background: var(--shop-line);
  margin: 24px 0;
}
.gift-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin: 20px 0;
}
.gift-choice input {
  accent-color: #356997;
  width: 15px;
  height: 15px;
}
.gift-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gift-fields[hidden] {
  display: none;
}
.gift-fields p {
  font-size: 11px;
  grid-column: 1/-1;
}
.checkout-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--shop-line);
  margin-top: 24px;
  padding-top: 22px;
}
.checkout-form-actions > a {
  font-size: 12px;
}
.checkout-form-actions .button {
  font-size: 12px;
  padding: 12px 18px;
}
.checkout-summary h2 {
  font:
    23px Georgia,
    serif;
}
.checkout-mini-items > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--shop-line);
}
.checkout-mini-items .product-photo {
  width: 57px;
  height: 65px;
  border-radius: 5px;
}
.checkout-mini-items > div > span {
  flex: 1;
}
.checkout-mini-items strong {
  font-size: 12px;
  font-weight: 500;
}
.checkout-mini-items small {
  display: block;
  font-size: 10px;
  color: #8597ac;
  margin-top: 8px;
}
.checkout-summary .commerce-trust {
  border-top: 1px solid var(--shop-line);
  padding-top: 20px;
  margin-top: 20px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 14px;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  margin: 15px 0;
  background: #ffffff80;
  cursor: pointer;
}
.payment-option:has(input:checked) {
  border-color: #5e85ad;
  background: #eaf3fc;
}
.payment-option input {
  accent-color: #315c86;
}
.payment-option strong {
  font-size: 13px;
}
.payment-option small {
  display: block;
  font-size: 11px;
  color: #7a90a9;
  margin-top: 7px;
}
.address-recap {
  background: #e7f0f972;
  padding: 16px;
  border-radius: 10px;
  margin: 20px 0;
}
.shipping-address {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  margin: 13px 0;
}
.shipping-address span {
  display: block;
}
.shipping-address strong {
  font-weight: 500;
}
.shipping-address .icon {
  width: 20px;
  height: 20px;
}
.order-table-head,
.order-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 35px 75px;
  align-items: center;
  gap: 10px;
}
.order-table-head {
  font-size: 11px;
  padding: 10px 0;
  border-block: 1px solid var(--shop-line);
}
.order-table-head > span:not(:first-child) {
  text-align: right;
}
.order-table-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--shop-line);
  font-size: 12px;
}
.order-table-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.order-table-row .product-photo {
  width: 63px;
  height: 67px;
  border-radius: 5px;
}
.order-table-row strong {
  font-weight: 500;
}
.order-table-row small {
  display: block;
  font-size: 10px;
  color: #7a8ea5;
  margin-top: 4px;
}
.order-table-row > span,
.order-table-row > strong {
  text-align: right;
}
.order-table-row:last-child {
  border-bottom: 0;
}
.review-info {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 15px;
  margin-top: 18px;
}
.review-info p {
  font-size: 12px;
}
.confirmation-banner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 12px;
  background: #fafdffd1 !important;
}
.confirmation-title {
  display: flex;
  gap: 20px;
  align-items: center;
}
.confirmation-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #376a8a;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 5px 14px #35648626;
}
.confirmation-check .icon {
  width: 35px;
  height: 35px;
  stroke-width: 3;
}
.confirmation-title h1 {
  font:
    32px Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.confirmation-title p {
  font-size: 14px;
  color: #6a819e;
  margin: 0;
  max-width: 540px;
}
.confirmation-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.confirmation-meta > span {
  font-size: 10px;
  color: #718ba6;
  border-right: 1px solid var(--shop-line);
}
.confirmation-meta > span:last-child {
  border: 0;
}
.confirmation-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.confirmation-banner .actions .button {
  font-size: 12px;
  padding: 11px 20px;
}
.confirmation-banner aside {
  border-left: 1px solid var(--shop-line);
  padding: 20px 25px;
  align-self: stretch;
}
.confirmation-banner aside > .icon {
  width: 25px;
  height: 25px;
  color: #557e99;
}
.confirmation-banner aside h2 {
  font:
    21px Georgia,
    serif;
  margin: 13px 0 5px;
}
.confirmation-banner aside p {
  font-size: 16px;
  margin: 0;
}
.confirmation-banner aside small {
  display: block;
  margin-top: 25px;
  line-height: 1.5;
  color: #7c91a8;
}
.confirmation-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
}
.confirmation-panel {
  margin-bottom: 10px;
}
.confirmation-panel h2 {
  font:
    23px Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
.confirmation-panel h2 small {
  font:
    13px Arial,
    sans-serif;
}
.order-timeline {
  display: flex;
  gap: 12px;
  text-align: center;
  margin: 24px 0;
}
.order-timeline > div {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.order-timeline > div:before {
  position: absolute;
  content: "";
  height: 1px;
  background: #cfdae6;
  left: calc(-50% + 15px);
  width: calc(100% - 22px);
  top: 19px;
}
.order-timeline > div:first-child:before {
  display: none;
}
.order-timeline .icon {
  position: relative;
  background: #f7faff;
  border: 1px solid #d2dfeb;
  border-radius: 50%;
  padding: 9px;
  width: 40px;
  height: 40px;
  color: #7993af;
}
.order-timeline strong {
  font-size: 11px;
  font-weight: 500;
}
.order-timeline small {
  font-size: 10px;
  line-height: 1.4;
  color: #8093a9;
  max-width: 110px;
}
.confirmation-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  background: #eaf0f6;
  padding: 13px;
  border-radius: 7px;
  color: #6c839d;
}
.payment-summary-method {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.help-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.help-panel h3 {
  font:
    17px Georgia,
    serif;
  margin: 0;
}
.help-panel p {
  font-size: 11px;
  color: #8397ae;
  margin: 4px 0 0;
}
.help-panel .button {
  font-size: 10px;
  padding: 8px 12px;
  margin-left: auto;
  border-radius: 7px;
}
.gratitude-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 135px;
  color: white;
  background: #173d65;
}
.gratitude-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.65;
}
.gratitude-card:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #123657b0, transparent);
}
.gratitude-card > div {
  position: relative;
  z-index: 1;
  padding: 19px;
}
.gratitude-card h2 {
  font:
    24px Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 0;
}
.gratitude-card p {
  font-size: 11px;
  margin: 8px 0;
}
@media (min-width: 1600px) {
  .shop-hero:before {
    right: -70px;
  }
}
@media (max-width: 1228px) {
  .shop-hero:before {
    right: -24px;
  }
  .collection-shelf {
    grid-template-columns: 245px minmax(0, 1fr);
    padding: 20px;
  }
  .shelf-intro h2 {
    font-size: 26px;
  }
  .product-track .product-card {
    flex-basis: calc((100% - 24px) / 3);
  }
  .product-track .mini-card {
    flex-basis: calc((100% - 30px) / 3);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-selection {
    gap: 10px;
  }
  .product-gallery {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }
  .product-detail {
    gap: 24px;
  }
  .gallery-main {
    aspect-ratio: 0.8;
  }
  .product-options label > span {
    padding: 10px 7px;
  }
  .product-title-row h1 {
    font-size: 36px;
  }
  .product-benefits {
    gap: 7px;
  }
  .product-benefits > span {
    gap: 5px;
    font-size: 9px;
  }
  .cart-suggestions .product-track .mini-card {
    flex-basis: calc((100% - 10px) / 2);
  }
  .checkout-steps {
    margin: 20px auto;
  }
  .shop-toolbar {
    flex-wrap: wrap;
  }
  .shop-toolbar .search-field {
    flex-basis: 40%;
  }
  .shop-toolbar > label:not(.search-field) {
    flex: 1;
  }
}
@media (max-width: 900px) {
  .shop-hero {
    padding: 23px 12px;
    min-height: 330px;
  }
  .shop-hero h1 {
    font-size: 43px;
  }
  .shop-hero-copy {
    max-width: 490px;
  }
  .shop-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
    max-width: 380px;
  }
  .hero-note {
    display: none;
  }
  .shop-promises {
    gap: 10px;
  }
  .shop-promises > span {
    gap: 6px;
    padding-right: 10px;
  }
  .shop-promises strong {
    font-size: 10px;
  }
  .shop-promises small {
    font-size: 8px;
  }
  .collection-shelf {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
  }
  .shelf-intro h2 {
    font-size: 24px;
  }
  .shelf-intro .button {
    min-width: 0;
    font-size: 11px;
    padding: 10px 13px;
  }
  .shelf-content {
    padding-right: 18px;
  }
  .product-track .product-card {
    flex-basis: calc((100% - 12px) / 2);
  }
  .product-track .mini-card {
    flex-basis: calc((100% - 24px) / 3);
  }
  .shop-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .shop-values > span:nth-child(2) {
    border: 0;
  }
  .browse-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .browse-sidebar {
    padding: 16px;
  }
  .browse-results {
    padding: 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-thumbnails {
    flex-direction: row;
    order: 2;
  }
  .gallery-thumbnails button {
    width: 50px;
    height: 55px;
  }
  .gallery-main {
    aspect-ratio: 0.8;
  }
  .product-title-row {
    align-items: start;
  }
  .product-title-row h1 {
    font-size: 32px;
  }
  .product-title-row > div {
    gap: 5px;
    flex-direction: column;
  }
  .product-title-row .round-control {
    width: 28px;
    height: 28px;
  }
  .product-selection {
    flex-wrap: wrap;
  }
  .product-options {
    flex-basis: 100%;
  }
  .product-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .product-story {
    font-size: 12px;
  }
  .product-description > .commerce-trust {
    gap: 6px;
    flex-wrap: wrap;
  }
  .product-tabs [role="tablist"] {
    gap: 24px;
  }
  .cart-page-layout {
    grid-template-columns: 1.3fr 1fr;
  }
  .cart-main,
  .cart-page-layout > .cart-summary {
    padding: 17px;
  }
  .cart-page-layout .cart-row {
    grid-template-columns: 65px 1fr 100px;
    gap: 9px;
  }
  .cart-page-layout .cart-row .product-photo {
    width: 65px;
    height: 75px;
  }
  .quantity {
    min-width: 100px;
  }
  .checkout-layout {
    grid-template-columns: 1.3fr 1fr;
  }
  .checkout-panel,
  .checkout-summary,
  .confirmation-panel {
    padding: 18px;
  }
  .checkout-panel h1 {
    font-size: 25px;
  }
  .checkout-panel .panel-heading {
    align-items: start;
  }
  .checkout-panel .panel-heading a {
    font-size: 10px;
    max-width: 100px;
  }
  .checkout-form-actions {
    gap: 10px;
  }
  .checkout-form-actions .button {
    font-size: 11px;
    padding: 11px 14px;
  }
  .checkout-fields {
    gap: 12px;
  }
  .checkout-fields input {
    padding: 10px;
  }
  .confirmation-title h1 {
    font-size: 27px;
  }
  .confirmation-check {
    width: 45px;
    height: 45px;
  }
  .confirmation-banner {
    gap: 18px;
    padding: 20px;
  }
  .confirmation-banner aside {
    padding: 15px;
  }
  .confirmation-layout {
    grid-template-columns: 1.3fr 1fr;
  }
  .order-table-head,
  .order-table-row {
    grid-template-columns: minmax(0, 1fr) 50px 24px 54px;
    gap: 6px;
    font-size: 10px;
  }
  .order-table-row .product-photo {
    width: 45px;
    height: 55px;
  }
  .order-table-row > div {
    gap: 7px;
  }
  .order-table-row small:last-child {
    display: none;
  }
}
@media (max-width: 650px) {
  .commerce {
    padding-top: 10px;
  }
  .shop-hero {
    padding: 22px 8px 20px;
    min-height: 370px;
    align-items: start;
  }
  .shop-hero:before {
    inset: -100px -16px 0 0;
    background:
      linear-gradient(90deg, #edf3faee, #edf3fa75 60%, #edf3fa25),
      linear-gradient(0deg, #edf3fa, transparent 45%),
      url("/assets/images/venture-consumer.webp") 65% center/cover;
  }
  .shop-hero h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .shop-hero-copy > p:not(.eyebrow) {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.45;
  }
  .shop-hero .actions {
    gap: 10px;
  }
  .shop-hero .button {
    padding: 11px 14px;
    font-size: 10px;
    gap: 8px;
  }
  .shop-hero .button .icon {
    width: 17px;
    height: 17px;
  }
  .shop-promises {
    margin-top: 26px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .shop-promises .icon {
    width: 21px;
    height: 21px;
  }
  .shop-promises > span {
    gap: 6px;
    padding-right: 6px;
  }
  .shop-promises strong {
    font-size: 8px;
  }
  .shop-promises small {
    font-size: 7px;
  }
  .collection-preview {
    text-align: center;
    font-size: 9px;
    line-height: 1.5;
    padding: 0 0 10px;
  }
  .collection-shelf {
    display: block;
    padding: 18px 14px 12px;
    border-radius: 19px;
    margin-bottom: 12px;
  }
  .shelf-intro .category-pill {
    margin-bottom: 9px;
    font-size: 8px;
  }
  .shelf-intro h2 {
    font-size: 26px;
    margin: 0;
  }
  .shelf-description {
    gap: 8px;
    margin: 8px 0 14px;
    max-width: 290px;
  }
  .shelf-description p {
    font-size: 11px;
    max-width: none;
  }
  .shelf-description .icon {
    width: 17px;
  }
  .shelf-intro .button {
    font-size: 11px;
    padding: 10px 15px;
    margin-bottom: 20px;
  }
  .shelf-content {
    padding: 24px 0 0;
  }
  .filter-link {
    top: -8px;
    right: 0;
    font-size: 9px;
    padding: 5px 10px;
  }
  .product-track {
    gap: 10px;
  }
  .product-track .product-card {
    flex-basis: calc((100% - 10px) / 2);
  }
  .product-card-copy {
    padding: 8px 7px 2px;
  }
  .product-card h3 {
    font-size: 12px;
  }
  .product-card p {
    font-size: 9px;
  }
  .card-bottom {
    padding: 5px 6px 8px;
    gap: 2px;
  }
  .card-bottom strong {
    font-size: 10px;
  }
  .quick-add {
    width: 27px;
    height: 27px;
  }
  .shelf-next {
    right: -9px;
    width: 31px;
    height: 31px;
    top: 44%;
  }
  .shop-values {
    padding: 20px 13px;
    gap: 18px 12px;
    border-radius: 18px;
  }
  .shop-values > span {
    gap: 9px;
    padding: 0;
    border: 0;
  }
  .shop-values .icon {
    width: 23px;
    height: 23px;
  }
  .shop-values strong {
    font-size: 9px;
  }
  .shop-values small {
    font-size: 8px;
  }
  .browse-hero {
    min-height: 255px;
  }
  .shop-toolbar {
    gap: 8px;
    padding: 11px;
    border-radius: 15px;
  }
  .shop-toolbar .search-field {
    flex-basis: 100%;
    min-width: 0 !important;
  }
  .shop-toolbar > label:not(.search-field) {
    flex: 1 0 40%;
  }
  .shop-toolbar select {
    font-size: 11px;
    padding: 9px 8px;
  }
  .browse-layout {
    display: block;
  }
  .browse-sidebar {
    display: none;
  }
  .browse-results {
    padding: 12px;
    border-radius: 16px;
  }
  .results-heading {
    gap: 8px;
    font-size: 10px;
  }
  .filter-chip {
    font-size: 9px;
    padding: 6px 8px;
  }
  .view-switch .icon {
    width: 14px;
    height: 14px;
  }
  .view-switch button {
    padding: 4px;
  }
  .product-grid {
    gap: 10px;
  }
  .list-view {
    grid-template-columns: 1fr;
  }
  .list-view .product-photo {
    width: 95px;
  }
  .list-view .card-bottom {
    padding-left: 105px;
  }
  .list-view .product-card-copy {
    padding: 12px;
  }
  .list-view .product-card-copy h3 {
    font-size: 14px;
  }
  #page-overlay[data-module="shop"] {
    width: 96vw;
    padding: 15px;
    max-height: 94dvh;
    border-radius: 15px;
  }
  #page-overlay[data-module="shop"] .overlay-content {
    max-height: calc(94dvh - 30px);
    scrollbar-gutter: auto;
  }
  #page-overlay[data-module="shop"] .dialog-close {
    top: 9px;
    right: 9px;
    background: #fff;
    z-index: 6;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 15px;
  }
  .product-gallery {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
  }
  .gallery-thumbnails {
    flex-direction: column;
    order: 0;
    gap: 6px;
  }
  .gallery-thumbnails button {
    width: 46px;
    height: 52px;
  }
  .gallery-main {
    aspect-ratio: 1;
    max-height: 360px;
  }
  .gallery-badge {
    font-size: 8px;
    padding: 6px 9px;
    top: 10px;
    left: 10px;
  }
  .gallery-next,
  .gallery-previous,
  .gallery-zoom {
    width: 28px;
    height: 28px;
  }
  .gallery-previous {
    left: 8px;
  }
  .gallery-next {
    right: 8px;
  }
  .product-description {
    padding: 0;
  }
  .product-brand {
    font-size: 17px;
  }
  .product-title-row {
    align-items: center;
  }
  .product-title-row > div {
    flex-direction: row;
    gap: 10px;
  }
  .product-title-row h1 {
    font-size: 36px;
  }
  .product-tagline {
    font-size: 14px;
  }
  .product-rating {
    margin-bottom: 17px;
  }
  .product-story {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .product-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-bottom: 18px;
    margin-bottom: 17px;
  }
  .product-benefits > span {
    flex-direction: column;
    align-items: start;
    gap: 6px;
    font-size: 9px;
  }
  .product-selection {
    gap: 16px;
    flex-wrap: nowrap;
  }
  .product-options {
    flex-basis: auto;
    gap: 6px;
  }
  .product-options label > span {
    padding: 9px 7px;
    font-size: 11px;
  }
  .product-options small {
    font-size: 8px;
  }
  .product-options b {
    font-size: 11px;
  }
  .quantity {
    min-width: 90px;
  }
  .quantity button {
    width: 24px;
    height: 26px;
  }
  .product-quantity input {
    width: 22px;
  }
  .product-buy {
    margin-top: 17px;
    gap: 10px;
  }
  .product-buy .button {
    font-size: 12px;
    padding: 12px 10px;
    gap: 10px;
  }
  .product-description > .commerce-trust {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .commerce-trust > span,
  .commerce-trust > a {
    font-size: 8px;
    gap: 5px;
  }
  .commerce-trust small {
    font-size: 7px;
  }
  .commerce-trust .icon {
    width: 20px;
    height: 20px;
  }
  .product-tabs [role="tablist"] {
    gap: 0;
    justify-content: space-between;
    padding: 0;
  }
  .product-tabs [role="tab"] {
    font-size: 11px;
    padding: 14px 3px;
  }
  .product-tabs [role="tabpanel"] {
    padding: 18px 2px;
    min-height: 120px;
  }
  .product-tabs h2 {
    font-size: 21px;
  }
  .product-tabs p {
    font-size: 12px;
  }
  .review-placeholder {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .related-products h2 {
    font-size: 21px;
  }
  .related-products .product-track .mini-card {
    flex-basis: 230px;
  }
  .mini-card h3 {
    font-size: 11px;
  }
  .mini-card .card-bottom > strong {
    font-size: 10px;
  }
  #cart-drawer {
    width: min(430px, 100vw);
    border-radius: 16px 0 0 16px;
  }
  .drawer-heading {
    padding: 22px 20px 18px;
  }
  .drawer-scroll {
    padding: 0 20px 24px;
    max-height: calc(100dvh - 67px);
  }
  .cart-row {
    grid-template-columns: 70px minmax(0, 1fr) 100px;
    gap: 10px;
    padding: 15px 0;
  }
  .cart-row .product-photo {
    width: 70px;
    height: 86px;
  }
  .cart-item-copy > a > strong {
    font-size: 12px;
  }
  .cart-item-copy strong {
    font-size: 13px;
  }
  .cart-suggestions .product-track .mini-card {
    flex-basis: calc((100% - 10px) / 2);
    min-width: 165px;
  }
  .cart-suggestions .mini-card .product-photo {
    width: 48px;
    height: 72px;
  }
  .cart-suggestions .mini-card .product-link {
    gap: 7px;
  }
  .cart-suggestions .mini-card .card-bottom > strong {
    left: 60px;
    font-size: 10px;
  }
  .cart-suggestions .mini-card h3 {
    font-size: 10px;
  }
  .cart-suggestions .mini-card {
    padding-right: 4px;
    grid-template-columns: 1fr 23px;
  }
  .cart-page-heading {
    padding: 15px 0 20px;
  }
  .cart-page-heading h1 {
    font-size: 36px;
  }
  .cart-page-heading > a {
    font-size: 11px;
    max-width: 130px;
  }
  .cart-page-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cart-page-layout .cart-row {
    grid-template-columns: 70px minmax(0, 1fr) 100px;
  }
  .cart-main,
  .cart-page-layout > .cart-summary {
    padding: 18px;
  }
  .cart-page-layout .cart-suggestions .mini-card {
    flex-basis: calc((100% - 10px) / 2);
  }
  .checkout-masthead {
    align-items: start;
  }
  .checkout-wordmark {
    font-size: 29px;
  }
  .checkout-wordmark small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .checkout-security {
    font-size: 10px;
    gap: 6px;
  }
  .checkout-security small {
    font-size: 8px;
    max-width: 95px;
    line-height: 1.4;
  }
  .checkout-security > .icon {
    width: 30px;
    height: 30px;
    padding: 7px;
  }
  .checkout-steps {
    margin: 25px auto 15px;
  }
  .checkout-steps strong {
    font-size: 10px;
  }
  .checkout-steps li > span {
    width: 29px;
    height: 29px;
    font-size: 11px;
  }
  .checkout-steps li:before {
    top: 14px;
  }
  .checkout-preview-note {
    font-size: 9px;
    line-height: 1.4;
    margin: 0 0 16px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .checkout-panel,
  .checkout-summary,
  .confirmation-panel {
    padding: 18px;
    border-radius: 14px;
  }
  .checkout-panel h1 {
    font-size: 27px;
  }
  .checkout-panel .panel-heading {
    align-items: center;
  }
  .checkout-panel .panel-heading a {
    font-size: 10px;
    max-width: 92px;
    text-align: right;
  }
  .checkout-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .checkout-fields label {
    font-size: 11px;
  }
  .checkout-fields input {
    padding: 12px;
    font-size: 13px;
  }
  .gift-fields {
    grid-template-columns: 1fr;
  }
  .checkout-form-actions {
    gap: 10px;
  }
  .checkout-form-actions .button {
    font-size: 11px;
    padding: 11px 14px;
    gap: 8px;
  }
  .checkout-form-actions > a {
    font-size: 11px;
  }
  .checkout-summary .commerce-trust {
    font-size: 10px;
  }
  .checkout-mini-items .product-photo {
    width: 55px;
    height: 62px;
  }
  .review-info {
    grid-template-columns: 1fr;
  }
  .order-table-head,
  .order-table-row {
    grid-template-columns: minmax(0, 1fr) 45px 22px 50px;
    gap: 5px;
    font-size: 10px;
  }
  .order-table-row > div {
    gap: 8px;
  }
  .order-table-row .product-photo {
    width: 40px;
    height: 50px;
  }
  .order-table-row strong {
    font-size: 10px;
  }
  .order-table-row small {
    font-size: 9px;
  }
  .confirmation-banner {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 15px;
  }
  .confirmation-title {
    gap: 12px;
    align-items: start;
  }
  .confirmation-check {
    width: 40px;
    height: 40px;
    margin-top: 3px;
  }
  .confirmation-check .icon {
    width: 25px;
    height: 25px;
  }
  .confirmation-title h1 {
    font-size: 27px;
  }
  .confirmation-title p {
    font-size: 12px;
  }
  .confirmation-meta {
    gap: 10px;
    margin: 23px 0;
  }
  .confirmation-meta > span {
    font-size: 9px;
  }
  .confirmation-meta strong {
    font-size: 10px;
  }
  .confirmation-banner .actions {
    gap: 10px;
    flex-wrap: nowrap;
  }
  .confirmation-banner .actions .button {
    font-size: 10px;
    padding: 10px 11px;
    gap: 7px;
  }
  .confirmation-banner .actions .icon {
    width: 17px;
    height: 17px;
  }
  .confirmation-banner aside {
    border-left: 0;
    border-top: 1px solid var(--shop-line);
    padding: 15px 0 0;
    display: none;
  }
  .confirmation-layout {
    grid-template-columns: 1fr;
  }
  .confirmation-panel h2 {
    font-size: 22px;
  }
  .order-timeline {
    gap: 7px;
    margin: 20px 0;
  }
  .order-timeline strong {
    font-size: 9px;
  }
  .order-timeline small {
    font-size: 8px;
  }
  .order-timeline .icon {
    width: 34px;
    height: 34px;
    padding: 7px;
  }
  .order-timeline > div:before {
    top: 16px;
  }
  .confirmation-mail {
    font-size: 10px;
    padding: 11px;
  }
  .help-panel .button {
    font-size: 10px;
  }
  .gratitude-card {
    height: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-photo,
  .wheel-option {
    transition: none;
  }
  .product-track {
    scroll-behavior: auto;
  }
}
/* Override the shared compact content-dialog limit for the reference product layout. */
#page-overlay[data-module="shop"] {
  max-width: min(1240px, 96vw);
}
.commerce button.primary,
#cart-drawer .primary {
  color: #fff;
}
#cart-drawer {
  --shop-line: #d6e2ee;
}
.collection-preview {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

#cart-drawer .dialog-close {
  color: #c42c3e;
}
/* Consumer interaction pass */
body[data-shop-mode="shop"] {
  --hero-image: url("/assets/images/venture-consumer.webp");
}
.shop-hero:before {
  display: none;
}
body[data-shop-mode="product"] > .hero-backdrop,
body[data-shop-mode="cart"] > .hero-backdrop,
body[data-shop-mode="checkout"] > .hero-backdrop {
  display: none;
}
.product-card {
  perspective: 1000px;
  overflow: visible;
  background: transparent;
}
.card-turner {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card-front {
  background: #ffffffb0;
  border-radius: 10px;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
}
.card-front > .favorite {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 25px;
  height: 25px;
}
.collection-shelf .card-front > .favorite {
  display: none;
}
.card-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #fafdff, #e0eefb);
  border: 1px solid white;
  border-radius: 11px;
  padding: 12px 9px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.is-flipped .card-turner {
  transform: rotateY(180deg);
}
.card-back > button {
  border: 0;
  background: none;
  align-self: start;
  font-size: 19px;
  padding: 0;
}
.card-back > strong {
  font-size: 12px;
}
.card-back > small {
  font-size: 10px;
  color: #6b87a5;
}
.card-variant-list {
  overflow-y: auto;
  scrollbar-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;
  min-height: 0;
}
.card-variant-list button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 3px;
  background: #fff9;
  border: 1px solid #bdd2e7;
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 11px;
}
.card-variant-list button:hover {
  background: #d1e6f8;
}
.card-variant-list small {
  font-size: 9px;
}
.card-variant-list b {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 11px;
  color: #5080ac;
}
.mini-card {
  display: block;
  min-height: 88px;
  padding: 0;
}
.mini-card .card-front {
  display: grid;
  grid-template-columns: 1fr 30px;
  padding: 5px 8px 5px 5px;
  gap: 3px;
}
.mini-card .card-back {
  padding: 8px;
  min-height: 88px;
  overflow: auto;
}
.mini-card.is-flipped {
  min-height: 190px;
}
.mini-card .card-variant-list {
  grid-template-columns: 1fr 1fr;
}
.mini-card .card-bottom {
  display: contents;
}
.product-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
}
.product-options legend {
  grid-column: 1/-1;
}
.product-selection {
  align-items: end;
}
.favorite.is-saved {
  color: #de517b !important;
  background: #ffe8f0 !important;
}
.favorite.is-saved svg {
  fill: #e75c88;
  stroke: #d5416f;
}
.cart-addons {
  border: 0;
  border-bottom: 1px solid #d6e2ee;
  margin: 20px 0;
  padding: 0 0 15px;
}
.cart-addons legend {
  font:
    18px Georgia,
    serif;
  margin-bottom: 13px;
}
.cart-addons label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.cart-addons input {
  accent-color: #3b729f;
}
.cart-addons strong {
  font-size: 12px;
  font-weight: 500;
}
.cart-addons small {
  font-size: 10px;
  color: #7490ab;
  display: block;
  margin-top: 4px;
}
.cart-addons b {
  font-size: 11px;
  margin-left: auto;
}
.delivery-options {
  border: 1px solid #d1dfec;
  border-radius: 12px;
  padding: 15px;
  margin: 23px 0;
}
.delivery-options legend {
  font-size: 13px;
  font-weight: bold;
}
.delivery-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #d9e6f0;
}
.delivery-options input {
  accent-color: #315f8c;
}
.delivery-options strong {
  font-size: 12px;
}
.delivery-options small {
  display: block;
  font-size: 10px;
  color: #6f8ca7;
  margin-top: 4px;
}
.delivery-options label > small {
  margin-left: auto;
  white-space: nowrap;
}
.browse-sidebar .filter-field,
.filter-drawer-content .filter-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0;
  font-size: 12px;
  font-weight: bold;
}
.filter-field select {
  width: 100%;
  padding: 10px 7px;
  border: 1px solid #d2e1ef;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
}
.price-filter {
  border: 0 !important;
  margin: 20px 0 !important;
  padding: 0 !important;
}
.price-filter legend {
  float: none !important;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 12px;
}
.price-filter output {
  font-size: 12px;
}
.dual-range {
  position: relative;
  height: 30px;
  margin: 15px 0 5px;
}
.dual-range:before {
  content: "";
  position: absolute;
  height: 4px;
  top: 13px;
  left: 0;
  right: 0;
  background: #aecde6;
  border-radius: 4px;
}
.dual-range input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}
.dual-range input::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  background: #3d7cb0;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: auto;
  cursor: ew-resize;
}
.dual-range input::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #3d7cb0;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: auto;
}
.featured-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin: 22px 0;
}
.featured-filter input {
  accent-color: #3a75a3;
}
.shop-pagination {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 26px 0 6px;
}
.shop-pagination button {
  border: 1px solid white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: #eaf4fc;
  color: #315f8c;
  font-size: 12px;
  transition: transform 0.15s;
}
.shop-pagination button:hover:not(:disabled) {
  transform: translateY(-3px);
}
.shop-pagination [aria-current="page"] {
  background: #285984;
  color: white;
  box-shadow: 0 5px 14px #315e8630;
}
.shop-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}
.product-grid {
  perspective: 1000px;
  min-height: 280px;
}
.filter-drawer-toggle {
  display: none !important;
}
#shop-filter-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: min(330px, 90vw);
  max-width: 90vw;
  height: 100dvh;
  max-height: 100dvh;
  background: #f0f7fd;
  border: 0;
  border-radius: 0 20px 20px 0;
  padding: 55px 24px 25px;
  color: var(--ink);
  overflow: auto;
}
#shop-filter-drawer::backdrop {
  background: #163c6655;
  backdrop-filter: blur(3px);
}
#shop-filter-drawer .dialog-close {
  position: absolute;
  right: 16px;
  top: 15px;
  color: #c42c3e;
}
.filter-drawer-content h3 {
  display: flex;
  gap: 10px;
  font-size: 19px;
}
.filter-drawer-content .button {
  margin-top: 15px;
  width: 100%;
}
.gallery-main {
  touch-action: pan-y;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  background: transparent;
  border: 0;
  overflow: hidden;
  color: white;
}
.image-lightbox::backdrop {
  background: #08182de0;
  backdrop-filter: blur(7px);
}
.image-lightbox > .dialog-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #e84c72;
  background: white;
  z-index: 3;
}
.image-lightbox > p {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: white;
  pointer-events: none;
}
.zoom-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  touch-action: none;
}
.zoom-image-frame {
  width: min(75vw, 70dvh);
  height: min(75vw, 70dvh);
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
}
.zoom-image-frame:active {
  cursor: grabbing;
}
.zoom-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.drawer-scroll {
  scrollbar-width: none;
}
.drawer-scroll::-webkit-scrollbar {
  display: none;
}
@media (max-width: 650px) {
  .filter-drawer-toggle {
    display: flex !important;
    font-size: 11px !important;
    padding: 9px 15px !important;
  }
  .shop-toolbar .search-field {
    flex-basis: 100%;
  }
  .shop-toolbar > label:not(.search-field) {
    flex: 1;
  }
  .product-options {
    grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
    max-height: 220px;
  }
  .product-selection {
    align-items: center;
  }
  .card-back {
    padding: 8px 6px;
  }
  .card-variant-list {
    gap: 4px;
  }
  .card-variant-list button {
    padding: 7px 5px;
  }
  .mini-card.is-flipped {
    min-height: 190px;
  }
  .zoom-image-frame {
    width: 88vw;
    height: 88vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-turner,
  .shop-pagination button {
    transition: none;
  }
}

/* Shared collection rhythm and stable two-sided cards. */
.commerce.is-browsing .shop-hero,
.shop-browsing .hero-backdrop {
  display: none;
}
.commerce.is-browsing {
  padding-top: 24px;
}
.collection-shelf {
  margin-top: 0;
  margin-bottom: 24px;
}
.shop-values {
  margin-top: 24px;
  margin-bottom: 24px;
}
[data-shop-results] {
  margin-top: 24px;
}
.collection-shelf .card-front > .favorite {
  display: grid;
}
.card-front,
.card-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0.1px);
}
.card-back {
  transform: rotateY(180deg) translateZ(0.1px);
}
.card-turner {
  will-change: transform;
}
.category-options {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.category-options legend {
  font-weight: 700;
  margin-bottom: 12px;
}
.category-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  cursor: pointer;
}
.category-options label[hidden] {
  display: none;
}
.category-options input {
  accent-color: #315f8b;
}
.category-options .text-button {
  justify-self: start;
  font-size: 12px;
  color: #315f8b;
}
.shop-pagination {
  flex-wrap: wrap;
  gap: 6px;
}
.image-lightbox > .dialog-close {
  right: 12px;
  top: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 1;
  color: #c42c3e;
  background: #fff2f3;
  border-radius: 50%;
  border: 0;
}

/* Results change together; empty states use the full results area. */
.product-grid.is-empty {
  display: block;
  min-height: 280px;
}
.product-grid.is-empty .empty-bag {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: none;
  box-shadow: none;
  border: 0;
}
.nested-categories {
  margin: 12px 0 8px 13px;
  padding-left: 14px;
  border-left: 1px solid #bbcee0;
  display: grid;
  gap: 12px;
}
.category-options [data-category-item][hidden] {
  display: none;
}
.view-switch button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 8px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}
.view-switch .icon {
  width: 20px;
  height: 20px;
  display: block;
}
.card-turner {
  transition: transform 0.55s cubic-bezier(0.25, 0.65, 0.25, 1);
}
.list-view .product-card {
  min-height: 250px;
}
.list-view .card-turner,
.list-view .card-front {
  height: 100%;
  min-height: 250px;
}
.list-view .card-back {
  min-height: 0;
  overflow: hidden;
}
.list-view .card-variant-list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-bottom: 4px;
}
@media (max-width: 700px) {
  .list-view .product-card,
  .list-view .card-front,
  .list-view .card-turner {
    min-height: 270px;
  }
}

/* Compact recommendation and list options never grow their parent card. */
.list-view .product-card,
.list-view .card-turner,
.list-view .card-front {
  height: 100px;
  min-height: 100px;
}
.list-view .card-front {
  position: relative;
  padding-right: 38px;
}
.list-view .product-link {
  height: 100px;
}
.list-view .product-photo {
  height: 100px;
  width: 100px;
  object-fit: cover;
  flex-shrink: 0;
}
.list-view .card-bottom {
  position: absolute;
  bottom: 7px;
  left: 110px;
  right: 7px;
  padding: 0;
}
.list-view .product-card-copy {
  align-self: flex-start;
  padding: 10px;
}
.list-view .product-card-copy p {
  margin-top: 3px;
}
.mini-card,
.mini-card.is-flipped,
.mini-card .card-turner,
.mini-card .card-front {
  height: 88px;
  min-height: 88px;
}
.list-view .card-back,
.mini-card .card-back {
  min-height: 0;
  height: 100%;
  padding: 5px;
  overflow: hidden;
  box-sizing: border-box;
}
.list-view .card-back > button,
.list-view .card-back > strong,
.list-view .card-back > small,
.mini-card .card-back > button,
.mini-card .card-back > strong,
.mini-card .card-back > small {
  display: none;
}
.list-view .card-variant-list,
.mini-card .card-variant-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  grid-auto-rows: minmax(36px, auto);
  align-content: start;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}
.list-view .card-variant-list button,
.mini-card .card-variant-list button {
  padding: 5px;
  min-height: 36px;
  gap: 2px;
  font-size: 10px;
}
.list-view .card-variant-list small,
.mini-card .card-variant-list small {
  font-size: 9px;
}
.list-view .card-variant-list b,
.mini-card .card-variant-list b {
  display: none;
}

/* Every card uses the same compact reverse-side option layout. */
.product-card .card-back{min-height:0;height:100%;padding:5px;overflow:hidden;box-sizing:border-box}
.product-card .card-back>button,.product-card .card-back>strong,.product-card .card-back>small{display:none}
.product-card .card-variant-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(62px,1fr));grid-auto-rows:minmax(36px,auto);align-content:start;gap:4px;min-height:0;overflow-y:auto;flex:1;overscroll-behavior:contain}
.product-card .card-variant-list button{padding:5px;min-height:36px;gap:2px;font-size:10px}
.product-card .card-variant-list small{font-size:9px}
.product-card .card-variant-list b{display:none}

.quote-totals { margin: 16px 0; }
.quote-totals dd { margin: 0; text-align: right; font-weight: 600; }
.quote-totals > div:last-child { border-top: 1px solid #cad9eb; padding-top: 14px; }

.category-coming-soon { flex: 1; min-width: 240px; padding: 30px; text-align: center; align-self: center; }
.product-review { padding: 18px 0; border-bottom: 1px solid #cad9eb; }
.product-review p { white-space: pre-line; }
.product-review .stars { margin-left: 12px; color: #a67513; }

/* Unavailable choices remain visible but cannot be selected. */
.product-options label:has(input:disabled), .card-back button:disabled {
 color:#bc737b; background:rgba(255,220,225,.35); cursor:not-allowed;
 text-decoration:line-through; opacity:1;
}
.product-options input:disabled + span, .product-options label:has(input:disabled) * {cursor:not-allowed;color:inherit}

.product-unavailable,.quick-add:disabled,.product-buy button:disabled {color:#bc737b;text-decoration:line-through;cursor:not-allowed;opacity:1}
.product-buy button:disabled {background:rgba(255,220,225,.35);box-shadow:none}
.product-story,.product-tabs [role=tabpanel]>p{white-space:pre-line}
@media(min-width:901px){.browse-layout{align-items:stretch}.browse-sidebar{align-self:stretch;min-height:0;position:relative;padding:0;overflow:hidden}.browse-sidebar>form{position:absolute;inset:0;overflow-y:auto;padding:19px 20px;overscroll-behavior:contain;scrollbar-width:thin}}
/* Searchable checkout choices retain native form values. */
.checkout-choice{position:relative;min-width:0;width:100%}
.checkout-choice input[role=combobox]{width:100%;padding-right:44px!important;background:linear-gradient(130deg,#ffffffed,#e6f2ffcf);border:1px solid #fff;border-radius:14px;color:#17395d;box-shadow:inset 0 1px 0 #fff,0 5px 16px #527ca00b;min-height:46px}
.checkout-choice input[role=combobox]:focus{outline:2px solid #83b9de;outline-offset:2px}
.checkout-choice input:disabled{opacity:.75;cursor:not-allowed}
.checkout-choice-toggle{position:absolute;right:6px;top:5px;width:34px;height:36px;border:0;background:transparent;color:#315e84;font-size:24px;cursor:pointer}
.checkout-choice-toggle:disabled{cursor:not-allowed}
.checkout-choice-panel{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:40;border:1px solid #fff;border-radius:17px;background:#f1f7fffa;backdrop-filter:blur(22px);box-shadow:0 16px 42px #18395829;padding:7px;overflow:hidden}
.checkout-choice-panel[hidden]{display:none}
.checkout-choice-count{display:block;padding:8px 10px;color:#6583a0;font-size:11px;font-weight:400}
.checkout-choice-panel [role=listbox]{max-height:230px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b2cce0 transparent}
.checkout-choice-panel [role=option]{display:block;width:100%;text-align:left;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#17395d;white-space:normal;font:inherit;font-size:13px;cursor:pointer;line-height:1.4}
.checkout-choice-panel [role=option]:hover,.checkout-choice-panel .is-highlighted{background:#deedfa}
.checkout-choice-panel [aria-selected=true]{background:#d2e6f6;font-weight:600}
.checkout-panel{overflow:visible}
.saved-address-choices{border:0;padding:0;margin:1rem 0;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.saved-address-choices legend{font-weight:700;margin-bottom:.7rem}.saved-address-card{display:flex!important;align-items:flex-start;gap:.75rem;padding:1rem;border:1px solid #c9dbec;border-radius:18px;background:#ffffff80;cursor:pointer}.saved-address-card:has(input:checked){border-color:#4079ad;background:#dcebfa99;box-shadow:0 0 0 2px #78aadd33}.saved-address-card input{width:18px!important;height:18px!important;flex:none;margin-top:3px}.saved-address-card span{display:grid;gap:.35rem}.saved-address-card small{line-height:1.5}
.payment-choice{width:100%;text-align:left;cursor:pointer;color:inherit;font:inherit;background:#ffffff80;border:1px solid #c9dbec;border-radius:18px;padding:20px;margin:12px 0;display:flex;align-items:center;gap:16px}.payment-choice span{flex:1}.payment-choice strong,.payment-choice small{display:block}.payment-choice small{margin-top:6px}.payment-choice:hover{background:#deedfa;border-color:#6e9bc2}.payment-choice:disabled{opacity:.6;cursor:wait}
