* {
  box-sizing: border-box;
}

@font-face {
  font-family: "TenorSans";
  src: url("https://static.tildacdn.one/tild6161-6461-4331-b964-313833333036/TenorSans.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #161d18;
  background: #ffffff;
  font-family: "TenorSans", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 36px));
  height: 162px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.brand {
  position: static;
  z-index: 2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: min(600px, 50vw);
  max-height: 120px;
  display: block;
  object-fit: contain;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  padding: 8px 0;
}

.nav a:nth-child(n + 4) {
  margin-left: 0;
}

.nav a:nth-child(n + 5) {
  margin-left: 0;
}

.menu-button {
  display: none;
}

.section {
  padding: 60px 0;
}

section[id] {
  scroll-margin-top: 172px;
}

#top {
  scroll-margin-top: 172px;
}

.section.compact {
  padding: 45px 0;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 36px));
}

.center {
  text-align: center;
}

.hero {
  padding-top: 92px;
  padding-bottom: 45px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin: 0 auto 22px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.23;
  font-weight: 600;
}

h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.23;
  font-weight: 600;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 14px;
}

.lead {
  max-width: 680px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.lead.small {
  font-weight: 400;
}

.btn {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 54px;
  border: 0;
  border-radius: 999px;
  background: #94b49f;
  color: #111;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #86a993;
}

.btn.soft {
  min-height: 64px;
  color: #fff;
  margin-top: 56px;
}

.hero-media {
  margin-top: 70px;
  border-radius: 20px;
  overflow: hidden;
  background: #f6f7f6;
}

.hero-img,
.hero-media video {
  width: 100%;
  height: clamp(360px, 48vw, 730px);
  object-fit: cover;
}

.hero-media img[src$=".gif" i] {
  height: auto;
  max-height: min(78vh, 730px);
  object-fit: contain;
  background: #fff;
}

.promo-strip {
  width: min(980px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.promo-card {
  min-height: 108px;
  padding: 22px 20px;
  border-radius: 8px;
  background: #f3f7f4;
  border: 1px solid #dfe9e3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-hero .promo-card.stock {
  background: #1f2b24;
  color: #fff;
  border-color: #1f2b24;
}

.promo-hero .promo-card.stock span {
  color: rgba(255, 255, 255, 0.7);
}

.promo-hero .promo-card.delivery {
  background: #eef6f1;
  border-style: dashed;
}

.promo-hero .promo-card.gift {
  background: #fff;
  border-color: #d8c9b5;
}

.promo-card span {
  margin-bottom: 8px;
  color: #63726a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.promo-card strong {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.promo-card.discount {
  background: linear-gradient(135deg, #fff9f0 0%, #f5ebe0 100%);
  border-color: #e4c6a6;
}

.promo-card s {
  color: #8e6e54;
  text-decoration-thickness: 2px;
}

.promo-mini {
  width: min(760px, 100%);
  margin: 18px auto 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-mini span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.mini-stock {
  color: #fff;
  background: #25372d;
}

.mini-delivery {
  color: #2c4435;
  background: #eef6f1;
  border: 1px solid #b9d0c0;
}

.mini-gift {
  color: #533b23;
  background: #fff7eb;
  border: 1px solid #e4c6a6;
}

.mini-discount {
  gap: 6px;
  color: #5d3d21;
  background: #fff2df;
  border: 1px solid #e7c08e;
}

.mini-discount b {
  font: inherit;
}

.promo-mini s {
  color: #8a6244;
  text-decoration-thickness: 2px;
}

.order-promo {
  justify-content: flex-start;
  margin: 12px 0 20px;
}

.order-promo span {
  border-radius: 7px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 90px;
}

.section-head p {
  margin-bottom: 0;
  color: #354039;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 55px 40px;
  max-width: 1160px;
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  text-align: left;
}

.item-icon {
  width: 30px;
  min-width: 30px;
  height: 30px;
  color: #94b49f;
  font-size: 26px;
  line-height: 30px;
}

.item-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: none;
}

.item-icon.small,
.item-icon.small img {
  width: 42px;
  height: 42px;
}

.feature p,
.step p,
.risk-grid p {
  margin-bottom: 0;
  color: #000;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
}

.doctor-section {
  padding-top: 60px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.doctor-layout {
  align-items: stretch;
}

.doctor-card {
  align-self: center;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: #f6f9f7;
  position: relative;
  z-index: 2;
  margin-right: -110px;
}

.doctor-card p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
}

.image-panel img,
.image-panel video {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.image-panel img[src$=".gif" i] {
  height: auto;
  max-height: min(78vh, 620px);
  object-fit: contain;
  background: #fff;
}

.image-panel.portrait img,
.image-panel.portrait video {
  height: 620px;
}

.pale {
  background: #f3f3f3;
}

.ingredients-layout {
  gap: 0;
}

.ingredients-layout .text-list {
  padding: 48px 34px 48px 0;
}

.text-list ul {
  margin: 0;
  padding-left: 22px;
}

.text-list li {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  overflow-wrap: normal;
}

.ingredient-note {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.protect-layout h2 {
  font-size: 24px;
}

.protect-layout p {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.protect-layout .btn {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.step-grid,
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 70px;
}

.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0 20px;
  text-align: left;
}

.step h3,
.step p {
  grid-column: 2;
}

.risk-section h2 {
  color: #161d18;
}

.risk-grid {
  max-width: 880px;
  margin: 0 auto;
}

.risk-grid article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0 20px;
  text-align: left;
  padding-left: 8px;
}

.risk-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.35;
}

.reviews {
  background: #f1f6f3;
  overflow: hidden;
}

.review-slider {
  position: relative;
  width: min(760px, 100%);
  margin: 30px auto 0;
}

.review-viewport {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(39, 55, 44, 0.08);
}

.review-track {
  display: flex;
  transition: transform 0.36s ease;
  will-change: transform;
}

.review-slide {
  min-width: 100%;
  line-height: 0;
}

.review-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.review-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #94b49f;
  color: #fff;
  font-size: 32px;
  line-height: 46px;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 28px rgba(39, 55, 44, 0.18);
}

.review-prev {
  left: -62px;
}

.review-next {
  right: -62px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.review-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7d8ce;
  cursor: pointer;
}

.review-dots button[aria-current="true"] {
  width: 24px;
  border-radius: 999px;
  background: #94b49f;
}

.price-list {
  display: inline-block;
  margin: 24px auto 10px;
  padding: 0;
  text-align: left;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
}

.price-list li::before {
  content: "✅ ";
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  justify-items: center;
}

.media-card {
  width: fit-content;
  max-width: 100%;
  overflow: visible;
  background: transparent;
  line-height: 0;
}

.media-card img,
.media-card video {
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  outline: 1px solid #dfe6e1;
  outline-offset: -1px;
}

.media-card video {
  height: auto;
  max-height: min(76vh, 720px);
  object-fit: contain;
  background: #fff;
  display: block;
}

.media-card img[src$=".gif" i] {
  height: auto;
  max-height: min(76vh, 720px);
  object-fit: contain;
  background: #fff;
  display: block;
}

.media-card h3,
.media-card p {
  width: 100%;
  padding: 0 22px;
  line-height: 1.4;
}

.media-card h3 {
  padding-top: 22px;
}

.media-card p {
  padding-bottom: 22px;
}

.faq h2 {
  margin-bottom: 36px;
}

details {
  border-top: 1px solid #dce6df;
}

details:last-child {
  border-bottom: 1px solid #dce6df;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: -8px 0 22px;
  color: #39433d;
}

.order-section {
  background: #f6f9f7;
}

.order-layout {
  display: grid;
  gap: 30px;
  justify-items: center;
}

.order-layout .order-form {
  width: min(580px, 100%);
  max-width: calc(100vw - 36px);
}

.order-layout .contacts {
  width: min(720px, 100%);
  max-width: calc(100vw - 36px);
  padding: 30px;
  border: 1px solid #dfe9e3;
  border-radius: 8px;
  background: #eef5f1;
  text-align: left;
}

.contacts h2,
.order-form h2 {
  font-size: 31px;
}

.contact-line {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d2a22;
  text-decoration: none;
}

.contact-telegram svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.socials {
  display: flex;
  gap: 22px;
  margin-top: 22px;
}

.socials a {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.socials svg {
  width: 34px;
  height: 34px;
  display: block;
}

.social-phone {
  font-size: 34px;
  line-height: 1;
  color: #fff;
}

.quantity-box {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid #dfe6e1;
  border-radius: 8px;
  background: #f8fbf9;
}

.quantity-label {
  display: block;
  margin-bottom: 8px;
  color: #2d3a32;
  font-size: 14px;
  font-weight: 700;
}

.quantity-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quantity-option {
  min-height: 58px;
  padding: 10px 8px;
  border: 1px solid #cbd8d0;
  border-radius: 6px;
  background: #fff;
  color: #1d2a22;
  font: inherit;
  cursor: pointer;
}

.quantity-option b,
.quantity-option small {
  display: block;
  line-height: 1.2;
}

.quantity-option b {
  font-size: 16px;
  font-weight: 700;
}

.quantity-option small {
  margin-top: 4px;
  color: #66736b;
  font-size: 12px;
}

.quantity-option.active {
  border-color: #1f2b24;
  background: #1f2b24;
  color: #fff;
}

.quantity-option.active small {
  color: rgba(255, 255, 255, 0.78);
}

.quantity-box p {
  margin: 10px 0 0;
  color: #2e4436;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.order-form {
  padding: 34px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(34, 47, 38, 0.08);
}

.order-form input,
.order-form textarea {
  width: 100%;
  height: 54px;
  margin-bottom: 14px;
  padding: 0 16px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: inherit;
}

.order-form textarea {
  height: auto;
  padding-top: 14px;
  resize: vertical;
}

.order-form .btn {
  width: 100%;
  min-height: 64px;
  margin-top: 8px;
}

.np-delivery {
  margin: 6px 0 14px;
  padding: 18px;
  border: 1px solid #dfe6e1;
  border-radius: 8px;
  background: #f8fbf9;
  position: relative;
}

.np-delivery h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.np-delivery input,
.np-delivery select {
  width: 100%;
  height: 52px;
  margin-bottom: 10px;
  padding: 0 14px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  background: #fff;
  font: inherit;
}

.np-suggestions {
  margin: -4px 0 10px;
  border: 1px solid #d6ded9;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.np-suggestions button {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid #edf2ef;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.np-suggestions button:hover {
  background: #edf4ef;
}

.np-status {
  margin: 0;
  color: #657169;
  font-size: 13px;
  line-height: 1.35;
}

.np-status.error {
  color: #9b2226;
}

.footer {
  padding: 34px 18px 44px;
  text-align: center;
  font-size: 12px;
  color: #687069;
}

.footer a {
  display: inline-block;
  margin: 8px 10px 0;
}

.footer-socials {
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 auto 22px;
}

.footer .footer-socials a {
  display: inline-flex;
  width: 54px;
  height: 54px;
  margin: 0;
  border: 1px solid #e5ece8;
  box-shadow: 0 10px 26px rgba(39, 55, 44, 0.08);
}

.footer .footer-socials svg {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.footer .footer-socials .social-phone {
  font-size: 27px;
}

@media (max-width: 980px) {
  .header-inner {
    width: calc(100% - 36px);
    height: 96px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .brand {
    position: static;
    transform: none;
    font-size: 13px;
  }

  .brand img {
    width: min(600px, calc(100vw - 96px));
    max-height: 82px;
  }

  .menu-button {
    width: 30px;
    height: 24px;
    display: grid;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    height: 2px;
    background: #111;
  }

  .nav {
    position: fixed;
    inset: 96px 0 auto;
    display: none;
    padding: 12px 18px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
  }

  .nav.open {
    display: flex;
  }

  section[id],
  #top {
    scroll-margin-top: 106px;
  }

  .nav a:nth-child(n + 4) {
    margin-left: 0;
  }

  .section,
  .section.compact {
    padding: 30px 0;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: 25px;
    line-height: 1.18;
  }

  h2 {
    font-size: 24px;
  }

  .lead {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 30px;
  }

  .btn {
    min-height: 58px;
    padding: 0 38px;
    font-size: 16px;
  }

  .hero-media {
    margin-top: 35px;
  }

  .hero-img,
  .hero-media video {
    height: auto;
    min-height: 0;
  }

  .hero-media img[src$=".gif" i],
  .image-panel img[src$=".gif" i],
  .media-card img[src$=".gif" i] {
    max-height: 72vh;
  }

  .feature-grid,
  .step-grid,
  .risk-grid,
  .split,
  .media-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .promo-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .promo-card {
    min-height: auto;
    padding: 18px;
  }

  .promo-mini {
    justify-content: flex-start;
  }

  .promo-mini span {
    width: 100%;
    justify-content: center;
  }

  .feature,
  .step {
    grid-template-columns: 50px 1fr;
  }

  .section-head {
    margin-bottom: 45px;
  }

  .feature p,
  .step p,
  .risk-grid p {
    font-size: 16px;
  }

  .doctor-card {
    min-height: auto;
    margin-right: 0;
    padding: 34px 24px;
  }

  .doctor-card p {
    font-size: 15px;
  }

  .image-panel img,
  .image-panel video,
  .image-panel.portrait img,
  .image-panel.portrait video {
    height: auto;
  }

  .ingredients-layout .text-list {
    order: 2;
    padding: 0;
  }

  .ingredients-layout .image-panel {
    order: 1;
  }

  .text-list li,
  .ingredient-note {
    font-size: 16px;
  }

  .protect-layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .review img {
    width: 104px;
    height: 104px;
  }

  .review-slider {
    width: 100%;
    margin-top: 22px;
  }

  .review-nav {
    width: 38px;
    height: 38px;
    font-size: 28px;
    line-height: 38px;
    background: rgba(148, 180, 159, 0.9);
  }

  .review-prev {
    left: 10px;
  }

  .review-next {
    right: 10px;
  }

  .media-card video {
    max-height: 72vh;
  }

  .order-form {
    padding: 24px 18px;
  }

  .order-layout .contacts {
    padding: 24px 18px;
  }

  .quantity-buttons {
    gap: 6px;
  }

  .quantity-option {
    min-height: 54px;
    padding: 8px 6px;
  }

  .quantity-option b {
    font-size: 15px;
  }

  .quantity-option small {
    font-size: 11px;
  }

  .footer .footer-socials a {
    width: 48px;
    height: 48px;
  }

  .footer .footer-socials svg {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
  }

  .footer .footer-socials .social-phone {
    font-size: 24px;
  }

  .contact-line {
    font-size: 20px;
  }
}

/* ===== SUN / Summer Oil template ===== */
.template-sun {
  color: #3a2617;
  background:
    linear-gradient(180deg, #fff9f1 0%, #fbe5cb 42%, #fff6ec 100%);
}

.template-sun .site-header {
  background: rgba(255, 249, 241, 0.93);
  border-bottom-color: rgba(160, 100, 48, 0.18);
}

.template-sun .header-inner {
  height: 124px;
}

.template-sun .brand img {
  width: min(520px, 42vw);
  max-height: 96px;
}

.template-sun .nav {
  color: #6d4b2c;
}

.template-sun .menu-button span {
  background: #48311e;
}

.template-sun .hero {
  padding-top: 64px;
  padding-bottom: 58px;
}

.template-sun .hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 46px 58px;
  align-items: center;
  text-align: left;
}

.template-sun .hero .eyebrow,
.template-sun .hero h1,
.template-sun .hero .lead,
.template-sun .hero > .container > .btn {
  grid-column: 1;
}

.template-sun .hero .hero-media {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin-top: 0;
  border-radius: 30px;
  background: #ebe0cf;
  box-shadow: 0 28px 70px rgba(120, 76, 38, 0.18);
}

.template-sun .hero .promo-strip {
  grid-column: 1 / -1;
}

.template-sun .eyebrow {
  width: max-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 128, 60, 0.4);
  border-radius: 999px;
  color: #a35c22;
  background: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.template-sun h1 {
  max-width: 620px;
  margin-left: 0;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.04;
  font-weight: 400;
}

.template-sun h2 {
  color: #3b2515;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
}

.template-sun h3 {
  color: #3b2515;
  font-weight: 500;
}

.template-sun .lead {
  max-width: 560px;
  margin-left: 0;
  margin-bottom: 30px;
  color: #6b5544;
  font-size: 19px;
  font-weight: 400;
}

.template-sun .btn {
  background: #b5622a;
  color: #fff;
  box-shadow: 0 16px 34px rgba(181, 98, 42, 0.22);
}

.template-sun .btn:hover {
  background: #9c5222;
}

.template-sun .btn.soft {
  color: #fff;
}

.template-sun .hero-img,
.template-sun .hero-media video {
  height: clamp(460px, 48vw, 690px);
}

.template-sun .promo-strip {
  width: 100%;
  grid-template-columns: 1.05fr 0.95fr 1.05fr 1.15fr;
  gap: 12px;
}

.template-sun .promo-card {
  border-radius: 18px;
  border-color: rgba(150, 96, 48, 0.18);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 16px 40px rgba(124, 76, 34, 0.08);
}

.template-sun .promo-hero .promo-card.stock {
  background: #b5622a;
  border-color: #b5622a;
}

.template-sun .promo-hero .promo-card.delivery {
  background: #fff0dc;
  border-color: rgba(206, 150, 86, 0.34);
  border-style: solid;
}

.template-sun .promo-hero .promo-card.gift,
.template-sun .promo-card.discount {
  background: #fff2e6;
  border-color: rgba(184, 122, 85, 0.28);
}

.template-sun .promo-card span {
  color: #a06a3f;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.template-sun .promo-card strong {
  font-size: 18px;
  font-weight: 500;
}

.template-sun .section {
  padding: 72px 0;
}

.template-sun .section.compact {
  padding: 62px 0;
}

.template-sun .section-head {
  margin-bottom: 62px;
}

.template-sun .feature-grid {
  gap: 24px;
}

.template-sun .feature,
.template-sun .step,
.template-sun .risk-grid article {
  padding: 26px;
  border: 1px solid rgba(150, 96, 48, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 20px 48px rgba(124, 76, 34, 0.06);
}

.template-sun .feature p,
.template-sun .step p,
.template-sun .risk-grid p,
.template-sun .section-head p,
.template-sun .protect-layout p,
.template-sun details p {
  color: #6d5744;
}

.template-sun .item-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #cf8b3e;
  font-size: 15px;
}

.template-sun .item-icon.small,
.template-sun .item-icon.small img {
  width: 44px;
  height: 44px;
}

.template-sun .doctor-card {
  min-height: 0;
  padding: 56px;
  border: 1px solid rgba(150, 96, 48, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 60px rgba(124, 76, 34, 0.08);
}

.template-sun .doctor-card p {
  color: #5e4735;
  font-weight: 400;
}

.template-sun .image-panel {
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(124, 76, 34, 0.12);
}

.template-sun .image-panel img,
.template-sun .image-panel video,
.template-sun .image-panel.portrait img,
.template-sun .image-panel.portrait video {
  height: 620px;
}

.template-sun .pale,
.template-sun .reviews,
.template-sun .order-section {
  background: #fbe6cf;
}

.template-sun .text-list li {
  color: #48311e;
  font-weight: 400;
}

.template-sun .ingredient-note {
  color: #b5622a;
  font-weight: 600;
}

.template-sun .price-list li::before {
  content: "✦ ";
  color: #c9722f;
}

.template-sun .media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.template-sun .media-card img,
.template-sun .media-card video {
  width: 100%;
  height: 430px;
  border-radius: 26px;
  outline: 0;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(124, 76, 34, 0.12);
}

.template-sun .media-card:nth-child(3n + 2) {
  margin-top: 38px;
}

.template-sun details {
  border-color: rgba(150, 96, 48, 0.18);
}

.template-sun .order-layout .contacts,
.template-sun .order-form,
.template-sun .np-delivery {
  border-color: rgba(150, 96, 48, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 58px rgba(124, 76, 34, 0.08);
}

.template-sun .order-form input,
.template-sun .order-form textarea,
.template-sun .np-delivery input,
.template-sun .np-delivery select {
  border-color: rgba(150, 106, 66, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.template-sun .order-form .btn {
  border-radius: 18px;
}

.template-sun .mini-stock {
  background: #b5622a;
}

.template-sun .mini-delivery {
  color: #8a4d1f;
  background: #fff0dc;
  border-color: rgba(206, 150, 86, 0.32);
}

.template-sun .mini-gift,
.template-sun .mini-discount {
  color: #6a4229;
  background: #fff2e6;
  border-color: rgba(184, 122, 85, 0.28);
}

.template-sun .footer {
  background: #fff9f1;
}

@media (max-width: 980px) {
  .template-sun .header-inner {
    height: 96px;
  }

  .template-sun .brand img {
    width: min(520px, calc(100vw - 96px));
    max-height: 78px;
  }

  .template-sun .nav {
    background: #fff9f1;
  }

  .template-sun .hero {
    padding-top: 26px;
  }

  .template-sun .hero .container {
    display: block;
    text-align: left;
  }

  .template-sun .eyebrow {
    width: auto;
    display: inline-flex;
  }

  .template-sun h1 {
    font-size: 34px;
  }

  .template-sun .lead {
    font-size: 16px;
  }

  .template-sun .hero .hero-media {
    margin-top: 30px;
  }

  .template-sun .hero-img,
  .template-sun .hero-media video,
  .template-sun .image-panel img,
  .template-sun .image-panel video,
  .template-sun .image-panel.portrait img,
  .template-sun .image-panel.portrait video {
    height: auto;
  }

  .template-sun .promo-strip,
  .template-sun .media-grid {
    grid-template-columns: 1fr;
  }

  .template-sun .media-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .template-sun .media-card img,
  .template-sun .media-card video {
    height: auto;
  }

  .template-sun .doctor-card {
    padding: 30px 22px;
  }
}

.template-sun .site-header {
  background: rgba(255, 255, 255, 0.96);
}

.template-sun .hero {
  padding-bottom: 18px;
}

.template-sun .hero .eyebrow {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.template-sun .hero > .container > .btn {
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.template-sun .hero .promo-strip {
  margin-top: 24px;
}

.template-sun #why {
  padding-top: 28px;
}

.template-sun .section-head {
  margin-bottom: 34px;
}

.template-sun .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.template-sun .feature,
.template-sun .step,
.template-sun .risk-grid article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.template-sun .feature {
  grid-template-columns: 82px 1fr;
  gap: 18px;
}

.template-sun .feature .item-icon {
  width: 72px;
  min-width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(150, 96, 48, 0.18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(124, 76, 34, 0.08);
}

.template-sun .feature .item-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.template-sun .step-grid,
.template-sun .risk-grid {
  gap: 28px 62px;
}

.template-sun .step .item-icon,
.template-sun .risk-grid .item-icon {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(181, 98, 42, 0.3);
  background: transparent;
  color: #b06a2a;
  font-size: 14px;
}

.template-sun .doctor-card {
  align-self: center;
  min-height: 520px;
  margin-right: -110px;
  padding: 60px;
  border: 0;
  border-radius: 0;
  background: #fdf1e1;
  box-shadow: none;
}

.template-sun .doctor-section .image-panel {
  border-radius: 8px;
  box-shadow: none;
}

.template-sun .media-grid {
  gap: 22px;
}

@media (max-width: 980px) {
  .template-sun .site-header,
  .template-sun .nav {
    background: #fff;
  }

  .template-sun .hero .container {
    text-align: left;
  }

  .template-sun .hero .eyebrow {
    display: flex;
    width: min(100%, 330px);
    justify-content: center;
  }

  .template-sun .hero > .container > .btn {
    display: flex;
    width: min(100%, 330px);
  }

  .template-sun #why {
    padding-top: 22px;
  }

  .template-sun .feature-grid,
  .template-sun .step-grid,
  .template-sun .risk-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .template-sun .feature,
  .template-sun .step,
  .template-sun .risk-grid article {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .template-sun .feature .item-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }

  .template-sun .doctor-card {
    min-height: auto;
    margin-right: 0;
    padding: 34px 24px;
  }
}

/* Tighter Stress Release spacing */
.template-sun .hero {
  padding-top: 44px;
  padding-bottom: 22px;
}

.template-sun .hero .container {
  gap: 32px 46px;
}

.template-sun .lead {
  margin-bottom: 22px;
}

.template-sun .hero .promo-strip {
  margin-top: 18px;
}

.template-sun .section {
  padding: 42px 0;
}

.template-sun .section.compact {
  padding: 36px 0;
}

.template-sun #why {
  padding-top: 20px;
}

.template-sun .section-head {
  margin-bottom: 24px;
}

.template-sun .feature-grid {
  gap: 24px;
}

.template-sun .step-grid,
.template-sun .risk-grid {
  gap: 22px 48px;
}

.template-sun .btn.soft {
  margin-top: 24px;
}

.template-sun .promo-mini {
  margin: 12px auto 14px;
}

.template-sun .price-list {
  margin: 14px auto 8px;
}

.template-sun .split {
  gap: 36px;
}

.template-sun .doctor-section {
  padding: 36px 0;
}

.template-sun .doctor-card {
  min-height: 420px;
  padding: 44px;
}

.template-sun .ingredients-layout .text-list {
  padding: 34px 28px 34px 0;
}

.template-sun .text-list li {
  margin-bottom: 14px;
}

.template-sun .ingredient-note {
  margin-top: 12px;
}

.template-sun .image-panel img,
.template-sun .image-panel video,
.template-sun .image-panel.portrait img,
.template-sun .image-panel.portrait video {
  height: 520px;
}

.template-sun .media-grid {
  gap: 18px;
}

.template-sun .media-card:nth-child(3n + 2) {
  margin-top: 20px;
}

.template-sun .faq h2 {
  margin-bottom: 22px;
}

.template-sun summary {
  padding: 16px 0;
}

.template-sun details p {
  margin: -4px 0 16px;
}

.template-sun .order-layout {
  gap: 20px;
}

.template-sun .order-layout .contacts,
.template-sun .order-form,
.template-sun .np-delivery {
  box-shadow: 0 16px 38px rgba(124, 76, 34, 0.07);
}

.template-sun .footer {
  padding-top: 28px;
}

@media (max-width: 980px) {
  .template-sun .hero {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .template-sun .hero .hero-media {
    margin-top: 20px;
  }

  .template-sun .lead {
    margin-bottom: 18px;
  }

  .template-sun .section,
  .template-sun .section.compact {
    padding: 24px 0;
  }

  .template-sun #why {
    padding-top: 18px;
  }

  .template-sun .section-head {
    margin-bottom: 18px;
  }

  .template-sun .feature-grid,
  .template-sun .step-grid,
  .template-sun .risk-grid,
  .template-sun .split,
  .template-sun .media-grid {
    gap: 18px;
  }

  .template-sun .feature,
  .template-sun .step,
  .template-sun .risk-grid article {
    gap: 12px;
  }

  .template-sun .btn.soft {
    margin-top: 18px;
  }

  .template-sun .doctor-section {
    padding: 24px 0;
  }

  .template-sun .doctor-card {
    padding: 24px 20px;
  }

  .template-sun .ingredients-layout .text-list {
    padding: 0;
  }

  .template-sun .image-panel img,
  .template-sun .image-panel video,
  .template-sun .image-panel.portrait img,
  .template-sun .image-panel.portrait video,
  .template-sun .media-card img,
  .template-sun .media-card video {
    height: auto;
  }

  .template-sun .media-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .template-sun .faq h2 {
    margin-bottom: 18px;
  }

  .template-sun summary {
    padding: 14px 0;
  }

  .template-sun .order-layout {
    gap: 16px;
  }
}

/* Stress Release feature icon layout */
.template-sun #why .feature {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.template-sun #why .feature > div:not(.item-icon) {
  display: contents;
}

.template-sun #why .feature h3 {
  grid-row: 1;
  margin-bottom: 4px;
  text-align: center;
}

.template-sun #why .feature .item-icon {
  grid-row: 2;
  width: 118px;
  min-width: 118px;
  height: 118px;
  margin: 0 0 8px;
}

.template-sun #why .feature p {
  grid-row: 3;
  width: min(100%, 330px);
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 980px) {
  .template-sun #why .feature {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .template-sun #why .feature .item-icon {
    width: 104px;
    min-width: 104px;
    height: 104px;
    margin-bottom: 6px;
  }

  .template-sun #why .feature p {
    width: min(100%, 310px);
  }
}

.template-sun .promo-strip.stock-only {
  width: min(520px, 100%);
  grid-template-columns: 1fr;
}

.template-sun .promo-strip.info-only {
  width: min(920px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-sun .promo-strip.info-only .promo-card {
  min-height: 98px;
}

.template-sun .promo-mini.stock-only {
  width: min(520px, 100%);
}

.template-sun .promo-mini.stock-only span {
  justify-content: center;
}

.template-sun #how .step .item-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 980px) {
  .template-sun .promo-strip.info-only {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .template-sun #how .step {
    grid-template-columns: 58px 1fr;
  }

  .template-sun #how .step .item-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    font-size: 23px;
  }
}

/* ===== SUN: elements the base sheet still paints sage-green ===== */
.template-sun .hero {
  position: relative;
  overflow: hidden;
}

.template-sun .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 116, 0.5) 0%, rgba(255, 214, 152, 0) 68%);
  pointer-events: none;
}

