/* Shop The Look - Frontend Styles */

.stl-section {
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
}



/* Carousel */
.stl-carousel {
    position: relative;
    overflow: hidden;
}

.stl-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.stl-look-item {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}



/* Image Wrapper with Hotspots */


.stl-look-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Hotspot Dots */
.stl-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.stl-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.stl-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: none;
}

.stl-dot.is-active::after {
    opacity: 1;
    animation: stl-pulse 2s ease-out infinite;
}

@keyframes stl-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Product List - Desktop */
.stl-product-list {
    flex: 0 0 280px;
    max-width: 280px;
}

.stl-product-slider {
    position: relative;
    overflow: hidden;
}

.stl-product-card {
    display: none;
}

.stl-product-card.is-active {
    display: block;
}

.stl-product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.stl-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.stl-product-image--hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.stl-product-image-wrapper:hover .stl-product-image--main {
    opacity: 0;
}

.stl-product-image-wrapper:hover .stl-product-image--hover {
    opacity: 1;
}

/* Product Buttons - Hover Effect */
.stl-product-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.stl-product-image-link {
    position: relative;
    display: block;
}

.stl-product-image-link:hover .stl-product-buttons {
    opacity: 1;
    transform: translateY(0);
}

.stl-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.stl-btn-cart {
    background: #1a1a1a;
    color: #fff;
}

.stl-btn-cart:hover {
    background: #333;
}

.stl-btn-buy {
    background: #8b7355;
    color: #fff;
}

.stl-btn-buy:hover {
    background: #6d5a44;
}

/* Product Info */
.stl-product-info {
    padding: 15px 0;
    text-align: center;
}

.stl-product-name {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.4;
}

.stl-product-name a {
    color: inherit;
    text-decoration: none;
}

.stl-product-name a:hover {
    text-decoration: underline;
}

.stl-product-price {
    font-size: 14px;
    color: #666;
}

/* View Product Button */
.stl-view-product-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.stl-view-product-btn:hover {
    background: #333;
    color: #fff;
}

/* Pagination Dots */
.stl-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.stl-page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.stl-page-dot.is-active {
    background: #1a1a1a;
}

/* Navigation Arrows */
.stl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stl-nav:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.stl-nav-prev {
    left: 20px;
}

.stl-nav-next {
    right: 20px;
}

/* Mobile Bottom Sheet */
.stl-mobile-sheet {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.stl-mobile-sheet.is-open {
    display: block;
}

.stl-sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stl-mobile-sheet.is-open .stl-sheet-overlay {
    opacity: 1;
}

.stl-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
	border-radius: 20px 20px 0 0;
    padding: 15px 20px 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.stl-mobile-sheet.is-open .stl-sheet-content {
    transform: translateY(0);
}

.stl-sheet-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* Mobile Sheet Slider */
.stl-sheet-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 15px;
}

.stl-sheet-slider::-webkit-scrollbar {
    display: none;
}

.stl-sheet-product {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background: #fff;
}

.stl-sheet-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.stl-sheet-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stl-sheet-product-info {
    padding: 15px 0;
}

.stl-sheet-product-name {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 8px;
}

.stl-sheet-product-name a {
    color: inherit;
    text-decoration: none;
}

.stl-sheet-product-price {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.stl-sheet-buttons {
    display: flex;
    gap: 10px;
}

.stl-sheet-buttons .stl-btn {
    flex: 1;
    padding: 14px;
}

/* Mobile Sheet Pagination */
.stl-sheet-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
}

.stl-sheet-pagination .stl-page-dot {
    width: 6px;
    height: 6px;
}

/* Hidden on Mobile */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .stl-look-inner {
        flex-direction: column;
    }

    .stl-image-wrapper {
        max-width: 100%;
    }

    .stl-nav {
        width: 40px;
        height: 40px;
    }

    .stl-nav-prev {
        left: 10px;
    }

    .stl-nav-next {
        right: 10px;
    }

    .stl-title {
        font-size: 22px;
    }
	
}

/* Loading State */
.stl-loading {
    position: relative;
    pointer-events: none;
}

.stl-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: stl-spin 0.8s linear infinite;
}

@keyframes stl-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.stl-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a1a;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.stl-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}