/* Minification failed. Returning unminified contents.
(285,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(286,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(290,31): run-time error CSS1039: Token not allowed after unary operator: '-app-spinner-size'
(291,32): run-time error CSS1039: Token not allowed after unary operator: '-app-spinner-size'
 */
/* AI Product Recommendations - Comprehensive Layout Styling */

/* Force dots visibility on all screen sizes */
#productlist-recommendations-container .navigation-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#productlist-recommendations-container .arrow {
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
}

#recommendations-top-container .dots, #productlist-recommendations-container .dots {
    display: flex !important;
    max-width: 100%;
    justify-content: center;
    padding: 0;
    height: auto;
    margin: 0;
}

#recommendations-top-container .keen-slider {
    flex-wrap: nowrap !important;
    overflow: hidden;
}

    #recommendations-top-container .keen-slider .product-block-container {
        width: auto !important;
    }

#recommendation-top.recommendation-base {
    padding: 10px;
}

#recommendations-top-container {
    visibility: hidden;
    /* Completely hides from screen readers and interaction (stronger than opacity) */
    opacity: 0;
    /* Makes element fully transparent for visual fade-in effect */
    max-height: 0;
    /* Collapses container height to create slide-down expansion effect */
    overflow: hidden;
    /* Prevents content from showing while height is collapsed */
    transform: translateY(-30px);
    /* Positions 30px above final position for entrance */
    transition: all 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Animates all properties over 1.7s with smooth custom easing curve */
    margin-bottom: 0;
    /* No bottom spacing initially (expands during animation) */
    position: relative;
    /* Establishes positioning context for transform effects */
}

    #recommendations-top-container.show {
        visibility: visible;
        /* Makes element accessible to screen readers and interaction */
        opacity: 1;
        /* Fully opaque for complete fade-in effect */
        max-height: 2000px;
        /* Expands to accommodate content (creates slide-down effect) */
        transform: translateY(0);
        /* Moves to final position (0px offset) */
        margin-bottom: 0;
        /* Remove spacing below container */
    }

    #recommendations-top-container.closing {
        visibility: hidden;
        /* Hide from screen readers immediately */
        opacity: 0;
        /* Quick fade out */
        max-height: 0;
        /* Collapse height quickly */
        transform: translateY(-15px);
        /* Slide up slightly while closing */
        transition: all 0.9s ease-in;
        /* Much faster closing - 0.6s vs 1.7s opening */
        margin-bottom: 0;
    }

        #recommendations-top-container.closing > * {
            opacity: 0;
            /* Children fade out quickly */
            transform: translateY(-10px);
            /* Children slide up while closing */
            transition: all 0.7s ease-in;
            /* Very fast child element fade - 0.3s with no delay */
        }

    #recommendations-top-container > * {
        opacity: 0;
        /* Child elements start transparent */
        transform: translateY(20px);
        /* Children start 20px below their final position */
        transition: all 1.3s ease-out 0.3s;
        /* 1.3s duration, ease-out timing, 0.3s delay creates staggered effect */
    }

    #recommendations-top-container.show > * {
        opacity: 1;
        /* Children fade in to full opacity */
        transform: translateY(0);
        /* Children slide up to their final position */
    }


    /* Header styling for top recommendations */
    #recommendations-top-container h2 {
        font-size: 24px;
        /* font-weight: bold; */
        /*margin-bottom: 15px;*/
    }


/* Close button styling */
.recommendations-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.8);
    padding: 0;
}

    .recommendations-close-btn img {
        width: 20px !important;
        height: 20px !important;
    }

#recommendations-top-container.show .recommendations-close-btn, #productlist-recommendations-container.loaded .recommendations-close-btn {
    opacity: 1 !important;
    transform: scale(1);
    transition-delay: 0.5s;
}

/* Header row for recommendations with close button */
.recommendations-header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    align-items: center;
    padding: 3px 5px 5px 5px;
}

    .recommendations-header-row h2 {
        margin: 0;
    }

.recommendation-header-right {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}
/* Close button positioning when inside header row */
.recommendations-header-row .recommendations-close-btn {
    position: static;
    margin-left: auto;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    #recommendations-container .navigation-wrapper {
        display: none !important;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .recommendations-close-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .recommendations-header-container {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .recommendations-header {
        font-size: 20px;
    }
}

#productlist-recommendations-container .keen-slider {
    flex-wrap: nowrap !important;
    overflow: hidden;
}


    #productlist-recommendations-container .keen-slider .product-block-container.art-col-6 {
        width: auto !important;
    }

.recommendations-close-btn:active {
    transform: scale(0.95);
}

/* Sponsored indicator styling */
#productlist-recommendations-container .product-recommendation.recommendation-base,
#productlist-recommendations-container .recommendation-base,
#recommendations-container .product-recommendation.recommendation-base,
#recommendations-top-container .product-recommendation.recommendation-base {
    position: relative !important;
    overflow: visible !important;
}