.template-sun .hero > .container {
  position: relative;
  z-index: 1;
}

/* four ingredients read best as a 4-up row */
.template-sun #why .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 20px;
}

/* One badge = one circle. The mark is drawn line-art, centred inside the disc,
   so nothing is cropped and all four line up exactly. */
.template-sun #why .feature .item-icon {
  display: grid;
  place-items: center;
  width: 128px;
  min-width: 128px;
  height: 128px;
  overflow: visible;
  border: 1px solid rgba(190, 141, 84, 0.55);
  border-radius: 50%;
  background: #fbf2e5;
  box-shadow: 0 8px 22px rgba(124, 76, 34, 0.07);
}

.template-sun #why .feature .item-icon img {
  width: 60%;
  height: 60%;
  border-radius: 0;
  object-fit: contain;
}

/* Cards stretch to the tallest one in the row, and the leftover height used to
   inflate the title row — which pushed each badge to a different y. Pin the
   rows to their content and reserve two lines for every title instead. */
.template-sun #why .feature {
  align-content: start;
}

@media (min-width: 561px) {
  .template-sun #why .feature h3 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 54px;
  }
}

.template-sun #why .feature p {
  width: min(100%, 290px);
  text-align: center;
}

/* review slider */
.template-sun .reviews {
  background: #fbe6cf;
}

