body[data-storefront-test='modern'] {
  --store-bg: #fff7f4;
  --store-bg-strong: #ffe8e3;
  --store-surface: rgba(255, 255, 255, 0.86);
  --store-surface-solid: #fffdfb;
  --store-card: #fffaf7;
  --store-line: rgba(228, 153, 159, 0.32);
  --store-text: #5d3741;
  --store-muted: #9c6d78;
  --store-accent: #f35f82;
  --store-accent-strong: #d9466d;
  --store-peach: #ff9ca5;
  --store-mint: #9be2ca;
  --store-lavender: #d8b9ff;
  --store-shadow: 0 22px 60px rgba(190, 78, 95, 0.16);
  --store-soft-shadow: 0 14px 36px rgba(190, 78, 95, 0.12);
  --store-radius: 28px;
  --store-font: 'Nunito', sans-serif;
  --store-serif: 'Playfair Display', serif;
  margin: 0;
  color: var(--store-text);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 190, 197, 0.44), transparent 30rem),
    radial-gradient(circle at 78% 18%, rgba(255, 223, 217, 0.74), transparent 28rem),
    linear-gradient(180deg, var(--store-bg) 0%, #fffdfa 48%, #fff4ef 100%);
  font-family: var(--store-font);
}

html[data-theme='night'] body[data-storefront-test='modern'] {
  --store-bg: #111729;
  --store-bg-strong: #202842;
  --store-surface: rgba(25, 31, 50, 0.88);
  --store-surface-solid: #171e34;
  --store-card: #1b233a;
  --store-line: rgba(255, 149, 183, 0.22);
  --store-text: #fff2ee;
  --store-muted: #d8afbd;
  --store-accent: #ff7fa3;
  --store-accent-strong: #f45f8c;
  --store-peach: #ff8fa0;
  --store-mint: #7bdabd;
  --store-lavender: #d2a8ff;
  --store-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --store-soft-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 127, 163, 0.24), transparent 30rem),
    radial-gradient(circle at 78% 18%, rgba(123, 218, 189, 0.16), transparent 28rem),
    linear-gradient(180deg, #101728 0%, #151d31 48%, #0e1525 100%);
}

body[data-storefront-test='modern'] a {
  color: inherit;
}

body[data-storefront-test='modern'] .site-banner {
  display: none;
}

.store-announcement {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: 0.65rem 1rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ee7890, #f9a0a7, #ee7890);
}

html[data-theme='night'] .store-announcement {
  background: linear-gradient(90deg, #523050, #bd5f8d, #523050);
}

body[data-storefront-test='modern'] .store-header {
  position: sticky;
  top: 0.75rem;
  z-index: 30;
  display: grid;
  grid-template: none / auto minmax(34rem, 1fr) minmax(15rem, 15rem) auto;
  gap: 1.25rem;
  align-items: center;
  width: min(100% - 2rem, 1320px);
  margin: 1rem auto 0;
  padding: 0.72rem 1rem;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--store-surface-solid) 86%, transparent);
  box-shadow: var(--store-soft-shadow);
  backdrop-filter: blur(18px);
}

body[data-storefront-test='modern'] .store-logo {
  grid-area: auto;
  order: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 9.75rem;
  text-decoration: none;
}

.store-logo img {
  width: 8.1rem;
  height: auto;
  display: block;
}

.store-logo-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--store-accent);
  box-shadow: 0 7px 0 var(--store-accent-strong);
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.store-logo-mark:hover {
  transform: translateY(2px) scale(1.02);
  box-shadow: 0 4px 0 var(--store-accent-strong), 0 12px 22px rgba(217, 70, 109, 0.18);
}

.store-logo-mark:active,
.store-logo-mark.is-heart-cooling {
  transform: translateY(7px) scale(0.96);
  box-shadow: 0 1px 0 var(--store-accent-strong);
  filter: saturate(1.12);
}

body[data-storefront-test='modern'] .store-nav {
  grid-area: auto;
  order: 0;
  display: flex;
  justify-content: center;
  gap: clamp(0.55rem, 0.9vw, 1rem);
  padding: 0;
}

