html, body {
  margin: 0;
  padding: 0;
}

body[data-page-type="index"] {
  background: #fff8fb;
}

body[data-page-type="index"] #shopline-section-group-header,
body[data-page-type="index"] #shopline-section-group-footer {
  display: none !important;
}

.sylva-live-page {
  --pink-bar: #f8cad9;
  --pink-main: #f56b99;
  --pink-main-dark: #ef5f92;
  --pink-border: #f3a5bd;
  --pink-soft: #fef1f5;
  --pink-soft-2: #fff8fb;
  --text-main: #171417;
  --text-sub: #3a3438;
  --white: #ffffff;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fffafc 0%, #fffdfe 25%, #fff6f9 68%, #fff5f8 100%);
}

.sylva-live-page::before,
.sylva-live-page::after {
  position: absolute;
  content: "";
  pointer-events: none;
  z-index: 0;
}

.sylva-live-page::before {
  inset: 48px 0 auto 0;
  height: 760px;
  background:
    radial-gradient(ellipse 42% 34% at 14% 14%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 24%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 42% 34% at 86% 14%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 24%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 24% 18% at 50% 36%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 70%);
}

.sylva-live-page::after {
  inset: auto 0 0 0;
  height: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,246,250,.88) 36%, #fff5f8 100%);
}

.sylva-live-page *,
.sylva-live-page *::before,
.sylva-live-page *::after {
  box-sizing: border-box;
}

.sylva-announcement,
.sylva-header,
.sylva-main,
.sylva-newsletter {
  position: relative;
  z-index: 1;
}

.sylva-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 6px 18px;
  color: #1b181b;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f8cad9 0%, #ffd8e4 49%, #f8cad9 100%);
}

.sylva-announcement__heart {
  color: #f16597;
  font-size: 18px;
  line-height: 1;
}

.sylva-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 72px));
  min-height: 176px;
  margin: 0 auto;
  padding: 10px 0 0;
}

.sylva-logo {
  display: inline-flex;
  width: 142px;
  height: 142px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  text-decoration: none;
}

.sylva-logo__image,
.sylva-logo__image img,
.sylva-logo picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.sylva-nav { justify-self: center; }
.sylva-nav__link {
  position: relative;
  display: inline-flex;
  padding: 0 2px 10px;
  color: #171417;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.sylva-nav__link::after {
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 1.8px;
  content: "";
  background: #1a171a;
}

.sylva-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 28px;
}
.sylva-action {
  position: relative;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #1d191c;
  text-decoration: none;
}
.sylva-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sylva-cart-count {
  position: absolute;
  top: -7px;
  right: -8px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: #f46f9b;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,.92);
}

.sylva-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 576px) minmax(0, 500px);
  gap: 84px;
  align-items: start;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 14px 0 0;
}

.sylva-gallery__card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255,255,255,.985);
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(229, 151, 179, .08);
}
.sylva-gallery__image,
.sylva-gallery__image img,
.sylva-gallery__card picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sylva-spark {
  position: absolute;
  z-index: 2;
  color: #f58cae;
  opacity: .86;
  pointer-events: none;
}
.sylva-spark--one { top: 7%; left: 8%; font-size: 28px; }
.sylva-spark--two { top: 8%; right: 11%; font-size: 33px; }
.sylva-spark--three { bottom: 10%; left: 8%; font-size: 20px; }