.template-sun .review-viewport {
  border-radius: 24px;
  background: #f9e6d9;
  box-shadow: 0 18px 44px rgba(124, 76, 34, 0.12);
}

.template-sun .review-slide {
  height: min(76vh, 620px);
  line-height: 0;
}

.template-sun .review-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* infographic panels carry text — never crop them */
.template-sun .pale .image-panel {
  background: #f8f1e6;
}

.template-sun .pale .image-panel img {
  object-fit: contain;
}

.template-sun .review-nav {
  background: rgba(181, 98, 42, 0.92);
  box-shadow: 0 10px 28px rgba(124, 76, 34, 0.22);
}

.template-sun .review-dots button {
  background: rgba(150, 96, 48, 0.28);
}

.template-sun .review-dots button[aria-current="true"] {
  background: #b5622a;
}

/* quantity picker */
.template-sun .quantity-box {
  border-color: rgba(150, 96, 48, 0.2);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.9);
}

.template-sun .quantity-label {
  color: #6d4b2c;
}

.template-sun .quantity-option {
  border-color: rgba(150, 96, 48, 0.24);
  border-radius: 12px;
  color: #48311e;
  background: #fff;
}

.template-sun .quantity-option.active {
  border-color: #b5622a;
  background: #b5622a;
  color: #fff;
}

