/* YouParfum Luxury Shop & Catalog Filters Styles */
/* ==============================================================
       RESET & HIDE ALL DEFAULT WOODMART CLUTTER
       ============================================================== */
.woocommerce-products-header__title.page-title,
.page-title-default,
.wd-page-title,
.page-title,
.woocommerce-breadcrumb,
.wd-breadcrumbs,
.breadcrumb,
.woodmart-shop-tools,
.wd-shop-tools,
.shop-loop-head,
.woodmart-products-shop-view,
.woodmart-products-per-page,
.wd-products-shop-view,
.wd-products-per-page,
.woodmart-woocommerce-ordering,
.woocommerce-ordering,
.wd-filter-buttons,
.filters-area,
.woocommerce-result-count,
.wd-show-sidebar-btn,
.woocommerce-shop .sidebar-container,
.woocommerce-shop .woodmart-sidebar,
.tax-product_cat .sidebar-container,
.tax-product_cat .woodmart-sidebar,
.tax-product_tag .sidebar-container,
.tax-product_tag .woodmart-sidebar,
.area-sidebar-shop,
aside.sidebar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    border: none !important;
}

body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
    background-color: #ffffff !important;
    padding-top: 96px !important;
    font-family: var(--yp-font-sans, 'AvantGardeGothic', sans-serif) !important;
    color: #111111 !important;
}

@media (max-width: 991px) {

    body.woocommerce-shop,
    body.tax-product_cat,
    body.tax-product_tag {
        padding-top: 74px !important;
    }
}

.admin-bar body.woocommerce-shop,
body.woocommerce-shop.admin-bar,
.admin-bar body.tax-product_cat,
body.tax-product_cat.admin-bar {
    padding-top: 128px !important;
}

.woocommerce-shop .main-page-wrapper,
.tax-product_cat .main-page-wrapper,
.tax-product_tag .main-page-wrapper,
.yp-sephora-body-layout {
    background-color: #ffffff !important;
}

.woocommerce-shop .main-page-wrapper,
.tax-product_cat .main-page-wrapper,
.tax-product_tag .main-page-wrapper {
    padding-top: 0 !important;
    padding-bottom: 70px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {

    .woocommerce-shop .main-page-wrapper,
    .tax-product_cat .main-page-wrapper,
    .tax-product_tag .main-page-wrapper,
    body.woocommerce-shop,
    body.archive.woocommerce {
        padding-bottom: 0 !important;
    }
}

.woocommerce-shop .content-layout-wrapper,
.tax-product_cat .content-layout-wrapper,
.tax-product_tag .content-layout-wrapper,
.woocommerce-shop main.wd-content-layout,
.tax-product_cat main.wd-content-layout,
.woocommerce-shop .container,
.tax-product_cat .container,
.tax-product_tag .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.woocommerce-shop .site-content,
.tax-product_cat .site-content,
.tax-product_tag .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* ==============================================================
       1. CINEMATIC OBSIDIAN SHOP HERO BANNER (100% FULL BLEED EDGE-TO-EDGE)
       ============================================================== */
.yp-shop-hero-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 0 24px 0 !important;
    background-color: #080808 !important;
    background-position: right 4% center !important;
    background-size: auto 86% !important;
    background-repeat: no-repeat !important;
    color: #ffffff;
    min-height: 440px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 56px clamp(24px, 5vw, 80px) !important;
    box-sizing: border-box;
    border-bottom: 1px solid #141414;
    overflow: hidden;
    isolation: isolate;
    transition: background-image 0.4s ease-in-out;
}

/* Vintage vault image is panoramic (2400x500), cover works best */
.yp-shop-hero-wrapper.yp-hero-vintage {
    background-size: cover !important;
    background-position: center center !important;
}

.yp-shop-hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.70) 42%, rgba(6, 6, 6, 0.20) 75%, transparent 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.50) 0%, transparent 35%);
    z-index: 1;
    pointer-events: none;
}

.yp-shop-hero-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
}

.yp-shop-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #d0d0d0;
    margin-bottom: 16px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.yp-shop-breadcrumbs a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s;
}

