 .custom-add-to-cart {
    border: none;
    background: #fff;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 25px;
    height: 25px;
    border-radius: 20px;
    padding: 6px;
    position: absolute;
    top: 0;
    left: 90%;
    z-index: 9;
}
    body {
        max-width: 100% !important;
        width: 100% !important;
    }

    .categories {
        display: flex;
        gap: 20px;
        padding: 20px 50px;
        font-size: 14px;
        text-transform: uppercase;
        color: #555;
    }

    .categories span.active {
        font-weight: bold;
        color: #000;
    }

    .content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 50px;
        gap: 50px;
    }

    .content-text {
        max-width: 500px;
    }

    .content-text h2 {
        font-size: 28px;
        line-height: 1.4;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .content-text p {
        font-size: 16px;
        line-height: 1.6;
        color: #555;
    }

    .content img {
        max-width: 400px;
        border: 1px solid #eee;
    }

    .section-title {
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 0;
        font-size: 16px;
        color: #555;
    }

    .product-card {
        position: relative;
    }

    .cart-inner {
        position: absolute !important;
        top: 10px;
        right: 10px;
        width: 16px !important;
        height: 16px;
        background: transparent !important;
        z-index: 1;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Slider Container */
    .slider-container {
        position: relative;
        max-width: 100% !important;
        width: 100% !important;
    }

    .product-slider {
        position: relative;
        display: grid;
        position: relative;
        display: grid;
        grid-template-columns: repeat(auto, 1fr);
        gap: 20px;
    }

    /* Ensure slick slider works with your product list items */
    .product-slider .slick-list {
        margin: 0 -15px;
        padding: 20px 0;
    }

  
    .product-slider .product__list__item {
        margin: 0;
        padding: 0;
        list-style: none;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .product-slider .product__list__item:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    /* Your existing product styles should work, but add these for the slider */
    .product-slider .product__list__item__img {
        position: relative;
        overflow: hidden;
    }

    .product-slider .product-card-media-desktop {
        position: relative;
        overflow: hidden;
    }

    .product-slider .pcm-img {
        width: 100%;
        height: 100%;
        transition: opacity 0.3s ease;
        object-fit: contain;
    }

    .product__list .product__list__item .product__list__item__subtitle {
        font-family: Almarai;
        font-style: normal;
        font-weight: 400;
        font-size: 12px !important;
        line-height: 110%;
        text-align: left;
        color: #767676 !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 6px !important;
    }

    .term-575 .icon_above_image {
        position: absolute;
        z-index: 10;
        margin: 0;
        bottom: 58px;
    }

    .product__list .product__list__item .product__list__item__title {
        font-family: Almarai;
        font-style: normal;
        font-weight: 400;
        font-size: 16px !important;
        line-height: 110%;
        text-align: left;
        text-transform: uppercase !important;
        color: #000;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 6px !important;
    }

    .product-slider .pcm-img--hover {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .product-slider .product__list__item:hover .pcm-img--hover {
        opacity: 1;
    }

    .product-slider .product__list__item:hover .pcm-img--base {
        opacity: 0;
    }

    .product-slider .product-card-media-mobile {
        display: none;
    }

    .product-slider .product__list__item__content {
        padding: 15px 0;
    }

    .product-slider .woocommerce-loop-product__title {
        font-family: Almarai;
        font-style: normal;
        font-weight: 400;
        font-size: 16px !important;
        line-height: 110%;
        text-align: left;
        text-transform: uppercase !important;
        color: #000;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 6px !important;
    }

    .product-slider .woocommerce-loop-product__title a {
        color: inherit;
        text-decoration: none;
    }

    .product-slider .product__list__item__subtitle {
        font-family: Almarai;
        font-style: normal;
        font-weight: 400;
        font-size: 12px !important;
        line-height: 110%;
        text-align: left;
        color: #767676 !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 6px !important;
    }

    span.woocommerce-Price-amount.amount {
        font-family: Almarai;
        font-style: normal;
        font-weight: 600;
        font-size: 12px !important;
        line-height: 110% !important;
        text-align: left;
        text-transform: uppercase;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-bottom: 6px !important;
        display: block;
    }

    .product-size {
        font-family: Almarai;
        font-size: 12px;
        text-align-last: left;
        line-height: 110%;
    }

    .product-slider .price {
        font-size: 16px;
        font-weight: 600;
        color: #000;
        margin-bottom: 15px;
    }

    .product-slider .product-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .product-slider .button.add_to_cart_button {
        background: #000;
        color: #fff;
        border: none;
        padding: 10px 15px;
        font-size: 14px;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex: 1;
        border-radius: 3px;
        text-decoration: none;
        text-align: center;
        transition: background-color 0.3s ease;
    }

    .product-slider .button.add_to_cart_button:hover {
        background: #333;
        color: #fff;
    }

.product-slider .wishlist-icon {
    background: #fff;
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: #767676 !important;
    width: 16px !IMPORTANT;
    height: 15px !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    padding: 0px !important;
}
.term-575 .icon_above_image {
    right: 3%;
}
    .product-slider .wishlist-icon:hover {
        background-color: #f5f5f5;
    }

    /* Mobile styles */
    @media (max-width: 768px) {
        .product-slider .product-card-media-desktop {
            display: none;
        }

        .product-slider .product-card-media-mobile {
            display: block;
        }

        .product-slider .product-actions {
            flex-direction: column;
        }

        .product-slider .button.add_to_cart_button {
            width: 100%;
            margin-right: 0;
        }
    }


    /* Full Width Progress Bar */
    .slider-progress-container {
        width: 96%;
        padding: 0 20px;
        margin-bottom: 85px;
    }

    .slider-progress-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
        max-width: 60% !important;
        margin: 0 auto;
    }

    .slider-progress {
        flex: 1;
        height: 6px;
        background: #f0f0f0;
        border-radius: 3px;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .slider-progress-bar {
        height: 100%;
        background: #000;
        border-radius: 3px;
        transition: width 0.3s ease;
        position: relative;
    }

    .slider-progress-bar::after {
        content: '';
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background: #000;
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .slider-progress:hover .slider-progress-bar::after {
        opacity: 1;
    }

    img.pcm-img.pcm-img--hover {
        object-fit: contain;
        object-position: left;
        border-radius: 0px;
    }

    .slider-counter {
        font-size: 14px;
        color: #555;
        min-width: 80px;
        text-align: center;
        font-weight: bold;
    }

    /* Progress Bar Click Navigation */
    .progress-dots {
        display: flex;
        justify-content: space-between;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        pointer-events: none;
    }

    .progress-dot {
        width: 1px;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        pointer-events: all;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .progress-dot:hover {
        background: rgba(0, 0, 0, 0.3);
    }

    /* Slick Slider Customizations */
    .slick-slide {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }


    .slick-list {
        margin: 0 -15px;
        padding: 20px 0;
    }

    /* Touch improvements */
    .slick-track {
        display: flex !important;
        column-gap: 12px;
    }

    .slick-slide {
        height: inherit !important;
        float: none !important;
    }

    /* Volume Indicator */
.volume-indicator {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

    .progress-dot.active {
        background: #000;
    }

    .slick-slide img {
        width: 100%;
        /*border-radius: 10px;*/
    }

    #error-page {
        margin: 0px !important;
        padding: 0 !important;
    }

    a {
        color: #000 !important;

    }

    li {
        margin-bottom: 0 !important;
    }

    /* Touch Device Improvements */
    @media (hover: none) and (pointer: coarse) {
        .slick-slide:hover {
            transform: none;
        }

        .product-card {
            padding: 0 10px;
        }

        .slider-progress {
            height: 8px;
        }
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .content {
            padding: 30px;
        }

        .slider-container {
            padding: 0 10px;
        }

        .slider-progress-container {
            padding: 0 10px;
        }


        .slick-list {
            margin: 0 -10px;
        }

        .product-card {
            padding: 0 10px;
        }
    }

    @media (max-width: 768px) {
        .slick-slide img {
            width: 100%;
            border-radius: 0px !important;
        }
          .custom-add-to-cart {
        margin-right: 0;
        width: 24px !important;
        height: 24px;
        padding: 6px;
        left: 85% !IMPORTANT;
        top: 8px;
    }

        .content {
            flex-direction: column;
            text-align: center;
            padding: 30px 20px;
        }

        .content-text {
            max-width: 100%;
            margin-bottom: 30px;
        }

        .slider-container {
            padding: 0 10px;
        }

        .slider-progress-container {
            padding: 0 10px;
        }

        .slick-list {
            margin: 0 -10px;
        }

        .product-card {
            padding: 0 10px;
        }

        .product-actions {
            flex-direction: row;
            gap: 10px;
        }

        .custom-add-to-cart {
            width: auto;
            margin-right: 0;
        }

        /* Ensure exactly 2 slides show on mobile */
        .slick-slide {
            margin: 0 5px;
        }

        .slick-list {
            margin: 0 -5px;
        }
         .shop__product {
            padding: 24px 16px;
        }

        .side-image__content-wrap {

            width: 100%;
            padding-inline: 0;

        }

        .side-image__image img {
            margin-right: 0px !important;
        }

        .main {
            padding: 0 10px;
        }

        .side-image__content {
            padding: 0 0px;
        }

        #error-page p,
        #error-page .wp-die-message {
            width: auto;
        }
        .slider-progress-container {
            display: block !important;
            padding: 0 10px;
            margin-bottom: 20px;
        }

        .slider-progress-wrapper {
            flex-direction: row;
            gap: 10px;
        }

        .slider-progress {
            height: 4px;
        }

        .progress-dots {
            display: flex !important;
        }

        .progress-dot {
            width: 1px;
            height: 100%;
            background: #ccc;
            border-radius: 50%;
            margin: 0 2px;
        }

        .progress-dot.active {
            background: #000;
        }
    }

    @media (max-width: 480px) {
    

        .slider-counter {
            order: -1;
        }

        .content-text h2 {
            font-size: 24px;
        }

        .product-actions {
            flex-direction: column;
        }

        .custom-add-to-cart {
            width: 100%;
            margin-right: 0;
        }

        .wishlist-icon {
            align-self: flex-end;
        }
      
    }

    @media (max-width: 500px) {
        .product-slider .slick-list {
            margin: 0 -30px;
        }

        .product-slider .woocommerce-loop-product__title {
            font-size: 12px !important;
        }

        h2.woocommerce-loop-product__title.product__list__item__title {
            font-size: 14px !important;
        }

        .cart-inner {
            right: 16px !important;
        }

        .product-slider .slick-slide {
            padding: 0 0px;
        }

        .product__list .product__list__item .product__list__item__title {
            font-size: 14px !important;
        }

        .container {
            padding: 0px !important;
        }
    }

    @media (max-width: 390px) {
        .product-card.slick-slide.slick-current {
            width: 178px !important;
        }
    }

    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap,4px);
    width: 50%;
    height: 3px;
    border-radius: 0px;
    margin: 0 !important;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    justify-content: center;
}
body .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: -1px !important;
}
.swiper-pagination-bullet-active {
   
    background: #000 !important;
}

/* Badge style */
.outofstock-badge::before {
    content: "Out of Stock";
    position: absolute;
    top: 0px;
    left: 10px;
    background-color: #00000070;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    line-height: 100%;
}

/* Make sure product-card is positioned */
.product-card {
  position: relative;
}

/* Dim the product and prevent hover effects */
.outofstock-badge {
  opacity: 0.7;
  pointer-events: none; /* disable all interactions */
}

/* Specifically disable button visually */
.outofstock-badge .custom-add-to-cart {
  background-color: #ccc !important;
  color: #777 !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}
