/* Locofy export (trimmed to what we need to render the layout).
   Note: original export is pixel-perfect for 1920px and uses absolute positioning.
*/

.frame {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #ffffff;
  font-family: "Montserrat Alternates", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header */
.frame .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 78px;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px #0000001a;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}
.frame .heading-skincare-2 {
  position: static;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Coiny", cursive;
  font-weight: 400;
  color: #3cb39d;
  font-size: 32px;
  line-height: 48px;
  white-space: nowrap;
}
.frame .up {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  position: static;
  transform: none;
  margin-left: auto;
  flex-wrap: wrap;
}
.frame .div-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  color: #3cb39d;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}
.frame .text-wrapper-5 {
  font-weight: 500;
}
.frame .div-wrapper {
  all: unset;
  box-sizing: border-box;
  position: static;
  width: 90px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  border: 2px solid #3cb39d;
  cursor: pointer;
}
.frame .button-2 {
  all: unset;
  box-sizing: border-box;
  position: static;
  width: 140px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3cb39d;
  border-radius: 15px;
  border: 1px solid #3cb39d;
  cursor: pointer;
}
.frame .text-wrapper-4 {
  font-weight: 600;
  color: #3cb39d;
  font-size: 16px;
}
.frame .text-wrapper-6 {
  font-weight: 600;
  color: var(--fff-7f-2);
  font-size: 16px;
}

/* Hero */
.frame .paragraph-background-wrapper {
  margin: 32px auto 24px;
  width: min(1341px, calc(100% - 48px));
  border-radius: 20px;
  overflow: hidden;
}
.frame .paragraph-background {
  position: relative;
  background-color: var(--fff-7f-2);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 8px 16px #0000001a;
  padding: 84px 24px 64px;
  text-align: center;
}
.frame .img {
  display: none;
}
.frame .heading-skincare {
  font-family: "Coiny", cursive;
  font-weight: 400;
  color: #3cb39d;
  font-size: 72px;
  line-height: 1;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.frame .text-wrapper,
.frame .p {
  position: relative;
  z-index: 1;
  margin: 8px 0;
  font-weight: 600;
  color: #6c757d99;
}
.frame .p {
  color: var(--x-6c-75-7d);
  font-size: 22px;
}
.frame .button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 10px;
  width: 413px;
  max-width: 90%;
  height: 72px;
  background-color: #3cb39d;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.frame .text-wrapper-3 {
  font-weight: 900;
  color: #ffffff;
  font-size: clamp(20px, 2.6vw, 32px);
}

.v2-hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 16px;
  margin-top: 12px;
  font-size: 0;
}
.v2-hero-actions .learn-more,
.v2-hero-actions .button{
  font-size: 1rem;
}

/* Hidden upload (handled by "Начать") */
.v2-upload-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.v2-file-input{
  display: none;
}

/* Flash message on hero */
.v2-flash{
  position: relative;
  z-index: 2;
  margin: 16px auto 0;
  width: min(720px, 90%);
  background: rgba(255, 200, 170, 0.35);
  border: 1px solid rgba(255, 152, 85, 0.6);
  border-radius: 12px;
  padding: 10px 14px;
  color: rgba(88, 54, 30, 0.85);
  font-weight: 700;
}

