
:root{
  --header-h:72px;
  --paper:#f7f3ea;
  --paper-alt:#f4efe5;
  --green:#245f2e;
  --text:#171b18;
  --line:rgba(36,95,46,.14);
}
*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--header-h);
  background:var(--paper);
}
body{
  margin:0;
  min-width:320px;
  background:var(--paper);
  color:var(--text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

/* One real site header for the entire one-page site */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  height:var(--header-h);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:0 clamp(24px,3.6vw,60px);
  background:rgba(249,246,239,.93);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.brand{
  color:var(--green);
  text-decoration:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:36px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.045em;
}
.nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(18px,2.35vw,38px);
}
.nav a{
  color:#1d211f;
  text-decoration:none;
  font-size:15px;
  white-space:nowrap;
  transition:color .18s ease;
}
.nav a:hover,
.nav a.is-active{color:var(--green)}
.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 24px;
  border-radius:15px;
  background:var(--green);
  color:white;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  white-space:nowrap;
}

/* Every approved screen fits into the remaining browser viewport */

/* Unified production canvas: every screen has exactly the same visual width.
   Height follows the approved raster artwork, eliminating artificial blank bands. */
.screen{
  position:relative;
  width:100%;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  overflow:hidden;
  background:var(--paper);
  scroll-margin-top:var(--header-h);
  line-height:0;
}
.screen:nth-child(even){background:var(--paper-alt)}

.screen__frame{
  position:relative;
  width:min(100%, 1487px);
  flex:0 0 auto;
  overflow:hidden;
  line-height:0;
}
.screen__frame img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
}

/* Small overlap + feather creates a soft transition instead of a visible hard seam. */
.screen + .screen{
  margin-top:-18px;
}
.screen + .screen .screen__frame{
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, rgba(0,0,0,.72) 10px, #000 24px, #000 100%);
  mask-image:linear-gradient(to bottom, transparent 0, rgba(0,0,0,.72) 10px, #000 24px, #000 100%);
}

/* Transparent interactive areas over the marketplace buttons drawn into the final raster. */
.screen__frame--links{position:relative}
.shop-hotspot{
  position:absolute;
  z-index:20;
  display:block;
  border-radius:12px;
  cursor:pointer;
}
.shop-hotspot:focus-visible{
  outline:3px solid rgba(36,95,46,.55);
  outline-offset:2px;
}
.shop-hotspot--wb{left:49.2%;top:72.8%;width:11.1%;height:6.5%}
.shop-hotspot--ozon{left:61.5%;top:72.8%;width:11.2%;height:6.5%}
.shop-hotspot--ym{left:73.4%;top:72.8%;width:11.7%;height:6.5%}
.shop-hotspot--all{left:49.2%;top:80.7%;width:31.6%;height:5.5%}

  .screen__frame{height:calc(100vh - var(--header-h))}
  .screen__frame img{max-height:calc(100vh - var(--header-h))}
}

@media (max-width:1050px){
  :root{--header-h:64px}
  .site-header{gap:14px;padding:0 18px}
  .brand{font-size:31px}
  .nav{gap:16px}
  .nav a{font-size:13px}
  .header-cta{min-height:40px;padding:0 16px;font-size:13px}
}
@media (max-width:820px){
  .site-header{grid-template-columns:auto 1fr}
  .nav{display:none}
  .header-cta{justify-self:end}
}
@media (max-width:620px){
  :root{--header-h:58px}
  .site-header{padding:0 12px}
  .brand{font-size:27px}
  .header-cta{
    min-height:36px;
    padding:0 13px;
    border-radius:12px;
    font-size:12px;
  }
  .screen + .screen{margin-top:-8px}
  .screen + .screen .screen__frame{
    -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 12px, #000 100%);
    mask-image:linear-gradient(to bottom, transparent 0, #000 12px, #000 100%);
  }
}

/* ===== MOBILE PRODUCTION STANDARD ===== */
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.menu-toggle{
  display:none;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(36,95,46,.20);
  background:#fbf8f1;
  color:var(--green);
  font-size:21px;
  line-height:1;
  cursor:pointer;
}
.mobile-menu{
  display:none;
}

.screen__frame picture{
  display:block;
  width:100%;
  line-height:0;
}
.screen__frame picture img{
  display:block;
  width:100%;
  height:auto;
}

@media (max-width:700px){
  :root{--header-h:62px}

  .site-header{
    position:sticky;
    top:0;
    height:var(--header-h);
    grid-template-columns:auto 1fr;
    padding:0 12px 0 16px;
    background:rgba(249,246,239,.97);
  }
  .brand{
    font-size:29px;
  }
  .nav{
    display:none !important;
  }
  .header-actions{
    justify-self:end;
  }
  .header-cta{
    min-height:38px;
    padding:0 14px;
    font-size:12px;
    border-radius:12px;
  }
  .menu-toggle{
    display:grid;
    place-items:center;
  }

  .mobile-menu{
    position:fixed;
    z-index:999;
    top:var(--header-h);
    left:0;
    right:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    padding:10px 16px 16px;
    background:rgba(249,246,239,.98);
    border-bottom:1px solid rgba(36,95,46,.14);
    box-shadow:0 14px 30px rgba(30,55,35,.10);
    transform:translateY(-120%);
    opacity:0;
    pointer-events:none;
    transition:transform .22s ease, opacity .22s ease;
  }
  .mobile-menu.is-open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }
  .mobile-menu a{
    padding:12px 8px;
    color:#1d211f;
    text-decoration:none;
    font-size:14px;
    border-bottom:1px solid rgba(36,95,46,.08);
  }

  /* Critical: no viewport-height sections on phones.
     Mobile artwork defines its own natural content height. */
  .screen{
    min-height:0 !important;
    height:auto !important;
    display:block;
    overflow:hidden;
    margin:0 !important;
    background:#f7f3ea;
  }
  .screen + .screen{
    margin-top:0 !important;
  }
  .screen + .screen .screen__frame{
    -webkit-mask-image:none !important;
    mask-image:none !important;
  }
  .screen__frame{
    width:100%;
    max-width:none;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden;
  }
  .screen__frame picture,
  .screen__frame img{
    width:100%;
    max-width:none;
    height:auto !important;
    max-height:none !important;
    object-fit:contain;
  }

  /* Store hotspots remain percentage-positioned over final mobile artwork.
     They are intentionally disabled here because their desktop coordinates
     do not match the new mobile composition; mobile links are added as real
     HTML buttons below the final artwork. */
  .shop-hotspot{
    display:none !important;
  }

  .mobile-buy-links{
    display:grid;
  }
}

/* Real clickable marketplace links for mobile, placed below the final mobile artwork. */
.mobile-buy-links{
  display:none;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  padding:0 16px 20px;
  background:#f7f3ea;
}
.mobile-buy-links a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  border:1px solid rgba(36,95,46,.14);
  background:#fff;
  color:#1d211f;
}
.mobile-buy-links .all-products{
  grid-column:1/-1;
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