.yp-shop-breadcrumbs a:hover {
    color: #ffffff;
}

.yp-shop-breadcrumbs .sep {
    color: #777777;
}

.yp-shop-breadcrumbs .active {
    color: #ffffff;
    font-weight: 700;
}

.yp-shop-brand-logo-wrap {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.yp-shop-brand-logo {
    max-height: 42px;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    opacity: 0.95;
}

.yp-shop-kicker {
    font-family: var(--yp-font-sans, 'AvantGardeGothic', sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 3.5px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 12px !important;
    display: block !important;
    text-shadow: none !important;
}

.yp-shop-title {
    font-family: var(--yp-font-sans, 'AvantGardeGothic', sans-serif) !important;
    font-size: clamp(30px, 4vw, 48px) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
}

.yp-shop-desc {
    max-width: 620px !important;
    font-family: var(--yp-font-sans, 'AvantGardeGothic', sans-serif) !important;
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 16px 0 !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 0.3px !important;
}

.yp-shop-guarantee-ribbon {
    display: inline-flex !important;
    align-items: center !important;
    gap: clamp(10px, 2vw, 24px) !important;
    background: rgba(15, 15, 15, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 9px 24px !important;
    border-radius: 9999px !important;
    font-family: var(--yp-font-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin-top: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.yp-ribbon-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.yp-ribbon-item svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2.2;
}

.yp-ribbon-dot {
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .yp-shop-hero-wrapper {
        min-height: 390px !important;
        background-size: auto 82% !important;
        background-position: right 2% center !important;
    }

    .yp-shop-hero-wrapper.yp-hero-vintage {
        background-size: cover !important;
        background-position: center center !important;
    }
}

@media (max-width: 768px) {
    .yp-shop-hero-wrapper {
        min-height: 280px !important;
        padding: 34px 5vw 28px !important;
        margin-bottom: 18px !important;
        background-size: cover !important;
        background-position: center 25% !important;
    }

    .yp-shop-hero-wrapper.yp-hero-vintage {
        background-position: center center !important;
    }

    .yp-shop-hero-wrapper::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.92) 100%) !important;
    }

    .yp-shop-hero-inner {
        align-items: center !important;
        text-align: center !important;
    }

    .yp-shop-brand-logo-wrap {
        justify-content: center !important;
    }

    .yp-shop-title {
        font-size: 26px !important;
        letter-spacing: -0.4px !important;
        text-align: center !important;
    }

    .yp-shop-desc {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin: 0 auto 18px auto !important;
        text-align: center !important;
    }

    .yp-shop-guarantee-ribbon {
        padding: 7px 14px !important;
        font-size: 9.5px !important;
        gap: 8px !important;
    }
}

/* Hide native Woodmart labels that clash with custom luxury badge */
.product-grid-item .product-labels,
.product-grid-item .wd-product-badges,
.product-grid-item .onsale,
.product-grid-item .out-of-stock-label,
.product-grid-item .badge {
    display: none !important;
}

/* ==============================================================
       2. REFINED HORIZONTAL CATEGORY CAPSULES CAROUSEL
       ============================================================== */
.yp-sephora-category-carousel {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 clamp(16px, 2.5vw, 36px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Gradual Fade Scroll for Horizontal Filters */
.yp-sephora-category-carousel::before,
.yp-sephora-category-carousel::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 8px !important;
    width: 36px !important;
    pointer-events: none !important;
    z-index: 6 !important;
    transition: opacity 0.25s ease !important;
}

.yp-sephora-category-carousel::before {
    left: 0 !important;
    background: linear-gradient(to right, #ffffff 15%, rgba(255, 255, 255, 0) 100%) !important;
    opacity: var(--yp-fade-left, 0) !important;
}

.yp-sephora-category-carousel::after {
    right: 0 !important;
    background: linear-gradient(to left, #ffffff 15%, rgba(255, 255, 255, 0) 100%) !important;
    opacity: var(--yp-fade-right, 1) !important;
}

.yp-carousel-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 50px 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, var(--yp-mask-left, 1)) 0%, #000000 24px, #000000 calc(100% - 28px), rgba(0, 0, 0, var(--yp-mask-right, 0)) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, var(--yp-mask-left, 1)) 0%, #000000 24px, #000000 calc(100% - 28px), rgba(0, 0, 0, var(--yp-mask-right, 0)) 100%);
}

.yp-carousel-scroll::-webkit-scrollbar {
    display: none;
}

.yp-category-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 16px !important;
    border-radius: 9999px !important;
    background: #ffffff !important;
    border: 1px solid #e5dfd2 !important;
    color: #222222 !important;
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 4px rgba(32, 28, 22, 0.04) !important;
}

.yp-category-pill:hover {
    background: #f7f5f0 !important;
    border-color: #111111 !important;
    color: #000000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}

.yp-category-pill.is-active {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
}

.yp-carousel-arrow-wrap {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 8px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 45%, #ffffff 100%);
    pointer-events: none;
    z-index: 5;
}

.yp-carousel-arrow {
    width: 28px;
    height: 28px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s ease;
    padding: 0;
    color: #111111;
}

.yp-carousel-arrow:hover {
    background: transparent !important;
    color: #C9A96E !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateX(2px);
}

.yp-carousel-arrow svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

/* ==============================================================
       3. SEPHORA EXACT TWO-COLUMN LAYOUT ON THE PAGE (DESKTOP)
       ============================================================== */
.yp-sephora-body-layout {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 2vw, 32px);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 clamp(16px, 2.5vw, 36px) 50px !important;
    box-sizing: border-box !important;
}

/* SPATIOUS RESPONSIVE PRODUCT GRID (4 COLS ON LARGE LAPTOPS/DESKTOPS) */
@media (min-width: 1360px) {

    .woocommerce-shop .products.wd-products,
    .tax-product_cat .products.wd-products,
    .tax-product_tag .products.wd-products {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 26px 22px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1359px) {

    .woocommerce-shop .products.wd-products,
    .tax-product_cat .products.wd-products,
    .tax-product_tag .products.wd-products {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 22px !important;
    }
}

/* LEFT COLUMN: FILTRI SIDEBAR (IN-PAGE, NOT A DRAWER) */
.yp-sephora-filters-sidebar {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    box-sizing: border-box;
    border-right: 1px solid #ebebeb !important;
    padding-right: 24px;
    position: sticky;
    top: 105px;
    background: transparent !important;
}

.yp-sephora-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid #ebebeb !important;
}

.yp-sephora-title {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.yp-sephora-clear-all-link {
    font-family: var(--yp-font-sans) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

/* Accordion Item */
.yp-sephora-acc-item {
    border-bottom: 1px solid #ebebeb !important;
}

.yp-sephora-acc-header {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 0 !important;
    min-height: unset !important;
    height: auto !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-align: left !important;
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    outline: none !important;
    transition: color 0.18s ease !important;
}

.yp-sephora-acc-header:hover {
    color: #b59d6a !important;
}

.yp-acc-chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.yp-sephora-acc-item.is-open .yp-acc-chevron {
    transform: rotate(180deg);
}

.yp-sephora-acc-content {
    display: none;
    padding: 0 0 18px;
}

.yp-sephora-acc-item.is-open .yp-sephora-acc-content {
    display: block;
}

.yp-acc-sublabel {
    display: block !important;
    font-family: var(--yp-font-sans) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    margin-bottom: 8px !important;
}

/* In-accordion Brand Search Box */
.yp-sephora-search-wrap {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
}

.yp-sephora-search-wrap svg {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 14px !important;
    height: 14px !important;
    stroke: #888888 !important;
    stroke-width: 2 !important;
    fill: none !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.yp-sephora-search-input {
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 12px 0 36px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-family: var(--yp-font-sans, "AvantGardeGothic", -apple-system, sans-serif) !important;
    outline: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
}

.yp-sephora-search-input:focus {
    border-color: #111111 !important;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08) !important;
}

/* Filter Rows (Sephora Exact List) */
.yp-sephora-rows-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.yp-sephora-rows-list::-webkit-scrollbar {
    width: 4px;
}

.yp-sephora-rows-list::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 4px;
}

.yp-sephora-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 4px;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.yp-sephora-row:hover {
    background: #f7f7f7 !important;
}

.yp-sephora-row-left {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.yp-sephora-label {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #222222 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.yp-sephora-count {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 10px !important;
    color: #666666 !important;
    background: #f0f0f0 !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
}

.yp-sephora-row.is-active .yp-sephora-label {
    font-weight: 700;
    color: #000000;
}

.yp-sephora-row.is-active .yp-sephora-count {
    background: #000000;
    color: #ffffff;
}

/* Custom Checkbox (Sephora Style: Square on the Right) */
.yp-sephora-checkbox-box {
    width: 17px;
    height: 17px;
    border: 1px solid #cccccc !important;
    border-radius: 3px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 10px;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.yp-sephora-checkbox-box svg {
    width: 11px;
    height: 11px;
    stroke: #ffffff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.15s ease;
}

.yp-sephora-row.is-active .yp-sephora-checkbox-box {
    background: #000000 !important;
    border-color: #000000 !important;
}

.yp-sephora-row.is-active .yp-sephora-checkbox-box svg {
    opacity: 1;
    transform: scale(1);
}

.yp-sephora-row input[type="checkbox"] {
    display: none !important;
}

/* "Vedi di più" / "Vedi meno" Toggle */
.yp-sephora-see-more-btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    color: #777777 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    padding: 8px 4px 0 !important;
    min-height: unset !important;
    height: auto !important;
    text-align: left !important;
    display: inline-block !important;
    outline: none !important;
    transition: color 0.2s ease !important;
}

.yp-sephora-see-more-btn:hover {
    color: #000000 !important;
}

/* RIGHT COLUMN: PRODUCT CATALOG AREA */
.yp-sephora-catalog-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Catalog Top Bar (Desktop) */
.yp-sephora-catalog-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 20px;
}

.yp-sephora-product-count {
    font-family: var(--yp-font-sans) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    color: #111111 !important;
}

.yp-sephora-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.yp-sort-label {
    font-family: var(--yp-font-sans) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    color: #444444 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.yp-sephora-sort-select {
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
    padding: 7px 28px 7px 12px !important;
    font-family: var(--yp-font-sans) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="7" viewBox="0 0 12 7"><path fill="none" stroke="%23333333" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round" d="M1 1.5L6 6L11 1.5"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-size: 9px 5px !important;
    background-position: right 11px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.yp-sephora-sort-select:hover,
.yp-sephora-sort-select:focus {
    border-color: #000000 !important;
}

/* Active Filter Chips Strip (Hidden across all pages per user request) */
.yp-sephora-active-chips {
    display: none !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

.yp-sephora-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-family: var(--yp-font-sans) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background 0.18s !important;
}

.yp-sephora-chip:hover {
    background: #000000 !important;
}

.yp-chip-x {
    font-size: 14px;
    line-height: 1;
    margin-left: 2px;
    opacity: 0.8;
}

.yp-chips-clear-all {
    font-family: var(--yp-font-sans) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-left: 6px !important;
}

/* ==============================================================
       4. HOMEPAGE-MATCHING 3-COLUMN PRODUCT GRID
       ============================================================== */
.products.elements-grid,
.wd-products.elements-grid,
.products.wd-grid-g,
.shop-loop-container .products,
div.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 1600px) {

    .products.elements-grid,
    div.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 1023px) {

    .products.elements-grid,
    div.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 10px !important;
    }
}

/* Pedestal Product Card (Offers & Catalog Standard) */
.product-grid-item,
div.product.product-grid-item,
.wd-product.wd-col {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 1px solid #e5dfd2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    text-align: center !important;
    padding: 16px 14px 18px !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 18px rgba(32, 28, 22, 0.04) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 460px !important;
    align-self: stretch !important;
}

.product-grid-item:hover,
div.product.product-grid-item:hover,
.wd-product.wd-col:hover {
    transform: translateY(-5px) !important;
    border-color: #c7b69c !important;
    box-shadow: 0 16px 36px rgba(32, 28, 22, 0.10) !important;
}

.product-grid-item.yp-search-hidden,
div.product.yp-search-hidden,
.yp-catalog-card-inner.yp-search-hidden {
    display: none !important;
}

.yp-catalog-card-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-grow: 1 !important;
}

.yp-catalog-badge-slot {
    width: 100% !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
}

.yp-catalog-badge-empty {
    display: block !important;
    visibility: hidden !important;
    height: 18px !important;
    line-height: 18px !important;
}

/* Haute Pill Badge */
.yp-catalog-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    padding: 4px 12px 3px 12px !important;
    border-radius: 9999px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    position: static !important;
    pointer-events: none !important;
}