.store-nav a {
  color: var(--store-text);
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.store-nav a:hover,
.store-nav-menu summary:hover {
  color: var(--store-accent);
}

.store-nav-menu {
  position: relative;
  z-index: 5;
}

.store-nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--store-text);
  font-size: 0.74rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.store-nav-menu summary::-webkit-details-marker {
  display: none;
}

.store-nav-menu summary::after {
  content: '';
  width: 0.38rem;
  height: 0.38rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 150ms ease;
}

.store-nav-menu[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.store-nav-menu-list {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  display: grid;
  min-width: 8.6rem;
  padding: 0.55rem;
  border: 1px solid var(--store-line);
  border-radius: 1rem;
  background: var(--store-surface-solid);
  box-shadow: var(--store-soft-shadow);
  transform: translateX(-50%);
}

.store-nav-menu-list a {
  padding: 0.58rem 0.72rem;
  border-radius: 0.75rem;
}

.store-nav-menu-list a:hover {
  color: #fff;
  background: var(--store-accent);
}

body[data-storefront-test='modern'] .store-search {
  grid-area: auto;
  order: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 2.8rem;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

html[data-theme='night'] .store-search {
  background: rgba(12, 18, 32, 0.72);
}

.store-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 0.4rem 0 1.1rem;
  border: 0;
  color: var(--store-text);
  background: transparent;
  font: 800 0.85rem/1 var(--store-font);
  outline: none;
}

.store-search input::placeholder {
  color: var(--store-muted);
}

.store-search button {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  color: var(--store-text);
  background: transparent;
  cursor: pointer;
}

.store-search svg,
.store-actions svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-storefront-test='modern'] .store-actions {
  grid-area: auto;
  order: 0;
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

body[data-storefront-test='modern'] .header-icon-link,
body[data-storefront-test='modern'] .theme-toggle,
body[data-storefront-test='modern'] .mobile-nav-toggle {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  min-height: 2.65rem;
  padding: 0;
  border: 1px solid var(--store-line);
  border-radius: 50%;
  color: var(--store-text);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

html[data-theme='night'] body[data-storefront-test='modern'] .header-icon-link,
html[data-theme='night'] body[data-storefront-test='modern'] .theme-toggle,
html[data-theme='night'] body[data-storefront-test='modern'] .mobile-nav-toggle {
  background: rgba(15, 21, 35, 0.76);
}

body[data-storefront-test='modern'] .theme-toggle::before {
  content: '☾';
  display: block;
  font-weight: 900;
}

html[data-theme='night'] body[data-storefront-test='modern'] .theme-toggle::before {
  content: '☀';
}

body[data-storefront-test='modern'] .theme-toggle-label {
  display: none;
}

body[data-storefront-test='modern'] .header-icon-link:hover,
body[data-storefront-test='modern'] .theme-toggle:hover,
body[data-storefront-test='modern'] .mobile-nav-toggle:hover {
  color: #fff;
  background: var(--store-accent);
  transform: translateY(-1px);
}

body[data-storefront-test='modern'] .mobile-nav-toggle {
  grid-area: auto;
  display: none;
  font-size: 0;
}

body[data-storefront-test='modern'] .mobile-nav-toggle::before {
  display: none;
}

body[data-storefront-test='modern'] .mobile-nav-toggle-label {
  display: grid;
  place-items: center;
}

body[data-storefront-test='modern'] .mobile-nav-toggle-label::before {
  content: '☰';
  color: currentColor;
  font-size: 1.05rem;
  font-weight: 950;
}

body[data-storefront-test='modern'] .mobile-nav-toggle[aria-expanded='true'] .mobile-nav-toggle-label::before {
  content: '×';
}

body[data-storefront-test='modern'] .header-icon-badge {
  top: -0.35rem;
  right: -0.25rem;
  color: #fff;
  background: var(--store-accent);
}

.store-main {
  width: min(100% - 2rem, 1320px);
  margin: 1.25rem auto 0;
}

.store-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(23rem, 0.82fr) minmax(28rem, 1.18fr);
  align-items: stretch;
  min-height: 34.5rem;
  border: 1px solid var(--store-line);
  border-radius: 2.2rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 246, 242, 0.82) 43%, rgba(255, 232, 227, 0.3) 100%),
    var(--store-surface-solid);
  box-shadow: var(--store-shadow);
  overflow: hidden;
}

