/* Review fixture content belongs to the theme demo; replace with store data on integration. */
.petal .testimonials { padding-block: 56px; }
.testimonial-heading { display: flex; justify-content: space-between; gap: var(--s-space-5); align-items: end; margin-bottom: 28px; }
.testimonial-heading h2 { font-size: 40px; }
.testimonial-heading > p { font-size: 15px; }
.testimonial-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--s-space-5); }
.testimonial-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.testimonial { background: var(--s-color-review); padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.testimonial-stars { display: flex; gap: var(--s-space-1); color: var(--accent); margin-bottom: 20px; }
.testimonial-stars svg { width: 17px; height: 17px; fill: currentColor; }
.testimonial h3 { font-size: var(--s-text-card); line-height: 1.18; margin-bottom: var(--s-space-4); }
.testimonial blockquote { margin: 0 0 18px; }
.testimonial blockquote p { font-size: 15px; line-height: 1.7; }
.testimonial .testimonial-name { font-size: var(--s-text-label); font-weight: 500; margin: auto 0 20px; }
.testimonial-product { border-top: 1px solid var(--line); padding-top: var(--s-space-4); display: flex; gap: 14px; align-items: center; font-size: var(--s-text-small); min-height: 60px; }
.testimonial-product img { width: 44px; height: 54px; object-fit: cover; }
.testimonial-product .arrow { margin-left: auto; }
.testimonial-product:hover span { text-decoration: underline; text-underline-offset: 4px; }
.testimonial-scroll-hint { display: none; }
.petal .testimonials + .care-help { padding-top: var(--s-space-6); }
@media(max-width:1000px) and (min-width:701px) {
 .testimonial-list { gap: var(--s-space-4); }
 .testimonial { padding: 20px; }
 .testimonial h3 { font-size: 24px; }
}
@media(max-width:700px) {
 .petal .testimonials { padding: 36px var(--s-space-5); }
 .testimonial-heading { display: block; margin-bottom: var(--s-space-4); }
 .testimonial-heading h2 { font-size: var(--s-text-section-mobile); }
 .petal .testimonial-heading > p { font-size: 15px; margin-top: 14px; }
 .petal .testimonial-scroll-hint { display: block; font-size: var(--s-text-caption); margin-bottom: 14px; }
 .testimonial-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(100% - 26px); gap: var(--s-space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: var(--s-space-3); }
 .testimonial { scroll-snap-align: start; padding: var(--s-space-5); }
 .testimonial h3 { font-size: 25px; }
 .petal .testimonial blockquote p { font-size: var(--s-text-small); }
 .petal .testimonial .testimonial-name { font-size: var(--s-text-label); }
 .testimonial-product { font-size: var(--s-text-small); }
}


/* Homepage Featured essentials: photography first, three concise information levels. */
.petal :is(.bestsellers, .s-product-collection) .section-head { margin-bottom: var(--s-space-6); }
.petal :is(.bestsellers, .s-product-collection) h2 { font-size: 46px; }
.petal :is(.bestsellers, .s-product-collection) .products { grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--s-product-gap); }
.petal :is(.bestsellers, .s-product-collection) .product { display: flex; flex-direction: column; min-width: 0; }
.petal :is(.bestsellers, .s-product-collection) .product-image { height: auto; aspect-ratio: var(--s-ratio-product-list); background: var(--s-color-photo); }
.petal :is(.bestsellers, .s-product-collection) .product-image img { width: 100%; height: 100%; object-fit: contain; filter: none; transform: scale(var(--product-crop,1)); transform-origin: center top; transition: transform var(--s-duration-photo) var(--s-ease-photo); }
.petal :is(.bestsellers, .s-product-collection) .product-image:hover img, .petal :is(.bestsellers, .s-product-collection) .product-image:focus-visible img { transform: scale(calc(var(--product-crop,1) * var(--s-photo-hover-scale))); }
.petal :is(.bestsellers, .s-product-collection) .product-image .product-view { position: absolute; inset: auto 12px 12px auto; display: inline-flex; align-items: center; gap: var(--s-space-2); padding: var(--s-space-2) 10px; font-size: var(--s-text-caption); background: #fffaf8f2; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .18s,transform .18s; }
.petal :is(.bestsellers, .s-product-collection) .product-image:hover .product-view, .petal :is(.bestsellers, .s-product-collection) .product-image:focus-visible .product-view { opacity: 1; transform: none; }
.petal :is(.bestsellers, .s-product-collection) .product-title { display: block; margin: var(--s-space-4) 0 0; }
.petal :is(.bestsellers, .s-product-collection) .product-title h3 { font-size: var(--s-text-product); font-weight: 500; line-height: 1.35; }
.petal :is(.bestsellers, .s-product-collection) .product > p { font-size: var(--s-text-small); line-height: 1.55; min-height: 0; margin: 7px 0 18px; color: var(--s-color-muted); }
.petal :is(.bestsellers, .s-product-collection) .product-size { white-space: nowrap; }
.petal :is(.bestsellers, .s-product-collection) .product-purchase { display: flex; justify-content: space-between; align-items: center; gap: var(--s-space-3); margin-top: auto; }
.petal :is(.bestsellers, .s-product-collection) .product-price { font-size: var(--s-price-size); font-weight: var(--s-price-weight); color: var(--s-color-wine); font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; flex-shrink: 0; }
.petal :is(.bestsellers, .s-product-collection) .add-link { display: inline-flex; justify-content: center; align-items: center; gap: var(--s-space-2); width: auto; min-width: 138px; min-height: var(--s-target); margin: 0; padding: var(--s-space-2) var(--s-space-3); border: var(--s-border) solid var(--accent); background: transparent; color: var(--accent); font-size: var(--s-text-small); font-weight: 500; line-height: 1.5; letter-spacing: 0; white-space: nowrap; transition: color .18s, background-color .18s; }
.petal :is(.bestsellers, .s-product-collection) .add-link:hover:not([aria-disabled="true"]) { color: var(--onaccent); background: var(--accent); }
.petal :is(.bestsellers, .s-product-collection) .add-link .add-label { font: inherit; }
.petal :is(.bestsellers, .s-product-collection) .add-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.petal :is(.bestsellers, .s-product-collection) .add-link:active { transform: translateY(1px); }
.petal :is(.bestsellers, .s-product-collection) .add-link .arrow { width: 16px; height: 16px; flex: 0 0 16px; }
.petal :is(.bestsellers, .s-product-collection) .add-link[aria-busy="true"] { cursor: progress; }
.petal :is(.bestsellers, .s-product-collection) .add-link[aria-disabled="true"] { cursor: default; }
.petal .ritual-photo img, .petal .articles article:first-child img { filter: none; }
@media (max-width:1000px) {
 .petal :is(.bestsellers, .s-product-collection) .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s-space-6) var(--s-space-5); }
}
@media (max-width:700px) {
 .petal :is(.bestsellers, .s-product-collection) h2 { font-size: 36px; }
 .petal :is(.bestsellers, .s-product-collection) .products { gap: 30px var(--s-space-4); }
 .petal :is(.bestsellers, .s-product-collection) .product-title h3 { font-size: var(--s-text-product); }
 .petal :is(.bestsellers, .s-product-collection) .product > p { font-size: var(--s-text-small); margin: 7px 0 var(--s-space-4); }
 .petal :is(.bestsellers, .s-product-collection) .product-purchase { gap: var(--s-space-2); flex-wrap: wrap; }
 .petal :is(.bestsellers, .s-product-collection) .product-price { font-size: var(--s-price-size-mobile); }
 .petal :is(.bestsellers, .s-product-collection) .add-link { min-width: 0; padding-inline: var(--s-space-2); }
}
@media (max-width:380px) {
 .petal :is(.bestsellers, .s-product-collection) .product-purchase { flex-direction: column; align-items: flex-start; gap: 0; }
 .petal :is(.bestsellers, .s-product-collection) .add-link { min-width: 0; margin: 6px 0 0; }
}
@media (prefers-reduced-motion:reduce) {
 .petal :is(.bestsellers, .s-product-collection) .product-image img, .petal :is(.bestsellers, .s-product-collection) .product-image .product-view, .petal :is(.bestsellers, .s-product-collection) .add-link { transition: none; }
}