.yp-catalog-badge.yp-badge-vintage,
.yp-badge-vintage {
    background: #111111 !important;
    color: #e5dfd2 !important;
    border: 1px solid rgba(229, 223, 210, 0.4) !important;
}

.yp-catalog-badge.yp-badge-offerta {
    background: #111111 !important;
    color: #ffffff !important;
}

.yp-catalog-badge.yp-badge-icona,
.yp-badge-icona {
    display: none !important;
}

.yp-catalog-badge.yp-badge-esclusivo {
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

/* Pedestal Image Wrapper */
.yp-catalog-img-wrap {
    width: 100% !important;
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 14px !important;
    position: relative !important;
    border-radius: 10px !important;
    background: radial-gradient(circle at 50% 40%, #faf8f5 0%, #f3eee4 62%, #e7e0d1 100%) !important;
    border: 1px solid #e5dfd2 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

.yp-catalog-img-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.yp-catalog-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
    mix-blend-mode: multiply !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.product-grid-item:hover .yp-catalog-img {
    transform: scale(1.05) !important;
}

.yp-catalog-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.yp-catalog-brand {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2.2px !important;
    text-transform: uppercase !important;
    color: #444444 !important;
    margin-bottom: 5px !important;
    display: block !important;
    line-height: 1.2 !important;
}

.yp-catalog-title {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #111111 !important;
    margin: 0 0 6px 0 !important;
    min-height: 42px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.yp-catalog-title a {
    color: #111111 !important;
    text-decoration: none !important;
    font-family: inherit !important;
    transition: color 0.2s ease !important;
}

.yp-catalog-card-inner:hover .yp-catalog-title a,
.product-grid-item:hover .yp-catalog-title a,
.yp-catalog-title a:hover {
    color: #000000 !important;
}

.yp-catalog-meta {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: #444444 !important;
    letter-spacing: 0.2px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.yp-catalog-price {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 17.5px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
}

.yp-catalog-price .amount,
.yp-catalog-price bdi,
.yp-catalog-price span {
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    color: #111111 !important;
}

.yp-catalog-price del,
.yp-catalog-price del .amount,
.yp-catalog-price del bdi,
.yp-catalog-price del span {
    color: #999999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 6px !important;
}

.yp-catalog-price ins,
.yp-catalog-price ins .amount,
.yp-catalog-price ins bdi,
.yp-catalog-price ins span {
    color: #111111 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.yp-catalog-actions {
    margin-top: auto !important;
    width: 100% !important;
}

.yp-catalog-btn {
    width: 100% !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-family: var(--yp-font-sans, "AvantGardeGothic", sans-serif) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 10px 14px !important;
    border-radius: 9999px !important;
    border: 1px solid #111111 !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.yp-catalog-btn:hover {
    background: #ffffff !important;
    border-color: #000000 !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* ==============================================================
       5. MOBILE VIEWPORT (< 1024px): SEPHORA SPLIT TOOLBAR & DRAWER
       ============================================================== */
.yp-sephora-mobile-bar {
    display: none !important;
}

.yp-mobile-drawer-overlay {
    display: none;
}

@media (max-width: 1023px) {
    .yp-mobile-drawer-overlay {
        display: block !important;
    }

    #ypDesktopFiltersSidebar {
        display: none !important;
    }

    .yp-drawer-body .yp-sephora-filters-sidebar {
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        border-right: none !important;
        padding-right: 0 !important;
        position: static !important;
    }

    .yp-sephora-catalog-topbar {
        display: none !important;
    }

    .yp-sephora-body-layout {
        display: block !important;
    }

    .yp-sephora-mobile-bar {
        display: flex !important;
        align-items: center;
        border-top: 1px solid #ebebeb;
        border-bottom: 1px solid #ebebeb;
        margin: 0 0 16px 0;
        background: #ffffff;
        position: sticky !important;
        top: 70px !important;
        z-index: 99 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .yp-mobile-filter-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 10px;
        background: transparent;
        border: none;
        font-family: inherit;
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #111111;
        cursor: pointer;
    }

    .yp-mobile-filter-btn svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        stroke-width: 2.2;
        fill: none;
    }

    .yp-mobile-bar-sep {
        width: 1px;
        height: 22px;
        background: #ebebeb;
    }

    .yp-mobile-sort-select {
        flex: 1;
        padding: 13px 28px 13px 8px;
        border: none;
        background: transparent;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        color: #111111;
        outline: none;
        text-align: center;
        text-align-last: center;
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="none" stroke="%23111111" stroke-width="2" d="M1 1l4 4 4-4"/></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .yp-mobile-count-strip {
        font-size: 13px;
        font-weight: 700;
        color: #111111;
        margin-bottom: 14px;
    }

    .products.elements-grid,
    div.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 10px !important;
    }

    /* Mobile Cards Compact Refinements & Alignment for S26 Ultra */
    .product-grid-item,
    div.product.product-grid-item,
    .wd-product.wd-col {
        min-height: auto !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 12px 10px 14px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        align-self: stretch !important;
    }

    .yp-catalog-card-inner {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        width: 100% !important;
        flex-grow: 1 !important;
        box-sizing: border-box !important;
    }

    .yp-catalog-badge-slot {
        width: 100% !important;
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        margin: 0 0 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .yp-catalog-badge-empty {
        height: 18px !important;
        min-height: 18px !important;
        line-height: 18px !important;
    }

    .yp-catalog-badge {
        font-size: 8px !important;
        padding: 3px 8px !important;
        letter-spacing: 0.8px !important;
        line-height: 1 !important;
    }

    .yp-catalog-img-wrap {
        width: 100% !important;
        height: 145px !important;
        min-height: 145px !important;
        max-height: 145px !important;
        margin: 0 0 8px !important;
        border-radius: 8px !important;
    }

    .yp-catalog-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        flex-grow: 1 !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    .yp-catalog-brand {
        font-size: 9px !important;
        letter-spacing: 1.5px !important;
        height: 14px !important;
        min-height: 14px !important;
        max-height: 14px !important;
        line-height: 14px !important;
        margin-bottom: 3px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
    }

    .yp-catalog-title {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        margin: 0 0 4px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: center !important;
        width: 100% !important;
    }

    .yp-catalog-meta {
        font-size: 9.5px !important;
        height: 14px !important;
        min-height: 14px !important;
        max-height: 14px !important;
        line-height: 14px !important;
        margin-bottom: 6px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
    }

    .yp-catalog-price,
    .yp-catalog-price .amount,
    .yp-catalog-price bdi,
    .yp-catalog-price span {
        font-size: 14.5px !important;
        font-weight: 700 !important;
    }

    .yp-catalog-price {
        height: 22px !important;
        min-height: 22px !important;
        max-height: 22px !important;
        margin: 0 0 10px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .yp-catalog-actions {
        margin-top: auto !important;
        width: 100% !important;
    }

    .yp-catalog-btn {
        width: 100% !important;
        height: 36px !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.8px !important;
        border-radius: 9999px !important;
        box-sizing: border-box !important;
    }

    .yp-carousel-arrow-wrap {
        display: none !important;
    }

    .yp-carousel-scroll {
        padding-right: 24px !important;
        padding-left: 2px !important;
    }

    .yp-sephora-category-carousel::before,
    .yp-sephora-category-carousel::after {
        width: 24px !important;
    }

    .yp-category-pill {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        padding: 0 12px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.8px !important;
    }

    /* Mobile Bottom Sheet Drawer */
    .yp-mobile-drawer-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .yp-mobile-drawer-overlay.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .yp-mobile-drawer-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        background: #ffffff;
        border-radius: 20px 20px 0 0;
        z-index: 999999;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        pointer-events: auto;
    }

    .yp-mobile-drawer-overlay.is-open .yp-mobile-drawer-modal {
        transform: translateY(0) !important;
    }

    .yp-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eeeeee;
    }

    .yp-drawer-title {
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
    }

    .yp-drawer-close-btn {
        background: #f4f4f4 !important;
        border: none !important;
        font-size: 20px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        color: #111111 !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        transition: background 0.15s ease !important;
    }

    .yp-drawer-close-btn:hover {
        background: #e8e8e8 !important;
    }

    .yp-drawer-body {
        padding: 14px 20px;
        overflow-y: auto;
        flex: 1;
    }

    .yp-drawer-footer {
        padding: 12px 20px;
        border-top: 1px solid #eeeeee;
        display: flex;
        align-items: center;
        gap: 12px;
        background: #ffffff;
    }

    .yp-drawer-apply-btn {
        flex: 1;
        background: #000000 !important;
        color: #ffffff !important;
        border: 1px solid #000000 !important;
        border-radius: 9999px !important;
        padding: 13px 18px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        text-align: center !important;
        transition: all 0.2s ease !important;
    }

    .yp-drawer-apply-btn:hover {
        background: #ffffff !important;
        border-color: #000000 !important;
        color: #000000 !important;
    }

    .yp-drawer-reset-btn {
        background: transparent;
        border: none;
        font-size: 12px;
        font-weight: 600;
        color: #777777;
        text-decoration: underline;
        cursor: pointer;
        padding: 8px 10px;
    }
}

/* Floating Audio Pill Repositioning on Catalog (Consistent with Haute Parfumerie Left Alignment) */
@media (min-width: 1024px) {

    body.woocommerce-shop .yp-audio-pill,
    body.tax-product_cat .yp-audio-pill,
    body.tax-product_tag .yp-audio-pill {
        left: 28px !important;
        right: auto !important;
        bottom: 24px !important;
    }
}

@media (max-width: 1023px) {

    body.woocommerce-shop .yp-audio-pill,
    body.tax-product_cat .yp-audio-pill,
    body.tax-product_tag .yp-audio-pill {
        left: 14px !important;
        right: auto !important;
        bottom: 74px !important;
    }
}

/* ==============================================================
   6. INFINITE SCROLL / LOAD ON SCROLL (ELIMINATE NUMBERED PAGINATION)
   ============================================================== */
/* Completely eliminate numbered pagination */
nav.woocommerce-pagination,
.woocommerce-pagination,
.wd-pagination,
ul.page-numbers {
    display: none !important;
}

/* Luxury Continuous Infinite Scroll Footer */
.wd-loop-footer.products-footer,
.yp-infinite-scroll-wrap {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 50px auto 30px !important;
    padding: 20px 0 !important;
    clear: both !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
}

/* Load More on Scroll Pill Button */
.wd-products-load-more.load-on-scroll {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 32px !important;
    font-family: var(--yp-font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
}

.wd-products-load-more.load-on-scroll:hover {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Subtle Animated Luxury Loader */
.wd-load-more-loader {
    display: none;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-family: var(--yp-font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #888888 !important;
    padding: 14px 20px !important;
}

.wd-products-load-more.loading+.wd-load-more-loader,
.products-footer.loading .wd-load-more-loader {
    display: inline-flex !important;
}

.wd-products-load-more.loading {
    display: none !important;
}

/* Spinner icon */
.wd-load-more-loader:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    border: 2px solid rgba(0, 0, 0, 0.15) !important;
    border-top-color: #111111 !important;
    border-radius: 50% !important;
    animation: ypSpin 0.7s linear infinite !important;
}

@keyframes ypSpin {
    to {
        transform: rotate(360deg);
    }
}