.slider-container.cart-slider-block {
    width: 100%;
    max-width: 335px;
}

.cart-slider-block .cart-desktop-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.32px;
    color: #EAD4B5;
}

/* The title renders in PP Fragment with line-height 1: accents and tall letters stuck 4px out of
   its box, and when the slide changed some PCs only repainted the box, leaving bits of the previous
   name above it. Room for the full glyphs inside the box. */
#desktopTitle.cart-desktop-title {
    line-height: 1.2 !important;
    padding-top: 4px;
}

.cart-slider-block .swiper-button-next:after,
.cart-slider-block .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 700;
}

.cart-slider-block .swiper {
    /* width: 100%; */
    background: #EAD4B5;
    border-radius: 4px;
    padding: 20px;
    position: relative;
}

.cart-slider-block .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-slider-block .product-img {
    width: 100%;
    max-width: 95%;
    max-height: 100%;
}

/* Zoom (lupa): clicking the photo or the fixed icon opens the gallery */
.cart-slider-block .product-img {
    cursor: zoom-in;
}

/* Fixed in the card's top-right corner (outside the slides, so it doesn't move with them) */
.cart-slider-block .gq-gallery-zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border: none !important;
    border-radius: 50%;
    background: #443C35 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 15 15' fill='none' stroke='%23F5F6EE' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M14.25 14.25L9.75 9.75M11.25 6A5.25 5.25 0 1 1 .75 6a5.25 5.25 0 0 1 10.5 0Z' stroke-linejoin='round'/%3E%3Cpath d='M6 3.75v4.5M3.75 6h4.5'/%3E%3C/svg%3E") no-repeat center / 16px 16px !important;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-slider-block .gq-gallery-zoom-btn:hover,
.cart-slider-block .gq-gallery-zoom-btn:focus-visible {
    transform: scale(1.1);
}

.cart-slider-block .product-title {
    /* display: none; */
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.24px;
    margin-bottom: 18.35px;
    color: #443C35 !important;
}

/* Desktop bottom */
.cart-slider-block .desktop-info {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    /* color: #fff; */
}

.cart-slider-block .product-code {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.28px;
    color: #8E867F;
}

.cart-slider-block .nav-buttons {
    display: flex;
    gap: 8px;
}

.cart-slider-block .nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #EAD4B5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cart-slider-block .nav-btn svg path {
    transition: stroke 0.2s ease;
}

.cart-slider-block .nav-btn:hover {
    background-color: #EAD4B5;
}

.cart-slider-block .nav-btn:hover svg path {
    stroke: #443C35;
}

.cart-slider-block .nav-btn:active {
    background-color: #D7BC95;
    border-color: #D7BC95;
}

/* Mobile arrows */
.cart-slider-block .swiper-button-prev,
.cart-slider-block .swiper-button-next {
    color: #67685D;
}

/* Progress bar */
.cart-slider-block .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    /* background: rgba(0, 0, 0, 0.1); */
    border-radius: 4px;
    overflow: hidden;
}

.cart-slider-block .progress-fill {
    height: 100%;
    width: 0%;
    background: #D7BC95;
    transition: width 0.3s ease;
}

/* Desktop only */
@media (min-width: 768px) {
    .slider-container.cart-slider-block {
        width: 100%;
        max-width: 335px;
    }

    .cart-slider-block .desktop-info {
        display: flex;
    }

    .cart-slider-block .swiper-button-prev,
    .cart-slider-block .swiper-button-next,
    .cart-slider-block .progress-bar {
        display: none;
    }

    .cart-slider-block .product-title {
        display: none;
    }
}