.sponsored-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666666;
    z-index: 100;
    pointer-events: auto;
}

    .sponsored-indicator img {
        width: 14px;
        height: 14px;
        opacity: 0.7;
    }

    .sponsored-indicator span {
        font-weight: 400;
    }

/* Product List Recommendations Container Loader and Error Handling */
#productlist-recommendations-container {
    position: relative;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    #productlist-recommendations-container .recommendation-base {
        padding: 10px !important; /* Override inline style margin: 20px 0 */
    }

    #productlist-recommendations-container .product-recommendation {
        margin-top: 20px;
    }

    #productlist-recommendations-container .productlist-recommendations-container .keen-slider .product-block-container {
        padding: 0px !important;
    }

    /* Loading state - hide content until fully ready */
    #productlist-recommendations-container.loading {
        min-height: 400px;
        /* Show only the loader, hide all content */
    }

        #productlist-recommendations-container.loading .recommendation-base {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: none; /* No transition during loading */
        }

    /* Content ready state - smooth reveal */
    #productlist-recommendations-container.loaded {
        min-height: 0;
    }

        #productlist-recommendations-container.loaded .recommendation-base {
            opacity: 1;
            visibility: visible;
            pointer-events: all;
            transition: opacity 0.5s ease-in-out 0.1s, visibility 0.5s ease-in-out 0.1s;
        }

    /* Clean loader styling */
    #productlist-recommendations-container .loader {
        --app-spinner-size: 50px;
        --app-spinner-border-width: 4px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: calc(var(--app-spinner-size) / -2);
        margin-left: calc(var(--app-spinner-size) / -2);
        z-index: 10;
    }

    /* Hide loader when content is ready */
    #productlist-recommendations-container.loaded .loader {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
    }

    /* Fade out state (for cleanup) */
    #productlist-recommendations-container.fading-out {
        opacity: 0;
        max-height: 0;
        min-height: 0;
        margin: 0;
        overflow: hidden;
        transform: translateY(-10px);
    }

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ==================== SINGLE PRODUCT HORIZONTAL LAYOUT ==================== */
/* Horizontal layout for single product recommendations */

.single-product-layout {
    padding: 10px 10px 15px !important;
}

    .single-product-layout .single-product-card {
        display: flex;
        flex-direction: row;
        gap: 20px;
        background: #FFFFFF;
        border-radius: 0;
        padding: 0;
        align-items: stretch;
        min-height: 200px;
        width: 100%;
    }

        /* Product image section */
        .single-product-layout .single-product-card .product-image-section {
            position: relative;
            flex-shrink: 0;
            width: 280px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 30px;
        }

            .single-product-layout .single-product-card .product-image-section img {
                max-width: 100%;
                max-height: 180px;
                object-fit: contain;
            }

        /* Product info section */
        .single-product-layout .single-product-card .product-info-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 22px 20px 22px 0;
            gap: 10px;
            min-width: 0;
            overflow: hidden;
        }

        /* Category label */
        .single-product-layout .single-product-card .product-category {
            font-family: 'Open Sans', sans-serif;
            font-size: 8px;
            line-height: 11px;
            color: #2F2423;
            text-transform: uppercase;
            margin: 0;
            letter-spacing: 0.5px;
        }

        /* Product title */
        .single-product-layout .single-product-card .product-title {
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            line-height: 19px;
            font-weight: 600;
            color: #000000;
            margin: 0 0 5px 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Product description */
        .single-product-layout .single-product-card .product-description {
            font-family: 'Roboto', sans-serif;
            font-size: 13px;
            line-height: 16px;
            font-weight: 400;
            color: #000000;
            margin: 0;
            flex: 1;
            position: relative;
            z-index: 1;
        }

        /* Read more link */
        .single-product-layout .single-product-card .read-more-link {
            font-size: 11px;
            margin-left: 4px;
            text-decoration: underline;
            transition: opacity 0.2s ease;
            position: relative;
            z-index: 10;
            cursor: pointer;
            pointer-events: auto;
        }

        .single-product-layout .single-product-card .read-more-link:hover {
            opacity: 0.7;
        }

        /* Price and button container */
        .single-product-layout .single-product-card .product-action-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            margin-top: auto;
            flex-wrap: nowrap;
        }

        /* Price section */
        .single-product-layout .single-product-card .product-price-section {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 0 1 auto;
            min-width: 0;
        }

        .single-product-layout .single-product-card .product-current-price {
            font-family: 'Roboto', sans-serif;
            font-size: 20px;
            line-height: 24px;
            font-weight: 700;
            color: #2F2423;
        }

        .single-product-layout .single-product-card .product-previous-price {
            font-family: 'Roboto', sans-serif;
            font-size: 11px;
            line-height: 13px;
            font-weight: 400;
            color: #777676;
            text-decoration: line-through;
        }

        /* Buy button */
        .single-product-layout .single-product-card .product-buy-button {
            background: #008936;
            color: #FFFFFF;
            border: none;
            border-radius: 3px;
            padding: 8px 20px;
            font-family: 'Open Sans', sans-serif;
            font-size: 18px;
            line-height: 25px;
            font-weight: 400;
            cursor: pointer;
            min-width: 167px;
            max-width: 167px;
            width: 167px;
            height: 36px;
            text-align: center;
            transition: background-color 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
            flex-grow: 0;
            flex-basis: auto;
        }

            .single-product-layout .single-product-card .product-buy-button:hover {
                background: #006e2b;
            }

        /* Ensure buy button wrapper doesn't squeeze the button */
        .single-product-layout .single-product-card .buy-button-wrapper {
            flex-shrink: 0;
            flex-grow: 0;
            flex-basis: auto;
            flex: 0 0 auto;
        }

        /* Override any conflicting button styles */
        .single-product-layout .single-product-card .btn {
            min-width: 167px !important;
            width: 167px !important;
            height: 36px !important;
            padding: 8px 20px !important;
            font-size: 18px !important;
            line-height: 25px !important;
            white-space: nowrap !important;
            flex-shrink: 0 !important;
            flex-grow: 0 !important;
        }

        /* Specific override for list-add button */
        .single-product-layout .single-product-card .list-add,
        .single-product-layout .single-product-card .list-add-nobuy {
            min-width: 167px !important;
            width: 167px !important;
            height: 36px !important;
            flex-shrink: 0 !important;
        }

        /* Campaign badge on image */
        .single-product-layout .single-product-card .campaign-badge {
            position: absolute;
            top: 18px;
            left: 200px;
            background: #E60000;
            color: #FFFFFF;
            padding: 4px 8px;
            border-radius: 3px;
            font-family: 'Apotea Sans', sans-serif;
            font-size: 16px;
            line-height: 18px;
            font-weight: 500;
            z-index: 2;
        }