html[data-theme='night'] .store-hero {
  background:
    linear-gradient(90deg, rgba(22, 29, 48, 0.96) 0%, rgba(28, 36, 60, 0.88) 45%, rgba(255, 127, 163, 0.08) 100%),
    var(--store-surface-solid);
}

.store-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  padding: clamp(2rem, 4.2vw, 4rem);
}

.store-hero h1,
.store-section-head h2,
.store-feature-copy h2,
.store-editorial-copy h2,
.store-newsletter h2 {
  margin: 0;
  color: var(--store-text);
  font-family: var(--store-serif);
  letter-spacing: 0;
}

.store-hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.3vw, 5.75rem);
  line-height: 0.98;
}

.store-hero p {
  max-width: 31rem;
  margin: 1.4rem 0 0;
  color: var(--store-muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 700;
  line-height: 1.65;
}

.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

body[data-storefront-test='modern'] .candy-button,
.store-secondary-button {
  min-height: 3.15rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: 0;
}

body[data-storefront-test='modern'] .button-peach {
  color: #fff;
  background: linear-gradient(180deg, #ff83a0, var(--store-accent));
  box-shadow: 0 8px 0 var(--store-accent-strong), 0 16px 26px rgba(217, 70, 109, 0.24);
}

body[data-storefront-test='modern'] .button-peach:hover,
body[data-storefront-test='modern'] .button-mint:hover,
.store-secondary-button:hover {
  transform: translateY(2px);
}

body[data-storefront-test='modern'] .button-peach:active,
body[data-storefront-test='modern'] .button-mint:active,
.store-secondary-button:active {
  transform: translateY(7px);
  box-shadow: 0 1px 0 var(--store-accent-strong);
}

.store-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--store-line);
  color: var(--store-accent);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 7px 0 rgba(234, 180, 182, 0.55);
}

html[data-theme='night'] .store-secondary-button {
  background: rgba(22, 29, 48, 0.86);
  box-shadow: 0 7px 0 rgba(95, 53, 91, 0.8);
}

.store-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 3.4rem;
}

.store-proof-row span {
  display: grid;
  gap: 0.2rem;
  color: var(--store-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.store-proof-row strong {
  color: var(--store-accent);
  font-size: 0.95rem;
}

.store-hero-media {
  position: relative;
  min-height: 33rem;
}

.store-hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 34.5rem;
  display: block;
  object-fit: cover;
  object-position: center;
}

.store-hero-media::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 26%;
  background: linear-gradient(90deg, var(--store-surface-solid), transparent);
  pointer-events: none;
}

.store-floating-product {
  position: absolute;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  width: min(18rem, 46%);
}

.store-floating-product:empty {
  display: none;
}

body[data-storefront-test='modern'] .hero-feature-card-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--store-surface-solid) 88%, transparent);
  box-shadow: var(--store-soft-shadow);
  backdrop-filter: blur(16px);
}

body[data-storefront-test='modern'] .hero-feature-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border-radius: 1.1rem;
}

body[data-storefront-test='modern'] .hero-feature-head,
body[data-storefront-test='modern'] .storybook-feature-color-row,
body[data-storefront-test='modern'] .storybook-qty-row,
body[data-storefront-test='modern'] .storybook-wishlist-link {
  display: none;
}

body[data-storefront-test='modern'] .hero-feature-copy h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.15;
}

body[data-storefront-test='modern'] .hero-feature-price {
  color: var(--store-text);
}

body[data-storefront-test='modern'] .hero-feature-actions {
  display: grid;
}

.store-category-strip,
.store-benefit-strip,
.store-newsletter,
.store-footer {
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  box-shadow: var(--store-soft-shadow);
}

