/*=========================================================
	CART PAGE
===========================================================*/
.update-cart-btn {
    background-color: #2B2D42;
}

    .update-cart-btn:hover {
        background-color: #D10024;
    }
/* Coupon and Update Cart Section Styling */

.cart-actions {
    background-color: #F8F9FA;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.cart-coupon {
    display: flex;
    margin-bottom: 15px;
}

    .cart-coupon input {
        flex: 1;
        height: 40px;
        padding: 0 15px;
        border: 1px solid #E4E7ED;
        border-radius: 40px 0 0 40px;
        background-color: #FFF;
        color: #2B2D42;
        font-weight: 500;
    }

        .cart-coupon input:focus {
            border-color: #D10024;
            outline: none;
        }

    .cart-coupon .primary-btn {
        height: 40px;
        border-radius: 0 40px 40px 0;
        margin-left: -1px;
        padding: 0 20px;
        text-transform: uppercase;
        font-weight: 700;
        border: none;
        background-color: #D10024;
        color: #FFF;
        cursor: pointer;
        transition: 0.2s all;
    }

.cart-actions .primary-btn {
    height: 40px;
    border-radius: 40px;
    padding: 0 20px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    background-color: #2B2D42;
    color: #FFF;
    cursor: pointer;
    transition: 0.2s all;
    display: inline-block;
    text-align: center;
    line-height: 40px;
}

    .cart-actions .primary-btn:hover,
    .cart-coupon .primary-btn:hover {
        background-color: #D10024;
        color: #FFF;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Make it responsive */
@media only screen and (max-width: 767px) {
    .cart-coupon {
        flex-direction: column;
    }

        .cart-coupon input {
            border-radius: 40px;
            margin-bottom: 10px;
        }

        .cart-coupon .primary-btn {
            border-radius: 40px;
            margin-left: 0;
        }

    .cart-actions .primary-btn {
        width: 100%;
        margin-top: 10px;
    }
}
/* Empty Cart Styling */
.empty-cart-container {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    margin: 20px 0 40px;
}

.empty-cart-content {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
}

    .empty-cart-content i {
        color: #D10024;
        margin-bottom: 20px;
        opacity: 0.8;
    }

.empty-cart-title {
    color: #2B2D42;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart-message {
    color: #8D99AE;
    font-size: 16px;
    margin-bottom: 30px;
}

.empty-cart-content .primary-btn {
    background-color: #D10024;
    color: #FFF;
    border-radius: 40px;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
    display: inline-block;
    border: none;
}

    .empty-cart-content .primary-btn:hover {
        background-color: #E4344C;
        color: #FFF;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
/* Cart Table */
.cart-page {
  margin-bottom: 60px;
}

.cart-table {
  margin-bottom: 30px;
}

.cart-table .table {
  margin-bottom: 0;
  border-bottom: 1px solid #e4e7ed;
}

.cart-table thead th {
  font-weight: 700;
  text-transform: uppercase;
  color: #2b2d42;
  font-size: 14px;
  border-top: 0px;
  border-bottom: 2px solid #e4e7ed;
}

.cart-table tbody td {
  padding: 30px 0px;
  vertical-align: middle;
  border-top: 1px solid #e4e7ed;
}

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product .product-img {
  width: 80px;
  margin-right: 15px;
}

.cart-product .product-img img {
  width: 100%;
}

.cart-product .product-body {
  padding-top: 0;
}

.cart-product .product-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.cart-product .product-name a {
  color: #2b2d42;
}

.cart-product .product-name a:hover {
  color: #d10024;
}

.cart-product .product-category {
  font-size: 12px;
  font-weight: 400;
  margin: 5px 0 0 0;
  color: #8d99ae;
}

.cart-price {
  color: #2b2d42;
  font-size: 16px;
  font-weight: 700;
}

.cart-quantity .qty-input {
  display: flex;
  align-items: center;
}

.cart-quantity .qty-input input {
  width: 50px;
  height: 40px;
  padding: 0px 10px;
  border: 1px solid #e4e7ed;
  text-align: center;
  font-size: 14px;
  color: #2b2d42;
  font-weight: 500;
}

.cart-quantity .qty-input button {
  width: 30px;
  height: 40px;
  background-color: #e4e7ed;
  color: #2b2d42;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cart-quantity .qty-input button:hover {
  background-color: #d10024;
  color: #fff;
}

.cart-quantity .qty-input .qty-down {
  border-radius: 40px 0px 0px 40px;
}

.cart-quantity .qty-input .qty-up {
  border-radius: 0px 40px 40px 0px;
}

.cart-total {
  color: #d10024;
  font-size: 16px;
  font-weight: 700;
}

.cart-delete button {
  border: none;
  background-color: transparent;
  color: #8d99ae;
  font-size: 16px;
  cursor: pointer;
}

.cart-delete button:hover {
  color: #d10024;
}

/* Cart Actions */
.cart-actions {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cart-coupon {
  display: flex;
  margin-right: 15px;
}

.cart-coupon input {
  width: 200px;
  height: 40px;
  padding: 0px 15px;
  border: 1px solid #e4e7ed;
  border-right: none;
  border-radius: 40px 0px 0px 40px;
}

.cart-coupon .primary-btn {
  border-radius: 0px 40px 40px 0px;
  height: 40px;
}

.cart-actions .primary-btn {
  height: 40px;
  padding: 0px 20px;
  background-color: #2b2d42;
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
}

.cart-actions .primary-btn:hover {
  background-color: #d10024;
}

/* Cart Summary */
.cart-summary {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 3px;
}

.cart-summary h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
  color: #2b2d42;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e4e7ed;
}

.summary-item span {
  font-size: 14px;
  font-weight: 500;
  color: #8d99ae;
}

.summary-item.total {
  font-size: 18px;
  font-weight: 700;
  color: #2b2d42;
  border-top: 2px solid #e4e7ed;
  border-bottom: none;
  padding-top: 15px;
  margin-top: 15px;
}

.summary-item.total span {
  color: #d10024;
  font-size: 18px;
  font-weight: 700;
}

.checkout-btn {
  margin-top: 30px;
  margin-bottom: 15px;
}

.checkout-btn .primary-btn {
  width: 100%;
  height: 45px;
  background-color: #d10024;
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
}

.checkout-btn .primary-btn:hover {
  background-color: #2b2d42;
}

.continue-shopping {
  text-align: center;
}

.continue-shopping a {
  color: #2b2d42;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}

.continue-shopping a:hover {
  color: #d10024;
}

/* Responsive */
@media only screen and (max-width: 991px) {
  .cart-actions {
    flex-direction: column;
  }

  .cart-coupon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .cart-table .table {
    min-width: 600px;
  }

  .cart-table {
    overflow-x: auto;
  }

  .cart-coupon {
    width: 100%;
  }

  .cart-coupon input {
    flex: 1;
  }
}

@media only screen and (max-width: 480px) {
  .cart-product .product-img {
    width: 60px;
  }

  .cart-product .product-name {
    font-size: 14px;
  }

  .cart-price,
  .cart-total {
    font-size: 14px;
  }

  .cart-quantity .qty-input input {
    width: 40px;
    height: 35px;
  }

  .cart-quantity .qty-input button {
    width: 25px;
    height: 35px;
  }
}
