/* ====== 1. RESET & SYSTEM ====== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #f6f6f7;
      --card-bg: #ffffff;
      --text: #1a1a1a;
      --muted: #777;
      --grad: linear-gradient(135deg, #ffb300, #ff6a3d, #8a2be2);
      --primary: #7b2ff7;
      --radius: 14px;
      --radius-sm: 10px;
      --shadow: 0 10px 25px rgba(0,0,0,0.06);
      --shadow-hover: 0 15px 35px rgba(0,0,0,0.1);
      --transition: 0.25s ease;
    }

@keyframes ocean {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Палитра: Насыщенный персик -> Солнечный белый -> Нежная лаванда (едва заметная) -> Теплое золото */
  background: linear-gradient(-45deg, 
    #FFD580, /* Теплый персиковый (заметный) */
    #FFFFFF, /* Чистый белый для контраста */
    #E6E0FF, /* Очень бледная лаванда вместо фиолетового */
    #FFBD69  /* Глубокий медовый оттенок */
  );
  
  background-size: 400% 400%;
  animation: ocean 18s ease-in-out infinite;
  background-attachment: fixed;
  
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  overflow-x: hidden;
}

/* Ллёгкая прозрачность и размытие */
.info-block, .legal-content, .card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

    a { text-decoration: none; color: inherit; }
    button { border: none; cursor: pointer; font: inherit; }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
    }

    /* ====== 2. HEADER & NAVIGATION ====== */
    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
      gap: 16px;
      flex-wrap: wrap;
    }

    .site-logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .site-logo .mark {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-sm);
      background: var(--grad);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: bold;
    }

    .site-nav {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .cart-icon {
      position: relative;
      font-size: 20px;
      display: flex;
      align-items: center;
    }

    .cart-count {
      position: absolute;
      top: -8px;
      right: -10px;
      background: var(--primary);
      color: #fff;
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 999px;
      font-weight: bold;
    }

    /* ====== 3. BUTTONS ====== */
    .btn {
      padding: 10px 18px;
      border-radius: 999px;
      background: var(--grad);
      color: #fff;
      font-weight: 600;
      font-size: 14px;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn.secondary {
      background: #fff;
      border: 1px solid #ddd;
      color: var(--text);
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    .btn-add-cart {
      width: 100%;
      margin-top: 12px;
      background: var(--grad);
      color: #fff;
      padding: 10px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: var(--transition);
    }

    .btn-add-cart.added { background: #2ecc71; }

    /* ====== 4. HERO & INFO BLOCKS ====== */
    .hero {
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin: 30px 0;
    }

    .info-block {
      background: var(--card-bg);
      padding: 24px;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      flex: 1;
    }

    @media (min-width: 768px) {
      .hero { flex-direction: row; align-items: stretch; }
    }

    /* ====== 5. FILTERS & GRID ====== */
    .filters {
      display: flex;
      gap: 10px;
      margin-bottom: 24px;
      overflow-x: auto;
      padding-bottom: 5px;
    }

    .filters select {
      padding: 8px 16px;
      border-radius: 8px;
      border: 1px solid #ddd;
      background: #fff;
      outline: none;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 20px;
    }
    
    /* Общий стиль для юридических страниц */
.legal-page {
    background-color: #fcfcfc;
    color: #2c3e50;
    line-height: 1.7;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.legal-content {
    background: #ffffff;
    max-width: 900px;
    margin: 50px auto;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #111;
    border-bottom: 3px solid #FBA11B;
    display: inline-block;
    padding-bottom: 10px;
}

.last-update {
    color: #888;
    font-size: 14px;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content h2 {
    font-size: 20px;
    margin: 35px 0 15px;
    color: #650DD0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-content p, .legal-content li {
    font-size: 16px;
    margin-bottom: 12px;
    text-align: justify;
}

.legal-content ul {
    padding-left: 20px;
    list-style: square;
}

.requisites {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 15px;
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    .legal-content h1 {
        font-size: 28px;
    }
}


    /* ====== 6. PRODUCT CARD ====== */
    .card {
      position: relative;
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
      animation: fadeIn 0.4s ease;
    }

    .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

    .thumb {
      width: 100%;
      height: 300px;
      object-fit: cover;
      background: #eee;
    }

    .content { padding: 16px; }
    .title { font-weight: 600; display: block; margin-bottom: 4px; }
    .meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
    .price { font-weight: 700; font-size: 18px; color: var(--primary); }

    /* ====== 7. BADGES ====== */
    .badge {
      position: absolute;
      top: 12px; left: 12px;
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
      color: #fff;
      border-radius: 999px;
      z-index: 2;
    }
    .badge.in-stock { background: #2ecc71; }
    .badge.out-stock { background: #e74c3c; }
    .badge.soon { background: #f39c12; }

    /* ====== 8. SOCIALS ====== */
    .social-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 40px 0;
      flex-wrap: wrap;
    }

    .social-item {
      width: 60px; height: 60px;
      display: flex; align-items: center; justify-content: center;
      border-radius: var(--radius);
      background: var(--card-bg);
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .social-item:hover {
      background: var(--grad);
      color: #fff;
      transform: translateY(-5px);
    }

    /* ====== 9. FOOTER ====== */
    .site-footer {
      margin-top: 40px;
      padding: 30px 0;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }

    /* ====== 10. ANIMATIONS & MOBILE ====== */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 600px) {
      .site-header { flex-direction: column; text-align: center; }
      .site-nav { justify-content: center; }
      .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
      .thumb { height: 160px; }
      .hero h1 { font-size: 22px; }
      .site-footer { flex-direction: column; text-align: center; }
    }
    
    .card { position: relative; }

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* Добавьте это в секцию <style> или style.css */
.status-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.status-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.status-box {
    margin-top: 20px;
    padding: 20px;
    background: rgba(123, 47, 247, 0.05);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    text-align: left;
}

.my-swal-popup {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-hover) !important;
}



.cart-count.update { transform: scale(1.3); transition: 0.2s; }

.in-stock { background: #2ecc71; }
.out-stock { background: #e74c3c; }
.soon { background: #f1c40f; color: #000; }

/* Стили модалки */
.modal-overlay {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 400px;
  width: 100%;
  padding: 30px;
  text-align: center;
  position: relative;
  animation: modalIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 24px;
  background: none;
  color: var(--muted);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Состояние "открыто" */
.modal-overlay.active {
  display: flex;
}
.status-container input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.1);
}

/* ====== DROP BANNER STYLES ====== */

.drop-container {
  margin: 40px auto;
  padding: 0 16px;
  animation: softReveal 1s ease-out;
}

.drop-card-premium {
  position: relative;
  padding: 60px 20px;
  border-radius: var(--radius);
  /* Используем твои переменные и блюр */
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Мягкий подъем при наведении без тряски */
.drop-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Статус "Live" с пульсацией */
.drop-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  margin-bottom: 25px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--primary);
  border-radius: 50%;
  animation: dotPulse 2s infinite;
}

/* Заголовок с твоим градиентом */
.drop-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--text);
}

.drop-subtext {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Таймер */
.modern-timer {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 40px;
}

.t-segment {
  display: flex;
  flex-direction: column;
  min-width: 60px;
}

.t-val {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.t-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 5px;
}

.t-sep {
  font-size: 1.5rem;
  color: var(--muted);
  opacity: 0.3;
}

/* Кнопка с эффектом блика */
.prime-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  background: var(--grad); /* Твой градиент */
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(123, 47, 247, 0.2);
}

.prime-btn:hover {
  transform: scale(1.03);
}

.btn-flare {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.6s;
}

.prime-btn:hover .btn-flare {
  left: 150%;
}

/* Анимации */
@keyframes dotPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

@keyframes softReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность для мобилок */
@media (max-width: 480px) {
  .modern-timer { gap: 10px; }
  .t-val { font-size: 1.8rem; }
  .t-segment { min-width: 45px; }
  .drop-card-premium { padding: 40px 15px; }
}
