/* 
                _  __    .  ___   ___  __     __
                | |/ /   .  |   \ | __| \ \   / /
                | ' <    .  | |) || _|   \ \_/ / 
                |_|\_\   .  |___/ |___|   \___/  K . D E V */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }
  
  .cash-product-container {
    margin-top: 2vh;
    background-color: #2b2b2b50;
    padding: 30px;
    border-radius: 1vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* width: ; */
    max-width: 1200px;
    text-align: center;
    border: 0.1vh solid #ffd0006e;
  }
  
  .product-main-left {
    text-align: left;
    /* margin-top: -3vh; */
    padding: 1vh;
    margin-right: 2vh;
    /* width: 60%; */
    color: #ffffff;
  }
  
  
  .product-main-right {
    margin-top: 6vh;
    width: 40%;
    padding: 1vh;
  }
  
  .product-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 1vh;
  }
    
  .scan-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 1vh;
  }

  .product-summary h2 {
    font-size: 2vh;
    margin-bottom: 15px;
    color: #ffd000b9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
  }
  
  .product-details {
    margin-top: 2vh;
    flex: 1;
    justify-content: flex-start;
    margin-left: 10px;
    background-color: #11111133;
    padding: 2vh 3vh;
    text-align: left;
    border: 0.1vh solid #ffd0006e;
  }
  
  .product-main-left h3 {
    font-size: 2.5vh;
    color: #ffd000d7;
    margin-bottom: 10px;
  }
  
  .product-main-left h2 {
    font-size: 2vh;
    color: #fff;
    margin-bottom: 10px;
  }
  
  .product-details h3 {
    font-size: 2vh;
    color: #fff;
    margin-bottom: 10px;
    text-align: left; 
  }
  
  
  .product-details p {
    color: #ccc;
    margin: 5px 0;
  }
  
  .product-details .highlight {
    display: flex;
    color: #ffffff;
    margin: 2vh 0;
    padding: 0.2vh 1vh;
    background-color: #ffd0006e;
  }
  
  .stock-count {
    color: #ffffff;
  }
  
  .product-details h4 {
    font-size: 2vh;
    margin-bottom: 15px;
    color: #ffffffb9;
    font-weight: 600;
  }
  
  .price,
  .points {
    font-size: 1.5vh;
    color: #f1f1f1f8;
    display: inline-block;
    margin-left: 5px;
  }
  
  .quantity {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  .quantity input {
    width: 100%;
    padding: 10px;
    font-size: 2vh;
    text-align: center;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 1vh;
    color: #fff;
  }
  
  .quantity-btn {
    background-color: #ffd0006e;
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 2vh;
    cursor: pointer;
    border-radius: 1vh;
    transition: all 0.3s ease;
  }
  
  .quantity-btn:hover {
    background-color: #ffd000b0;
    transform: scale(1.1);
  }
  
  .confirm-btn {
    width: 100%;
    padding: 18px;
    background-color: #ffd0006e;
    color: white;
    border: none;
    font-size: 2vh;
    border-radius: 1vh;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
  }
  
  .confirm-btn:hover {
    background-color: #ffd000b0;
    transform: scale(1.05);
  }
  .back-btn-wrapper {
    margin-bottom: 20px;
    text-align: left;
  }

  .back-btn {
    margin-top: 2vh;
    flex: 1;
    justify-content: flex-start;
    background-color: #ffd00013;
    border: 0.1vh solid #ffd0006e;
    color: white;
    padding: 1vh 1.8vh;
    font-size: 2vh;
    border-radius: 1vh;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .back-btn:hover {
    background-color: #ffd000d8;
    border: 0.1vh solid #ffd0006e;
  
    transform: scale(1.05);
  }


  .upload-container {
    font-size: 1.5vh;
    /* background: rgba(255, 255, 255, 0.05); */
    padding: 30px;
    color: #ffffff;
    border-radius: 20px;
    text-align: center;
    /* box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); */
  }

  input[type="file"] {
    display: none;
  }

  label {
    margin-top: 1vh;
    display: inline-block;
    background-color: #00f7ff00;
    color: #a5a5a5;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  label:hover {
    background-color: #00c3ff00;
  }

  #preview {
    margin-top: 20px;
    max-width: 300px;
    border-radius: 10px;
  }