:root {
  --ves-cream: #f6eee6;
  --ves-ivory: #fff8ef;
  --ves-deep: #2e2520;
  --ves-plum: #7b515a;
  --ves-gold: #c9ab79;
  --ves-border: #ead9cb;
  --ves-muted: #6b5b50;
  --section-gap-large: 72px;
  --section-gap-medium: 48px;
  --section-gap-small: 36px;
}

html {
  scroll-behavior: smooth;
}

.storefront-hero {
  min-height: 28vh;
  background: linear-gradient(118deg, #5c4337, #7b515a 54%, #8a6b58) !important;
}

.storefront-hero .hero-content {
  max-width: 820px;
  margin-top: 22px;
}

.storefront-hero h1 {
  font-size: clamp(48px, 7vw, 94px);
  margin-bottom: 18px;
}

.storefront-hero .hero-lead {
  max-width: 680px;
  line-height: 1.8;
}

.sf-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid transparent;
}
.sf-badge.free { background: #edf4ec; color: #4f6850; border-color: #d5e5d2; }
.sf-badge.paid { background: #f4ede7; color: #6a5548; border-color: #e7d7ca; }
.sf-badge.audio { background: #ecf0f3; color: #4f5f70; border-color: #d5dfe8; }
.sf-badge.bundle { background: #f0ebf6; color: #5f5578; border-color: #ddd2ee; }
.sf-badge.flagship { background: #f6efe6; color: #7a5f3b; border-color: #ead6b9; }
.sf-badge.best-value { background: #f3ecde; color: #806236; border-color: #e5d2ae; }
.sf-badge.favorite { background: #f3eaf0; color: #7d4e65; border-color: #e7ccda; }
.sf-badge.entry { background: #eaf2ea; color: #517257; border-color: #d1e2d3; }

.storefront-hero .badges { margin-top: 14px; }
.storefront-hero .badges span { border: 0; color: inherit; }

.price-text {
  margin: 14px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  color: #f6e6da;
}

.hero-reassure {
  margin: 8px 0 0;
  max-width: 670px;
  color: rgba(58,50,40,0.68);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.detail-price-locked {
  font-size: clamp(30px, 4vw, 40px);
  color: #6c5750;
}

.ritual-unlock-panel {
  margin: 12px 0 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(214, 191, 173, 0.65);
  background: linear-gradient(145deg, #fff9f2, #fbf2e8);
}

.ritual-unlock-panel-inline {
  max-width: 720px;
  margin: 14px auto 0;
}

.ritual-unlock-feature {
  margin: 36px auto 40px;
  max-width: 860px;
  text-align: center;
  padding: 42px 34px;
  border-radius: 24px;
  background:
    radial-gradient(440px 170px at 14% 8%, rgba(255, 255, 255, 0.44), transparent 72%),
    linear-gradient(160deg, #fffaf4, #f8eee3);
  box-shadow: 0 14px 34px rgba(79, 61, 51, 0.07);
  border: 1px solid rgba(226, 207, 191, 0.34);
}

.ritual-unlock-feature h3 {
  margin: 4px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.ritual-unlock-feature-copy {
  margin: 0 auto 20px;
  max-width: 56ch;
  color: #66564c;
  line-height: 1.78;
}

.ritual-unlock-feature-message {
  text-align: center;
}

.store-locked .collection-metrics,
.store-locked .bundle-card .card-body {
  position: relative;
}

.store-locked .bundle-card .card-body::after,
.store-locked .collection-metrics::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.08), rgba(255, 248, 239, 0.2));
}

.store-locked .bundle-card .metrics,
.store-locked .bundle-card .savings,
.store-locked .collection-metrics p,
.store-locked .card-footer .price {
  filter: blur(1.4px);
  opacity: 0.7;
}

.ritual-unlock-copy {
  margin: 0 0 10px;
  color: #66564c;
  line-height: 1.65;
  font-size: 14px;
}

.ritual-unlock-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ritual-unlock-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 220px;
  border-radius: 999px;
  border: 1px solid rgba(190, 164, 145, 0.72);
  background: #fffefb;
  color: #3f332d;
  padding: 12px 16px;
  font-size: 14px;
}

.ritual-unlock-form button {
  border: 0;
  border-radius: 999px;
  background: var(--ves-plum);
  color: #fff;
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ritual-unlock-form button:disabled {
  opacity: .72;
  cursor: wait;
}

.ritual-unlock-form-centered {
  justify-content: center;
}

.ritual-unlock-message {
  margin: 8px 2px 0;
  min-height: 18px;
  color: #5a4b41;
  font-size: 13px;
}

[data-ritual-lock-root].is-unlocked [data-lock-reveal] {
  display: block;
}

.cta-button,
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  background: var(--ves-plum);
  color: #fff;
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px 72px;
  scroll-behavior: smooth;
}

section h3 {
  font-size: clamp(30px, 4.2vw, 50px);
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

.featured-flagship {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
  background: var(--ves-ivory);
  border: 1px solid var(--ves-border);
  border-radius: 20px;
  padding: 18px;
}
.flagship-media {
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  background: linear-gradient(145deg, #ceb7b0, #9a7f84);
}
.flagship-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flagship-copy h2 { font-size: clamp(36px, 5vw, 58px); line-height: .96; margin: 0 0 12px; font-family: "Cormorant Garamond", serif; }
.flagship-copy .positioning { margin: 0 0 14px; line-height: 1.7; color: #5f5046; }
.flagship-copy .price,
.card .price { font-family: "Cormorant Garamond", serif; font-size: 34px; color: var(--ves-plum); line-height: 1; }

.collection-feature {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #e4d5c5;
  background: linear-gradient(130deg, #fff9f0, #f9efe3);
  margin-bottom: 28px;
}
.collection-feature h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(34px, 5vw, 58px); line-height: .98; margin: 0 0 10px; }
.collection-feature p { margin: 0; line-height: 1.7; color: #5e4f44; }
.collection-metrics { display: grid; gap: 10px; align-content: center; }
.collection-metrics p strong { font-family: "Cormorant Garamond", serif; font-size: 34px; color: var(--ves-plum); font-weight: 600; }

.grid { display: grid; gap: 18px; margin-top: 12px; }
.grid.bundles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--ves-border);
  border-radius: 16px;
  background: var(--ves-ivory);
  overflow: hidden;
}
.thumb,
.detail-media-block,
.mini-cover {
  background: linear-gradient(140deg, #ccb5af, #97797e);
}
.thumb { min-height: 190px; }
.thumb img,
.detail-media-block img,
.mini-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 16px; }
.card h4 { font-family: "Cormorant Garamond", serif; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.02; margin: 0 0 8px; }
.emotional-line { margin: 0 0 10px; line-height: 1.65; color: #5f5047; }
.metrics, .savings { margin: 0 0 8px; font-size: 14px; color: #6c5d52; }
.savings { color: #725636; }

.included-preview { display: grid; gap: 8px; margin: 10px 0 12px; padding-top: 10px; border-top: 1px dashed #e6d8ca; }
.mini-inc { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #5a4b41; }
.mini-audio { color: #4c6077; background: #eaf0f7; border-radius: 999px; padding: 2px 8px; font-size: 10px; text-transform: uppercase; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }

.free-entry {
  margin-top: 28px;
  border: 1px solid var(--ves-border);
  background: linear-gradient(145deg, #faf4ee, #fff8f1);
  border-radius: 18px;
  padding: 20px;
}
.free-entry h3 { font-family: "Cormorant Garamond", serif; font-size: clamp(34px, 5vw, 54px); margin: 0 0 8px; }
.free-entry p { margin: 0 0 12px; line-height: 1.7; color: #5f5046; }

.detail-hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 20px;
  align-items: center;
}
.detail-media-block { min-height: 460px; border-radius: 16px; overflow: hidden; }
.detail-intro h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(36px, 5vw, 62px); line-height: .98; margin: 0 0 10px; }
.detail-intro p { margin: 0; line-height: 1.75; color: #5f5147; }

.detail-grid-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.soft-panel {
  border: 1px solid var(--ves-border);
  border-radius: 14px;
  background: var(--ves-ivory);
  padding: 16px;
}
.soft-panel h3 { font-family: "Cormorant Garamond", serif; font-size: 32px; margin: 0 0 8px; }
.soft-panel p { margin: 0; color: #5f5147; line-height: 1.75; }
.soft-list { margin: 0; padding-left: 18px; line-height: 1.85; color: #5f5147; }

.bundle-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bundle-mini-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ves-border);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff9f1, #f8eee4);
  box-shadow: 0 8px 16px rgba(78, 62, 53, 0.06);
}
.mini-cover {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.bundle-mini-card strong {
  display: block;
  font-size: 18px;
  color: #45372e;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
}
.bundle-mini-card p { margin: 4px 0 0; font-size: 13px; color: #6b5b50; }
.mini-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mini-kind-pill { display: inline-block; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: #6e5a48; background: #f4ede6; border-radius: 999px; padding: 3px 8px; }
.mini-audio-pill { display: inline-block; margin-top: 4px; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: #4d6177; background: #eaf0f7; border-radius: 999px; padding: 3px 8px; }

@media (max-width: 980px) {
  .featured-flagship,
  .collection-feature,
  .detail-hero-block,
  .detail-grid-sections { grid-template-columns: 1fr; }
  .grid.bundles,
  .grid.products,
  .grid.mini-grid { grid-template-columns: 1fr; }
  .flagship-media,
  .detail-media-block { min-height: 300px; }
  .storefront-hero { min-height: 56vh; }
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(360px, 560px) 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: var(--section-gap-small);
}

.detail-media-column {
  display: grid;
  gap: 12px;
}

.detail-preview-strip {
  display: grid;
  grid-template-columns: repeat(var(--preview-count, 5), minmax(0, 1fr));
  gap: 8px;
}

.detail-preview-thumb {
  appearance: none;
  border: 1px solid rgba(182, 154, 131, 0.34);
  background: #f6eee6;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.detail-preview-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.detail-preview-thumb:hover,
.detail-preview-thumb:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(123, 81, 90, 0.5);
  box-shadow: 0 6px 14px rgba(78, 62, 53, 0.12);
  outline: none;
}

.detail-preview-thumb.is-active {
  border-color: rgba(123, 81, 90, 0.72);
  box-shadow: 0 0 0 1px rgba(123, 81, 90, 0.24) inset;
}

.detail-hero-copy .detail-title {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: .96;
  margin: 0 0 10px;
}

.detail-subtitle {
  margin: 0 0 10px;
  color: #5f5047;
  line-height: 1.65;
  font-size: 20px;
}

.detail-price {
  margin: 12px 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  color: var(--ves-plum);
  line-height: 1;
}

.hero-intro {
  margin: 12px 0 0;
  line-height: 1.75;
  color: #5d4f45;
  max-width: 64ch;
}

.cover-fallback {
  height: 100%;
  min-height: 470px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border: 1px solid rgba(201, 171, 121, 0.55);
  box-shadow: 0 14px 30px rgba(77, 58, 48, 0.16);
  background:
    linear-gradient(0deg, rgba(255,255,255,.06), rgba(255,255,255,.06)),
    radial-gradient(500px 180px at 20% 10%, rgba(255,255,255,.2), transparent 70%),
    radial-gradient(circle at 82% 84%, rgba(213, 197, 169, 0.16) 0 34%, transparent 35%),
    linear-gradient(145deg, #dcc9bc, #a58a89 58%, #7f8a79);
}

.cover-brand {
  margin: 0;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff8ef;
}

.cover-fallback h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: .98;
  color: #fff8ef;
}

.detail-section {
  margin-top: var(--section-gap-large);
}

.value-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.value-card {
  border: 1px solid var(--ves-border);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff8ef, #fbf2e8);
  box-shadow: 0 6px 14px rgba(78, 62, 53, 0.06);
  padding: 16px;
  min-height: 142px;
}

.value-card h4 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1;
}

.value-card p {
  margin: 0;
  color: #5f5147;
  line-height: 1.72;
}

.bundle-highlight {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: #6f5433;
}

.bundle-metrics {
  margin: 0 0 10px;
  color: #6a5a4f;
  line-height: 1.7;
}

.audio-preview-inline {
  margin-top: 10px;
  max-width: 440px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--ves-border);
  background: #fbf3eb;
}

.audio-preview-inline audio {
  width: 100%;
}

.long-copy-preview {
  border: 1px solid var(--ves-border);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff8ef, #faf0e6);
  padding: 16px;
}

.long-copy-teaser {
  margin: 0 0 10px;
  color: #5f5147;
  line-height: 1.72;
}

.long-copy-body {
  color: #5f5147;
  line-height: 1.82;
}

.long-copy-body.is-collapsed {
  max-height: 6.2em;
  overflow: hidden;
  position: relative;
}

.long-copy-body.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.8em;
  background: linear-gradient(to bottom, rgba(255,248,239,0), rgba(255,248,239,1));
}

.long-copy-toggle {
  margin-top: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #5d4a3a;
  font-size: 13px;
  letter-spacing: .4px;
  cursor: pointer;
}

.detail-final-cta {
  text-align: center;
  margin-top: var(--section-gap-medium);
  padding: 20px 16px;
  border: 1px solid var(--ves-border);
  border-radius: 16px;
  background: linear-gradient(155deg, #fdf6ee, #f8ede3);
}

.detail-final-cta h3 {
  margin: 0 0 6px;
}

.detail-final-copy {
  margin: 0 0 12px;
  color: #5f5147;
  line-height: 1.68;
  font-size: 14px;
}

@media (max-width: 980px) {
  .product-detail-hero,
  .value-card-grid { grid-template-columns: 1fr; }
  .detail-subtitle { font-size: 18px; }
  .cover-fallback { min-height: 340px; }
  .storefront-hero { min-height: 22vh; }
  .store-main { padding-top: 8px; }
  .detail-section { margin-top: var(--section-gap-medium); }
  .detail-preview-strip {
    grid-template-columns: repeat(var(--preview-count, 5), minmax(0, 1fr));
    gap: 7px;
  }
}

/* Final product-detail tightening overrides */
.hero.storefront-hero {
  min-height: 12vh !important;
  padding: 12px 28px 12px !important;
}

.storefront-hero .hero-content {
  margin-top: 2px !important;
}

.storefront-hero .hero-content .eyebrow {
  margin: 0;
}

.store-main {
  padding-top: 6px !important;
}

.store-main section {
  padding: 0 !important;
}

.product-detail-hero {
  margin-top: 0;
  margin-bottom: 60px;
  gap: 24px;
}

.detail-media-block {
  min-height: 500px;
}

.detail-hero-copy .detail-title {
  font-size: clamp(42px, 5.8vw, 78px);
}

.detail-price {
  font-size: 52px;
  margin: 14px 0 18px;
}

.cta-button {
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-reassure {
  color: rgba(58,50,40,0.68);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.detail-section {
  margin-top: 60px;
}

.detail-grid-sections {
  margin-top: 60px;
}

.detail-final-cta {
  margin-top: 60px;
  padding: 28px 20px;
  box-shadow: 0 8px 20px rgba(78, 62, 53, 0.08);
}

.detail-final-cta .cta-button {
  margin-top: 6px;
}

footer {
  color: rgba(58, 50, 40, 0.74);
}

@media (max-width: 980px) {
  .hero.storefront-hero {
    min-height: 10vh !important;
    padding: 10px 16px 10px !important;
  }

  .storefront-hero .hero-content {
    margin-top: 0 !important;
  }

  .store-main {
    padding-top: 2px !important;
  }

  .detail-media-block {
    min-height: 320px;
  }

  .detail-section,
  .detail-grid-sections,
  .detail-final-cta {
    margin-top: 40px;
  }

  .product-detail-hero {
    margin-bottom: 40px;
  }

  .bundle-mini-grid {
    grid-template-columns: 1fr;
  }

  .ritual-unlock-form {
    flex-direction: column;
    align-items: stretch;
  }

  .ritual-unlock-form input[type="email"] {
    width: 100%;
    min-width: 0;
  }

  .ritual-unlock-form button {
    width: 100%;
  }

  .ritual-unlock-feature {
    margin: 20px auto 26px;
    padding: 30px 18px;
    border-radius: 18px;
    box-shadow: 0 7px 20px rgba(79, 61, 51, 0.06);
  }

.bundle-mini-card {
  grid-template-columns: 72px 1fr;
}

.mini-cover {
  width: 72px;
  height: 72px;
}
}

/* Claude-aligned final storefront pass */
.storefront-hero {
  min-height: 16vh;
}

.store-main {
  padding: 8px 20px 60px !important;
}

.featured-flagship,
.collection-feature,
.card,
.free-entry,
.soft-panel,
.value-card,
.bundle-mini-card,
.detail-final-cta,
.long-copy-preview {
  border-color: rgba(234, 217, 203, 0.66);
}

.featured-flagship,
.collection-feature,
.card,
.soft-panel,
.value-card,
.bundle-mini-card {
  box-shadow: 0 8px 18px rgba(78, 62, 53, 0.04);
}

.featured-flagship,
.collection-feature,
.grid,
.free-entry,
.detail-section,
.detail-grid-sections {
  margin-top: 0;
  margin-bottom: 24px;
}

.product-detail-hero {
  margin-bottom: 56px;
}

.detail-section {
  margin-top: 56px;
}

.detail-grid-sections,
.detail-final-cta {
  margin-top: 56px;
}

.hero-intro {
  max-width: 54ch;
}

.support-section h3 {
  margin-bottom: 8px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.support-item h4 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
  color: #3d3129;
}

.support-item p {
  margin: 0;
  color: #5f5147;
  line-height: 1.72;
}

.bundle-mini-card.is-bonus {
  border-style: dashed;
  background: linear-gradient(160deg, #f6efe3, #efe0c8);
}

@media (max-width: 980px) {
  .storefront-hero {
    min-height: 10vh !important;
  }

  .product-detail-hero {
    margin-bottom: 40px;
  }

  .detail-section,
  .detail-grid-sections,
  .detail-final-cta {
    margin-top: 40px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Final Premium Refinement Pass (structure unchanged) */
.sf-badge {
  letter-spacing: 0.07em;
  padding: 6px 11px;
}

.cta-button,
.btn {
  transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.cta-button:hover,
.btn:hover {
  background: #6f4650;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(69, 43, 50, 0.2);
}

section h3 {
  margin-bottom: 12px;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.featured-flagship,
.collection-feature,
.card,
.soft-panel,
.value-card,
.bundle-mini-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.value-card:hover,
.bundle-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(78, 62, 53, 0.08);
}

.cover-fallback {
  border: 1px solid rgba(201, 171, 121, 0.42);
  box-shadow: 0 16px 30px rgba(77, 58, 48, 0.2);
  background:
    linear-gradient(0deg, rgba(255,255,255,.09), rgba(255,255,255,.06)),
    radial-gradient(500px 180px at 20% 10%, rgba(255,255,255,.24), transparent 70%),
    radial-gradient(circle at 82% 84%, rgba(213, 197, 169, 0.2) 0 34%, transparent 35%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, rgba(255,255,255,0) 2px 6px),
    linear-gradient(145deg, #dcc9bc, #a58a89 58%, #7f8a79);
}

.value-card {
  border: 1px solid rgba(222, 197, 170, 0.42);
  background: linear-gradient(160deg, #fff9f1, #f9efe4);
  box-shadow: 0 6px 14px rgba(78, 62, 53, 0.05);
  padding: 18px 17px;
}

.detail-final-cta {
  background: linear-gradient(180deg, rgba(245,236,229,0.92) 0%, rgba(241,230,223,0.96) 100%);
  border: 1px solid rgba(184,154,106,0.16);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(78, 62, 53, 0.13);
  padding: 42px 26px;
}

.detail-final-cta h3 {
  margin: 0 0 12px;
}

.detail-final-copy {
  margin: 0 0 16px;
}

.detail-final-cta .cta-button {
  margin-top: 2px;
}

/* Product detail editorial refinement */
.detail-section-included,
.detail-section-value,
.detail-section-story {
  max-width: 1060px;
}

.bundle-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bundle-editorial-card {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(226, 204, 181, 0.7);
  border-radius: 16px;
  background: linear-gradient(160deg, #fff9f1, #f9efe5);
  padding: 12px;
}

.bundle-editorial-card.is-bonus {
  background: linear-gradient(160deg, #f7efe3, #f2e5d7);
}

.editorial-cover {
  width: 138px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #ccb5af, #97797e);
  box-shadow: 0 10px 20px rgba(78, 62, 53, 0.12);
}

.editorial-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-copy strong {
  display: block;
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 0.98;
  color: #3f322a;
}

.editorial-value {
  margin: 0;
  color: #6b5b50;
  font-size: 13px;
  line-height: 1.55;
}

.editorial-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.editorial-value-panel {
  border: 1px solid rgba(222, 197, 170, 0.55);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 248, 239, 0.94), rgba(249, 239, 228, 0.9));
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(78, 62, 53, 0.06);
}

.editorial-value-panel p {
  margin: 0;
  color: #5f5147;
  line-height: 1.78;
}

.editorial-value-panel p + p {
  margin-top: 6px;
}

.emotional-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.emotional-pillars article {
  border-radius: 15px;
  border: 1px solid rgba(228, 208, 189, 0.72);
  background: linear-gradient(155deg, #fff8ef, #fbf1e7);
  padding: 14px 14px 15px;
}

.emotional-pillars h4 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 0.98;
  color: #3f322a;
}

.emotional-pillars p {
  margin: 0;
  color: #5f5147;
  line-height: 1.72;
}

.detail-final-cta {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.detail-section + .detail-section {
  border-top: 1px solid rgba(205, 181, 155, 0.16);
  padding-top: 8px;
}

@media (max-width: 980px) {
  .bundle-editorial-grid,
  .emotional-pillars {
    grid-template-columns: 1fr;
  }

  .bundle-editorial-card {
    grid-template-columns: 90px 1fr;
    gap: 10px;
  }

  .editorial-cover {
    width: 90px;
  }

  .editorial-copy strong {
    font-size: 24px;
  }

  .emotional-pillars h4 {
    font-size: 26px;
  }
  .value-card {
    padding: 16px;
  }

  .detail-final-cta {
    padding: 32px 18px;
    border-radius: 18px;
  }
}

/* Bundle included items: lighter editorial rows */
.bundle-mini-grid {
  gap: 10px;
}

.bundle-mini-card {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid rgba(205, 181, 155, 0.3);
  border-radius: 0;
  padding: 10px 2px 12px;
  grid-template-columns: 64px 1fr;
}

.bundle-mini-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(184,154,106,0.45);
}

.bundle-mini-card.is-bonus {
  background: linear-gradient(90deg, rgba(243,236,222,0.45), rgba(243,236,222,0.14));
  border-bottom: 1px dashed rgba(184,154,106,0.5);
  border-radius: 10px;
  padding-left: 8px;
  padding-right: 8px;
}

.mini-cover {
  width: 64px;
  height: 64px;
  border-radius: 9px;
  box-shadow: none;
  border: 1px solid rgba(205, 181, 155, 0.35);
}

.mini-cover.fallback {
  background: linear-gradient(145deg, #ccb8b3, #a68c8d);
}

.bundle-mini-card strong {
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.bundle-mini-card p {
  margin-top: 3px;
}

@media (max-width: 980px) {
  .bundle-mini-card {
    grid-template-columns: 58px 1fr;
    padding: 8px 0 10px;
  }

  .bundle-mini-card.is-bonus {
    padding-left: 6px;
    padding-right: 6px;
  }

  .mini-cover {
    width: 58px;
    height: 58px;
  }
}

/* Storefront curated editorial rebuild (public /store + /products) */
.store-emotional-hero {
  min-height: clamp(320px, 42vh, 420px);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
}

.store-emotional-hero p {
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.75;
  color: #5c4d42;
}

.store-main > section {
  margin-bottom: 36px;
}

.featured-flagship {
  border-color: rgba(234, 217, 203, 0.5);
  padding: 22px;
}

.collection-feature {
  border-color: rgba(228, 213, 197, 0.52);
}

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

.grid.mini-grid {
  gap: 10px;
}

.mini-card {
  padding: 14px;
  border-radius: 12px;
}

.card {
  border-color: rgba(234, 217, 203, 0.48);
  background: linear-gradient(160deg, #fff9f2, #fbf3ea);
}

.bundle-card {
  box-shadow: 0 12px 24px rgba(78, 62, 53, 0.06);
}

.free-entry {
  border-color: rgba(234, 217, 203, 0.45);
  background: linear-gradient(145deg, #fcf6f0, #fffaf4);
  padding: 24px;
}

@media (max-width: 980px) {
  .store-emotional-hero {
    min-height: auto;
    padding: 16px 0 8px;
    gap: 12px;
  }

  .store-emotional-hero p {
    font-size: 16px;
  }

  .grid.products,
  .grid.bundles,
  .grid.mini-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FORCE STABILITY OVERRIDES (latest) ===== */
/* Prevent text/content from touching borders across storefront/detail cards */
.store-main .card,
.store-main .value-card,
.store-main .bundle-mini-card,
.store-main .detail-final-cta,
.store-main .support-item,
.store-main .mini-card {
  box-sizing: border-box !important;
}

.store-main .card-body,
.store-main .mini-card,
.store-main .value-card,
.store-main .support-item,
.store-main .detail-final-cta {
  padding: 18px !important;
}

.store-main .detail-final-cta {
  padding: 44px 28px !important;
}

.store-main .detail-final-cta h3 {
  margin: 0 0 14px !important;
  line-height: 1.06 !important;
}

.store-main .detail-final-copy {
  margin: 0 0 18px !important;
  line-height: 1.72 !important;
}

/* Bundle included list: premium rows, not hard boxes */
.store-main .bundle-mini-grid {
  gap: 12px !important;
}

.store-main .bundle-mini-card {
  display: grid !important;
  grid-template-columns: 64px 1fr !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 6px 14px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(205, 181, 155, 0.34) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.store-main .bundle-mini-card > div:last-child {
  min-width: 0 !important;
}

.store-main .bundle-mini-card strong {
  display: block !important;
  margin: 0 0 3px !important;
  font-size: 20px !important;
  line-height: 1.12 !important;
  word-break: break-word !important;
}

.store-main .bundle-mini-card p {
  margin: 0 0 6px !important;
  line-height: 1.45 !important;
}

.store-main .bundle-mini-card.is-bonus {
  border-bottom: 1px dashed rgba(184,154,106,0.56) !important;
  border-radius: 10px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  background: linear-gradient(90deg, rgba(243,236,222,0.45), rgba(243,236,222,0.14)) !important;
}

.store-main .mini-cover {
  width: 64px !important;
  height: 64px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(205, 181, 155, 0.35) !important;
  overflow: hidden !important;
}

/* Core grids keep breathing room */
.store-main .grid.bundles,
.store-main .grid.products {
  gap: 20px !important;
}

.store-main .grid.products {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
  .store-main .detail-final-cta {
    padding: 34px 18px !important;
  }

  .store-main .bundle-mini-card {
    grid-template-columns: 56px 1fr !important;
    gap: 10px !important;
    padding: 10px 0 12px !important;
  }

  .store-main .mini-cover {
    width: 56px !important;
    height: 56px !important;
  }

  .store-main .grid.products,
  .store-main .grid.bundles,
  .store-main .grid.mini-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== STORE PAGE LOCKDOWN (prevents legacy/detail CSS conflicts) ===== */
body.storefront-store .storefront-hero {
  min-height: 16vh !important;
}

body.storefront-store .store-main {
  padding: 8px 20px 60px !important;
}

body.storefront-store .store-main > section {
  margin: 0 0 36px !important;
}

body.storefront-store .store-emotional-hero {
  min-height: clamp(320px, 42vh, 420px) !important;
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 16px !important;
}

body.storefront-store .store-emotional-hero p {
  max-width: 52ch !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
  color: #5c4d42 !important;
}

body.storefront-store .grid.bundles {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.storefront-store .grid.products {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.storefront-store .grid.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.storefront-store .card {
  border-color: rgba(234, 217, 203, 0.48) !important;
  background: linear-gradient(160deg, #fff9f2, #fbf3ea) !important;
}

body.storefront-store .featured-flagship {
  border-color: rgba(234, 217, 203, 0.5) !important;
  padding: 22px !important;
}

body.storefront-store .collection-feature {
  border-color: rgba(228, 213, 197, 0.52) !important;
}

body.storefront-store .free-entry {
  border-color: rgba(234, 217, 203, 0.45) !important;
  background: linear-gradient(145deg, #fcf6f0, #fffaf4) !important;
  padding: 24px !important;
}

@media (max-width: 980px) {
  body.storefront-store .store-emotional-hero {
    min-height: auto !important;
    padding: 16px 0 8px !important;
    gap: 12px !important;
  }

  body.storefront-store .store-emotional-hero p {
    font-size: 16px !important;
  }

  body.storefront-store .grid.products,
  body.storefront-store .grid.bundles,
  body.storefront-store .grid.mini-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final desktop hard override: Ritual Bundles must stay on one row */
@media (min-width: 981px) {
  body.storefront-store .grid.bundles {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.6vw, 24px) !important;
  }
}

/* Absolute final winner for desktop bundle layout */
@media (min-width: 1024px) {
  html body.storefront-store .store-main section .grid.bundles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  html body.storefront-store .store-main section .grid.bundles > .bundle-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

/* Bundle CTA on dedicated last row so label stays on one line */
html body.storefront-store .grid.bundles .bundle-card .card-footer {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  align-items: start !important;
}

html body.storefront-store .grid.bundles .bundle-card .card-footer .price {
  display: block !important;
}

html body.storefront-store .grid.bundles .bundle-card .card-footer .btn {
  justify-self: start !important;
  width: auto !important;
  min-width: 170px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* ===== VESLEN EDITORIAL ATMOSPHERE LAYER (STORE ONLY) ===== */
body.storefront-store .store-main {
  max-width: 1240px !important;
  padding: 6px clamp(14px, 3.5vw, 42px) clamp(40px, 6vw, 72px) !important;
}

body.storefront-store .store-main > section {
  margin-bottom: clamp(28px, 4.5vw, 54px) !important;
}

body.storefront-store .store-emotional-hero {
  min-height: clamp(170px, 24vh, 250px) !important;
  gap: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

body.storefront-store .store-emotional-hero p {
  max-width: 58ch !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.84 !important;
  margin: 0 !important;
}

body.storefront-store .store-emotional-hero .btn {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

body.storefront-store .featured-flagship,
body.storefront-store .collection-feature,
body.storefront-store .card,
body.storefront-store .free-entry {
  border: 1px solid rgba(226, 207, 191, 0.26) !important;
  box-shadow: 0 12px 30px rgba(83, 62, 48, 0.035) !important;
  background: linear-gradient(165deg, rgba(255, 251, 246, 0.86), rgba(250, 241, 233, 0.74)) !important;
}

body.storefront-store .featured-flagship {
  grid-template-columns: minmax(360px, 1.04fr) minmax(0, 1fr) !important;
  gap: clamp(20px, 3vw, 38px) !important;
  padding: clamp(18px, 2.6vw, 34px) !important;
  border-radius: 26px !important;
}

body.storefront-store .flagship-media {
  border-radius: 18px !important;
  min-height: clamp(320px, 40vw, 470px) !important;
}

body.storefront-store .flagship-copy h2 {
  font-size: clamp(40px, 4.9vw, 72px) !important;
  line-height: 0.95 !important;
  margin-bottom: 14px !important;
}

body.storefront-store .flagship-copy .positioning {
  max-width: 50ch !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

body.storefront-store .ritual-unlock-feature {
  max-width: none !important;
  width: 100% !important;
  padding: clamp(34px, 4.8vw, 64px) clamp(22px, 4vw, 56px) !important;
  border: 1px solid rgba(225, 204, 187, 0.2) !important;
  box-shadow: 0 18px 42px rgba(79, 61, 51, 0.048) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(660px 240px at 14% 2%, rgba(255, 255, 255, 0.53), transparent 72%),
    linear-gradient(162deg, rgba(255, 251, 246, 0.95), rgba(248, 237, 226, 0.88)) !important;
}

body.storefront-store .ritual-unlock-feature .micro {
  opacity: 0.84 !important;
  margin-bottom: 10px !important;
}

body.storefront-store .ritual-unlock-feature h3 {
  font-size: clamp(36px, 5.2vw, 68px) !important;
  line-height: 0.95 !important;
  margin-bottom: 14px !important;
}

body.storefront-store .ritual-unlock-feature-copy {
  font-size: clamp(15px, 1.2vw, 19px) !important;
  line-height: 1.9 !important;
  max-width: 60ch !important;
  margin-bottom: 24px !important;
}

body.storefront-store .ritual-unlock-form input[type="email"] {
  flex: 0 1 460px !important;
  max-width: 460px !important;
  min-width: 260px !important;
  border: 1px solid rgba(188, 160, 141, 0.42) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.storefront-store .ritual-unlock-form button {
  box-shadow: 0 10px 22px rgba(89, 53, 63, 0.16) !important;
}

body.storefront-store .grid.bundles,
body.storefront-store .grid.products {
  gap: clamp(16px, 2.2vw, 30px) !important;
}

body.storefront-store .grid.bundles {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.storefront-store .card {
  border-radius: 20px !important;
  overflow: hidden !important;
}

body.storefront-store .card .thumb {
  border-bottom: 0 !important;
}

body.storefront-store .card .card-body {
  padding: clamp(14px, 1.6vw, 22px) !important;
}

body.storefront-store .card h4 {
  font-size: clamp(30px, 3.35vw, 44px) !important;
  line-height: 0.98 !important;
}

body.storefront-store .card .emotional-line {
  line-height: 1.72 !important;
  color: rgba(78, 62, 51, 0.9) !important;
}

body.storefront-store .card .card-footer {
  margin-top: 14px !important;
}

body.storefront-store .free-entry-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.storefront-store .free-entry-topline .micro {
  margin: 0;
}

body.storefront-store .free-entry-topline .badges {
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

body.storefront-store .store-locked .card .card-body,
body.storefront-store .store-locked .collection-metrics {
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.06), rgba(255, 248, 239, 0.16)) !important;
}

@media (max-width: 980px) {
  body.storefront-store .store-main {
    padding: 4px 12px 36px !important;
    max-width: none !important;
  }

  body.storefront-store .store-main > section {
    margin-bottom: 22px !important;
  }

  body.storefront-store .store-emotional-hero {
    display: grid !important;
    justify-items: start !important;
    align-content: center !important;
    gap: 10px !important;
  }

  body.storefront-store .featured-flagship,
  body.storefront-store .collection-feature,
  body.storefront-store .card,
  body.storefront-store .free-entry,
  body.storefront-store .ritual-unlock-feature {
    border-radius: 18px !important;
    border-color: rgba(226, 207, 191, 0.2) !important;
    box-shadow: 0 8px 20px rgba(83, 62, 48, 0.03) !important;
  }

  body.storefront-store .featured-flagship {
    padding: 14px !important;
    gap: 14px !important;
  }

  body.storefront-store .flagship-media {
    min-height: 260px !important;
    border-radius: 14px !important;
  }

  body.storefront-store .ritual-unlock-feature {
    padding: 26px 14px !important;
  }

  body.storefront-store .ritual-unlock-feature-copy {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  body.storefront-store .free-entry-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body.storefront-store .grid.products .thumb,
  body.storefront-store .grid.bundles .thumb {
    min-height: 198px !important;
  }

  body.storefront-store .ritual-unlock-form input[type="email"] {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* ===== PRODUCT DETAIL IMAGE + CTA FINISH (WINNING LAYER) ===== */
body.storefront-detail .detail-media-block {
  position: relative;
}

body.storefront-detail .bundle-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  height: 100%;
}

body.storefront-detail .bundle-collage-cell {
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, #ccb5af, #97797e);
  box-shadow: 0 8px 18px rgba(78, 62, 53, 0.12);
  display: grid;
  place-items: center;
}

body.storefront-detail .bundle-collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.storefront-detail .bundle-collage-cell.fallback span {
  color: #fff8ef;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  line-height: 1.05;
  text-align: center;
  padding: 12px;
}

body.storefront-detail .bundle-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.storefront-detail .bundle-editorial-card {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(226, 204, 181, 0.7);
  background: linear-gradient(160deg, #fff9f1, #f9efe5);
  padding: 12px;
}

body.storefront-detail .bundle-editorial-card.is-bonus {
  background: linear-gradient(160deg, #f7efe3, #f2e5d7);
}

body.storefront-detail .editorial-cover {
  width: 138px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #ccb5af, #97797e);
}

body.storefront-detail .editorial-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.storefront-detail .editorial-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 8px;
  background:
    radial-gradient(120px 60px at 20% 10%, rgba(255,255,255,0.25), rgba(255,255,255,0)),
    linear-gradient(150deg, #d8c2b4, #a7898a 56%, #7f8a79);
}

body.storefront-detail .editorial-cover-fallback p {
  margin: 0;
  color: #fff8ef;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
}

body.storefront-detail .editorial-cover-fallback span {
  color: #fff8ef;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.02;
}

body.storefront-detail .detail-final-cta .cta-button {
  display: inline-block !important;
  margin: 4px 0 10px !important;
}

/* Bundle detail spacing + compact premium included cards */
body.storefront-detail .store-main {
  padding-top: 44px !important;
}

body.storefront-detail .product-detail-hero {
  margin-top: 0 !important;
}

body.storefront-detail .bundle-editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.storefront-detail .bundle-editorial-card {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  padding: 11px;
}

body.storefront-detail .editorial-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
}

body.storefront-detail .editorial-copy strong {
  font-size: 25px;
}

body.storefront-detail .editorial-value {
  font-size: 12.5px;
  line-height: 1.52;
}

body.storefront-detail .editorial-meta {
  margin-top: 7px;
}

@media (max-width: 1100px) {
  body.storefront-detail .bundle-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.storefront-detail .store-main {
    padding-top: 26px !important;
  }

  body.storefront-detail .bundle-editorial-grid {
    grid-template-columns: 1fr;
  }

  body.storefront-detail .bundle-editorial-card {
    grid-template-columns: 1fr;
  }

  body.storefront-detail .editorial-cover {
    width: 100%;
  }

  body.storefront-detail .bundle-collage-cell {
    min-height: 120px;
  }
}

/* ===== FINAL STOREFRONT REFINEMENT PASS (no structural changes) ===== */
body.storefront-store .hero.storefront-hero {
  min-height: 10vh !important;
  padding: 10px 28px 10px !important;
}

body.storefront-store .storefront-hero .hero-content {
  margin-top: 0 !important;
}

body.storefront-store .store-main {
  padding-top: 2px !important;
}

body.storefront-store .store-main > section {
  margin-bottom: 32px !important;
}

body.storefront-store .store-emotional-hero {
  min-height: clamp(220px, 30vh, 300px) !important;
  gap: 12px !important;
  padding-top: 0 !important;
}

/* Keep premium 2-column editorial layout for bundles and core products */
body.storefront-store .grid.bundles {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.storefront-store .grid.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

/* Complete collection: less boxy, more editorial integration */
body.storefront-store .collection-feature {
  border: 1px solid rgba(228, 213, 197, 0.38) !important;
  box-shadow: 0 6px 14px rgba(90, 70, 56, 0.03) !important;
  background: linear-gradient(130deg, rgba(255, 249, 240, 0.82), rgba(249, 239, 227, 0.78)) !important;
  padding: 22px !important;
}

/* Core product cards: slightly tighter without losing quality */
body.storefront-store .grid.products .thumb {
  min-height: 168px !important;
}

body.storefront-store .grid.products .card-body {
  padding: 14px !important;
}

body.storefront-store .grid.products .card h4 {
  margin-bottom: 6px !important;
}

body.storefront-store .grid.products .emotional-line {
  margin-bottom: 8px !important;
  line-height: 1.58 !important;
}

body.storefront-store .grid.products .card-footer {
  margin-top: 10px !important;
}

/* Mini packs: clearly secondary hierarchy */
body.storefront-store .mini-grid .mini-card {
  padding: 13px !important;
  border-color: rgba(234, 217, 203, 0.34) !important;
  background: linear-gradient(160deg, rgba(255, 250, 244, 0.88), rgba(250, 242, 233, 0.82)) !important;
}

body.storefront-store .mini-grid .mini-card h4 {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  margin-bottom: 6px !important;
}

body.storefront-store .mini-grid .mini-card p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin-bottom: 8px !important;
}

body.storefront-store .mini-grid .mini-card .card-footer {
  margin-top: 8px !important;
}

/* Subtle premium interactions only */
body.storefront-store .card,
body.storefront-store .collection-feature,
body.storefront-store .featured-flagship,
body.storefront-store .free-entry {
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease !important;
}

body.storefront-store .card:hover,
body.storefront-store .featured-flagship:hover,
body.storefront-store .collection-feature:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 20px rgba(78, 62, 53, 0.06) !important;
}

body.storefront-store .thumb img,
body.storefront-store .flagship-media img {
  transition: opacity 220ms ease, filter 220ms ease !important;
}

body.storefront-store .card:hover .thumb img,
body.storefront-store .featured-flagship:hover .flagship-media img {
  filter: saturate(1.02) contrast(1.01) !important;
}

body.storefront-store .btn {
  transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease !important;
}

body.storefront-store .btn:hover {
  background: #6f4650 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 16px rgba(69, 43, 50, 0.18) !important;
}

@media (max-width: 980px) {
  body.storefront-store .hero.storefront-hero {
    padding: 8px 16px 8px !important;
  }

  body.storefront-store .store-main > section {
    margin-bottom: 26px !important;
  }

  body.storefront-store .store-emotional-hero {
    min-height: auto !important;
    gap: 10px !important;
    padding: 8px 0 4px !important;
  }

  body.storefront-store .collection-feature {
    padding: 18px !important;
    gap: 12px !important;
  }

  body.storefront-store .grid.products .thumb {
    min-height: 180px !important;
  }
}

/* ===== Complete Collection hard-fix (store page only) ===== */
body.storefront-store .collection-feature {
  display: grid !important;
  grid-template-columns: 1.28fr 0.92fr !important;
  gap: 24px !important;
  align-items: center !important;
  padding: 24px !important;
  margin: 0 0 34px !important;
  border: 1px solid rgba(228, 213, 197, 0.58) !important;
  border-radius: 18px !important;
  background: linear-gradient(130deg, #fff9f0, #f9efe3) !important;
  box-shadow: 0 10px 22px rgba(90, 70, 56, 0.05) !important;
}

body.storefront-store .collection-feature > div {
  min-width: 0 !important;
}

body.storefront-store .collection-feature h2 {
  margin: 6px 0 10px !important;
  line-height: 0.98 !important;
  letter-spacing: 0.005em !important;
}

body.storefront-store .collection-feature p {
  margin: 0 !important;
  line-height: 1.66 !important;
}

body.storefront-store .collection-feature .badges {
  margin-top: 10px !important;
}

body.storefront-store .collection-metrics {
  display: grid !important;
  gap: 10px !important;
  align-content: center !important;
  justify-items: start !important;
}

body.storefront-store .collection-metrics p {
  margin: 0 !important;
}

body.storefront-store .collection-metrics p strong {
  display: inline-block !important;
  margin-right: 6px !important;
}

body.storefront-store .collection-metrics .btn {
  margin-top: 4px !important;
}

@media (max-width: 980px) {
  body.storefront-store .collection-feature {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
    margin-bottom: 26px !important;
  }
}

/* ===== STOREFRONT CONFLICT RESOLUTION (FINAL WINNING LAYER) ===== */
body.storefront-store .hero.storefront-hero {
  min-height: 10vh !important;
  padding: 8px 20px !important;
}

body.storefront-store .storefront-hero .hero-content {
  margin-top: 0 !important;
}

body.storefront-store .store-main {
  padding: 2px 20px 56px !important;
}

body.storefront-store .store-main > section {
  margin: 0 0 30px !important;
}

body.storefront-store .store-emotional-hero {
  min-height: clamp(210px, 28vh, 280px) !important;
  gap: 10px !important;
  padding: 0 !important;
}

body.storefront-store .grid.bundles {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.storefront-store .grid.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.storefront-store .grid.products .thumb {
  min-height: 154px !important;
}

body.storefront-store .grid.products .card-body {
  padding: 14px !important;
}

body.storefront-store .grid.products .emotional-line {
  margin: 0 0 8px !important;
  line-height: 1.56 !important;
}

body.storefront-store .grid.products .card-footer {
  margin-top: 9px !important;
}

body.storefront-store .mini-grid .mini-card {
  padding: 12px !important;
  border-color: rgba(234, 217, 203, 0.3) !important;
  background: linear-gradient(160deg, rgba(255, 251, 246, 0.9), rgba(250, 243, 236, 0.85)) !important;
}

body.storefront-store .mini-grid .mini-card h4 {
  font-size: clamp(21px, 2.1vw, 27px) !important;
}

body.storefront-store .mini-grid .mini-card p {
  font-size: 13px !important;
  line-height: 1.58 !important;
}

/* Keep complete collection integrated (not heavy box) */
body.storefront-store .collection-feature {
  display: grid !important;
  grid-template-columns: 1.28fr 0.92fr !important;
  gap: 22px !important;
  align-items: center !important;
  padding: 20px !important;
  margin: 0 0 30px !important;
  border: 1px solid rgba(228, 213, 197, 0.34) !important;
  border-radius: 16px !important;
  background: linear-gradient(130deg, rgba(255, 249, 240, 0.75), rgba(249, 239, 227, 0.72)) !important;
  box-shadow: 0 5px 12px rgba(90, 70, 56, 0.025) !important;
}

body.storefront-store .collection-metrics {
  gap: 8px !important;
}

@media (max-width: 980px) {
  body.storefront-store .hero.storefront-hero {
    padding: 8px 14px !important;
  }

  body.storefront-store .store-main {
    padding: 2px 14px 44px !important;
  }

  body.storefront-store .store-main > section {
    margin-bottom: 24px !important;
  }

  body.storefront-store .store-emotional-hero {
    min-height: auto !important;
    padding: 6px 0 2px !important;
  }

  body.storefront-store .collection-feature {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
    margin-bottom: 24px !important;
  }

  body.storefront-store .grid.products .thumb {
    min-height: 172px !important;
  }

  body.storefront-store .grid.products,
  body.storefront-store .grid.bundles,
  body.storefront-store .grid.mini-grid {
    grid-template-columns: 1fr !important;
  }
}
