
    /* Вертикальна кнопка */
    .quick-order-btn {
      position: fixed;
      top: 40%;
      right: 0;
      background: #FF6600;
      color: white;
      padding: 10px 28px;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-weight: bold;
      border-radius: 8px 0 0 8px;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      transition: right 0.3s ease;
      z-index: 1000;
      font-size: 14px;
      letter-spacing: 0.5px;
    }

    .quick-order-btn:hover {
      right: -10px;
      background: #e65c00;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      box-sizing: border-box;
      backdrop-filter: blur(0px);
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;
      backdrop-filter: blur(5px);
    }

    .overlay.closing {
      opacity: 0;
      backdrop-filter: blur(0px);
    }

    /* Popup - адаптивна ширина */
    .popup {
      background: #fff;
      padding: 25px;
      border-radius: 14px;
      width: 100%;
      max-width: 900px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 8px 30px rgba(0,0,0,0.25);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      opacity: 0;
      transform: scale(0.7) translateY(-50px) rotateX(15deg);
      position: relative;
      animation-fill-mode: forwards;
      z-index: 10001;
    }

    .overlay.active .popup {
      opacity: 1;
      transform: scale(1) translateY(0) rotateX(0deg);
      animation: popupSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .overlay.closing .popup {
      animation: popupSlideOut 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
    }

    @keyframes popupSlideIn {
      0% {
        opacity: 0;
        transform: scale(0.7) translateY(-50px) rotateX(15deg);
      }
      50% {
        transform: scale(1.05) translateY(10px) rotateX(-5deg);
      }
      100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
      }
    }

    @keyframes popupSlideOut {
      0% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
      }
      100% {
        opacity: 0;
        transform: scale(0.8) translateY(30px) rotateX(-10deg);
      }
    }

    /* Хрестик */
    .close-btn {
      position: absolute;
      top: 15px; right: 15px;
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, #FF6600, #e65c00);
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .close-btn:before,
    .close-btn:after {
      content: '';
      position: absolute;
      width: 18px;
      height: 2px;
      background: white;
      border-radius: 1px;
      transition: all 0.3s ease;
    }

    .close-btn:before {
      transform: rotate(45deg);
    }

    .close-btn:after {
      transform: rotate(-45deg);
    }

    .close-btn:hover {
      background: linear-gradient(135deg, #e65c00, #cc5200);
      transform: scale(1.1) rotate(90deg);
      box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    }

    .close-btn:hover:before,
    .close-btn:hover:after {
      background: #fff;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }

    .close-btn:active {
      transform: scale(0.95) rotate(90deg);
      box-shadow: 0 2px 10px rgba(255, 102, 0, 0.5);
    }

    /* Заголовок */
    .popup h2 {
      margin: 0 0 20px;
      font-size: 24px;
      color: #FF6600;
      text-align: center;
    }

    /* Сітка форми для десктопа */
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px 20px;
      align-items: start;
    }

    /* Поля */
    .form-field {
      display: flex;
      flex-direction: column;
      opacity: 0;
      transform: translateY(20px);
      animation: fieldSlideIn 0.6s ease forwards;
    }

    .form-field:nth-child(1) { animation-delay: 0.1s; }
    .form-field:nth-child(2) { animation-delay: 0.15s; }
    .form-field:nth-child(3) { animation-delay: 0.2s; }
    .form-field:nth-child(4) { animation-delay: 0.25s; }
    .form-field:nth-child(5) { animation-delay: 0.3s; }
    .form-field:nth-child(6) { animation-delay: 0.35s; }
    .form-field:nth-child(7) { animation-delay: 0.4s; }
    .form-field:nth-child(8) { animation-delay: 0.45s; }
    .form-field:nth-child(9) { animation-delay: 0.5s; }
    .form-field:nth-child(10) { animation-delay: 0.55s; }

    @keyframes fieldSlideIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .form-field label {
      font-size: 14px;
      color: #333;
      margin-bottom: 5px;
      font-weight: 500;
    }

    .popup input, 
    .popup textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      transition: 0.2s;
      box-sizing: border-box;
    }

    .popup input:focus,
    .popup textarea:focus {
      border-color: #00CFCF;
      outline: none;
      box-shadow: 0 0 0 2px rgba(0,207,207,0.2);
      transform: scale(1.02);
    }

    .popup textarea {
      min-height: 70px;
      resize: vertical;
    }

    .popup input[type="file"] {
      border: 1px dashed #ddd;
      padding: 10px;
      background: #fafafa;
    }

    /* Повна ширина для деяких полів */
    .form-field.full-width {
      grid-column: 1 / -1;
    }

    /* Слайдер */
    .slider-container {
      display: flex;
      flex-direction: column;
    }

    .slider-label {
      font-size: 14px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      color: #333;
      font-weight: 500;
    }

    .slider-container input[type=range] {
      width: 100%;
      -webkit-appearance: none;
      height: 6px;
      border-radius: 4px;
      background: #eee;
      outline: none;
      transition: background 0.3s;
    }

    .slider-container input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #FF6600;
      cursor: pointer;
      transition: 0.3s;
    }

    .slider-container input[type=range]::-webkit-slider-thumb:hover {
      background: #e65c00;
    }

    .slider-value {
      font-weight: bold;
      color: #FF6600;
      margin-left: 5px;
    }

    /* Кнопка */
    .submit-btn {
      grid-column: 1 / -1;
      width: 100%;
      padding: 14px;
      margin-top: 15px;
      background: #00CFCF;
      border: none;
      color: white;
      font-size: 16px;
      font-weight: 600;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .submit-btn:hover {
      background: #009f9f;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,207,207,0.3);
    }

    .submit-btn:active {
      transform: translateY(0);
    }

    .submit-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    /* Уведомления */
    .notification {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 15px 20px;
      border-radius: 8px;
      color: white;
      font-weight: 500;
      z-index: 10000;
      transform: translateX(400px);
      transition: transform 0.3s ease;
      max-width: 350px;
      word-wrap: break-word;
    }

    .notification.show {
      transform: translateX(0);
    }

    .notification.success {
      background: #28a745;
    }

    .notification.error {
      background: #dc3545;
    }

    /* Мобільна адаптація */
    @media (max-width: 768px) {
      .overlay {
        padding: 10px;
      }

      .popup {
        padding: 20px;
        max-height: 95vh;
      }

      .popup h2 {
        font-size: 20px;
        margin-bottom: 15px;
      }

      /* Вертикальна орієнтація на мобільних */
      .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .form-field.full-width {
        grid-column: 1;
      }

      .submit-btn {
        grid-column: 1;
      }

      .notification {
        left: 10px;
        right: 10px;
        top: 10px;
        transform: translateY(-100px);
        max-width: none;
      }

      .notification.show {
        transform: translateY(0);
      }
    }

    @media (max-width: 480px) {
      .popup {
        padding: 15px;
      }

      .popup h2 {
        font-size: 18px;
      }

      .quick-order-btn {
        padding: 8px 20px;
        font-size: 12px;
      }

      .close-btn {
        width: 35px;
        height: 35px;
        top: 12px;
        right: 12px;
      }

      .close-btn:before,
      .close-btn:after {
        width: 16px;
      }
    }