.store-category-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding: 1.15rem;
}

.store-category-strip a {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.4rem;
  border-radius: 1.4rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.store-category-strip a:hover {
  background: rgba(255, 126, 158, 0.1);
  transform: translateY(-2px);
}

.store-category-strip img {
  width: 4.3rem;
  height: 4.3rem;
  object-fit: contain;
  padding: 0.72rem;
  border: 1px solid var(--store-line);
  border-radius: 50%;
  background: var(--store-surface-solid);
}

.store-category-strip span {
  font-size: 0.86rem;
  font-weight: 900;
}

.store-product-section,
.store-feature-band,
.store-benefit-strip,
.store-editorial,
.store-newsletter {
  margin-top: clamp(2rem, 4vw, 3.6rem);
}

.store-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.store-section-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--store-accent);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.store-section-head h2,
.store-feature-copy h2,
.store-editorial-copy h2,
.store-newsletter h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  line-height: 1.05;
}

.store-text-link {
  color: var(--store-accent);
  font-size: 0.86rem;
  font-weight: 950;
  text-decoration: none;
}

.store-section-note {
  margin: 0.35rem 0 0;
  color: var(--store-muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.store-product-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.store-all-products-section {
  padding: clamp(1rem, 2.3vw, 1.45rem);
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 126, 158, 0.1), transparent 24rem),
    color-mix(in srgb, var(--store-surface-solid) 82%, transparent);
  box-shadow: var(--store-soft-shadow);
}

.store-all-products-status {
  margin-bottom: 1rem;
}

.store-all-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

body[data-storefront-test='modern'] .product-card,
body[data-storefront-test='modern'] .collection-card,
body[data-storefront-test='modern'] .storybook-arrival-feature-card {
  min-width: 0;
  border: 1px solid var(--store-line);
  border-radius: 1.1rem;
  background: var(--store-card);
  box-shadow: 0 14px 30px rgba(163, 94, 100, 0.09);
  overflow: hidden;
}

html[data-theme='night'] body[data-storefront-test='modern'] .product-card,
html[data-theme='night'] body[data-storefront-test='modern'] .collection-card,
html[data-theme='night'] body[data-storefront-test='modern'] .storybook-arrival-feature-card {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

body[data-storefront-test='modern'] .product-card-media,
body[data-storefront-test='modern'] .collection-card-media,
body[data-storefront-test='modern'] .storybook-arrival-feature-media {
  display: block;
  padding: 0.55rem;
  background: linear-gradient(180deg, rgba(255, 236, 232, 0.9), rgba(255, 255, 255, 0.7));
}

html[data-theme='night'] body[data-storefront-test='modern'] .product-card-media,
html[data-theme='night'] body[data-storefront-test='modern'] .collection-card-media,
html[data-theme='night'] body[data-storefront-test='modern'] .storybook-arrival-feature-media {
  background: linear-gradient(180deg, rgba(34, 43, 70, 0.9), rgba(18, 25, 43, 0.72));
}

body[data-storefront-test='modern'] .product-card-media img,
body[data-storefront-test='modern'] .collection-card-media img,
body[data-storefront-test='modern'] .storybook-arrival-feature-media img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  display: block;
  object-fit: cover;
  border-radius: 0.82rem;
}

body[data-storefront-test='modern'] .product-card-copy,
body[data-storefront-test='modern'] .collection-card-copy {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem 0.6rem;
}

body[data-storefront-test='modern'] .product-card-copy h3,
body[data-storefront-test='modern'] .collection-card-copy h3 {
  min-height: 2.45rem;
  margin: 0;
  color: var(--store-text);
  font-size: 0.93rem;
  font-weight: 900;
  line-height: 1.22;
}

body[data-storefront-test='modern'] .price-main,
body[data-storefront-test='modern'] .hero-feature-price {
  color: var(--store-text);
  font-weight: 950;
}

body[data-storefront-test='modern'] .rating-row,
body[data-storefront-test='modern'] .inline-stars,
body[data-storefront-test='modern'] .rating-stars {
  color: #f59f28;
  font-size: 0.78rem;
  font-weight: 900;
}

