/* ---------------------------------
 * Base carousel
 * --------------------------------- */
.silent-carousel {
    position: relative;
    width: 100%;
}

.silent-track {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 35px;
    scroll-padding-left: 35px;
    display: flex;
    align-items: center;
}
/*Whishlist icon*/
.ct-wishlist-button-archive {
    color:#fff!important;
 
}
.silent-track::-webkit-scrollbar {
    display: none;
}

.silent-track .products {
    display: flex;
    gap: 45px;
    margin: 0;
    padding: 0;
}

.silent-track .products::after {
    content: "";
    flex: 0 0 1px;
}

.silent-track .product {
    flex: 0 0 calc(100% / var(--silent-columns));
    scroll-snap-align: start;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ---------------------------------
 * Navigation
 * --------------------------------- */
.silent-nav-container {
    position: absolute;
    top: -55px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.silent-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0,0,0,.09);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-palette-color-1)!important;
    transition: transform .4s ease, background-color .4s ease;
}

.silent-prev {
    background-color: #c8cdce!important;
}

.silent-nav:hover {
    transform: scale(1.1);
    background-color: var(--theme-palette-color-2)!important;
}

@media (max-width: 768px) {
    .silent-nav-container {
        display: none;
    }
}

/* ---------------------------------
 * SVG arrows + hover morph
 * --------------------------------- */
.silent-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.silent-nav svg path {
    stroke-dasharray: 24;
    stroke-dashoffset: 0;
    transition:
        stroke-dashoffset .4s ease,
        transform .4s ease;
}

.silent-nav:hover svg path {
    stroke-dashoffset: 6;
}

.silent-prev:hover svg {
    transform: translateX(-2px);
}

.silent-next:hover svg {
    transform: translateX(2px);
}

/* ---------------------------------
 * Fake card
 * --------------------------------- */
.silent-fake-product {
    flex: 0 0 calc(100% / var(--silent-columns));
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-palette-color-2);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    opacity: 0;
    transform: scale(.8);
}

.silent-fake-product.show {
    opacity: 1;
    animation: silent-bounce 1.5s ease forwards;
}

/* Fake card link */
.silent-fake-product a {
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 16px;
    transition: all .6s ease;
}

.silent-fake-product a:hover {
    background-color: var(--theme-palette-color-1);
    padding: 16px 22px;
    border-radius: 20px;
    color: #fff;
}

/* Animation */
@keyframes silent-bounce {
    0%   { transform: scale(.8); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* ---------------------------------
 * Product card hover pop-up animation
 * --------------------------------- */

/* Base transition */
.silent-track .product {
    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease;
    will-change: transform;
}

/* Desktop hover only */
@media (hover: hover) and (pointer: fine) {

    .silent-track .product:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 45px rgba(0,0,0,.18);
        z-index: 5;
    }
}