/* undo icon buton style  */

.kaccas-undo-btn img{
    display: inline-flex !important;
    width: 25px !important;
    height: 25px !important;
    align-items: center !important;
}


.kaccas-icon-only {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.kaccas-icon-only img{
    width: 45px !important;
    height: 45px !important;
    align-items: center !important;
}

.kaccas-icon-only:hover {
    background: none !important;
}
/**/

.woocommerce .return-to-shop,
.woocommerce form {
    display: inline-block !important;
    margin-right: 10px !important;
}


/* icon-text style */
.ka-icon-text img {
    display: inline-flex !important;
    align-items: center;   /* vertical alignment */
    margin-right: 3px !important;    
    width: 25px !important;          /* space between icon & text */
    height: 25px !important;          /* space between icon & text */

}
.ka-icon-text span{
    display: inline-block !important;
    vertical-align: middle !important;
}
/* icon style  */

.ka-icon-button-only {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.ka-icon-button-only img{
    width: 45px !important;
    height: 45px !important;
    align-items: center !important;
}

.ka-icon-button-only {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* ICON ONLY BUTTON */
.ka-icon-button-only {
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 8px;

    height: 40px;          /* match save button */
    line-height: 40px;     /* important for alignment */

    cursor: pointer;
}

/* ICON IMAGE */
.ka-icon-img-button-only {
    width: 40px;
    height: 40px;
    display: block;
}

/* FIX SAVE BUTTON HEIGHT (important for perfect alignment) */


/* OPTIONAL HOVER */
.ka-icon-button-only:hover {
    opacity: 0.7;
}



/* Add padding and center-align text to the container */
.ka_cc_container {
  padding: 50px 5px;
  text-align: center;
}

/* The Modal (background) */
.ka_cc_modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 100000 !important; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  padding-top: 50px;
}

/* Modal Content/Box */
.ka_cc_modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
}

/* Clear floats */
.ka_cc_clearfix::after {
  content: "";
  clear: both;
  display: table;
}


.deletebtn {
  float: none;
  margin-right: 3%;
}

.saved-cart-container .product-quantity{
    width: 100px;
}


.kaccas-clear-cart {
    /*background-color: #f44336 !important;*/
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    cursor: pointer !important;
    width: 85%;
    margin: 0px 20px 20px 20px;
}
/*
.kaccas-clear-cart:hover {
    background-color: #d32f2f !important;
}*/

/* Saved Cart Page - Simple WooCommerce Style */
.saved-cart-container {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin: 20px auto;
    max-width: 800px;
}

.saved-cart-container h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #444;
    font-weight: 600;
}

.saved-cart-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.saved-cart-container li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
}

.saved-cart-container li:last-child {
    border-bottom: none;
}

.saved-cart-container li .product-name {
    font-size: 16px;
    color: #333;
    display: block;
    width: 200px;
}

.saved-cart-container li .product-quantity {
    font-size: 14px;
    color: #666;
}

.afuvc-add-to-cart-button {
    background-color: #0071a1;
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.afuvc-add-to-cart-button:hover {
    background-color: #005f8c;
}

.no-saved-items {
    text-align: center;
    font-size: 16px;
    color: #777;
    margin-top: 20px;
}

.remove-from-saved-cart-button {
    background-color: #dc3545;
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 10px;
}

.remove-from-saved-cart-button:hover {
    background-color: #c82333;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .saved-cart-container{
        overflow-x: scroll;
    }
    .saved-cart-container ul{
            display: table;
    }
    .saved-cart-container ul li button{
        width: max-content;
    }
}

@media (max-width: 600px) {
    .ka_cc_modal-content{
        width: 90% !important;
   }
}

.wc-proceed-to-checkout .button{
    display: inline-flex !important;
}

.wp-block-woocommerce-empty-cart-block .kaccas-undo-btn{
    display: inline-flex !important;

}
.kaccas-undo-btn{

    align-items: center !important;
    justify-content: center !important;
}


.kaccas-undo-button-wrapper{
    display: inline-block!important;
}