.wookit-discount-percentage {
    color: #388e3c;
    font-size: 17px;
    margin-left: 5px;
    font-weight: 600;
}

.wookit-attribute-wrapper {
    margin-bottom: 10px;
}

.wookit-attribute-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.wookit-attribute-select {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out;
}

.wookit-attribute-select:focus {
    border-color: #007cba;
    outline: none;
}

.wookit-attribute-select option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}

.ui-slider .ui-slider-range {
    background: #262626;
}

.ui-slider-horizontal {
    height: 6px !important;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.5em !important;
}

.wookit-price-filter-wrapper {
    padding: 0 15px;
}

.wookit-price-inputs {
    display: flex;
    justify-content: center; /* Center the elements */
    align-items: center;
    gap: 5px;
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.wookit-min-price-input-container {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 40%;
}

.wookit-max-price-input-container {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 60%;
}

.wookit-price-filter-range {
    font-size: 13px;
    line-height: 23px;
}

.wookit-price-filter-range li a {
    color: #333;
}

.wookit-min-price-input {
    width: 100%;
    height: 20px;
    text-align: center;
    font-size: 12px !important;
    border-radius: 3px;
    padding: 0 !important;
}

.wookit-max-price-input {
    width: 100%;
    height: 20px;
    text-align: center;
    font-size: 12px !important;
    border-radius: 3px;
    padding: 0 !important;
}

.wookit-price-range label {
    cursor: pointer;
}

.wookit-price-range input[type="radio"] {
    margin: 0;
    margin-right: .618em;
}

.wookit-price-range.no-products {
    color: #ccc;
}

.wookit-price-range.no-products input[type="radio"]:hover {
    cursor: not-allowed;
}

.wookit-price-range.no-products label {
    cursor: not-allowed;
}

.wookit-price-range input[type="radio"]:hover {
    background-color: #000;
}

.wookit-price-filter-range {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Carousel container styling */
.categories-carousel-container {
    max-width: 1200px; /* Maximum width of the carousel */
    margin: auto; /* Center the carousel */
    position: relative;
}

/* Slick list adjustments for arrow visibility */
.slick-list {
    margin: 0 40px; /* Add horizontal space for arrows */
}

/* Carousel item styling */
.categories-carousel-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensure the image corners are rounded */
    text-align: center; /* Center text */
    padding: 15px; /* Padding around text */
    background: #ffffff; /* Background color */
    margin: 10px; /* Space between carousel items */
    transition: transform 0.3s ease; /* Smooth scaling effect */
}

.categories-carousel-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.carousel-category-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Text styling within each carousel item */
.categories-carousel-item .carousel-category-name {
    font-size: 16px; /* Text size */
    color: #333; /* Text color */
    margin: 0; /* Remove default margins */
}

/* Hover effect for carousel items */
.categories-carousel-item:hover {
    transform: scale(1.05); /* Slightly enlarge items on hover */
}

/* Arrow styling */
.slick-prev, .slick-next {
    font-size: 0; /* Hide the default text */
    color: transparent; /* Hide default arrow color */
    background-color: transparent; /* Transparent background */
    border: none;
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    cursor: pointer;
    width: 40px; /* Width of the arrows */
    height: 40px; /* Height of the arrows */
}

.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* Ensure solid style is used */
    font-size: 24px; /* Arrow size */
    color: #333; /* Arrow color */
}

.slick-prev {
    left: -60px; /* Adjust left position */
}

.slick-next {
    right: -60px; /* Adjust right position */
}

/* Clear default arrows and use FontAwesome icons */
.slick-prev:before {
    content: '\f104'; /* FontAwesome left arrow */
}

.slick-next:before {
    content: '\f105'; /* FontAwesome right arrow */
}

/* Ensure the arrows are visible */
.slick-prev,
.slick-next {
    display: block;
}

.categories-carousel-container.hide-arrows .slick-prev,
.categories-carousel-container.hide-arrows .slick-next {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slick-prev, .slick-next {
        left: 10px; /* Adjust the left position for smaller screens */
        right: 10px; /* Adjust the right position for smaller screens */
    }

    .categories-carousel-item .carousel-category-name {
        font-size: 14px; /* Smaller text on mobile */
    }
}

.wookit-checkout-product-image {
    display: inline-block;
}

.woocommerce-checkout-review-order-table tr {
    align-items: center;
}

.wookit-quantity-buttons-container {
    display: flex;
    gap: 10px; 
}

.wookit-buttons-container {
    display: flex;
    gap: 10px; 
}

#wookit-sticky-bar-shipping-cart-content {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 14px 3px rgba(0,0,0,0.2);
    z-index: 9999;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.wookit-free-shipping-progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#wookit-free-shipping-bar-message {
    padding-left: 70px;
}

#wookit-free-shipping-progress-icon {
    position: absolute;
    top: -18px;
    left: 20px;
}

#wookit-free-shipping-progress-icon svg {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0px -4px 9px 0px rgba(0,0,0,0.2);
}

#wookit-sticky-bottom-menu-bar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 55px;
    padding: 10px;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 9px rgba(0,0,0,0.12);
    z-index: 9999;
}

