html { scroll-behavior: smooth; }
body { margin: 0; background: #f4f5fd; color: #2a1b45; font-family: Nunito, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #7b2ff2; text-decoration: none; }
a:hover { color: #ff3d8b; }
input, textarea, button, select { box-sizing: border-box; max-width: 100%; font-family: Nunito, sans-serif; }
img { border-style: none; }

@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.93); backdrop-filter: blur(14px); border-bottom: 1px solid #e7e3f7; transition: box-shadow .22s ease; }
.site-header .inner { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; gap: 28px; transition: padding .22s ease; }
.site-header .logo { height: 72px; width: auto; display: block; margin: -16px 0; transition: height .22s ease, margin .22s ease; }
.site-header.scrolled { box-shadow: 0 10px 26px rgba(43,26,80,0.12); }
.site-header.scrolled .inner { padding: 9px 28px; }
.site-header.scrolled .logo { height: 46px; margin: -14px 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 15px; font-weight: 700; margin-left: auto; }
.nav a { color: #4a3a68; white-space: nowrap; }
.nav a:hover, .nav a.active { color: #7b2ff2; }
.nav .dot { color: #cfc6e6; }
.try-btn { flex: 0 0 auto; background: #fff2f7; color: #ff3d8b; border: 2px solid #ffd0e2; border-radius: 999px; padding: 9px 18px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.try-btn:hover { background: #ff3d8b; color: #fff; border-color: #ff3d8b; }

/* buttons */
.btn { cursor: pointer; border: 0; font-family: Nunito, sans-serif; font-weight: 800; border-radius: 999px; }
.btn-purple { background: #7b2ff2; color: #fff; }
.btn-purple:hover { background: #6a1fe0; color: #fff; }
.btn-pink { background: #ff3d8b; color: #fff; }
.btn-pink:hover { background: #e42d78; color: #fff; }
.btn-ghost { background: #fff; color: #7b2ff2; border: 2px solid #d9cdfb; }
.btn-ghost:hover { border-color: #7b2ff2; background: #f6f2ff; color: #7b2ff2; }
.btn-white { background: #fff; color: #7b2ff2; }
.btn-white:hover { background: #ffd0e2; color: #7b2ff2; }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn[disabled] { background: #cfc6e6 !important; cursor: not-allowed; }

.strip-btn { cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #e3dbfb; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(43,26,80,0.12); padding: 0; }
.strip-btn:hover { border-color: #7b2ff2; background: #f6f2ff; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 56px; }
.strip::-webkit-scrollbar { display: none; }

.mp-link { background: #fff; border: 2px solid #d9cdfb; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: 16px; color: #7b2ff2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mp-link:hover { border-color: #7b2ff2; color: #7b2ff2; }
.mp-link.ozon { border-color: #b3ccff; color: #005bff; }
.mp-link.ozon:hover { border-color: #005bff; color: #005bff; }

.c-link:hover { color: #7b2ff2; }
.mm { border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: 16px; }
.mm-tg { background: #f3ebff; color: #7b2ff2; }
.mm-tg:hover { background: #7b2ff2; color: #fff; }
.mm-wa { background: #e9fbf0; color: #12a05c; }
.mm-wa:hover { background: #12a05c; color: #fff; }
.f-link { color: #b9a9de; }
.f-link:hover { color: #fff; }

/* variant tabs */
.vtab { cursor: pointer; font-family: Nunito, sans-serif; text-align: left; border: 2px solid #e3dbfb; background: #fff; color: #4a3a68; border-radius: 18px; padding: 12px 14px; font-weight: 800; font-size: 15px; line-height: 1.2; transition: all .18s ease; }
.vtab.on { border-color: #7b2ff2; background: #7b2ff2; color: #fff; }

/* forms */
.fld { font-family: Nunito, sans-serif; font-size: 17px; padding: 13px 16px; border-radius: 14px; border: 2px solid #e7e3f7; background: #fbfaff; color: #241a3b; outline: none; width: 100%; }
.fld:focus { border-color: #cbb4ff; }
.lbl { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: #4a3a68; }
.req { color: #ff3d8b; }

/* cart modal */
.modal-back { position: fixed; inset: 0; z-index: 120; background: rgba(24,16,40,0.72); display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.modal-card { background: #fff; border-radius: 30px; width: 100%; max-width: 720px; box-shadow: 0 30px 70px rgba(0,0,0,0.4); overflow: hidden; }
.qbtn { cursor: pointer; border: 2px solid #e3dbfb; background: #fff; color: #7b2ff2; width: 36px; height: 36px; border-radius: 50%; font-size: 19px; font-weight: 800; line-height: 1; }
.qbtn:hover { border-color: #7b2ff2; background: #f6f2ff; }
.qinput { width: 46px; padding: 6px 4px; text-align: center; font-weight: 800; font-size: 18px; color: #241a3b; border: 2px solid #e7e3f7; border-radius: 12px; background: #fff; outline: none; }
.cart-row { display: flex; align-items: center; gap: 16px; background: #fbfaff; border: 2px solid #eee9fa; border-radius: 20px; padding: 12px 14px; }
.cart-row.on { background: #f6f2ff; border-color: #7b2ff2; }
.pick { cursor: pointer; text-align: left; font-family: Nunito, sans-serif; background: #fff; border: 2px solid #e7e3f7; border-radius: 18px; padding: 14px 16px; }
.pick.on { background: #f6f2ff; border-color: #7b2ff2; }
.pick-sm { cursor: pointer; font-family: Nunito, sans-serif; display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 2px solid #e7e3f7; border-radius: 14px; padding: 11px 13px; font-weight: 800; font-size: 16px; color: #241a3b; }
.pick-sm.on { background: #f6f2ff; border-color: #7b2ff2; }
.step { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border-radius: 18px; padding: 14px 16px; background: #fbfaff; border: 2px solid #eee9fa; transition: all .2s ease; }
.step .num { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #bdb0d6; font-family: 'Baloo 2', cursive; font-size: 22px; line-height: 1; }
.step .cap { display: block; font-weight: 800; font-size: 12px; letter-spacing: 1px; color: #bdb0d6; }
.step .ttl { display: block; font-weight: 800; font-size: 19px; line-height: 1.15; color: #a99cc4; }
.step.on { background: #f6f2ff; border-color: #7b2ff2; }
.step.on .num { background: #7b2ff2; color: #fff; }
.step.on .cap { color: #7b2ff2; }
.step.on .ttl { color: #241a3b; }
.xbtn { cursor: pointer; border: 0; background: #f4f2fc; color: #5b4a7d; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; font-weight: 800; line-height: 1; }
.xbtn:hover { background: #e7e3f7; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(24,16,40,0.86); display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }

.hidden { display: none !important; }

@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .hero { grid-template-columns: 1fr !important; gap: 32px !important; }
  h1 { font-size: 44px !important; }
  h2 { font-size: 34px !important; }
  .site-header .inner { flex-wrap: wrap; gap: 12px; }
}