.template-sun [data-quantity-note] {
  color: #6d5744;
}

/* order card details */
.template-sun .contact-telegram {
  color: #8a4d1f;
}

.template-sun .contacts h2,
.template-sun .contact-line {
  color: #3b2515;
}

.template-sun .np-delivery {
  background: rgba(255, 250, 243, 0.9);
}

.template-sun .np-status {
  color: #6d5744;
}

.template-sun .np-suggestions {
  /* base sheet has no cap: 20 hits made the list ~1600px tall and
     pushed the submit button off the page */
  max-height: 264px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-color: rgba(150, 96, 48, 0.22);
  border-radius: 12px;
}

.template-sun .np-suggestions button {
  border-bottom-color: rgba(150, 96, 48, 0.12);
}

.template-sun .np-suggestions button:hover {
  background: #fff0dc;
}

.template-sun details {
  border-color: rgba(150, 96, 48, 0.2);
}

.template-sun summary {
  color: #3b2515;
}

.template-sun .price-list li {
  color: #48311e;
}

.template-sun .media-card img,
.template-sun .media-card video {
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(124, 76, 34, 0.14);
}

.template-sun .footer {
  background: #fff9f1;
  border-top: 1px solid rgba(160, 100, 48, 0.16);
}

.template-sun .footer a {
  color: #8a4d1f;
}

