/* Home and shop share a compact editorial layout, with clean stages for Wix product photos. */
.editorial-storefront {
  --edit-background: #100e16;
  --edit-surface: #19151f;
  --edit-raised: #211a29;
  --edit-rule: #3b3246;
  --edit-text: #f7f2fc;
  --edit-muted: #c1b6cc;
  --edit-mint: #a3eed9;
  --edit-lavender: #c7abfb;
  --edit-space: clamp(17px, 2.25vw, 32px);
  background: var(--edit-background);
  color: var(--edit-text);
}

.editorial-storefront .wrap {
  width: min(1360px, calc(100% - 2 * clamp(16px, 2.7vw, 44px)));
}

.editorial-storefront[data-page="home"] > main {
  background: radial-gradient(ellipse 68% 350px at 16% 0%, #2c1d3f, transparent 90%);
}

.editorial-storefront .site-header {
  background: #100e16f2;
}

.editorial-storefront :is(#categories, #shop, #faq) {
  scroll-margin-top: 72px;
}

.editorial-storefront a:focus-visible {
  outline: 2px solid var(--edit-lavender);
  outline-offset: 4px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(16px, 2.8vw, 42px);
  padding-block: var(--edit-space);
}

.editorial-hero h1,
.editorial-shop-intro h1 {
  margin: 0;
  font: 800 clamp(40px, 5.65vw, 76px)/.96 var(--heading);
  letter-spacing: -.07em;
  text-wrap: balance;
}

.editorial-hero h1 em,
.editorial-shop-intro h1 em {
  color: var(--edit-lavender);
  font-style: normal;
}

.editorial-hero-copy > p:not(.editorial-kicker),
.editorial-shop-intro p:not(.editorial-kicker) {
  max-width: 46ch;
  margin: 12px 0 0;
  color: var(--edit-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.46;
  text-wrap: pretty;
}

.editorial-kicker,
.daily-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--edit-lavender);
  font: 750 11px/1.4 var(--heading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.editorial-mark {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--edit-mint);
}

.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 21px;
  margin-top: 16px;
}

.editorial-button,
.editorial-link,
.daily-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-block-size: 44px;
  color: var(--edit-mint);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.editorial-button {
  justify-content: center;
  padding-inline: 17px;
  border: 1px solid #d4faed;
  border-radius: 9px;
  background: linear-gradient(145deg, #cdf7ea, #a3eed9 72%);
  box-shadow: 0 5px 24px #a3eed91f;
  color: #172321;
  transition: background-color .22s ease;
}

.editorial-button:hover {
  background: #cef9eb;
}

.editorial-button svg,
.editorial-link svg,
.daily-link svg,
.editorial-collection-top svg {
  inline-size: 15px;
  block-size: 15px;
  transition: translate .26s var(--ease);
}

.editorial-button:hover svg,
.editorial-link:hover svg,
.daily-link:hover svg,
.editorial-collection:hover svg {
  translate: 3px 0;
}

.editorial-link:hover,
.daily-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.editorial-hero-stage {
  position: relative;
  min-width: 0;
}

.editorial-hero-art {
  display: flex;
  min-height: clamp(185px, 22vw, 272px);
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  padding: clamp(15px, 2.8vw, 30px);
  border: 1px solid var(--edit-rule);
  border-radius: 14px;
  background: radial-gradient(ellipse at 25% 24%, #302145, #191421 70%);
  color: var(--edit-lavender);
  font: 700 10px/1.4 var(--heading);
  letter-spacing: .13em;
}

.editorial-hero-art > svg {
  inline-size: 100%;
  block-size: auto;
  max-block-size: 210px;
  stroke: none;
}

.editorial-hero-art > span:last-child {
  align-self: flex-end;
}

.daily-spotlight:not([hidden]) + .editorial-hero-art,
.editorial-storefront [hidden]:is(.daily-spotlight, .editorial-shelf) {
  display: none;
}

.daily-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: 0;
  min-height: clamp(190px, 21.2vw, 270px);
  overflow: hidden;
  border: 1px solid #544462;
  border-radius: 16px;
  background: radial-gradient(ellipse at 100% 0%, #342644, transparent 78%), #1c1724;
  box-shadow: 0 14px 35px #08060d45, inset 0 1px #f9eaff12;
  animation: editorial-appear .48s var(--ease) both;
}

.daily-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 38% 20%, #faf7ff, #e9e1f2);
}

.daily-media:focus-visible {
  z-index: 1;
  outline-offset: -4px !important;
}

.daily-media img {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 0;
  padding: clamp(9px, 1.4vw, 19px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .48s var(--ease);
}

.daily-media--lifestyle img {
  padding: 0;
  object-fit: cover;
  mix-blend-mode: normal;
}

.daily-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(12px, 1.65vw, 23px);
  overflow-wrap: anywhere;
}

.daily-label {
  color: var(--edit-mint);
  gap: 6px;
  font-size: 10px;
  letter-spacing: .085em;
}

.daily-title {
  margin: 0;
  font: 800 clamp(20px, 2.05vw, 31px)/1.1 var(--heading);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.daily-title a {
  color: inherit;
}

.daily-benefit {
  margin: 7px 0;
  color: var(--edit-muted);
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.43;
}

.daily-price {
  margin: 0;
  color: var(--edit-text);
  font-size: 14px;
  font-weight: 800;
}

.daily-link {
  min-block-size: 36px;
}

.editorial-shop-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  padding-block: clamp(28px, 4vw, 53px);
}

.editorial-shop-intro h1 {
  font-size: clamp(36px, 5vw, 65px);
}

.editorial-shop-intro .editorial-link {
  flex-shrink: 0;
}

.editorial-shelf,
.editorial-collections {
  padding-block: var(--edit-space);
  border-top: 1px solid var(--edit-rule);
}

.editorial-shelf-head,
.editorial-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px 25px;
  margin-bottom: clamp(8px, 1.35vw, 16px);
}