/* Responsive adjustments for tablets */
@media (max-width: 992px) {
    .single-product-layout .single-product-card {
        gap: 15px;
    }

        .single-product-layout .single-product-card .product-image-section {
            width: 220px;
            padding: 15px 20px;
        }

        .single-product-layout .single-product-card .product-info-section {
            padding: 18px 15px 18px 0;
        }

        .single-product-layout .single-product-card .campaign-badge {
            left: 160px;
        }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .single-product-layout .single-product-card {
        flex-direction: column;
        gap: 15px;
        min-height: auto;
    }

        .single-product-layout .single-product-card .product-image-section {
            width: 100%;
            max-height: 200px;
            padding: 20px;
        }

            .single-product-layout .single-product-card .product-image-section img {
                max-height: 150px;
            }

        .single-product-layout .single-product-card .product-info-section {
            padding: 0 15px 15px;
            gap: 8px;
        }

        .single-product-layout .single-product-card .product-title {
            font-size: 14px;
            line-height: 17px;
        }

        .single-product-layout .single-product-card .product-description {
            font-size: 13px;
            line-height: 16px;
            display: none; /* Hide description on mobile */
        }

        .single-product-layout .single-product-card .product-action-row {
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .single-product-layout .single-product-card .product-buy-button,
        .single-product-layout .single-product-card .btn {
            min-width: 120px;
            width: auto;
            flex-shrink: 0;
        }

        .single-product-layout .single-product-card .campaign-badge {
            top: 10px;
            left: 10px;
        }
}

/* Hide the default article block elements when in single product layout */
.single-product-layout .single-product-card .product-block-container {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override default article block styling when used in single product layout */
.single-product-layout .article-box {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    background: #FFFFFF;
    border: none;
    box-shadow: none;
}

/* Additional strong overrides for action wrapper */
.single-product-layout .single-product-card .action {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: 167px !important;
}

    .single-product-layout .single-product-card .action .btn,
    .single-product-layout .single-product-card .action button {
        width: 167px !important;
        min-width: 167px !important;
        max-width: 167px !important;
    }

/* Critical overrides for buy-button-container from BuyButton.css */
.single-product-layout .single-product-card .buy-button-container {
    width: 167px !important;
    min-width: 167px !important;
    max-width: 167px !important;
    height: 36px !important;
    max-height: 36px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: inline-flex !important;
}

    .single-product-layout .single-product-card .buy-button-container .purchase-button,
    .single-product-layout .single-product-card .buy-button-container .product-link-button {
        width: 167px !important;
        min-width: 167px !important;
        max-width: 167px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }

.single-product-layout .single-product-card .buy-button-wrapper {
    width: 167px !important;
    min-width: 167px !important;
    max-width: 167px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 167px !important;
}

