/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #f7f8fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
}

/* Empty cart */
.container p {
  text-align: center;
  padding: 30px;
  font-size: 1.1rem;
  color: #555;
}

/* Cart Product Card */
.cart-product {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Cart Items */
.cart-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cartabcd {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  flex: 1 1 220px;
}

.cart_imgg {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Product Total */
.cart-product strong {
  font-size: 1.1rem;
  color: #222;
}

/* Remove Button */
.cart_form {
  text-align: right;
}

.qty-btn {
  background: #ff4d4d;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.qty-btn:hover {
  background: #e63939;
}

/* Grand Total */
.cart_divin {
  text-align: right;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
  color: #111;
}

/* Place Order Button */
form[action="checkout"] {
  margin-top: 30px;
}

form[action="checkout"] button {
  background: #ff6600;
  border: none;
  color: #fff;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

form[action="checkout"] button:hover {
  background: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-product {
    padding: 12px;
  }

  .cartabcd {
    flex: 1 1 100%;
  }

  .cart_imgg {
    width: 50px;
    height: 50px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .cart_divin {
    font-size: 1.1rem;
  }

  form[action="checkout"] button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cartabcd {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
  }

  .cart_imgg {
    width: 45px;
    height: 45px;
  }
}

@media(min-width:768px){
.add_bulkviewcart {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    margin: auto;
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 9999;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 5px;
}
}
@media(max-width:768px){
.add_bulkviewcart {
    display: flex;
    justify-content: space-around;
    align-items: start;
    width: 100%;
    margin: auto;
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 9999;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 11px;
}
}
.add_bulkviewcart a {
  flex: 1;
  text-align: start;
  margin: 0 5px;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #313232;
}


.add_bulkviewcart a:hover {
  opacity: 0.9;
}