.sylva-thumbnail {
  display: block;
  width: 74px;
  height: 74px;
  margin-top: 16px;
  padding: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.98);
  border: 2px solid #f57ea9;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(228, 146, 175, .10);
}
.sylva-thumbnail__image,
.sylva-thumbnail__image img,
.sylva-thumbnail picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sylva-product { padding-top: 34px; }
.sylva-product__heading h1 {
  margin: 0;
  color: #171417;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.sylva-price {
  margin-top: 20px;
  color: #f26899;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}

.sylva-note {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  margin-top: 34px;
  padding: 24px 28px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(229, 136, 169, .045);
}
.sylva-note__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #fa7ca6, #ee5b92);
  border-radius: 50%;
}
.sylva-note h2 { margin: 2px 0 8px; font-size: 20px; font-weight: 800; line-height: 1.25; }
.sylva-note p { margin: 0; color: #2e292d; font-size: 16px; line-height: 1.6; }

.sylva-product-form { margin-top: 30px; }
.sylva-product-form form,
.sylva-product-form > div { display: grid; gap: 16px; }
.sylva-buy-row { display: grid; gap: 16px; }
.sylva-quantity {
  display: grid;
  grid-template-columns: 58px 60px 58px;
  width: 177px;
  min-height: 56px;
  overflow: hidden;
  background: rgba(255,255,255,.42);
  border: 1.5px solid #f2a0bb;
  border-radius: 11px;
}
.sylva-quantity__button,
.sylva-quantity__input { min-width: 0; color: #2a2428; font-size: 20px; background: transparent; border: 0; outline: 0; }
.sylva-quantity__button { cursor: pointer; }
.sylva-quantity__input { width: 100%; text-align: center; -moz-appearance: textfield; }
.sylva-quantity__input::-webkit-inner-spin-button,
.sylva-quantity__input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }

.sylva-add-button {
  display: flex;
  width: 100%;
  min-height: 61px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(90deg, #f77daa 0%, #f46c9a 52%, #f77daa 100%);
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  cursor: pointer;
}
.sylva-add-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sylva-add-button:disabled { opacity: .72; cursor: not-allowed; }

.sylva-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.sylva-benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  color: #262126;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
}
.sylva-benefit__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #f37ca7;
  border: 1.5px solid #f4a4be;
  border-radius: 50%;
}
.sylva-benefit__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.sylva-newsletter {
  position: relative;
  margin-top: 38px;
  padding: 68px 20px 88px;
  text-align: center;
  background: linear-gradient(180deg, #fdeff4 0%, #fff5f8 100%);
}
.sylva-newsletter::before {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 20px;
  content: "";
  background: radial-gradient(circle at 14px 0, #fff9fb 13px, transparent 13.5px) 0 0 / 28px 20px repeat-x;
  pointer-events: none;
}
.sylva-newsletter__clouds {
  display: none;
}
.sylva-newsletter__inner {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  margin: 0 auto;
}
.sylva-newsletter h2 {
  margin: 0 0 22px;
  color: #171417;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.sylva-newsletter__form {
  display: grid;
  grid-template-columns: 1fr 58px;
  min-height: 56px;
  overflow: hidden;
  background: rgba(255,255,255,.64);
  border: 1.3px solid rgba(61, 53, 58, .48);
  border-radius: 8px;
}
.sylva-newsletter__form input {
  min-width: 0;
  padding: 0 20px;
  color: #2a2428;
  font-size: 16px;
  background: transparent;
  border: 0;
  outline: 0;
}
.sylva-newsletter__form button {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(135deg, #f37faa, #f36b99);
  border: 0;
  cursor: pointer;
}
.sylva-newsletter__subtext,
.sylva-newsletter__message { margin: 16px 0 0; color: #7a6d73; font-size: 15px; }
.sylva-newsletter__subtext span { color: #f58fae; margin-right: 6px; }

@media (max-width: 959px) {
  .sylva-live-page::before,
  .sylva-live-page::after { display: none; }
  .sylva-live-page { background: linear-gradient(180deg, #fffafc 0%, #fff4f8 40%, #fff8fb 100%); }
  .sylva-announcement { min-height: 40px; font-size: 13px; }
  .sylva-header__inner { grid-template-columns: auto 1fr auto; width: calc(100% - 30px); min-height: 100px; padding-top: 10px; }
  .sylva-logo { width: 82px; height: 82px; }
  .sylva-nav__link { font-size: 16px; padding-bottom: 9px; }
  .sylva-actions { gap: 12px; }
  .sylva-action, .sylva-action svg { width: 22px; height: 22px; }
  .sylva-actions .sylva-action:nth-child(2) { display: none; }
  .sylva-main__inner { grid-template-columns: 1fr; gap: 28px; width: calc(100% - 30px); padding-top: 10px; }
  .sylva-product { padding-top: 0; }
  .sylva-gallery__card { border-radius: 16px; }
  .sylva-thumbnail { width: 64px; height: 64px; }
  .sylva-product__heading h1 { font-size: 28px; }
  .sylva-price { margin-top: 16px; font-size: 26px; }
  .sylva-note { margin-top: 24px; padding: 20px; }
  .sylva-note h2 { font-size: 18px; }
  .sylva-note p { font-size: 15px; }
  .sylva-quantity { width: 100%; grid-template-columns: 58px 1fr 58px; }
  .sylva-add-button { min-height: 58px; font-size: 18px; }
  .sylva-benefits { grid-template-columns: 1fr; gap: 14px; }
  .sylva-benefit br { display: none; }
  .sylva-newsletter { padding: 56px 20px 66px; }
  .sylva-newsletter__clouds { top: -20px; height: 24px; background-size: 24px 24px; }
}

/* Homepage isolation from legacy theme color overrides */
body[data-page-type="index"],
body[data-page-type="index"] main,
body[data-page-type="index"] .sylva-live-page,
body[data-page-type="index"] .sylva-header,
body[data-page-type="index"] .sylva-main {
  background-color: transparent !important;
}
body[data-page-type="index"] .sylva-newsletter {
  background: linear-gradient(180deg, #fdeff4 0%, #fff5f8 100%) !important;
}
