#cart-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
}

#cart-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  max-width: 800px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  max-height: 90%;
}

#cart-popup-close {
  font-size: 17px;
  cursor: pointer;
}

.woocommerce-cart-form .product-thumbnail img {
  height: 100px !important;
  max-width: 100px !important;
}

.fa .fa-times {
  font-family: FontAwesome !important;
  font-weight: 400 !important;
}

.woocommerce-billing-fields__field-wrapper abbr {
  text-decoration: none !important;
}

.woocommerce-billing-fields__field-wrapper input {
  width: 100% !important;
  height: 40px !important;
}

.side-cart-content .woocommerce-customer-details--phone {
  padding-left: 1px !important;
}
.side-cart-content .woocommerce-customer-details--email {
  padding-left: 1px !important;
}

.side-cart-content .woocommerce-customer-details--email::before,
.side-cart-content .woocommerce-customer-details--phone::before {
  font-family: WooCommerce;
  speak: never;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin-right: 0.618em;
  content: "\e02d";
  text-decoration: none;
  margin-left: 0em !important;
  line-height: 0 !important;
  position: relative !important;
}

.woocommerce-shipping-fields__field-wrapper select,
.woocommerce-billing-fields__field-wrapper select {
  width: 100% !important;
  height: 50px !important;
}


.shipping-calculator-form select {
  height: 50px !important;
}
.shipping-calculator-form input {
  height: 40px !important;
}

.fa {
  font-family: FontAwesome !important;
}

.woocommerce-page .woocommerce-cart-form .product-thumbnail a img {
  max-width: 140px;
}

.product-name a {
  text-decoration: none;
  font-weight: bold;
}

.product-qty-option {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.qty-plus {
  border: 1px solid rgb(9, 101, 241);
  padding: 3px 8px 0px 8px;
  background: rgb(9, 101, 241);
}

.qty-minus {
  border: 1px solid rgb(89, 90, 91);
  padding: 3px 8px 0px 8px;
  background: rgb(89, 90, 91);
}

.minus-sign {
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.plus-sign {
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.remove-btn {
  width: 15%;
}

.product-remove-btn {
  color: red;
  margin-left: auto;
  float: inline-end;
  font-size: 18px;
  cursor: pointer;
}

#cart-popup-content {
  margin-top: 20px !important;
}

#cart-popup h3 {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

hr {
  margin-top: -20px;
  color: #ded9d9 !important;
  border: 2px solid !important;
}

#side-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
}
.top_right{
  right: 20px;
  top: 20%;
}
.top_left{
  left: 20px;
  top: 20%;
}
.bottom_left{
  left: 20px;
  bottom: 20px;
}
.bottom_right{
  right: 20px;
  bottom: 20px;
}
#floating-cart-btn{
  position: fixed;
  background: var(--checkout-btn-bg-color);
  color: var(--checkout-btn-text-color);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 9999;
}
#side-cart-drawer {
  position: fixed;
  top: 0; /* Start at the top of the screen */
  right: 0;
  width: 40%; /* Adjust width as needed */
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  transform: translateX(100%); /* Hidden by default */
  padding: 20px;
  z-index: 99;
  height: 100vh; /* Full height of the viewport */
}

#side-cart-drawer.open {
  transform: translateX(0); /* Show the drawer */
}

.side-cart-title {
  display: flex;
  justify-content: space-between;
  height: 100px !important;
}

#side-cart-close {
  align-items: center;
  justify-content: center;
  display: flex;
}

.side-cart-content {
  height: calc(100vh - 150px); /* Subtract padding from height */
  overflow-y: auto; /* Allow scrolling if content exceeds height */
  padding: 10px;
}
#loader {
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: transparent !important;
  min-height: 0 !important;
  position: relative !important;
}

.spinner {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #090a0a; /* Blue */
  border-radius: 50%;
  width: 10px; /* Size of the spinner */
  height: 10px; /* Size of the spinner */
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

label[for="delete_button"] {
  margin-top: -60px;
}

.cart_back_btn {
  font-size: 20px;
  cursor: pointer;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  float: right;
  margin-bottom: 30px !important;
}

.woocommerce form .form-row textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  outline: 0;
  line-height: normal;
  background: #e8e8e8;
  border: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  outline: 0;
  line-height: normal;
  background: #e8e8e8;
  border: none;
}
.woocommerce-shipping-fields__field-wrapper select,
.woocommerce-billing-fields__field-wrapper select {
  width: 100% !important;
  height: 50px !important;
}

