.primary-nav {
  justify-self: start;
}
.nav .actions {
  align-items: center;
}
.maison-jacki-home .hero {
  min-height: 0;
  height: auto !important;
  aspect-ratio: 3 / 2;
}
.maison-jacki-home .hero::after {
  inset: 0 auto 0 0;
  width: 51%;
  background: linear-gradient(90deg, rgba(251, 249, 246, .91), rgba(251, 249, 246, .62) 62%, transparent);
  pointer-events: none;
}
.maison-jacki-home .hero > .hero-background {
  inset: 0;
  height: 100%;
  object-position: center;
}
.maison-jacki-home .hero-copy {
  left: 6vw;
  top: 50%;
  width: min(38vw, 570px);
  max-width: none;
  transform: translateY(-50%);
}
.maison-jacki-home .hero-mark {
  width: clamp(52px, 7.4vw, 118px);
  height: auto;
  margin: 0 0 16px;
}
.maison-jacki-home .hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.45vw, 78px);
}
.nav .bag-trigger {
  min-height: 44px;
}
.campaign-footer {
  padding: 22px 5vw;
  border-top: 1px solid var(--line);
}
.campaign-footer .footlinks {
  justify-content: center;
  flex-wrap: wrap;
  color: #675853;
}
.collection-page .section-head h1,
.story h1 {
  margin: 0 0 16px;
  font: 400 clamp(36px, 5vw, 64px) / 1.12 'Playfair Display', Georgia, serif;
  letter-spacing: -.035em;
}
.story h1 {
  margin-top: 16px;
}
.collection-page .family-head h2 {
  margin: 0;
  font: 400 clamp(25px, 3vw, 29px) 'Playfair Display', Georgia, serif;
}
.collection-page .shop-tools:not(:has(.shop-filter select[id="shop-category"])) {
  grid-template-columns: minmax(0, 1fr) minmax(145px, 175px) auto;
}
@media (max-width: 1050px) {
  .nav .actions > .action-text {
    display: none;
  }
  .nav .actions {
    gap: 10px;
  }
}
@media (max-width: 650px) {
  .collection-page .shop-tools:not(:has(.shop-filter select[id="shop-category"])) {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .maison-jacki-home .hero {
    display: grid;
    aspect-ratio: auto;
  }
  .maison-jacki-home .hero::after {
    content: none;
  }
  .maison-jacki-home .hero-copy {
    position: static;
    width: auto;
    padding: 20px 14px 24px;
    background: var(--paper);
    text-align: center;
    transform: none;
  }
  .maison-jacki-home .hero-mark {
    width: 44px;
    margin: 0 auto 11px;
  }
  .maison-jacki-home .hero h1 {
    font-size: clamp(28px, 6.2vw, 38px);
  }
  .maison-jacki-home .hero > .hero-background {
    position: static;
    grid-area: 2 / 1;
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: right center;
  }
}
@media (max-width: 430px) {
  .nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding-inline: 10px;
  }
  .nav .actions {
    grid-column: auto;
    gap: 4px;
  }
  .nav .brand-name {
    font-size: 9px;
  }
  .nav .brand-mark {
    max-height: 36px;
    width: 23px;
  }
}
@media (max-width: 360px) {
  .nav .brand-name {
    display: none;
  }
}
.maison-jacki-home .hero > .hero-background.is-changing {
  opacity: .55;
}

/* Shared storefront icons */
.icon-symbols {
  position: absolute;
  overflow: hidden;
}
.shop-icon {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-action {
  position: relative;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.icon-action[hidden], .icon-count[hidden], .favorites-grid[hidden] {
  display: none;
}
.icon-action:hover {
  background: #efe7dd;
  color: #574132;
}
.nav .actions {
  gap: 3px;
}
.nav .actions .action-text {
  margin-right: min(1.05vw, 16px);
}
.nav .actions .icon-action {
  display: inline-flex;
  flex: 0 0 44px;
}
.nav .bag-trigger {
  padding: 0;
}
.icon-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 12px;
  background: #332721;
  color: #fff;
  font: 600 9px/16px 'DM Sans', sans-serif;
  text-align: center;
  letter-spacing: 0;
}
.icon-picker select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.icon-picker:focus-within:has(select:focus-visible) {
  outline: 2px solid #725240;
  outline-offset: 2px;
}
.shop-search-field {
  display: block;
  position: relative;
}
.shop-search-field > .shop-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}
.shop-search-field > #shop-search {
  margin-top: 0;
  min-height: 38px;
  padding-left: 38px;
}
.social-links {
  display: flex;
  align-items: center;
}
.footlinks {
  align-items: center;
  flex-wrap: wrap;
}
.footer .social-links .icon-action:hover {
  background: #fff2;
  color: #fff;
}
.favorite-button {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 1;
  background: rgb(251 249 246 / .94);
  color: var(--ink);
}
.favorite-button[aria-pressed="true"],
.favorites-trigger.has-favorites,
.favorites-trigger[aria-current="page"] {
  color: #824e49;
}
.favorite-button[aria-pressed="true"] .shop-icon,
.favorites-trigger.has-favorites .shop-icon {
  fill: currentColor;
}
.favorites-grid {
  max-width: 1350px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(132px, 1fr);
    padding-inline: 10px;
  }
  .nav .actions {
    gap: 0;
  }
}
@media (max-width: 395px) {
  .nav .brand-name {
    display: none;
  }
}

/* Keep each product gallery at its original aspect ratio and align purchase buttons. */
.product-card {
  display: flex;
  flex-direction: column;
  min-height: var(--product-card-height, 0px);
}
.product-card .gallery-stage {
  flex: none;
}
.product-card .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
}
.product-card .selection-note {
  margin-bottom: 10px !important;
}
.product-card .add-bag {
  margin-top: auto;
}
.measuring-product-cards .product-card {
  align-self: start;
  min-height: 0;
}

.gallery-stage:focus-visible {
  outline: 2px solid #725240;
  outline-offset: -3px;
}
.gallery-stage .gallery-image {
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
}
.gallery-stage .gallery-image.is-dragging {
  cursor: grabbing;
}

.fitting-trigger[aria-current="page"] {
  color: #824e49;
}
@media (max-width: 700px) {
  .nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(176px, 1fr);
  }
}
@media (max-width: 440px) {
  .nav .brand-name {
    display: none;
  }
}

.product-info .fitting-product-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  color: #635147;
  padding: 8px 0;
  font-size: 11px;
}
.fitting-product-link .shop-icon {
  width: 15px;
  height: 15px;
}