body[data-storefront-test='modern'] .storybook-mini-badge {
  position: absolute;
  z-index: 2;
  margin: 0.75rem;
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  color: #fff;
  background: var(--store-accent);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

body[data-storefront-test='modern'] .product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: 0 0.85rem 0.95rem;
}

body[data-storefront-test='modern'] .product-card-action {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
}

body[data-storefront-test='modern'] .button-mint {
  color: #fff;
  background: linear-gradient(180deg, #9ce7cf, #5fc5ad);
  box-shadow: 0 6px 0 #48a995, 0 12px 20px rgba(72, 169, 149, 0.18);
}

body[data-storefront-test='modern'] .button-ghost {
  border: 1px solid var(--store-line);
  color: var(--store-accent);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

html[data-theme='night'] body[data-storefront-test='modern'] .button-ghost {
  background: rgba(17, 24, 42, 0.88);
}

.store-feature-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 2rem;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.92), rgba(255, 225, 224, 0.72)),
    var(--store-surface-solid);
  box-shadow: var(--store-soft-shadow);
}

html[data-theme='night'] .store-feature-band {
  background:
    linear-gradient(100deg, rgba(24, 31, 51, 0.95), rgba(67, 47, 76, 0.52)),
    var(--store-surface-solid);
}

.store-feature-copy p,
.store-editorial-copy p,
.store-newsletter p,
.store-footer p {
  color: var(--store-muted);
  font-weight: 700;
  line-height: 1.65;
}

.store-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body[data-storefront-test='modern'] .storybook-pick-index,
body[data-storefront-test='modern'] .storybook-pick-tape {
  display: none;
}

.store-benefit-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0.85rem;
}

.store-benefit-strip div {
  display: grid;
  gap: 0.2rem;
  min-height: 4.5rem;
  align-content: center;
  padding: 0.8rem 1rem;
  border-right: 1px solid var(--store-line);
}

.store-benefit-strip div:last-child {
  border-right: 0;
}

.store-benefit-strip strong {
  color: var(--store-text);
  font-size: 0.95rem;
  font-weight: 950;
}

.store-benefit-strip span {
  color: var(--store-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.store-editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 5vw, 5rem);
  align-items: center;
}

.store-editorial-media {
  min-height: 28rem;
  border: 1px solid var(--store-line);
  border-radius: 2rem;
  background: var(--store-surface-solid);
  overflow: hidden;
  box-shadow: var(--store-soft-shadow);
}

.store-editorial-media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  display: block;
  object-fit: cover;
}

.store-editorial-copy ul {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  list-style: none;
}

.store-editorial-copy li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--store-muted);
  font-weight: 800;
}

.store-editorial-copy li::before {
  content: '♡';
  position: absolute;
  left: 0;
  color: var(--store-accent);
  font-weight: 950;
}

.store-arrivals-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.store-product-rail-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-storefront-test='modern'] .storybook-arrival-feature-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  height: 100%;
  min-height: 21rem;
}

body[data-storefront-test='modern'] .storybook-arrival-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

body[data-storefront-test='modern'] .storybook-arrival-feature-copy h3 {
  margin: 0.7rem 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

body[data-storefront-test='modern'] .storybook-arrival-feature-media img {
  height: 100%;
  aspect-ratio: auto;
}

.store-newsletter {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) minmax(20rem, 32rem);
  gap: 1.4rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.6rem;
  background: linear-gradient(90deg, rgba(255, 235, 238, 0.88), rgba(255, 255, 255, 0.86));
}

html[data-theme='night'] .store-newsletter {
  background: linear-gradient(90deg, rgba(38, 32, 53, 0.9), rgba(21, 28, 48, 0.88));
}

.store-newsletter-mascot img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.store-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.store-newsletter-form input[type='email'] {
  width: 100%;
  min-height: 3.2rem;
  padding: 0 1.15rem;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  color: var(--store-text);
  background: var(--store-surface-solid);
  font: 800 0.92rem/1 var(--store-font);
  outline: none;
}

