
    
  .product-details1 {

    padding: 0px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;

}
  .page-container, .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
  }
  
  .page-title {
    font-size: 2rem;
    color: #ff7c00;
    margin-bottom: 30px;
    text-align: center;
  }
  
  
     .success-message, .error-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  .success-message {
    background: #d4edda;
    color: #155724;
  }
  .error-message {
    background: #f8d7da;
    color: #721c24;
  }
  
     .order-layout {
    display: flex;
    gap: 30px;
    
  }
  
     .order-right {
    order: 2;
  }
  .order-left {
    order: 1;
  }
  
     .order-right {
    flex: 0 0 400px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 25px;
    color: #333;
  }
  
     .order-product {
    text-align: center;
    margin-bottom: 20px;
  }
  .order-product img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 0px;
  }
  .order-product h3 {
    color: #ff7c00;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .order-product .price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
     .order-summary {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .order-summary h4 {
    color: #ff7c00;
    margin-bottom: 15px;
    font-size: 1.3rem;
  }
  .price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .price-row span {
    font-weight: bold;
  }
  .confirm-button {
    background-color: #ff7c00;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
  }
  .confirm-button:hover {
    background-color: #e86f00;
  }
  
  
     .order-left {
    flex: 1 1 600px;
    background: #fff;
    
    border-radius: 6px;
    padding: 0px;
    color: #333;
  }
  
     .order-section {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 7px 1px #ff7f16;  }
.payment-info {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: #fff3e0;
    border: 1px solid #ff7f16;
    box-shadow: 0 0 5px #ff7f16;
}

.order-section1{
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 7px 1px #ff7f16;  
}

 .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

 .modal55 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 90%;
    max-width: 400px;      min-height: 150px;
    max-height: 80vh;      overflow-y: auto;      
    background-color: #2e2e2e;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Для Firefox */
#quantity {
    -moz-appearance: textfield;
}

  /* Стилі для кнопок збільшення та зменшення */
  #increaseQuantity,
  #decreaseQuantity {
    background-color: #f98414;   /* основний синій відтінок */
    border: none;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 35px;
    text-align: center;
  }
  
  /* Ефект при наведенні */
  #increaseQuantity:hover,
  #decreaseQuantity:hover {
    background-color: #f98414;
    transform: scale(1.05);
  }
  
  /* Фокус на кнопках */
  #increaseQuantity:focus,
  #decreaseQuantity:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(219, 161, 52, 0.5);
  }
  
  /* Стилі для інпуту кількості */
  #quantity {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    font-size: 16px;
    text-align: center;
    width: 50px;
  }



 .modal55 h2 {
    margin: 10px 0;
    font-size: 1.4rem;
}

 .modal55 p {
    margin: 0 0 15px;
    line-height: 1.4;
    font-size: 1rem;
}

 .modal-btn {
    display: inline-block;
    padding: 10px 40px;
    background: #ff7f16;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.modal-btn:hover {
    background: #e66e0f;
}

 @media (max-width: 480px) {
    .modal55 {
        width: 95%;
        padding: 15px;
    }

    .modal55 h2 {
        font-size: 1.2rem;
    }

    .modal55 p {
        font-size: 0.9rem;
    }

    .modal-btn {
        padding: 8px 30px;
        font-size: 0.9rem;
    }
}

  






  .section-title {
    font-size: 1.3rem;
    color: #ff7c00;
    margin-bottom: 15px;
  }
  
     .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  .form-group input[type="text"],
  .form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;    }
  
  .payment-note{
    color: #ff7c00;
    font-weight: bold;
  }
     .radio-group, .radio-option {
    margin-bottom: 20px;
  }
  .radio-option {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
  }
  .radio-option input[type="radio"] {
    margin-right: 5px;
  }
  
     .submit-btn, .confirm-button {
    background-color: #ff7c00;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
  }
  .submit-btn:hover, .confirm-button:hover {
    background-color: #e86f00;
  }
 .username{
    color: #aaa29a;
text-align: center  ;

 }

 #telegram-username{
    width: 85%;
    padding: 10px 15px;
    border: 1px solid #f48222;
    margin-top: 10px;
    font-size: 16px;
    border-radius: 10px;
    background-color: white;
    color: #333;
    transition: all 0.3s ease;

 }
  .order-section1 {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 7px 1px #ff7f16;
  }
  
  .input-container {
    display: none;      margin-top: 10px;
  }
  
  
     @media (max-width: 768px) {
    .order-layout {
      flex-direction: column;
    }
    .order-right, .order-left {
      flex: 1 1 100%;
    }
  }

  .podzakazom{
    color: #ff8307;
    text-align: center;
    font-weight: bold;

  }
  .nova-poshta-container {
    margin-top: 20px;
  }
  .np-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }
  .np-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
  }
  .np-select:focus {
    border-color: #ff7c00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 124, 0, 0.2);
  }
     .loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
  }
  .loading::after {
    content: "";
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #ff7c00;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  @media (max-width: 480px) {
    .payment-note{
        color: #ff7c00;
        font-weight: bold;
        text-align: center;
      }

      .price-row span {
        font-weight: bold;
        text-align: center;
    }
 
  }

  
  