/*
CTC Separate Stylesheet
Updated: 2025-09-10 02:15:09
*/

/* .clsProductlist .woocommerce-ordering{
  display: none!important;
} */

/* .woocommerce .blockUI.blockOverlay::before,
.woocommerce .loader:before {
    content: "";
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -9px;
    margin-top: -9px;
    animation: spin .6s linear infinite;
}

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

.add_to_cart_button.loading:after {
    content: "";
    border: 2px solid #ccc;
    border-top: 2px solid #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-block;
    animation: spin 0.7s linear infinite;
    margin-left: 8px;
}

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



/* WooCommerce AJAX Add to Cart Spinner */
.add_to_cart_button.loading::after,
button.button.loading::after {
  font-family: WooCommerce;
  content: "\e01c";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  line-height: 1;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.add_to_cart_button.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}





/* Quantity wrapper */
.qty-box {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

/* Plus / Minus buttons */
.qty-box button.qty-plus,
.qty-box button.qty-minus {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d1d1;
    background: #f7f7f7;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.2s ease;
}

/* Hover effect */
.qty-box button.qty-plus:hover,
.qty-box button.qty-minus:hover {
    background: #e9e9e9;
    border-color: #c3c3c3;
}

/* Active click effect */
.qty-box button.qty-plus:active,
.qty-box button.qty-minus:active {
    background: #ddd;
}

/* Quantity input */
.qty-box .qty {
    width: 55px;
    height: 32px;
    text-align: center;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    font-size: 16px;
    padding: 0;
    box-sizing: border-box;
}

/* Remove default spinner on some themes */
.qty-box .qty::-webkit-inner-spin-button,
.qty-box .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
}


.qty-spinner {
    margin-top: 5px;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin-qty 0.6s linear infinite;
    display: none;
}

@keyframes spin-qty {
    to { transform: rotate(360deg); }
}