.woocommerce form .form-row select {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  outline: 0;
  line-height: normal;
  background: #e8e8e8;
  border: none;
  padding: 15px;
}

.woocommerce-table--order-details {
  border-collapse: collapse;
  width: 100% !important;
}

.woocommerce-table--order-details td,
.woocommerce-table--order-details th {
  padding: 20px !important;
}

.woocommerce-table--order-details thead tr {
  background: #d3d2d2;
  height: 80px;
}

.woocommerce-table--order-details tbody .cart_item td {
  background: #eeeded;
}

.woocommerce-table--order-details tfoot tr th {
  background: #eeeded;
}


	.cart-collaterals h2 {
  padding: 0;
}
.woocommerce table.shop_table tbody th,
td {
  border: none !important;
}
.coupon button {
  height: 60px;
  width: 35% !important;
  margin: 0 !important;
}
.coupon input {
  height: 60px !important;
  width: 60% !important;
}
table.shop_table.shop_table_responsive {
  border: none;
}
.woocommerce-page table.shop_table td,
.woocommerce-page table.shop_table th {
  padding: 2px;
}
.order-total th {
  font-size: 30px;
  font-weight: 900 !important;
}

.wc-proceed-to-checkout {
    align-items: center;
    justify-content: center;
    display: flex;
    margin-bottom: 20px !important;
}

.cart_totals table th {
  text-align: justify !important;
}

.product-price .woocommerce-Price-amount {
  color: #0b77f0;
  font-size: 20px;
  font-weight: bold;
}

.product-quantity {
  color: #676666;
  font-size: 20px;
  font-weight: bold;
}

.product-cross-btn {
  color: #676666;
  font-size: 20px;
  font-weight: bold;
}

.shipping-calculator-form select {
  height: 50px !important;
}
.shipping-calculator-form input {
  height: 40px !important;
}

.checkout-button {
  width: 80% !important;
  display: block;
  text-align: center;
  background: #0b77f0 !important;
  padding: 12px;
  font-size: 23px;
  text-decoration: none !important;
}

.cart_totals td {
  float: right;
}

.order-total td {
  font-size: 30px;
  font-weight: 900 !important;
  color: #0b77f0;
}
.cart_totals h2 {
    font-size: 2.2rem !important; 
  line-height: 1.3 !important;
}

.woocommerce-checkout-review-order-table {
  border-collapse: collapse;
  width: 100% !important;
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
  padding: 20px !important;
}

.woocommerce-checkout-review-order-table thead tr {
  background: #d3d2d2;
  height: 80px;
}

.woocommerce-checkout-review-order-table tbody .cart_item td {
  background: #eeeded;
}

.woocommerce-checkout-review-order-table tfoot tr th {
  background: #eeeded;
}
.error-message {
  color: red;
}

.woocommerce-table--order-details {
  border-collapse: collapse;
  width: 100% !important;
}

.woocommerce-table--order-details td,
.woocommerce-table--order-details th {
  padding: 20px !important;
}

.woocommerce-table--order-details thead tr {
  background: #d3d2d2;
  height: 80px;
}

.woocommerce-table--order-details tbody .cart_item td {
  background: #eeeded;
}

.woocommerce-table--order-details tfoot tr th {
  background: #eeeded;
}
@media(max-width: 1025px){
  #side-cart-drawer{
    width: 60%;
  }
}
@media only screen and (max-width: 768px) {
  #cart-popup{
    width: 90%;
  }
  #side-cart-drawer {
      width: 90%;
  }

}
@media(max-width: 540px){
  #cart-popup-content div#order_review, 
  .side-cart-content div#order_review{
    padding: 0 10px !important;
  }
}
@media(max-width: 395px){
  
  #side-cart-drawer {
      width: 98%;
      padding:20px 10px;
  }
}