/* Template: Soft Editorial. A different homepage, not just different colours:
   one big round hero photo, a row of round "signature" photos, a story block, then products, steps and the bridal call.
   It only restyles and re-orders the homepage's existing sections (same content, same links, same booking and cart behaviour).
   Everything is under html[data-tpl="soft"], so it does nothing unless the owner picks this template in Settings.
   Colours and shapes for the other pages come from templates.css. */
html[data-tpl="soft"] .v2-home { display: flex; flex-direction: column; background: #F6EFE4; color: #2B1F17; }
html[data-tpl="soft"] .v2-home::before { display: none; }

/* the order of the sections, and the ones this template leaves out */
html[data-tpl="soft"] .v2-home .ace-hero { order: 1; }
html[data-tpl="soft"] .v2-home .ace-shortcuts { order: 2; }
html[data-tpl="soft"] .v2-home #home-offers { order: 3; }
html[data-tpl="soft"] .v2-home .ace-founder { order: 4; }
html[data-tpl="soft"] .v2-home #home-treatments { order: 5; }
html[data-tpl="soft"] .v2-home #home-shop { order: 6; }
html[data-tpl="soft"] .v2-home section[aria-labelledby="steps-title"] { order: 7; }
html[data-tpl="soft"] .v2-home .ace-sale { order: 8; }
html[data-tpl="soft"] .v2-home #site-blocks-section { order: 9; }
html[data-tpl="soft"] .v2-home .ace-foot { order: 10; }
html[data-tpl="soft"] .v2-home .m-video,
html[data-tpl="soft"] .v2-home .ace-promo-duo,
html[data-tpl="soft"] .v2-home .ace-trusted,
html[data-tpl="soft"] .v2-home .ace-catcards { display: none; }

/* Hero: one large round photo, a short headline under it, two buttons, a quiet trust line */
html[data-tpl="soft"] .v2-home .ace-hero {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: start; align-content: start; text-align: center;
  aspect-ratio: auto; min-height: 0; margin: 0; padding: clamp(26px, 5vw, 56px) 20px clamp(34px, 6vw, 60px);
  border-radius: 0; box-shadow: none; overflow: visible; background: linear-gradient(180deg, #F6EFE4 0%, #F1E6D6 100%);
}
html[data-tpl="soft"] .v2-home .ace-hero__art {
  position: relative; inset: auto; align-self: start; width: min(76vw, 430px); height: auto; aspect-ratio: 1; margin: 0 auto 26px; border-radius: 50%; overflow: hidden;
  background: #EDE2D0; box-shadow: 0 0 0 10px rgba(255, 253, 249, .85), 0 34px 60px -30px rgba(90, 55, 20, .55);
}
html[data-tpl="soft"] .v2-home .ace-hero__art img, html[data-tpl="soft"] .v2-home .ace-hero__art video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 38%; }
html[data-tpl="soft"] .v2-home .ace-hero__scrim { display: none; }
html[data-tpl="soft"] .v2-home .ace-hero__copy { position: relative; width: 100%; max-width: 580px; margin: 0 auto; padding: 0; }
html[data-tpl="soft"] .v2-home .ace-hero__eyebrow { padding: 0; background: none; color: #8F5A22; font-size: .72rem; font-weight: 600; letter-spacing: .22em; }
html[data-tpl="soft"] .v2-home .ace-hero h1 { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 7.4vw, 4rem); line-height: 1.04; letter-spacing: -.015em; color: #2B1F17; }
html[data-tpl="soft"] .v2-home .ace-hero h1 em { color: #8F5A22; }
html[data-tpl="soft"] .v2-home .ace-hero__lede { margin: 16px auto 0; max-width: 40ch; color: #5C4A3B; font-size: 1rem; }
html[data-tpl="soft"] .v2-home .ace-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 26px; }
html[data-tpl="soft"] .v2-home .ace-hero__btn { flex: 1 1 150px; justify-content: center; max-width: 240px; min-height: 50px; padding: 0 20px; border-radius: 999px; background: #2B1F17; color: #FFFDF9; font-size: .88rem; font-weight: 600; }
html[data-tpl="soft"] .v2-home .ace-hero__btn:hover { background: #8F5A22; }
html[data-tpl="soft"] .v2-home .ace-hero__btn--ghost { background: transparent; color: #2B1F17; border: 1.5px solid #2B1F17; }
html[data-tpl="soft"] .v2-home .ace-hero__btn--ghost:hover { background: #2B1F17; color: #FFFDF9; }
html[data-tpl="soft"] .v2-home .ace-hero__strip {
  position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; width: 100%; max-width: 760px; margin: 34px auto 0; padding: 18px 0 0;
  border-top: 1px solid rgba(43, 31, 23, .14); border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; text-align: left;
}
html[data-tpl="soft"] .v2-home .ace-hero__strip > div { min-width: 0; padding: 0 6px; border: 0; }
html[data-tpl="soft"] .v2-home .ace-hero__strip p { min-width: 0; overflow-wrap: anywhere; }
html[data-tpl="soft"] .v2-home .ace-hero__strip svg { color: #8F5A22; }
html[data-tpl="soft"] .v2-home .ace-hero__strip b { color: #2B1F17; }
html[data-tpl="soft"] .v2-home .ace-hero__strip span { color: #6A5848; }
@media (min-width: 760px) { html[data-tpl="soft"] .v2-home .ace-hero__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Signature row: round photos with serif labels */
html[data-tpl="soft"] .v2-home .ace-shortcuts { justify-content: flex-start; gap: clamp(18px, 3vw, 36px); padding: 8px clamp(20px, 6vw, 90px) 34px; background: #F1E6D6; }
@media (min-width: 1100px) { html[data-tpl="soft"] .v2-home .ace-shortcuts { justify-content: center; } }
html[data-tpl="soft"] .v2-home .ace-shortcuts__item { width: 112px; }
html[data-tpl="soft"] .v2-home .ace-shortcuts__circle { width: 104px; height: 104px; border: 0; box-shadow: 0 0 0 5px #FFFDF9, 0 14px 26px -16px rgba(90, 55, 20, .55); }
html[data-tpl="soft"] .v2-home .ace-shortcuts__label { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; color: #2B1F17; }

/* Story: round portrait beside the quote, on a white card */
html[data-tpl="soft"] .v2-home .ace-founder { margin: clamp(30px, 5vw, 60px) clamp(16px, 4vw, 48px) 0; border-radius: 32px; background: #FFFDF9; box-shadow: 0 24px 50px -34px rgba(90, 55, 20, .5); animation: none; }
html[data-tpl="soft"] .v2-home .ace-founder__img { width: min(100%, 300px); max-height: none; aspect-ratio: 1; justify-self: center; border-radius: 50%; object-position: 50% 22%; box-shadow: 0 0 0 8px #F6EFE4; }
html[data-tpl="soft"] .v2-home .ace-founder__mark { color: #D6A874; }
html[data-tpl="soft"] .v2-home .ace-founder blockquote p { color: #2B1F17; }
html[data-tpl="soft"] .v2-home .ace-founder figcaption b { color: #2B1F17; }
html[data-tpl="soft"] .v2-home .ace-founder figcaption span { color: #6A5848; }

/* Section headings and product cards */
html[data-tpl="soft"] .v2-home .ace-sec { padding-top: clamp(34px, 6vw, 70px); }
html[data-tpl="soft"] .v2-home .ace-sec__head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 5vw, 2.8rem); color: #2B1F17; }
html[data-tpl="soft"] .v2-home .ace-sec__head a { color: #8F5A22; font-weight: 600; }
html[data-tpl="soft"] .v2-home .ace-pcard { overflow: hidden; border: 1px solid #EADFCB; border-radius: 20px; background: #FFFDF9; box-shadow: 0 16px 30px -26px rgba(90, 55, 20, .6); }

/* Steps: soft white cards, no moving glow */
html[data-tpl="soft"] .v2-home .ace-step { border: 1px solid #EADFCB; border-radius: 24px; background: #FFFDF9; animation: none; box-shadow: none; }
html[data-tpl="soft"] .v2-home .ace-glow-bg { animation: none; }
html[data-tpl="soft"] .v2-home .ace-step__icon { color: #8F5A22; }
html[data-tpl="soft"] .v2-home .ace-step__n { color: #D6A874; }

/* Bridal call: deep espresso with caramel */
html[data-tpl="soft"] .v2-home .ace-sale { border-radius: 32px; background: #2B1F17; color: #F6EFE4; }
html[data-tpl="soft"] .v2-home .ace-sale h2, html[data-tpl="soft"] .v2-home .ace-sale p { color: #F6EFE4; }
html[data-tpl="soft"] .v2-home .ace-sale em, html[data-tpl="soft"] .v2-home .ace-sale__kicker, html[data-tpl="soft"] .v2-home .ace-sale__script { color: #D6A874; }
html[data-tpl="soft"] .v2-home .ace-sale__btn { background: #F6EFE4; color: #2B1F17; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) { html[data-tpl="soft"] .v2-home * { animation: none !important; transition: none !important; } }