@media (max-width: 980px) {
  .template-sun .hero::before {
    top: -160px;
    right: -140px;
    width: 420px;
    height: 420px;
  }

  .template-sun #why .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .template-sun #why .feature .item-icon {
    width: 96px;
    min-width: 96px;
    height: 96px;
  }

  .template-sun .review-slide {
    height: min(64vh, 460px);
  }
}

@media (max-width: 560px) {
  .template-sun #why .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SUN: mobile polish (tap targets, nav panel, readability) ===== */
@media (max-width: 980px) {
  /* burger: keep the 26x2 bars, give it a 44x44 hit area */
  .template-sun .menu-button {
    width: 44px;
    height: 44px;
    margin-right: -10px;
    justify-items: center;
    align-content: center;
  }

  .template-sun .menu-button span {
    width: 26px;
    height: 2px;
  }

  /* dropdown reads as a real panel and can never run off-screen */
  .template-sun .nav {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 4px 18px 12px;
    gap: 0;
    background: #fffaf3;
    border-bottom: 1px solid rgba(160, 100, 48, 0.2);
    box-shadow: 0 20px 38px rgba(124, 76, 34, 0.18);
    -webkit-overflow-scrolling: touch;
  }

  .template-sun .nav a {
    width: 100%;
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(160, 100, 48, 0.12);
  }

  .template-sun .nav a:last-child {
    border-bottom: 0;
  }

  /* slider controls */
  .template-sun .review-nav {
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 44px;
  }

  .template-sun .review-dots {
    gap: 0;
    margin-top: 10px;
  }

  .template-sun .review-dots button {
    width: 22px;
    height: 34px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    position: relative;
  }

  .template-sun .review-dots button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(150, 96, 48, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, background 0.2s ease;
  }

  .template-sun .review-dots button[aria-current="true"] {
    width: 38px;
    background: transparent;
  }

  .template-sun .review-dots button[aria-current="true"]::after {
    width: 24px;
    border-radius: 999px;
    background: #b5622a;
  }

  /* footer links were 19px tall */
  .template-sun .footer a {
    padding: 11px 6px;
  }

  /* long warehouse names truncate cleanly instead of hard-cutting */
  .template-sun .np-delivery select,
  .template-sun .np-delivery input {
    text-overflow: ellipsis;
  }

  /* 11px was below comfortable reading size */
  .template-sun .quantity-option small {
    font-size: 12px;
  }

  .template-sun .promo-card span {
    font-size: 12px;
  }
}

/* ===== SUN: tablet / large-phone band (561-980px) =====
   Below 980px everything stacks to one column, so a 9:16 video became
   ~730x1300 and the page ballooned to ~18 500px. Constrain the WIDTH of
   portrait media instead of its height — nothing gets cropped. */
@media (min-width: 561px) and (max-width: 980px) {
  .template-sun .hero-media {
    width: min(100%, 460px);
    margin-left: auto;
    margin-right: auto;
  }

  .template-sun .image-panel {
    width: min(100%, 430px);
    margin-left: auto;
    margin-right: auto;
  }

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

  .template-sun .media-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .template-sun .media-card:nth-child(2n) {
    margin-top: 26px;
  }

  .template-sun .review-slide {
    height: min(70vh, 560px);
  }
}