.editorial-shelf-head h2,
.editorial-section-head h2,
.editorial-storefront .catalog-heading h2,
.editorial-storefront .faq-heading h2,
.editorial-storefront .newsletter-section h2 {
  margin: 0;
  font: 800 clamp(25px, 2.75vw, 38px)/1.1 var(--heading);
  letter-spacing: -.045em;
}

.editorial-shelf-head p:not(.editorial-kicker),
.editorial-section-head > p {
  max-width: 42ch;
  margin: 0;
  color: var(--edit-muted);
  font-size: 14px;
  line-height: 1.5;
}

.editorial-shelf-head :is(.editorial-link, .underlined-link) {
  flex-shrink: 0;
}

.editorial-shelf-grid.catalog-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.3vw, 18px);
}

.editorial-collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.editorial-collection {
  display: flex;
  min-width: 0;
  min-height: 68px;
  flex-direction: column;
  gap: 6px;
  padding: clamp(10px, 1.25vw, 15px);
  border: 1px solid var(--edit-rule);
  border-radius: 11px;
  background: linear-gradient(125deg, #231c2c, #19151f);
  color: var(--edit-muted);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color .24s, border-color .24s, translate .28s var(--ease);
}

.editorial-collection:hover,
.editorial-collection:focus-visible {
  border-color: var(--collection-accent, var(--edit-lavender));
  background: var(--edit-raised);
  translate: 0 -3px;
}

.editorial-collection-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--collection-accent, var(--edit-lavender));
  font: 750 11px/1.35 var(--heading);
  letter-spacing: .08em;
}

.editorial-collection-top svg {
  flex-shrink: 0;
}

.editorial-collection-top .editorial-collection-icon {
  inline-size: 17px;
  block-size: 17px;
}

.editorial-collection strong {
  margin-inline-end: auto;
  color: var(--edit-text);
  font: 750 clamp(14px, 1.36vw, 18px)/1.15 var(--heading);
  letter-spacing: -.025em;
}