.store-newsletter-form .form-message {
  grid-column: 1 / -1;
  min-height: 1rem;
  color: var(--store-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.store-footer {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.store-footer-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 1.4fr) repeat(3, minmax(8rem, 1fr));
  gap: 2rem;
}

.store-logo-footer img {
  width: 7.1rem;
}

.store-footer .footer-column {
  display: grid;
  gap: 0.42rem;
}

.store-footer .footer-column a {
  color: var(--store-muted);
  font-weight: 800;
  text-decoration: none;
}

.store-footer .footer-column a:hover {
  color: var(--store-accent);
}

.store-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--store-line);
}

.store-footer .footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.store-footer .footer-bottom a {
  color: var(--store-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

body[data-storefront-test='modern'] .sound-toggle {
  color: var(--store-text);
  background: var(--store-surface-solid);
  border-color: var(--store-line);
}

.heart-burst-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.heart-burst-main {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--store-accent);
  font-size: clamp(8rem, 19vw, 18rem);
  font-weight: 950;
  text-shadow: 0 20px 48px rgba(217, 70, 109, 0.3);
  transform: translate(-50%, -50%) scale(0.1);
  animation: heart-pop-center 900ms cubic-bezier(0.18, 1.1, 0.28, 1) forwards;
}

.heart-confetti span {
  position: absolute;
  top: -4rem;
  left: var(--heart-left);
  color: color-mix(in srgb, var(--store-accent) 76%, #fff 24%);
  font-size: calc(1.5rem * var(--heart-size));
  font-weight: 950;
  opacity: 0;
  animation: heart-confetti-rain 1450ms ease-in forwards;
  animation-delay: var(--heart-delay);
}

@keyframes heart-pop-center {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1) rotate(-10deg);
  }

  24% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04) rotate(2deg);
  }

  56% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.92) rotate(-1deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.28) rotate(6deg);
  }
}

@keyframes heart-confetti-rain {
  0% {
    opacity: 0;
    transform: translate3d(0, -2rem, 0) rotate(0deg);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(var(--heart-drift) * 3.4rem), 112vh, 0) rotate(380deg);
  }
}

.store-shop-main {
  margin-top: 1.4rem;
}

body[data-storefront-test='modern'] .modern-shop-board {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1rem, 2vw, 1.45rem);
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 126, 158, 0.12), transparent 22rem),
    color-mix(in srgb, var(--store-surface-solid) 82%, transparent);
  box-shadow: var(--store-shadow);
}

body[data-storefront-test='modern'] .page-hero {
  margin: 0;
}

body[data-storefront-test='modern'] .shop-hero-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--store-line);
  border-radius: 1.8rem;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.92), rgba(255, 232, 227, 0.66)),
    var(--store-surface-solid);
  box-shadow: var(--store-soft-shadow);
}

html[data-theme='night'] body[data-storefront-test='modern'] .shop-hero-shell {
  background:
    linear-gradient(100deg, rgba(24, 31, 51, 0.95), rgba(67, 47, 76, 0.48)),
    var(--store-surface-solid);
}

body[data-storefront-test='modern'] .page-kicker {
  color: var(--store-accent);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-storefront-test='modern'] .shop-hero-shell h1 {
  margin: 0.25rem 0 0;
  color: var(--store-text);
  font-family: var(--store-serif);
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  line-height: 1;
}

body[data-storefront-test='modern'] .shop-hero-meta {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  color: var(--store-accent);
  background: var(--store-surface-solid);
  font-weight: 950;
}

body[data-storefront-test='modern'] .shop-layout {
  margin: 0;
}

body[data-storefront-test='modern'] .shop-main {
  display: grid;
  gap: 1rem;
}

body[data-storefront-test='modern'] .shop-toolbar,
body[data-storefront-test='modern'] .filter-panel {
  border: 1px solid var(--store-line);
  border-radius: 1.45rem;
  background: var(--store-card);
  box-shadow: var(--store-soft-shadow);
}

body[data-storefront-test='modern'] .shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
}