.v2-ingredients-title{
  text-align: center;
  font-weight: 800;
  font-size: clamp(26px, 3.1vw, 48px);
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid rgba(72, 117, 183, 0.35);
  background: rgba(255, 255, 255, 0.7);
}
.v2-ingredients-blue{ color:#4875b7; }
.v2-ingredients-gray{ color:#4b5259; font-weight: 600; }

.v2-ingredients-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  background: #eef1f4;
  border-radius: 20px;
}
.v2-ingredient-card{
  background: #fff7f2;
  border-radius: 18px;
  padding: 16px;
  min-height: 140px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  color: #6c757d;
}
.v2-ingredient-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: #6c757d;
  font-weight: 800;
}
.v2-ingredient-card p{
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.v2-ingredient-card-center{
  grid-column: span 2;
  grid-row: span 2;
  background: #a7e3d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(72, 117, 183, 0.85);
  font-weight: 700;
}
.v2-ingredient-figure{
  background: #d6e7f5;
  border-radius: 20px;
  min-height: 180px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(72, 117, 183, 0.8);
  font-weight: 700;
}
.v2-ingredient-figure-left{
  grid-column: 1 / span 2;
}
.v2-ingredient-figure-right{
  grid-column: 3 / span 2;
}

@media (max-width: 1100px){
  .v2-ingredients-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v2-ingredient-card-center{
    grid-column: span 2;
  }
  .v2-ingredient-figure-left,
  .v2-ingredient-figure-right{
    grid-column: span 2;
  }
}

/* About block (styled like cards/pills) */
.v2-about{
  width: min(1308px, calc(100% - 48px));
  margin: 0 auto 24px;
}
.v2-about-shell{
  position: relative;
  background: #fff7f2;
  border-radius: 20px;
  border: 1px solid rgba(60,179,157,0.35);
  padding: 36px 28px 50px;
  overflow: hidden;
}
.v2-about-layer{
  position:absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(60,179,157,0.35);
}
.v2-about-layer-2{ inset: 20px; }
.v2-about-layer-3{ inset: 28px; }
.v2-about-layer-4{ inset: 36px; }
.v2-about-title{
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 18px;
  font-family: "Montserrat Alternates", sans-serif;
}
.v2-about-muted{ color:#6c757d; }
.v2-about-accent{ color:#3cb39d; font-family:"Coiny", cursive; font-weight:400; }
.v2-about-pills{
  position: relative;
  z-index: 1;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 14px;
  margin-bottom: 18px;
}
.v2-pill-blue,.v2-pill-mint,.v2-pill-mint-2,.v2-pill-orange{
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 5px 0 rgba(60,179,157,0.6);
}
.v2-pill-blue{ background: var(--style); color: #4b5359; box-shadow: 0 5px 0 #4875b7; }
.v2-pill-mint{ background: #91dacc; color: #4b5359; box-shadow: 0 5px 0 #3cb39d; transform: rotate(-3deg); }
.v2-pill-mint-2{ background: #91dacc; color: #4b5359; box-shadow: 0 5px 0 #3cb39d; transform: rotate(2deg); }
.v2-pill-orange{ background: var(--ffb-280); color: #4b5359; box-shadow: 0 5px 0 #ff9855; transform: rotate(-2deg); }
.v2-about-text{
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 28px;
  line-height: 1.35;
  margin: 8px auto 0;
  max-width: 980px;
}
.v2-about-orange{ color:#ff9855; font-weight: 700; }
.v2-about-green{ color:#3cb39d; font-weight: 700; }
.v2-about-blue{ color:#4875b7; font-weight: 700; }

/* Reviews block */
.v2-reviews{
  width: min(1308px, calc(100% - 48px));
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(60,179,157,0.35);
  padding: 24px;
  position: relative;
}
.v2-reviews-header{
  text-align: center;
  font-weight: 800;
  color: #3cb39d;
  margin-bottom: 16px;
}
.v2-reviews-card{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: rgba(145,218,204,0.12);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(60,179,157,0.25);
  align-items: start;
  transition: opacity 220ms ease, transform 220ms ease;
}
.v2-review-fade{
  opacity: 0;
  transform: translateY(4px);
}
.v2-reviews-photo{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe, #fef3c7);
}
.v2-reviews-name{
  font-weight: 800;
  color: #3cb39d;
  margin-bottom: 6px;
  font-size: clamp(14px, 1.4vw, 18px);
}
.v2-reviews-quote{
  color: #6c757d;
  font-weight: 600;
  font-size: clamp(12px, 1.3vw, 16px);
  line-height: 1.35;
}
.v2-reviews-nav{
  display:flex;
  justify-content:center;
  gap: 12px;
  margin-top: 12px;
}
.v2-reviews-nav button{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(60,179,157,0.4);
  background: #fff;
  color: #3cb39d;
  font-weight: 800;
  cursor: pointer;
}

/* Footer alignment */
.footer-small-wrapper{
  width: 100%;
  left: 0;
  padding-bottom: 24px;
}
.footer-small{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.text-wrapper-32,
.link{
  position: static;
}
.text-wrapper-33{
  margin-left: 0;
}
.frame .learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
  width: 294px;
  max-width: 90%;
  height: 60px;
  background-color: #90d9cc;
  border-radius: 100px;
  position: relative;
  z-index: 1;
}
.frame .text-wrapper-2 {
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
}

/* Upload block (added for app functionality) */
.v2-upload {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(60,179,157,0.18);
  box-shadow: 0px 8px 16px rgba(0,0,0,0.08);
  padding: 22px;
  text-align: center;
}
.v2-upload h3{
  margin: 0 0 10px;
  color: #3cb39d;
  font-weight: 800;
  font-size: 20px;
}
.v2-upload .v2-upload-btn{
  background: #3cb39d;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 900;
  cursor: pointer;
}
.v2-upload img{
  max-width: 100%;
  max-height: 320px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ── Hamburger button (mobile only) ── */
.v2-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.v2-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #3cb39d;
  border-radius: 2px;
}

/* ── Mobile dropdown menu ── */
.v2-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 49;
  background: #fff;
  padding: 8px 24px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  border-top: 1px solid rgba(60,179,157,0.18);
}
.v2-mobile-menu a {
  display: block;
  color: #3cb39d;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid rgba(60,179,157,0.12);
  font-family: "Montserrat Alternates", sans-serif;
}
.v2-mobile-menu a:last-child { border-bottom: none; }

/* Responsive safety */
@media (max-width: 1100px){
  .frame .nav{
    gap: 14px;
    padding: 0 16px;
  }
  .frame .up{
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 14px;
    margin-left: 0;
    scrollbar-width: none;
  }
  .frame .up::-webkit-scrollbar { display: none; }
}
@media (max-width: 768px){
  /* Show hamburger, hide desktop nav + auth */
  .v2-hamburger { display: flex; }
  .v2-nav-desktop { display: none !important; }
  .v2-nav-desktop-auth { display: none !important; }

  .frame .nav { height: 60px; gap: 10px; }
  .frame .heading-skincare-2 { font-size: 22px; }

  .frame .heading-skincare { font-size: 44px; }
  .frame .paragraph-background { padding: 44px 16px 32px; }
  .frame .p { font-size: 17px; }
  .frame .text-wrapper { font-size: 17px; }

  .v2-about-title { font-size: 26px; }
  .v2-about-text { font-size: 17px; }
  .v2-ingredients-title { font-size: 22px; }

  /* Hide cream tube on mobile */
  .v2-support-tube { display: none; }

  /* Footer wrap on mobile */
  .footer-small { flex-wrap: wrap; padding: 0 16px; text-align: center; }
}
@media (max-width: 480px){
  .frame .heading-skincare { font-size: 36px; }
  .frame .heading-skincare-2 { font-size: 19px; }
  .frame .paragraph-background { padding: 32px 12px 24px; }
  .frame .p { font-size: 15px; }
  .frame .text-wrapper { font-size: 15px; }
  .v2-about-title { font-size: 22px; }
  .v2-about-text { font-size: 15px; }
}

/* Ingredients section — match width/margin of other blocks */
.div-5 {
  width: min(1308px, calc(100% - 48px));
  margin: 0 auto 24px;
}
.div-5 .title {
  text-align: center;
  margin-bottom: 12px;
}

/* Product showcase card in ingredients center slot */
.v2-product-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 4px;
}
.v2-showcase-badge {
  display: inline-block;
  background: rgba(72,117,183,0.18);
  border: 1.5px solid rgba(72,117,183,0.45);
  color: #4875b7;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.v2-showcase-img-wrap {
  width: 100%;
  flex: 1;
  min-height: 110px;
  background: linear-gradient(135deg, rgba(167,227,216,0.45) 0%, rgba(198,221,244,0.55) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.v2-showcase-img-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a7e3d8 0%, #c6ddf4 100%);
  box-shadow: 0 8px 24px rgba(72,117,183,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.v2-showcase-name {
  font-weight: 800;
  font-size: 14px;
  color: #4875b7;
  text-align: center;
  line-height: 1.2;
}
.v2-showcase-brand {
  font-size: 11px;
  color: rgba(72,117,183,0.65);
  font-weight: 700;
}
.v2-showcase-cta {
  display: inline-block;
  padding: 7px 18px;
  background: linear-gradient(135deg, #4875b7, #6590d4);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  transition: filter 150ms ease;
}
.v2-showcase-cta:hover { filter: brightness(0.93); }

/* ── Mobile overrides (480px) — these must be last to win ── */
@media (max-width: 480px) {
  /* Title: make it wrap, not overflow */
  .v2-ingredients-title {
    font-size: 16px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 8px 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Reviews: stack photo on top, text below */
  .v2-reviews-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }
  .v2-reviews-photo {
    width: 100% !important;
    aspect-ratio: unset !important;
    height: 200px !important;
    border-radius: 14px 14px 0 0 !important;
    flex-shrink: 0;
  }
  .v2-reviews-text {
    padding: 16px 18px 20px !important;
    border-radius: 0 0 14px 14px;
    background: rgba(255,255,255,0.95);
  }
}

