/* Product Slider - continuous, single-direction auto slider */

.lns-product-slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.lns-product-slider-scroller {
    overflow: hidden;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.lns-product-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--lns-ps-gap, 20px);
    width: max-content;
    will-change: transform;
}

.lns-ps-item {
    flex: 0 0 var(--lns-ps-item-width, 300px);
    width: var(--lns-ps-item-width, 300px);
    box-sizing: border-box;
    text-align: center;
}

.lns-ps-item-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden !important;
    background: var(--lns-ps-tile-bg, #000);
    border-radius: var(--lns-ps-radius, 2px);
}

.lns-ps-item-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    transition: transform .35s ease;
}

.lns-ps-hover-zoom .lns-ps-item-image:hover img {
    transform: scale(1.08);
}

.lns-ps-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .25s ease;
    text-align: center;
    padding: 10px;
}

.lns-ps-item-image:hover .lns-ps-item-overlay {
    opacity: 1;
}

.lns-ps-item-title {
    display: block !important;
    margin-top: 14px;
    font-size: var(--lns-ps-title-size, 14px);
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--lns-ps-title-color, #1a1a1a);
    text-decoration: none !important;
    line-height: 1.3;
}

.lns-ps-title-underline .lns-ps-item-title {
    text-decoration: underline !important;
}

.lns-ps-item-title:hover {
    color: #555;
}

.lns-ps-item-price {
    font-size: 14px;
    color: #777;
    margin-top: 6px;
}

.lns-ps-item-price .amount {
    color: #333;
}

.lns-ps-item-btn {
    margin-top: 10px;
}

.lns-ps-item-btn a.button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
}

/* --- Nav arrows --- */
.lns-ps-nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--lns-ps-arrow-color, #e8622c);
    color: #fff;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.lns-ps-nav:hover {
    filter: brightness(0.88);
}

.lns-ps-nav:active {
    filter: brightness(0.78);
}

.lns-ps-nav:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .18);
}

.lns-ps-nav:focus:not(:focus-visible) {
    box-shadow: none;
}

@media (max-width: 600px) {
    .lns-product-slider-wrap {
        gap: 8px;
    }
    .lns-ps-nav {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* --- Overlay nav style: arrows layered on top of the first/last image --- */
.lns-ps-nav-overlay {
    display: block;
    position: relative;
    gap: 0;
}

.lns-ps-nav-overlay .lns-product-slider-scroller {
    width: 100%;
}

.lns-ps-nav-overlay .lns-ps-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.lns-ps-nav-overlay .lns-ps-nav-prev {
    left: 0;
}

.lns-ps-nav-overlay .lns-ps-nav-next {
    right: 0;
}
