/* =========================================
   PRODUCT SLIDER
========================================= */

.custom-product-slider {
    width: 100%;
    position: relative;
    padding: 10px 0 20px;
}


/* Card */

.custom-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;

    display: flex;
    flex-direction: column;

    border: 1px solid #eeeeee;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);

    transition: all .25s ease;
}


.custom-product-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}


/* Image */

.custom-product-image {
    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f7f7f7;
}


.custom-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    transition: transform .3s ease;
}


.custom-product-card:hover
.custom-product-image img {
    transform: scale(1.04);
}


/* Content */

.custom-product-content {
    padding: 10px;

    display: flex;
    flex-direction: column;

    flex: 1;
}


/* Title */

.custom-product-title {
    margin: 0 0 7px;

    font-size: 20px;
    line-height: 1.35;

    font-weight: 700;

    overflow: hidden;
    white-space: nowrap;
}


.custom-product-title a {
    display: inline-block;
    width: max-content;
    white-space: nowrap;

    color: #222;
    text-decoration: none;

    transform: translateX(0);
}

.custom-product-title.is-marquee a {
    animation: product-title-marquee 6s ease-in-out infinite;
    /* animation-delay: 1.5s; */
}

@keyframes product-title-marquee {

    0% {
        transform: translateX(0);
    }

    35% {
        transform: translateX(0);
    }

    65% {
        transform: translateX(var(--marquee-distance));
    }

    75% {
        transform: translateX(var(--marquee-distance));
    }

    100% {
        transform: translateX(0);
    }

}


/* ACF */

.custom-product-info {
    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-bottom: 8px;
}


.product-info-item {
    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 20px;

    line-height: 1.3;

    color: #555;
}


.product-info-icon {
    width: 18px;

    flex: 0 0 18px;

    text-align: center;
}


/* Price */

.custom-product-price {
    margin-top: auto;

    margin-bottom: 9px;

    color: #e91e63;

    font-size: 20px;

    font-weight: 800;
}

.custom-product-price del {
    color: #999;

    font-size: 20px;

    font-weight: 400;

    margin-right: 4px;
}


.custom-product-price ins {
    text-decoration: none;
}


/* Button */

.custom-product-button {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;

    min-height: 38px;

    background: var(--primary-color);

    color: #fff !important;

    border-radius: 6px;

    font-size: 20px;

    font-weight: 700;

    text-decoration: none !important;

    transition: all .2s ease;
}


.custom-product-button:hover {
    background: #e85f00;

    color: #fff !important;
}


/* Navigation */

.custom-product-prev,
.custom-product-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 30px;

    cursor: pointer;

    color: #333;

    transition: all .2s ease;
}


.custom-product-prev {
    left: 18px;
}


.custom-product-next {
    right: 18px;
}


.custom-product-prev:hover,
.custom-product-next:hover {
    background: #ff7518;

    color: #fff;
}


/* Disabled */

.swiper-button-disabled {
    opacity: .3;

    pointer-events: none;
}


/* Tablet */

@media (max-width: 1199px) {

    .custom-product-prev {
        left: -10px;
    }

    .custom-product-next {
        right: -10px;
    }

}


/* Mobile */

@media (max-width: 767px) {

    .custom-product-content {
        padding: 8px;
    }

    .custom-product-title {
        font-size: 20px;
    }

    .product-info-item {
        font-size: 14px;
    }

    .custom-product-price {
        font-size: 20px;
    }

    .custom-product-button {
        min-height: 34px;

        font-size: 20px;
    }

    .custom-product-prev,
    .custom-product-next {
        width: 30px;
        height: 30px;

        font-size: 23px;
    }

    .custom-product-prev {
        left: 0;
    }

    .custom-product-next {
        right: 0;
    }

}