﻿<link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;800&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet">
/* Glow — custom classes. Подключается ПОСЛЕ theme.css */

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255, 248, 243, .85);
  backdrop-filter: blur(14px);
  transition: .3s;
}
.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(26, 16, 36, .06);
  padding: .625rem 0;
}
.navbar .nav-item {
  margin-right: .5rem;
  margin-left: .5rem;
}
.navbar .navbar-nav .nav-link {
  font-weight: 600;
  position: relative;
  transition: color .3s;
}
.navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  background: #FF4E8B;
  border-radius: 3px;
  transition: width .3s;
}
.navbar .navbar-nav .nav-link:hover {
  color: #FF4E8B;
}
.navbar .navbar-nav .nav-link:hover::after {
  width: 100%;
}
.brand {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #FF4E8B, #FF7A5C);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Custom buttons ---------- */
.btn-cart {
  background: #1A1024;
  color: #fff;
  border: none;
  transition: .3s;
}
.btn-cart:hover {
  background: #FF4E8B;
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary-glow {
  color: #fff;
  background: linear-gradient(135deg, #FF4E8B, #FF7A5C);
  border: none;
  box-shadow: 0 10px 30px rgba(255, 78, 139, .35);
  transition: .3s;
}
.btn-primary-glow:hover,
.btn-primary-glow:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 78, 139, .5);
}
.btn-outline-glow {
  color: #1A1024;
  background: transparent;
  border: 2px solid #1A1024;
  transition: .3s;
}
.btn-outline-glow:hover,
.btn-outline-glow:focus {
  color: #fff;
  background: #1A1024;
}
.btn-white {
  color: #FF4E8B;
  background: #fff;
  border: none;
  transition: .3s;
  position: relative;
  z-index: 2;
}
.btn-white:hover {
  color: #8B5CF6;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}
.btn-add {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: #1A1024;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: .3s;
}
.btn-add:hover {
  background: #FF4E8B;
  transform: rotate(90deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 9.375rem 0 6.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 78, 139, .25), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(78, 224, 184, .28), transparent 45%),
    radial-gradient(circle at 60% 90%, rgba(139, 92, 246, .20), transparent 45%),
    #FFF8F3;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  position: relative;
  z-index: 2;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #FF4E8B, #FF7A5C);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #5a4d63;
  max-width: 520px;
  margin: 1.5rem 0 2.25rem;
  position: relative;
  z-index: 2;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}
.blob-1 { width: 280px; height: 280px; background: #FFD93D; top: 10%;    left: 5%; }
.blob-2 { width: 220px; height: 220px; background: #4EE0B8; bottom: 5%; right: 8%; animation-delay: 2s; }
.blob-3 { width: 180px; height: 180px; background: #8B5CF6; top: 50%;   right: 35%; animation-delay: 4s; }
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-showcase {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB5A7, #FF4E8B 50%, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 80px rgba(255, 78, 139, .35);
  position: relative;
  animation: spin-slow 20s linear infinite;
}
.product-showcase span {
  font-size: 8rem;
  animation: spin-slow 20s linear infinite reverse;
}
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: .75rem 1.25rem;
  box-shadow: 0 15px 40px rgba(26, 16, 36, .1);
  font-weight: 700;
  font-size: .9rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.badge-1 { top: 8%;     left: -10%; animation: float 6s ease-in-out infinite; }
.badge-2 { bottom: 12%; right: -8%; animation: float 6s ease-in-out infinite 1.5s; }
.badge-3 { top: 55%;    left: -15%; animation: float 6s ease-in-out infinite 3s; }
.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4EE0B8;
}

/* ---------- Sections ---------- */
.section       { padding: 6.25rem 0; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.section-sub   { color: #5a4d63; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  padding: .5rem 1.125rem;
  border-radius: 100px;
  background: rgba(255, 78, 139, .1);
  color: #FF4E8B;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}

/* ---------- Categories ---------- */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 220px;
  padding: 2.25rem 1.75rem;
  border: none;
  border-radius: 28px;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: .4s;
}
.cat-card:hover { transform: translateY(-8px); }
.cat-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}
.cat-card .emoji { font-size: 3rem; margin-bottom: 1rem; }
.cat-card h4     { font-weight: 800; font-size: 1.3rem; margin: 0; }
.cat-card p      { margin: .375rem 0 0; opacity: .85; font-size: .92rem; }
.cat-1 { background: linear-gradient(135deg, #FF4E8B, #FF7A5C); }
.cat-2 { background: linear-gradient(135deg, #4EE0B8, #00B8A9); }
.cat-3 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.cat-4 { background: linear-gradient(135deg, #FFD93D, #FF7A5C); }

/* ---------- Products ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #f1e9ee;
  border-radius: 24px;
  overflow: hidden;
  transition: .4s;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 25px 50px rgba(26, 16, 36, .1);
}
.product-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}
.pi-1 { background: linear-gradient(135deg, #FFE5EC, #FFC2D1); }
.pi-2 { background: linear-gradient(135deg, #D4F5EC, #A7E8D6); }
.pi-3 { background: linear-gradient(135deg, #E9DDFF, #D4BBFF); }
.pi-4 { background: linear-gradient(135deg, #FFF3C4, #FFE08A); }
.pi-5 { background: linear-gradient(135deg, #FFE0D4, #FFB8A0); }
.pi-6 { background: linear-gradient(135deg, #E0F2FF, #B8E0FF); }
.product-body  { flex: 1; display: flex; flex-direction: column; padding: 1.375rem; }
.product-cat   { font-size: .78rem; color: #a196a9; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.product-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin: .5rem 0; }
.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .875rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #FF4E8B;
}

/* ---------- Features ---------- */
.feature { text-align: center; padding: 1.25rem; }
.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
.fi-1 { background: linear-gradient(135deg, #FF4E8B, #FF7A5C); }
.fi-2 { background: linear-gradient(135deg, #4EE0B8, #00B8A9); }
.fi-3 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.fi-4 { background: linear-gradient(135deg, #FFD93D, #FF7A5C); }
.feature h5 { font-weight: 800; font-size: 1.15rem; margin-bottom: .625rem; }
.feature p  { color: #5a4d63; font-size: .95rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: 4.375rem 3.125rem;
  border-radius: 36px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 217, 61, .4), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(78, 224, 184, .4), transparent 40%),
    linear-gradient(135deg, #FF4E8B, #8B5CF6);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1.125rem;
  position: relative;
  z-index: 2;
}
.cta-banner p {
  font-size: 1.1rem;
  opacity: .95;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* ---------- Reviews ---------- */
.review {
  height: 100%;
  padding: 2rem;
  background: #fff;
  border: 1px solid #f1e9ee;
  border-radius: 24px;
  transition: .3s;
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(26, 16, 36, .08);
}
.review-stars  { color: #FFD93D; font-size: 1.1rem; margin-bottom: .875rem; }
.review-text   { color: #3d3446; font-size: 1rem; line-height: 1.6; margin-bottom: 1.375rem; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.av-1 { background: linear-gradient(135deg, #FF4E8B, #FF7A5C); }
.av-2 { background: linear-gradient(135deg, #4EE0B8, #00B8A9); }
.av-3 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.review-name { font-weight: 700; font-size: .95rem; }
.review-role { font-size: .82rem; color: #a196a9; }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 3.75rem 3.125rem;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(26, 16, 36, .06);
}
.newsletter-input {
  width: 100%;
  padding: 1rem 1.625rem;
  border: 2px solid #f1e9ee;
  border-radius: 100px;
  font-size: 1rem;
  outline: none;
  transition: .3s;
}
.newsletter-input:focus { border-color: #FF4E8B; }

/* ---------- Footer ---------- */
footer {
  padding: 4.375rem 0 1.875rem;
  margin-top: 6.25rem;
  color: #fff;
  background: #1A1024;
}
footer .brand {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
footer h6 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
footer a {
  display: block;
  margin-bottom: .75rem;
  color: #a196a9;
  font-size: .95rem;
  text-decoration: none;
  transition: .2s;
}
footer a:hover { color: #FF4E8B; }
.footer-bottom {
  margin-top: 3.125rem;
  padding-top: 1.875rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #7a6f82;
  font-size: .9rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: .5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 1.1rem;
  transition: .3s;
}
.social-link:hover {
  background: #FF4E8B;
  transform: translateY(-3px);
}

/* ---------- Keyframes ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.08); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .floating-badge { display: none; }
  .hero           { padding: 7.5rem 0 3.75rem; }
  .section        { padding: 4.375rem 0; }
  .cta-banner,
  .newsletter     { padding: 3.125rem 1.875rem; }
}




/* ==================================================================
   SITE HEADER — GLOW style
   ================================================================== */

:root {
  --pink:   #FF4E8B;
  --coral:  #FF7A5C;
  --peach:  #FFB5A7;
  --mint:   #4EE0B8;
  --violet: #8B5CF6;
  --yellow: #FFD93D;
  --dark:   #1A1024;
  --cream:  #FFF8F3;
}

.site-header {
  position: relative;
}

/* ---------- TOPBAR ---------- */

.site-header .topbar {
  background: var(--dark) !important;
  color: #a196a9;
  font-size: .82rem;
  font-weight: 500;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-header .topbar-text {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.site-header .topbar-link {
  color: #a196a9;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .2s, background .3s, border-color .3s;
}

.site-header .topbar-link:hover {
  color: var(--pink);
}

.site-header .topbar-link i {
  font-size: .95rem;
  line-height: 1;
}

/* Кнопки в топбаре ("Стать партнёром", "Стать покупателем") */
.site-header .topbar-link.btn {
  padding: .35rem 1rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 100px;
  color: #fff;
  background: transparent;
  font-size: .78rem;
  font-weight: 700;
  transition: .3s;
}

.site-header .topbar-link.btn:hover {
  background: linear-gradient(135deg, var(--pink), var(--coral));
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 78, 139, .3);
}

/* ==================================================================
   MAIN NAVBAR
   ================================================================== */

.site-header .navbar {
  background: rgba(255, 248, 243, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .875rem 0;
  transition: padding .3s, box-shadow .3s, background .3s;
  border-bottom: 1px solid #f1e9ee;
}

.site-header .navbar.sticky-top {
  z-index: 1030;
}

.site-header .navbar-brand img {
  display: block;
  height: auto;
}

/* Burger */
.site-header .navbar-toggler {
  border: none;
  padding: .55rem .65rem;
  border-radius: 14px;
  background: #fff;
  transition: .3s;
}

.site-header .navbar-toggler:hover {
  background: rgba(255, 78, 139, .08);
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(255, 78, 139, .15);
}

.site-header .navbar-toggler-icon {
  width: 1.35em;
  height: 1.35em;
}

/* ---------- Поиск ---------- */

.site-header .input-group .form-control {
  border-radius: 100px;
  padding: .875rem 3.25rem .875rem 1.5rem;
  border: 2px solid #f1e9ee;
  background: #fff;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark);
  transition: .3s;
}

.site-header .input-group .form-control::placeholder {
  color: #a196a9;
  font-weight: 500;
}

.site-header .input-group .form-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 78, 139, .1);
  outline: none;
}

.site-header .input-group .position-absolute i {
  color: #a196a9;
  font-size: 1.05rem;
  transition: color .2s;
}

.site-header .input-group .position-absolute:hover i {
  color: var(--pink);
}

/* ---------- Toolbar (иконки) ---------- */

.site-header .navbar-toolbar {
  gap: .25rem;
}

.site-header .navbar-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.site-header .navbar-tool:hover {
  color: var(--pink);
}

.site-header .navbar-tool-text small {
  font-size: .78rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.1;
  display: block;
}

/* Круглая иконка */
.site-header .navbar-tool-icon-box {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f1e9ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  flex-shrink: 0;
}

.site-header .navbar-tool:hover .navbar-tool-icon-box {
  background: linear-gradient(135deg, var(--pink), var(--coral));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 78, 139, .35);
}

/* Бейдж (кол-во) */
.site-header .navbar-tool-label {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--pink), var(--coral));
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 78, 139, .45);
  z-index: 2;
}

/* Убираем стрелку у dropdown-тоглера */
.site-header .navbar-tool.dropdown-toggle::after {
  display: none;
}

/* ---------- Dropdown menu ---------- */

.site-header .dropdown-menu {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(26, 16, 36, .12);
  padding: .5rem;
  margin-top: .75rem;
  min-width: 200px;
}

.site-header .dropdown-item {
  border-radius: 12px;
  padding: .65rem .9rem;
  font-weight: 500;
  color: var(--dark);
  transition: .2s;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background: rgba(255, 78, 139, .08);
  color: var(--pink);
}

.site-header .dropdown-item i {
  opacity: .7;
}

/* ==================================================================
   MENU BAR — градиент (navbar-stuck-menu)
   ================================================================== */

.site-header .navbar-stuck-menu {
  background-color: transparent !important;
  background-image: linear-gradient(135deg, var(--pink), var(--coral)) !important;
  padding: 0;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 78, 139, .2);
  position: relative;
  z-index: 1020;
}

.site-header .navbar-stuck-menu .navbar-nav {
  --bs-nav-link-padding-x: 1.15rem;
}

.site-header .navbar-stuck-menu .navbar-nav .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  font-size: .92rem;
  padding: 1rem 1.15rem;
  position: relative;
  transition: color .25s, background .25s;
}

.site-header .navbar-stuck-menu .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: .35rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform .3s ease-out;
}

.site-header .navbar-stuck-menu .navbar-nav .nav-link:hover,
.site-header .navbar-stuck-menu .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.site-header .navbar-stuck-menu .navbar-nav .nav-link:hover::after,
.site-header .navbar-stuck-menu .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Мега-меню внутри градиента */
.site-header .navbar-stuck-menu .dropdown-menu {
  border-radius: 20px;
  margin-top: .5rem;
}

/* ==================================================================
   Мобильный вид
   ================================================================== */

@media (max-width: 991.98px) {

  .site-header .topbar {
    padding: .4rem 0;
  }

  .site-header .navbar {
    padding: .65rem 0;
  }

  .site-header .navbar-tool-icon-box {
    width: 40px;
    height: 40px;
  }

  .site-header .navbar-stuck-menu {
    background-image: linear-gradient(135deg, var(--pink), var(--coral)) !important;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .site-header .navbar-stuck-menu .navbar-nav .nav-link {
    padding: .875rem 1rem;
    border-radius: 12px;
  }

  .site-header .navbar-stuck-menu .navbar-nav .nav-link::after {
    display: none;
  }
}

/* Плюс: чуть меньше «жира» для телефонов */
@media (max-width: 575.98px) {

  .site-header .topbar {
    font-size: .78rem;
  }

  .site-header .navbar-tool-icon-box {
    width: 38px;
    height: 38px;
  }

  .site-header .navbar-tool-label {
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: .65rem;
    top: -4px;
    right: -4px;
  }
}


/* ==================================================================
   MEGA MENU — GLOW style (v2, grid-based)
   ================================================================== */

/* Кнопка "Каталог" */
.navbar-mega-nav .nav-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  padding: 1rem 1.15rem;
  color: #fff;
}
.navbar-mega-nav .nav-link:hover,
.navbar-mega-nav .nav-link.show {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.navbar-mega-nav .nav-link.dropdown-toggle::after { display: none; }

/* Панель */
.dropdown-menu.mega-menu {
  padding: 1.75rem;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(26, 16, 36, .15);
  margin-top: .5rem;
  width: min(1080px, 96vw);
  max-width: none;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1030;
}

/* ⬇️ ГЛАВНОЕ: GRID */
.dropdown-menu.mega-menu .mega-menu-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.dropdown-menu.mega-menu .mega-menu-row + .mega-menu-row {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1e9ee;
}

/* Колонка */
.dropdown-menu.mega-menu .mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: .5rem;
  border-radius: 20px;
  transition: background .3s;
  min-width: 0;
}
.dropdown-menu.mega-menu .mega-menu-col:hover {
  background: rgba(255, 78, 139, .04);
}

/* Картинка */
.dropdown-menu.mega-menu .mega-menu-img {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f6f3f0;
}
.dropdown-menu.mega-menu .mega-menu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.dropdown-menu.mega-menu .mega-menu-img:hover img {
  transform: scale(1.06);
}

/* Заголовок */
.dropdown-menu.mega-menu .mega-menu-col h6 {
  margin: 0;
  padding: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  color: #1A1024;
  line-height: 1.3;
}
.dropdown-menu.mega-menu .mega-menu-col h6 a {
  color: inherit;
  text-decoration: none;
}
.dropdown-menu.mega-menu .mega-menu-col h6 a:hover {
  color: #FF4E8B;
}

/* Ссылки */
.dropdown-menu.mega-menu .mega-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.dropdown-menu.mega-menu .mega-menu-col ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropdown-menu.mega-menu .mega-menu-col ul li a {
  display: inline-block;
  padding: .35rem 0;
  font-size: .92rem;
  font-weight: 500;
  color: #5a4d63;
  text-decoration: none;
  transition: color .2s, padding-left .25s;
}
.dropdown-menu.mega-menu .mega-menu-col ul li a:hover {
  color: #FF4E8B;
  padding-left: 8px;
}

/* Анимация */
.dropdown-menu.mega-menu.show,
.navbar-mega-nav .dropdown.hover-open > .mega-menu {
  animation: mega-menu-fade .25s ease-out both;
}
@keyframes mega-menu-fade {
  from { opacity: 0; transform: translateY(.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Бейджи */
.mega-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .3rem .75rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.mega-badge--hit  { background: linear-gradient(135deg, #FF4E8B, #FF7A5C); }
.mega-badge--sale { background: linear-gradient(135deg, #8B5CF6, #FF4E8B); }
.mega-badge--new  { background: linear-gradient(135deg, #4EE0B8, #00B8A9); }

.mega-badge-inline {
  display: inline-block;
  margin-left: .35rem;
  padding: .1rem .45rem;
  border-radius: 6px;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  vertical-align: middle;
  color: #fff;
}
.mega-badge-inline--hit  { background: linear-gradient(135deg, #FF4E8B, #FF7A5C); }
.mega-badge-inline--sale { background: linear-gradient(135deg, #8B5CF6, #FF4E8B); }
.mega-badge-inline--new  { background: linear-gradient(135deg, #4EE0B8, #00B8A9); }

/* Мобильные */
@media (max-width: 991.98px) {
  .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: none;
    background: rgba(255, 255, 255, .05);
    max-height: none;
    overflow: visible;
  }
  .dropdown-menu.mega-menu .mega-menu-row {
    grid-template-columns: 1fr;
  }
  .dropdown-menu.mega-menu .mega-menu-col {
    background: rgba(255, 255, 255, .04);
    padding: .85rem;
    border-radius: 14px;
  }
  .dropdown-menu.mega-menu .mega-menu-col h6,
  .dropdown-menu.mega-menu .mega-menu-col ul li a {
    color: rgba(255, 255, 255, .92);
  }
}


/* ==================================================================
   MEGA MENU — Mobile overflow fix
   ================================================================== */

@media (max-width: 991.98px) {

  /* Контейнер li не должен позиционировать панель */
  .navbar-mega-nav .nav-item.dropdown {
    position: static !important;
  }

  /* Сама панель — во всю ширину родителя */
  .dropdown-menu.mega-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: .25rem 0 0 0 !important;
    padding: .875rem !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .06) !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* Родитель панели — на всю ширину */
  .navbar-mega-nav {
    width: 100%;
  }

  .navbar-mega-nav > .nav-item {
    width: 100%;
  }

  /* Кнопка "Каталог" на всю ширину */
  .navbar-mega-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: .875rem 1rem;
    border-radius: 12px;
  }

  /* Колонки в столбик, без вылетов */
  .dropdown-menu.mega-menu .mega-menu-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .875rem !important;
    width: 100%;
  }

  .dropdown-menu.mega-menu .mega-menu-row + .mega-menu-row {
    margin-top: .875rem;
    padding-top: .875rem;
  }

  .dropdown-menu.mega-menu .mega-menu-col {
    width: 100%;
    max-width: 100%;
    padding: .75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
  }

  /* Картинка — во всю ширину колонки */
  .dropdown-menu.mega-menu .mega-menu-img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .dropdown-menu.mega-menu .mega-menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Тексты — светлые, читаемые на градиенте */
  .dropdown-menu.mega-menu .mega-menu-col h6,
  .dropdown-menu.mega-menu .mega-menu-col h6 a,
  .dropdown-menu.mega-menu .mega-menu-col ul li a {
    color: rgba(255, 255, 255, .92) !important;
  }

  .dropdown-menu.mega-menu .mega-menu-col ul li a:hover {
    color: #fff !important;
    padding-left: 10px !important;
  }

  /* Убираем чёрную точку-маркер на мобильном (всё равно не видно) */
  .dropdown-menu.mega-menu .mega-menu-col ul li a::before {
    background: #fff;
  }

  /* Если .navbar-stuck-menu padding по бокам слишком большой — уменьшаем */
  .navbar-stuck-menu .container {
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

/* ---------- Очень узкие экраны ---------- */

@media (max-width: 575.98px) {
  .dropdown-menu.mega-menu {
    padding: .625rem !important;
    border-radius: 12px !important;
  }

  .dropdown-menu.mega-menu .mega-menu-row {
    gap: .625rem !important;
  }

  .dropdown-menu.mega-menu .mega-menu-col {
    padding: .625rem;
    border-radius: 12px;
  }

  .dropdown-menu.mega-menu .mega-menu-col h6 {
    font-size: .9rem !important;
  }

  .dropdown-menu.mega-menu .mega-menu-col ul li a {
    font-size: .875rem !important;
  }

  .mega-badge {
    top: .5rem;
    left: .5rem;
    padding: .2rem .55rem;
    font-size: .62rem;
  }
}