body[data-storefront-test='modern'] .shop-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body[data-storefront-test='modern'] .shop-toolbar-search input,
body[data-storefront-test='modern'] .shop-toolbar select {
  min-height: 2.9rem;
  border-color: var(--store-line);
  color: var(--store-text);
  background: var(--store-surface-solid);
  font-weight: 850;
}

body[data-storefront-test='modern'] .shop-inline-filter-panel {
  position: sticky;
  top: 7.2rem;
  z-index: 3;
  max-height: min(34rem, calc(100vh - 8.8rem));
  overflow: auto;
  padding: 1rem;
}

body[data-storefront-test='modern'] .shop-filter-chip {
  border-color: var(--store-line);
  color: var(--store-text);
  background: var(--store-surface-solid);
}

body[data-storefront-test='modern'] .shop-filter-chip.is-active,
body[data-storefront-test='modern'] .pill-button.is-active {
  color: #fff;
  background: var(--store-accent);
  border-color: transparent;
}

body[data-storefront-test='modern'] .shop-facet-bar {
  display: grid;
  gap: 0.65rem;
}

body[data-storefront-test='modern'] .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1180px) {
  body[data-storefront-test='modern'] .store-header {
    grid-template: none / auto 1fr auto;
    border-radius: 1.5rem;
  }

  body[data-storefront-test='modern'] .store-nav {
    grid-column: 1 / -1;
    order: 5;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.2rem 0.1rem 0;
  }

  body[data-storefront-test='modern'] .store-search {
    max-width: 26rem;
  }

  .store-product-rail,
  .store-all-products-grid,
  body[data-storefront-test='modern'] .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .store-announcement {
    gap: 0.9rem;
    overflow: hidden;
    white-space: nowrap;
  }

  .store-announcement span:nth-child(3) {
    display: none;
  }

  body[data-storefront-test='modern'] .store-header {
    width: min(100% - 1rem, 1320px);
    grid-template: none / 1fr auto auto;
    margin-top: 0.5rem;
    border-radius: 1.4rem;
  }

  body[data-storefront-test='modern'] .store-logo {
    min-width: 0;
  }

  .store-logo img {
    width: 7rem;
  }

  body[data-storefront-test='modern'] .store-search,
  body[data-storefront-test='modern'] .store-nav {
    grid-column: 1 / -1;
  }

  body[data-storefront-test='modern'] .store-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: end;
  }

  body[data-storefront-test='modern'] .mobile-nav-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
  }

  body[data-storefront-test='modern'] .store-nav {
    display: none;
    grid-row: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 0.1rem;
  }

  body[data-storefront-test='modern'] .store-header.is-menu-open .store-nav {
    display: flex;
  }

  .store-main {
    width: min(100% - 1rem, 1320px);
  }

  .store-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .store-hero-copy {
    max-width: none;
    padding: 2rem 1.2rem 1.4rem;
  }

  .store-hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .store-proof-row {
    padding-top: 1.6rem;
  }

  .store-hero-media {
    min-height: 24rem;
  }

  .store-hero-media > img {
    min-height: 24rem;
  }

  .store-hero-media::after {
    inset: 0 0 auto;
    width: auto;
    height: 22%;
    background: linear-gradient(180deg, var(--store-surface-solid), transparent);
  }

  .store-floating-product {
    width: min(16rem, 52%);
  }

  .store-category-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .store-feature-band,
  .store-editorial,
  .store-arrivals-layout,
  .store-newsletter {
    grid-template-columns: 1fr;
  }

  .store-feature-grid,
  .store-all-products-grid,
  body[data-storefront-test='modern'] .product-grid,
  .store-product-rail-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-benefit-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-benefit-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--store-line);
  }

  .store-benefit-strip div:last-child {
    border-bottom: 0;
  }

  .store-newsletter-form {
    grid-template-columns: 1fr;
  }

  body[data-storefront-test='modern'] .shop-hero-shell,
  body[data-storefront-test='modern'] .shop-toolbar {
    grid-template-columns: 1fr;
  }

  body[data-storefront-test='modern'] .shop-toolbar {
    display: grid;
  }

  body[data-storefront-test='modern'] .shop-toolbar-group {
    align-items: stretch;
    flex-wrap: wrap;
  }

  body[data-storefront-test='modern'] .shop-inline-filter-panel {
    position: static;
    max-height: none;
  }

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