#wookit-sticky-bottom-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 40px;
}

.wookit-menu-items {
  text-align: center;
  flex-grow: 1;
  margin: 0;
}

.wookit-menu-items a {
  text-decoration: none;
  color: #333;
  font-size: 12px;
}

.wookit-menu-items .fa, .wookit-menu-items .fas {
    font-size: 20px;
}

.wookit-menu-items i,
.wookit-menu-items img {
  display: block;
  margin: 0 auto;
  width: 20px;
  height: 20px;
}

.wookit-menu-items img {
  max-width: 100%;
  height: auto;
}

.wookit-menu-items .wookit-menu-item-label {
  display: block;
  margin-top: 3px;
}

#wookit-sticky-free-shipping {
    padding: 10px;
    text-align: center;
    background-color: #eee;
}

#wookit-sticky-view-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #eee;
}

#wookit-variation-modal-container .wookit-variable-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
}

#wookit-variation-modal-container .wookit-variable-quantity input[type=number] {
    width: 60px;
    padding: 5px 12px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    color: #555;
    background-color: #fff;
}

#wookit-variation-modal-container .wookit-variable-quantity button {
    cursor: pointer;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1.2;
    width: 30px;
    height: 30px;
}

#wookit-variation-modal-container .wookit-variable-quantity button:hover {
    background-color: #e7e7e7;
}

#wookit-variation-modal-container .wookit-variable-quantity button:focus {
    outline: none;
}

/* Disabling spinners on number inputs */
#wookit-variation-modal-container .wookit-variable-quantity input::-webkit-outer-spin-button,
#wookit-variation-modal-container .wookit-variable-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#wookit-variation-modal-container .wookit-variable-quantity input[type=number] {
    -moz-appearance: textfield;
}

#wookit-variation-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center; 
    justify-content: center; 
}

#wookit-variation-modal {
    position: relative;
    background-color: #fff;
    width: 80%;
    max-width: 500px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

#wookit-variation-modal-container .wookit-modal-close-btn {
    position: absolute;
    top: -20px;
    right: -35px;
    font-size: 35px;
    cursor: pointer;
    color: #fff;
}

#wookit-variation-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

#wookit-product-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

.wookit-product-image {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wookit-product-image img {
    max-height: 200px;
    object-fit: contain;
}

.variations_form {
    flex: 1; 
    text-align: left;
}

.variations_form .variation {
    margin-bottom: 10px;
}

.variations_form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1em;
}

.variations_form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    height: 40px;
}

#price-display {
    font-size: 1.5em;
    font-weight: bold;
}

button {
    background-color: #0071a1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1em;
}

button:hover {
    background-color: #005c81;
}

.wookit-price-button-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wookit-confirm-button-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.wookit-add-to-cart-button {
    position: relative;
    display: inline-block;
}

.add-to-cart-btn-no-qty-container {
    position: relative;
    display: inline-block;
}

.add-to-cart-btn-no-qty-container .simple-add-to-cart-button-no-qty,
.add-to-cart-btn-no-qty-container .wookit-variable-add-to-cart-button {
    width: 100%;
}

.wookit-loading-button {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: buttonspin 1s linear infinite;
    position: absolute; /* Absolute position relative to the button */
    top: 50%;
    left: 50%;
    z-index: 10; /* Ensure it's above the button */
}

@keyframes buttonspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.add-to-cart-btn-no-qty-container.button-loading-animation {
    opacity: 0.7;
    pointer-events: none;
}

.wookit-simple-add-to-cart-button.button-loading-animation {
    opacity: 0.7; /* Make the button look disabled */
    pointer-events: none; /* Prevent further clicks */
}

.wookit-buy-now-button {
    position: relative; /* Add this line */
}

.wookit-buy-now-button.buy-now-button-loading-animation {
    opacity: 0.7; /* Make the button look disabled */
    pointer-events: none; /* Prevent further clicks */
}

.wookit-buy-now-loading-button {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: buttonspin 1s linear infinite;
    position: absolute; /* Absolute position relative to the button */
    top: 50%;
    left: 50%; /* Adjust this value to move the spinner left or right */
    z-index: 10; /* Ensure it's above the button */
    transform: translate(-50%, -50%); /* Adjust this value to fine-tune the vertical position */
}

@keyframes buttonspin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.wookit-quantity-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.wookit-quantity-btn, .wookit-quantity-number {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wookit-quantity-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -12px; /* Half of the height to center it */
    margin-left: -12px; /* Half of the width to center it */
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: quantityspin 1s linear infinite;
}

@keyframes quantityspin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wookit-quantity-number.quantity-loading-animation {
    opacity: 0.7;
}

/* Responsiveness */
@media (max-width: 480px) {
    
#wookit-variation-modal-container {
    align-items: flex-end; 
    justify-content: center;
}

#wookit-variation-modal {
    width: 100%;
    padding: 15px;
    max-width: none;
    border-radius: 15px 15px 0 0;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#wookit-variation-modal.active {
    transform: translateY(0);
}

#wookit-variation-modal-container .wookit-modal-close-btn {
    top: -6px;
    right: 12px;
    color: #111;
}
}