.editorial-storefront .shop-section:is(.catalog-section, .featured-section) {
  padding-block: var(--edit-space);
  border-color: var(--edit-rule);
  background: radial-gradient(ellipse 74% 310px at 12% 0%, #22192d, transparent 95%), #14111a;
}

.editorial-storefront .catalog-panel :is(.shop-toolbar, .filter-button, .search-field, .sort-field select) {
  border-color: var(--edit-rule);
}

.editorial-storefront .catalog-panel .filter-button {
  background: var(--edit-raised);
  box-shadow: none;
}

.editorial-storefront .catalog-panel .filter-button.active {
  border-color: #c7f6e8;
  background: linear-gradient(145deg, #c9f6e8, #9ce8d3);
  color: #172321;
  box-shadow: none;
}

.editorial-storefront .catalog-panel .filter-button:not(.active):hover {
  border-color: var(--edit-lavender);
}

.editorial-storefront .catalog-group-header::after {
  width: 56px;
  background: linear-gradient(90deg, var(--collection-accent), transparent);
}

.editorial-storefront .catalog-more-button {
  border-color: var(--edit-rule);
  background: var(--edit-raised);
  box-shadow: none;
}

.editorial-storefront .catalog-more-button:hover {
  border-color: var(--edit-lavender);
  background: #2a2034;
}

.editorial-storefront .newsletter-section {
  border-top: 1px solid var(--edit-rule);
  padding-block: clamp(16px, 1.9vw, 27px);
  gap: 16px 24px;
}

.editorial-storefront .newsletter-action {
  padding-top: 0;
}

.editorial-storefront .newsletter-section p:not(.eyebrow) {
  margin-top: 6px;
}

.editorial-storefront .home-catalog-status {
  min-height: 0;
  margin-bottom: var(--edit-space);
  padding: 20px;
  border: 1px solid var(--edit-rule);
  border-radius: 12px;
  background: var(--edit-surface);
  color: var(--edit-muted);
}

.editorial-enter {
  animation: editorial-appear .48s var(--ease) both;
}

@keyframes editorial-appear {
  from { opacity: 0; translate: 0 9px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .daily-spotlight .daily-media img {
    animation: daily-photo-in .72s var(--ease) both;
  }

  .daily-spotlight .daily-copy > * {
    animation: editorial-appear .45s var(--ease) both;
  }

  .daily-spotlight .daily-copy > :nth-child(2) { animation-delay: 65ms; }
  .daily-spotlight .daily-copy > :nth-child(3) { animation-delay: 115ms; }
  .daily-spotlight .daily-copy > :nth-child(4) { animation-delay: 160ms; }
  .daily-spotlight .daily-copy > :nth-child(5) { animation-delay: 200ms; }
}

@keyframes daily-photo-in {
  from { opacity: .55; scale: 1.06; }
  to { opacity: 1; scale: 1; }
}

@media (hover: hover) and (pointer: fine) {
  .daily-media:hover img {
    transform: scale(1.045);
  }
}

@media (max-width: 820px) {
  .editorial-collection-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .editorial-collection {
    grid-column: span 2;
  }

  .editorial-collection:nth-last-child(-n+2) {
    grid-column: span 3;
  }
}

@media (max-width: 670px) {
  .editorial-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-hero h1 {
    font-size: clamp(40px, 9.5vw, 57px);
  }

  .editorial-hero-art {
    min-height: 164px;
  }

  .daily-spotlight {
    min-height: 178px;
  }

  .editorial-shop-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-shelf-grid.catalog-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .editorial-storefront .newsletter-action {
    padding-top: 10px;
  }

  .editorial-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-collection,
  .editorial-collection:nth-last-child(-n+2) {
    grid-column: auto;
  }

  .editorial-collection:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 370px) {
  .daily-spotlight {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .daily-copy {
    padding: 13px;
  }

  .daily-title {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-storefront :is(.editorial-collection, .editorial-button, .editorial-link, .daily-link):hover,
  .editorial-storefront :is(.editorial-collection, .editorial-button, .editorial-link, .daily-link):hover svg {
    translate: none;
  }

  .daily-media:hover img {
    transform: none;
  }
}

html.motion-paused .editorial-storefront :is(.editorial-collection, .editorial-button, .editorial-link, .daily-link):hover,
html.motion-paused .editorial-storefront :is(.editorial-collection, .editorial-button, .editorial-link, .daily-link):hover svg {
  translate: none;
}

html.motion-paused .daily-media:hover img {
  transform: none;
}
