/* Homepage features: logo and actual featured product, then the collection offer. */
body.boutique-home::before {
  opacity: .72;
  -webkit-mask-image:
    radial-gradient(ellipse 35vw 34vh at top left, #000 12%, transparent 100%),
    radial-gradient(ellipse 35vw 34vh at top right, #000 12%, transparent 100%),
    radial-gradient(ellipse 35vw 34vh at bottom left, #000 12%, transparent 100%),
    radial-gradient(ellipse 35vw 34vh at bottom right, #000 12%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-image:
    radial-gradient(ellipse 35vw 34vh at top left, #000 12%, transparent 100%),
    radial-gradient(ellipse 35vw 34vh at top right, #000 12%, transparent 100%),
    radial-gradient(ellipse 35vw 34vh at bottom left, #000 12%, transparent 100%),
    radial-gradient(ellipse 35vw 34vh at bottom right, #000 12%, transparent 100%);
  mask-composite: add;
}
body.boutique-home::after { opacity: .12; }
@media (prefers-reduced-motion: no-preference) {
  body.boutique-home::before {
    animation: corner-iridescence 9s ease-in-out infinite alternate;
  }
}
@keyframes corner-iridescence {
  from { opacity: .58; }
  to { opacity: .82; }
}
.boutique-home .brand-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-block: 1.5rem 3rem;
}
.daily-gem {
  width: min(100%, 24rem);
  min-width: 0;
  justify-self: center;
  text-align: center;
}
.daily-gem-eyebrow,
.bundle-eyebrow {
  margin: 0 0 .6rem;
  color: #f6ddbe;
  font-size: .72rem;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.daily-gem h2,
.collection-bundle h3 {
  margin: 0 0 1.2rem;
  color: #f6ddbe;
  font: 400 clamp(1.6rem, 2.5vw, 2.3rem)/1.2 Georgia, serif;
  text-wrap: balance;
}
.daily-gem-link {
  display: block;
  color: #f6ddbe;
  text-decoration: none;
  border-radius: 1rem;
}
.daily-gem-art img {
  display: block;
  /* The 1286px asset includes a 28px dark gutter beyond the artwork's right edge. */
  width: calc(100% * 1286 / 1258);
  max-width: none;
  height: auto;
}
.daily-gem-shop {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  margin-top: .4rem;
  font-size: .9rem;
}
.collection-featured-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  justify-items: center;
  width: 100%;
}
.collection-featured-row > .collection-tile {
  margin-top: 0;
}
.collection-bundle {
  width: 100%;
  min-width: 0;
  padding: clamp(1.1rem, 2.3vw, 2rem);
  border: 1px solid transparent;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #285766, #376a76) padding-box,
    linear-gradient(125deg, #bce9e5, #c6b1df, #fff6de, #dbadd7) border-box;
  text-align: center;
}
.collection-bundle h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}
.collection-bundle > p:not(.bundle-eyebrow) {
  color: #f4eee6;
  font-size: .9rem;
  line-height: 1.65;
}
.collection-bundle .bundle-saving {
  font: 400 1.25rem/1.4 Georgia, serif;
}
.bundle-shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  margin: .5rem 0;
  padding: .65rem 1rem;
  color: #173b43;
  background: #eee4d7;
  border-radius: 2rem;
  font-size: .85rem;
  text-decoration: none;
}
.bundle-terms {
  color: #f4eee6;
  font-size: .78rem;
  line-height: 1.6;
}
.bundle-terms summary {
  padding: .75rem .25rem;
  min-height: 44px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.daily-gem-link:focus-visible,
.bundle-shop-link:focus-visible,
.bundle-terms summary:focus-visible {
  outline: 2px solid #fff6de;
  outline-offset: 5px;
}
@media (max-width: 820px) {
  .boutique-home .brand-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .daily-gem { width: min(100%, 22rem); }
  .collection-featured-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .collection-bundle { max-width: 24rem; }
}

/* Featured item fills the final open collection cell on desktop. */
.emporium-grid > .daily-gem { align-self: center; margin: 0; width: min(100%, 24rem); }
.boutique-home .brand-hero .hero-art { width: 100%; justify-self: center; }

/* Keep the opal frame on the artwork's edge, independent of the button and SKU. */
@property --gem-shimmer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.daily-gem-art {
  display: block;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1258 / 1223;
  overflow: hidden;
  border-radius: 5.6% / 5.7%;
  background: #faf7ef;
  box-shadow: 0 0 18px #bce9e52e, 0 18px 36px -20px #092f38;
}
.daily-gem-art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 3px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--gem-shimmer-angle), #73aaa5 0deg, #b9a3dc 230deg, #f5bedd 285deg, #fff4c5 320deg, #ffffff 338deg, #bafff6 350deg, #73aaa5 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@media (prefers-reduced-motion: no-preference) {
  .daily-gem-art { animation: gem-breath 5s ease-in-out infinite; }
  .daily-gem-art::before { animation: gem-frame-shimmer 5s linear infinite; }
}
@keyframes gem-frame-shimmer { to { --gem-shimmer-angle: 360deg; } }
@keyframes gem-breath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px #bce9e526, 0 0 24px #c6b1df12; }
  50% { transform: scale(1.018); box-shadow: 0 0 21px #bce9e566, 0 0 38px #dab9ed38; }
}
@media (prefers-reduced-motion: reduce) {
  .daily-gem-art, .daily-gem-art::before { animation: none; }
}

.daily-gem .daily-gem-badge { display: inline-block; padding: .55rem 1.1rem; border: 1px solid #e9d5a7; border-radius: 999px; font-size: 1.5rem; background: #285766; margin-bottom: .75rem; }
.daily-gem-intro { color: #f4eee6; font-size: .95rem; line-height: 1.6; margin: 0 auto 1.25rem; max-width: 34ch; }
.daily-gem-link > .daily-gem-shop { display: flex; justify-content: center; margin: .65rem .5rem .4rem; padding: .7rem 1rem; border-radius: 999px; background: #f4e5c5; color: #174c4a; font-weight: 600; }
.daily-gem-sku {
  display: block;
  margin: .4rem .65rem .25rem;
  color: #f4eee6;
  font-size: .6875rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
}
.daily-gem-stock { color: #f6ddbe; font-size: .8rem; letter-spacing: .03em; margin: .8rem 0 0; }

/* Logo tagline, pricing note, daily gem, then the collection introduction. */
.boutique-home .brand-hero .hero-art .fair-pricing-note { margin: .75rem auto 0; max-width: 42rem; text-align: center; }
.boutique-home main > .daily-gem { margin: 0 auto 2.5rem; }

/* Equal outer tracks keep the official logo centered on the page. */
.boutique-home .brand-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.boutique-home .brand-hero .logo-card {
  width: min(100%, 30rem);
}
.boutique-home .brand-hero .pickup-orb {
  width: min(100%, 15rem);
  padding: 1rem .9rem;
  gap: .4rem;
  justify-self: start;
  margin: 0;
}
.boutique-home .pickup-orb h2 {
  font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.2;
  text-wrap: balance;
}
.boutique-home .pickup-orb .pickup-orb-icon { font-size: 1.35rem; }
.boutique-home .pickup-orb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .5rem .9rem;
}
@media (min-width: 1100px) {
  .boutique-home .brand-hero {
    grid-template-columns: minmax(15rem, 1fr) minmax(0, 30rem) minmax(15rem, 1fr);
    gap: 1.5rem;
    align-items: center;
  }
  .boutique-home .brand-hero .pickup-orb { grid-column: 1; grid-row: 1; }
  .boutique-home .brand-hero .hero-art { grid-column: 2; grid-row: 1; }
}
@media (max-width: 640px) {
  .boutique-home .brand-hero .logo-card { width: min(100%, 23rem); }
}
