* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

    body {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  background-image: url("/assets/images/Our background.png");
  background-size: cover;              /* stretches to cover full screen */
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  height: 100%;
}

    .checkout-container {
      max-width: 600px;
      margin: auto;
      background: #1f2937;
      padding: 32px;
      border-radius: 16px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    }

    h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #ffffff;
      letter-spacing: 1px;
    }

    .cart-items {
      margin-bottom: 30px;
    }

    .shipping-field label {
      color: #fff;
    }

    .shipping-field select {
      background: #2e0249;
      color: #fff;
      border: none;
      padding: 8px;
      border-radius: 8px;
      width: 100%;
      margin-top: 4px;
    }

    .cart-item {
  justify-content: space-between;
  gap: 16px;
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      background: #111827;
      border-radius: 10px;
      padding: 10px;
    }

    .cart-item img {
      width: 70px;       /* or use 100% if you want it to scale */
      height: auto;
      object-fit: contain;
      border-radius: 8px;
      margin-right: 16px;
    }


    .cart-item-details {
      flex: 1;
    }

    .cart-item-details h4 {
      margin: 0;
      font-size: 1.1rem;
      color: #f3f4f6;
    }

    .cart-item-details p {
      margin: 4px 0;
      color: #9ca3af;
      font-size: 0.9rem;
    }

    .btn {
      width: 100%;
      background: #10b981;
      color: white;
      border: none;
      padding: 14px;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.3s ease;
      margin-top: 15px;
      text-align: center;
      display: block;
      text-decoration: none;
    }

    .btn:hover {
      background: #059669;
    }

    .btn.red {
      background: #ef4444;
    }

    .btn.red:hover {
      background: #dc2626;
    }

    .btn.gray {
      background: #374151;
    }

    .btn.gray:hover {
      background: #4b5563;
    }

    .navbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: fixed;
  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  z-index: 1000;
}


.navbar a, .dropdown .dropbtn {
  font-size: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.3s ease;
  border-radius: 8px;
}


.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red; 
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 12px;
}

.dropdown-content a {
  float: none;
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #575656;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cart-actions button {
  background-color: #374151;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-actions button:hover {
  background-color: #4b5563;
}

.cart-actions .remove-btn {
  background-color: #ef4444;
}

.cart-actions .remove-btn:hover {
  background-color: #dc2626;
}
.btn-fixed {
  width: 100%;
  display: block;
  margin-top: 10px;
  padding: 14px;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
}
#cart-container {
      position: fixed;
      top: 150px;
      right: 10px;
      background: #282828;
      padding: 10px 15px;
      border-radius: 10px;
      box-shadow: 0 0 12px #f314ff;
      z-index: 9999;
      color: #f314ff;
    }

    .cart-link {
      background: #3fff43;
      color: black;
      padding: 6px 12px;
      border-radius: 6px;
      margin-left: 10px;
      text-decoration: none;
      font-weight: bold;
    }

    .cart-link:hover {
      background: #2ecc71;
    }
@media (max-width: 768px) {
  
   body {
    background-image: url('/assets/images/mobileBCKG.png'); /* replace with correct path */
    background-repeat: repeat-y;
    background-size: cover; /* Or 'contain' if you want it more exact */
    background-position: center top;
    background-attachment: scroll;
    background-color: #154734; /* solid green fallback */
  }
  
  #cart-container {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: #282828;
      padding: 10px 15px;
      border-radius: 10px;
      box-shadow: 0 0 12px #f314ff;
      z-index: 9999;
      color: #f314ff;
    }

  .cart-link {
    margin-left: 20px;
  }

.product {
        margin-top: 140px;
        margin-left: 20px;
        margin-right: 20px;
        }
        body {
    padding: 20px 10px;
  }
  .checkout-container {
    padding: 16px;
    max-width: 100%;
    border-radius: 12px;
  }

  .cart-item {
  justify-content: space-between;
  gap: 16px;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    margin-bottom: 12px;
  }

  .cart-item img {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-right: 10px;
  }

  .cart-item-details {
    width: 100%;
  }

  .cart-item-details h4 {
    font-size: 1rem;
  }

  .cart-item-details p {
    font-size: 0.85rem;
    margin: 2px 0;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px;
    margin-top: 10px;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .navbar a, .dropdown .dropbtn {
    font-size: 14px;
    padding: 10px 12px;
  }

  .dropdown-content {
    min-width: 140px;
  }
}