@media (max-width: 650px) {
  .store-announcement {
    justify-content: flex-start;
    font-size: 0.76rem;
  }

  .store-announcement span:nth-child(2) {
    display: none;
  }

  body[data-storefront-test='modern'] .store-header {
    gap: 0.65rem;
    padding: 0.7rem;
  }

  body[data-storefront-test='modern'] .header-icon-link,
  body[data-storefront-test='modern'] .theme-toggle,
  body[data-storefront-test='modern'] .mobile-nav-toggle {
    width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
  }

  .store-search {
    min-height: 2.65rem;
  }

  .store-nav a {
    flex: 0 0 auto;
  }

  .store-hero {
    border-radius: 1.35rem;
  }

  .store-hero p {
    font-size: 0.98rem;
  }

  .store-hero-actions {
    display: grid;
  }

  .store-proof-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .store-floating-product {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -5rem 1rem 1rem;
  }

  .store-category-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.85rem;
  }

  .store-product-rail,
  .store-all-products-grid,
  body[data-storefront-test='modern'] .product-grid,
  .store-feature-grid,
  .store-product-rail-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .store-section-head {
    align-items: start;
    flex-direction: column;
  }

  .store-nav-menu-list {
    left: 0;
    transform: none;
  }

  body[data-storefront-test='modern'] .product-card-copy h3,
  body[data-storefront-test='modern'] .collection-card-copy h3 {
    min-height: 2.2rem;
    font-size: 0.82rem;
  }

  body[data-storefront-test='modern'] .product-card-copy,
  body[data-storefront-test='modern'] .collection-card-copy {
    padding: 0.72rem;
  }

  body[data-storefront-test='modern'] .product-card-actions {
    padding: 0 0.72rem 0.75rem;
  }

  body[data-storefront-test='modern'] .product-card-action {
    min-height: 2.35rem;
    font-size: 0.72rem;
  }

  .store-feature-band,
  .store-newsletter,
  .store-footer {
    border-radius: 1.25rem;
  }

  .store-benefit-strip {
    grid-template-columns: 1fr;
  }

  .store-editorial-media,
  .store-editorial-media img {
    min-height: 19rem;
  }

  body[data-storefront-test='modern'] .storybook-arrival-feature-card {
    grid-template-columns: 1fr;
  }

  .store-footer-grid {
    grid-template-columns: 1fr;
  }

  .store-footer .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .store-main,
  body[data-storefront-test='modern'] .store-header,
  .store-footer {
    width: min(100% - 0.7rem, 1320px);
  }

  .store-logo img {
    width: 6.2rem;
  }

  .store-actions {
    gap: 0.28rem;
  }

  body[data-storefront-test='modern'] .header-icon-link,
  body[data-storefront-test='modern'] .theme-toggle,
  body[data-storefront-test='modern'] .mobile-nav-toggle {
    width: 2.15rem;
    height: 2.15rem;
    min-height: 2.15rem;
  }

  .store-hero-copy {
    padding-inline: 1rem;
  }

  .store-product-rail,
  .store-all-products-grid,
  body[data-storefront-test='modern'] .product-grid,
  .store-feature-grid,
  .store-product-rail-compact {
    gap: 0.55rem;
  }

  body[data-storefront-test='modern'] .product-card-actions {
    gap: 0.42rem;
  }
}

@media (min-width: 1600px) {
  body[data-storefront-test='modern'] .store-header,
  .store-main,
  .store-footer {
    width: min(100% - 4rem, 1480px);
  }

  .store-product-rail,
  .store-all-products-grid,
  body[data-storefront-test='modern'] .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-storefront-test='modern'] *,
  body[data-storefront-test='modern'] *::before,
  body[data-storefront-test='modern'] *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