/* Public primitives for new pages. Legacy class aliases keep current markup working. */
.serein { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--s-font-body); }
.serein *, .serein *::before, .serein *::after { box-sizing: border-box; }
.s-container { width: min(calc(100% - 2 * var(--s-gutter-mobile)), var(--s-container)); margin-inline: auto; }
.s-section { padding-block: var(--s-section-space); }
.s-title { font: var(--s-weight-regular) var(--s-text-section)/var(--s-leading-heading) var(--s-font-display); letter-spacing: -.025em; text-wrap: balance; }
.s-body { font: var(--s-text-body)/var(--s-leading-body) var(--s-font-body); max-width: 65ch; }
.s-button, .petal .button {
  display: inline-flex; justify-content: space-between; align-items: center;
  min-height: var(--s-target-primary); gap: var(--s-space-4); padding: 14px 22px;
  border: var(--s-border) solid var(--accent); border-radius: var(--s-radius);
  background: var(--accent); color: var(--onaccent); font-size: var(--s-text-small);
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
}
.s-button { font-family: var(--s-font-body); line-height: 1.6; transition: background-color var(--s-duration-fast); }
.s-button:hover { background: var(--s-color-wine-hover); }
.s-button--outline { background: transparent; color: var(--accent); min-height: var(--s-target); }
.s-button--outline:hover { background: var(--accent); color: var(--onaccent); }
.s-link { display: inline-flex; align-items: center; gap: var(--s-space-3); min-height: var(--s-target); padding-block: 10px; background: none; border: 0; border-bottom: var(--s-border) solid currentColor; color: var(--ink); font: var(--s-text-small)/1.5 var(--s-font-body); text-decoration: none; cursor: pointer; }
.s-link:hover { color: var(--accent); }
.s-button:disabled, .s-button[aria-disabled=true] { opacity: .6; cursor: not-allowed; }
.s-button[aria-busy=true] { cursor: progress; }
.s-field { display: grid; gap: var(--s-space-2); font: var(--s-text-small)/1.6 var(--s-font-body); }
.s-field input { width: 100%; min-height: var(--s-target); border: 0; border-bottom: var(--s-border) solid var(--line); border-radius: var(--s-radius); padding: var(--s-space-3) 0; font: var(--s-text-body)/1.6 var(--s-font-body); color: var(--ink); background: transparent; }
.s-field input::placeholder { color: var(--s-color-placeholder); opacity: 1; }
.s-field input[aria-invalid=true] { border-color: var(--accent); border-bottom-width: 2px; }
.s-field .s-field-message { margin: 0; font-size: var(--s-text-label); }
.s-email-row, .petal .email-row { display: flex; border-bottom: var(--s-border) solid currentColor; margin: 25px 0 15px; }
.s-email-row input, .petal .email-row input { min-width: 0; flex: 1; padding: var(--s-space-3) 0; border: 0; border-radius: var(--s-radius); background: transparent; color: inherit; font-size: var(--s-text-body); }
.s-email-row input { font-family: var(--s-font-body); line-height: 1.6; }
.s-email-row input::placeholder, .petal .email-row input::placeholder { color: var(--s-color-placeholder); opacity: 1; }
.s-email-row button { display: inline-flex; align-items: center; gap: var(--s-space-3); min-height: var(--s-target); padding: 0; border: 0; background: transparent; color: inherit; font: var(--s-text-small)/1.6 var(--s-font-body); cursor: pointer; }
.s-icon { display: inline-block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.serein :is(a,button,input,select,textarea):focus-visible { outline: var(--s-focus-width) solid var(--accent); outline-offset: var(--s-focus-offset); }
.serein ::selection { background: var(--s-color-selection); color: var(--ink); }
.serein { caret-color: var(--accent); }
@media(max-width:700px) { .s-title { font-size: var(--s-text-section-mobile); } }
@media(prefers-reduced-motion:reduce) { .s-button { transition: none; } }
/* Campaign action is a deliberate responsive variant of the primary button. */
.s-button--hero, .petal .campaign-copy .button { font-size: var(--s-text-small); min-height: 52px; padding: 15px 22px; }
@media(max-width:700px) {
 .s-button--hero, .petal .campaign-copy .button { font-size: var(--s-text-caption); padding: var(--s-space-3) 14px; min-height: 46px; gap: var(--s-space-3); }
}
