.shop-intro { padding-block: 40px 64px; }
.shop-intro h1 { font-size: clamp(36px, 5vw, 62px); margin: 0 0 20px; }
.shop-start { background: #f8dbd7; color: #52251d; border-radius: 18px; padding: clamp(20px, 4vw, 38px); margin-bottom: 36px; }
.shop-start p { max-width: 65ch; }
.shop-families, .shop-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shop-family { display: block; background: white; color: inherit; text-decoration: none; border: 1px solid #d7d4c8; border-inline-start: 7px solid var(--family); border-radius: 12px; padding: 22px; }
.shop-family:hover h3, .shop-family:focus-visible h3 { text-decoration: underline; }
.shop-family h3, .shop-family p { margin: 0; }
.shop-family p { margin-top: 6px; }
.shop-back { display: inline-block; color: inherit; margin-bottom: 20px; }
.shop-intro .shop-family-title { border-inline-start: 7px solid var(--family); padding-inline-start: 16px; }
.shop-products { margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.shop-product { display: flex; flex-direction: column; max-width: 420px; border: 1px solid #d7d4c8; border-radius: 16px; overflow: hidden; background: white; scroll-margin-top: 24px; }
.shop-cover { aspect-ratio: 4 / 3; background: #f5f1ea; padding: 16px; }
.shop-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shop-product-copy { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.shop-product-copy h2 { font-size: 1.4rem; margin: 0; }
.shop-buy { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.shop-legacy { display: none; }
.shop-legacy:target { display: block; }
.shop-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 560px) { .shop-families { grid-template-columns: 1fr; } }

.shop-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 38%);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
}
.shop-start-illustration {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  box-sizing: border-box;
  justify-self: center;
  border-radius: 16px;
}
@media (max-width: 620px) {
  .shop-start { grid-template-columns: 1fr; }
  .shop-start-illustration { max-width: 360px; }
}

.shop-contents {
  margin: 0 0 16px;
  border: 1px solid #d7d4c8;
  border-radius: 10px;
  background: #faf8f3;
}
.shop-contents summary {
  cursor: pointer;
  padding: 12px;
  font-weight: 700;
}
.shop-contents summary:focus-visible {
  outline: 2px solid var(--family, #52251d);
  outline-offset: 3px;
}
.shop-contents ul {
  margin: 0;
  padding: 0 14px 14px 32px;
  font-size: 0.92rem;
}
.shop-contents li + li { margin-top: 6px; }

.shop-preview a { display: block; padding: 0 12px 12px; }
.shop-preview img { display: block; width: 100%; height: auto; margin-bottom: 8px; border: 1px solid #d7d4c8; }

.shop-preview video { display: block; width: calc(100% - 24px); height: auto; margin: 0 12px 12px; }

.shop-contents ol { margin: 0; padding: 0 14px 14px 32px; font-size: 0.92rem; }

.shop-lead { font-size: clamp(20px, 3vw, 28px); max-width: 48ch; }
.shop-audience { max-width: 72ch; margin-bottom: 28px; }
.shop-footer { border-top: 1px solid #d7d4c8; padding-block: 20px; }

.vitrine-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(18px,4vw,60px); align-items:center; background:#f5e4da; border-radius:26px; overflow:hidden; padding:clamp(20px,4vw,46px); }
.vitrine-hero h1 { font-family:"DM Serif Text", Georgia, serif; font-weight:400; letter-spacing:-.035em; line-height:1.04; margin:12px 0 17px; }
.vitrine-copy > p:not(.overline) { max-width:50ch; line-height:1.65; }
.vitrine-hero img { width:100%; height:auto; display:block; border-radius:18px; }
.vitrine-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; margin-top:24px; }
.vitrine-link, .vitrine-section .shop-buy a { text-decoration:underline; text-underline-offset:4px; font-weight:700; }
.vitrine-info { display:flex; flex-wrap:wrap; justify-content:space-around; gap:10px 24px; list-style:none; padding:16px; margin:18px 0 0; border-block:1px solid #d7d4c8; font-size:.9rem; }
.vitrine-section { margin-top:clamp(32px,6vw,70px); scroll-margin-top:24px; }
.vitrine-section h2 { font-family:"DM Serif Text", Georgia, serif; font-weight:400; font-size:clamp(28px,4vw,44px); line-height:1.15; margin-bottom:12px; }
.shop-family span { display:block; margin-top:14px; font-weight:700; }
.vitrine-section .shop-product h3 { font-size:1.3rem; margin:0; }
.vitrine-theme { font-size:.83rem; font-weight:700; color:#59642d; margin:0 0 6px; }
.vitrine-resource { display:grid; grid-template-columns:1fr 1fr; gap:26px; background:#eef0da; border-radius:20px; padding:clamp(18px,4vw,36px); align-items:center; }
.vitrine-faq { max-width:760px; }
.vitrine-faq details p { margin:0; padding:0 12px 12px; }
@media(max-width:740px) { .vitrine-hero,.vitrine-resource { grid-template-columns:1fr; } }

/* Public storefront art direction */
.vitrine-hero {
  background: #f1eee3;
  border: 1px solid #ded8cb;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.vitrine-hero .overline { color: #59642d; }
.vitrine-study { margin: 0; min-width: 0; }
.vitrine-sheets {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.21;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(ellipse at 25% 15%, #536651, #273c34 78%);
}
.vitrine-sheet {
  display: block;
  position: absolute;
  width: 47%;
  border: 1px solid #fff9;
  box-shadow: 0 14px 30px #13241c65;
  transition: transform .2s ease;
}
.vitrine-sheet:focus-visible { outline: 3px solid #f2ce6f; outline-offset: 4px; z-index: 2; }
.vitrine-sheet img { border-radius: 0; }
.vitrine-sheet-primary { left: 12%; top: 9%; transform: rotate(-8deg); }
.vitrine-sheet-secondary { right: 11%; top: 13%; transform: rotate(10deg); }
.vitrine-sheet-primary:hover { transform: rotate(-4deg) translateY(-3px); }
.vitrine-sheet-secondary:hover { transform: rotate(6deg) translateY(-3px); }
.vitrine-study figcaption { margin-top: 10px; color: #465247; font-size: .82rem; }
.shop-family {
  border: 1px solid #ded8cb;
  border-top: 5px solid var(--family);
  background: color-mix(in srgb, var(--family) 12%, #fffdf8);
  min-width: 0;
}
.shop-family h3 { font-family: "DM Serif Text", Georgia, serif; font-size: 1.35rem; }
.shop-family span { font-size: .84rem; }
.shop-product { max-width: none; border-color: #ded8cb; }
.shop-cover {
  display: block;
  padding: clamp(16px, 3vw, 32px);
  background: radial-gradient(ellipse at 45% 24%, #fffdf8, #eae3d6);
}
.shop-family-page .shop-cover {
  background: radial-gradient(ellipse at 42% 20%, #fffdf8, color-mix(in srgb, var(--family) 24%, #f5f1e7));
}
.shop-cover img { filter: drop-shadow(0 8px 9px #342b2033); }
@media (min-width: 920px) {
  .shop-families { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 740px) { .vitrine-hero { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .vitrine-sheet { transition: none; } }

.origine-feature {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 5vw, 56px);
  background: #f6efe3;
  color: #182440;
  border: 1px solid #dfd0b7;
  border-radius: 16px;
}
.origine-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 20px #18244024;
}
.origine-feature .origine-subtitle {
  color: #182440;
  font-weight: 650;
}
.origine-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 22px;
}
@media (max-width: 640px) {
  .origine-feature { grid-template-columns: 1fr; }
  .origine-cover { max-width: 180px; }
}
