/* ============================================================
   Eventify reusable product cards
   Use with:
   - .evp-page .gm-grid / .gm-card
   - or .eventify-product-scope .gm-grid / .gm-card on home/detail pages
   ============================================================ */

.evp-page,
.eventify-product-scope {
    --gm-font-display: 'Playfair Display', 'Times New Roman', serif;
    --gm-font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gm-pink-100: #FCE4F0;
    --gm-pink-500: #E62E8B;
    --gm-pink-700: #AC1462;
    --gm-cream-50: #FFFFFF;
    --gm-ink-900: #211A15;
    --gm-ink-500: #8A7E73;
    --gm-grad-brand: linear-gradient(100deg, #E62E8B 0%, #C42F9E 45%, #A24FDE 100%);
    --gm-radius-xl: 32px;
    --gm-radius-2xl: 40px;
    --gm-radius-pill: 999px;
    --gm-shadow-md: 0 8px 24px rgba(33,26,21,0.08), 0 2px 6px rgba(33,26,21,0.05);
    --gm-shadow-lg: 0 20px 48px rgba(33,26,21,0.10), 0 6px 16px rgba(33,26,21,0.06);
    --gm-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --gm-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.evp-page .gm-grid,
.eventify-product-scope .gm-grid {
    --gm-product-max-h: clamp(300px, 34vw, 520px);
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 0 clamp(4rem, 7vw, 6rem);
    column-count: 3;
    column-gap: clamp(1.1rem, 2.4vw, 1.6rem);
}

.evp-page .evp-card .gm-grid,
.eventify-product-scope .gm-grid.gm-grid-compact {
    --gm-product-max-h: clamp(240px, 24vw, 380px);
    column-count: 4;
}

.evp-page .gm-card.evs-product-card,
.eventify-product-scope .gm-card.evs-product-card,
.eventify-product-scope .gm-card {
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    break-inside: avoid;
    margin: 0 0 clamp(1.1rem, 2.4vw, 1.6rem) !important;
    padding: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border: 0 !important;
    border-radius: var(--gm-radius-2xl) !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    overflow: visible !important;
    transform: none !important;
    transition:
        transform 0.4s var(--gm-ease-spring),
        box-shadow 0.35s var(--gm-ease-soft),
        background 0.35s var(--gm-ease-soft),
        padding-bottom 0.35s var(--gm-ease-soft) !important;
}

.evp-page .gm-card.evs-product-card:hover,
.evp-page .gm-card.evs-product-card:focus-within,
.eventify-product-scope .gm-card.evs-product-card:hover,
.eventify-product-scope .gm-card.evs-product-card:focus-within,
.eventify-product-scope .gm-card:hover,
.eventify-product-scope .gm-card:focus-within {
    padding-bottom: 1.4rem !important;
    background: var(--gm-pink-100) !important;
    box-shadow: var(--gm-shadow-lg) !important;
    position: relative;
    z-index: 2;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.evp-page .gm-card-media,
.eventify-product-scope .gm-card-media {
    position: relative;
    width: 100%;
    height: auto;
    max-height: var(--gm-product-max-h);
    border-radius: var(--gm-radius-xl);
    overflow: hidden;
    box-shadow: var(--gm-shadow-md);
    transition: box-shadow 0.35s var(--gm-ease-soft);
    margin-bottom: 0.9rem;
    border: 0 !important;
    background: #fff !important;
}

.evp-page .gm-card:hover .gm-card-media,
.evp-page .gm-card:focus-within .gm-card-media,
.eventify-product-scope .gm-card:hover .gm-card-media,
.eventify-product-scope .gm-card:focus-within .gm-card-media {
    box-shadow: var(--gm-shadow-lg);
    border: 0 !important;
}

.evp-page .gm-card-media-inner,
.eventify-product-scope .gm-card-media-inner {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    max-height: inherit;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.evp-page .gm-card-media-inner img,
.eventify-product-scope .gm-card-media-inner img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: var(--gm-product-max-h) !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

.evp-page .gm-card-media-inner i,
.eventify-product-scope .gm-card-media-inner i {
    width: 64px;
    height: 64px;
    color: rgba(122,20,80,0.35);
    font-size: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.evp-page .gm-card-badge,
.eventify-product-scope .gm-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.evp-page .gm-badge-brand,
.eventify-product-scope .gm-badge-brand {
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--gm-font-sans);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.005em;
    border-radius: var(--gm-radius-pill);
    padding: 0.34rem 0.8rem;
    font-size: 0.8125rem;
    background: var(--gm-grad-brand);
    color: #fff;
    border: 1px solid transparent;
    max-width: calc(100% - 4.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evp-page .gm-heart,
.eventify-product-scope .gm-heart {
    position: absolute !important;
    top: 0.6rem !important;
    right: 0.6rem !important;
    left: auto !important;
    z-index: 3 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: transform 0.2s var(--gm-ease-spring) !important;
}

.evp-page .gm-heart:hover,
.eventify-product-scope .gm-heart:hover {
    transform: scale(1.18) !important;
}

.evp-page .gm-heart svg,
.eventify-product-scope .gm-heart svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.96);
    stroke-width: 2.2;
    filter: drop-shadow(0 1px 2px rgba(122,20,80,0.4));
    transition: fill 0.2s ease, color 0.2s ease, filter 0.2s ease;
    fill: rgba(226, 52, 138, 0.42);
}

.evp-page .gm-heart:hover svg,
.evp-page .gm-heart:focus-visible svg,
.eventify-product-scope .gm-heart:hover svg,
.eventify-product-scope .gm-heart:focus-visible svg {
    color: #fff;
    fill: rgba(207, 27, 119, 0.88);
    filter: drop-shadow(0 4px 10px rgba(172, 20, 98, 0.42));
}

.evp-page .gm-heart svg path,
.eventify-product-scope .gm-heart svg path {
    stroke: currentColor;
    stroke-width: 2.2;
}

.evp-page .gm-card-body,
.eventify-product-scope .gm-card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
}

.evp-page .gm-card-name,
.eventify-product-scope .gm-card-name {
    font-family: var(--gm-font-sans);
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--gm-ink-900);
    line-height: 1.35;
    margin: 0 0 0.2rem;
}

.evp-page .gm-card-name a,
.eventify-product-scope .gm-card-name a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evp-page .gm-card-cat,
.eventify-product-scope .gm-card-cat {
    font-size: 0.8rem;
    color: var(--gm-ink-500);
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evp-page .gm-card-price,
.eventify-product-scope .gm-card-price {
    font-family: var(--gm-font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gm-pink-700);
}

.evp-page .gm-card-blurb,
.eventify-product-scope .gm-card-blurb {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--gm-ink-500);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.4s var(--gm-ease-soft),
        opacity 0.35s var(--gm-ease-soft),
        margin-top 0.4s var(--gm-ease-soft);
}

.evp-page .gm-card:hover .gm-card-blurb,
.evp-page .gm-card:focus-within .gm-card-blurb,
.eventify-product-scope .gm-card:hover .gm-card-blurb,
.eventify-product-scope .gm-card:focus-within .gm-card-blurb {
    max-height: 3.1rem;
    opacity: 1;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 1280px) {
    .evp-page .gm-grid,
    .evp-page .evp-card .gm-grid,
    .eventify-product-scope .gm-grid,
    .eventify-product-scope .gm-grid.gm-grid-compact {
        column-count: 3;
    }
}

@media (max-width: 980px) {
    .evp-page .gm-grid,
    .evp-page .evp-card .gm-grid,
    .eventify-product-scope .gm-grid,
    .eventify-product-scope .gm-grid.gm-grid-compact {
        column-count: 3;
    }
}

@media (max-width: 680px) {
    .evp-page .gm-grid,
    .evp-page .evp-card .gm-grid,
    .eventify-product-scope .gm-grid,
    .eventify-product-scope .gm-grid.gm-grid-compact {
        --gm-product-max-h: 340px;
        column-count: 2;
        column-gap: 0.85rem;
    }

    .evp-page .gm-card.evs-product-card,
    .eventify-product-scope .gm-card.evs-product-card,
    .eventify-product-scope .gm-card {
        padding: 0.35rem !important;
        border-radius: 28px !important;
    }

    .evp-page .gm-card-media,
    .eventify-product-scope .gm-card-media {
        border-radius: 24px;
        margin-bottom: 0.72rem;
    }

    .evp-page .gm-card-name,
    .eventify-product-scope .gm-card-name {
        font-size: 0.9rem;
    }

    .evp-page .gm-card-cat,
    .eventify-product-scope .gm-card-cat {
        font-size: 0.76rem;
    }

    .evp-page .gm-card-price,
    .eventify-product-scope .gm-card-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    /*
     * Shop page remains two-column on small phones.
     * Home and product-detail reusable sections remain unchanged.
     */
    .evp-page .gm-grid,
    .evp-page .evp-card .gm-grid {
        --gm-product-max-h: clamp(220px, 70vw, 290px);
        column-count: 2;
        column-gap: 0.55rem;
    }

    .eventify-product-scope .gm-grid,
    .eventify-product-scope .gm-grid.gm-grid-compact {
        --gm-product-max-h: 380px;
        column-count: 1;
    }

    .evp-page .gm-card.evs-product-card {
        margin-bottom: 0.8rem !important;
        padding: 0.22rem !important;
        border-radius: 20px !important;
    }

    .evp-page .gm-card-media {
        margin-bottom: 0.58rem;
        border-radius: 18px;
    }

    .evp-page .gm-badge-brand {
        top: 0.45rem;
        left: 0.45rem;
        max-width: calc(100% - 3.3rem);
        padding: 0.28rem 0.52rem;
        font-size: 0.66rem;
    }

    .evp-page .gm-heart {
        top: 0.35rem !important;
        right: 0.35rem !important;
        width: 28px !important;
        height: 28px !important;
    }

    .evp-page .gm-heart svg {
        width: 21px;
        height: 21px;
    }

    .evp-page .gm-card-name {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .evp-page .gm-card-cat {
        margin-bottom: 0.24rem;
        font-size: 0.68rem;
    }

    .evp-page .gm-card-price {
        font-size: 0.82rem;
    }
}


/* ============================================================
   Shop-only mobile Sort and Filter sheets
   ============================================================ */

.evp-page .evs-mobile-shopbar,
.evp-page .evs-mobile-sheet-backdrop,
.evp-page .evs-mobile-sort-sheet,
.evp-page .evs-mobile-sheet-head,
.evp-page .evs-mobile-sheet-handle,
.evp-page .evs-mobile-filter-actions {
    display: none;
}


@media (max-width: 991px) {
    body.evs-mobile-sheet-open {
        overflow: hidden;
    }

    body.evs-mobile-sheet-open .evai-widget {
        display: none !important;
    }

    .evp-page .evs-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    /* Flipkart-style mobile Sort and Filter bar */
    .evp-page .evs-mobile-shopbar {
        position: sticky;
        top: 66px;
        z-index: 25;
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            1px
            minmax(0, 1fr);
        align-items: center;
        min-height: 52px;
        margin: 0 0 16px;
        border: 1px solid var(--hairline);
        border-radius: 16px;
        background: rgba(255, 254, 251, 0.94);
        box-shadow: 0 10px 28px rgba(30, 24, 18, 0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .evp-page .evs-mobile-shop-action {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
        height: 50px;
        padding: 0 14px;
        border: 0;
        background: transparent;
        color: var(--ink);
        font: 700 0.88rem/1 var(--gm-font-sans);
        cursor: pointer;
    }

    .evp-page .evs-mobile-shop-action i {
        color: var(--rose-deep);
        font-size: 1rem;
    }

    .evp-page .evs-mobile-shop-divider {
        width: 1px;
        height: 24px;
        background: var(--hairline);
    }

    .evp-page .evs-mobile-filter-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--rose);
        box-shadow: 0 0 0 3px var(--gm-pink-100);
    }

    /* Desktop toolbar is replaced by the mobile bar */
/* Keep the result count and selected-filter chips visible on mobile. */
.evp-page .evs-toolbar {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
}

.evp-page .evs-toolbar-sort {
    display: none !important;
}

    /* Dark background overlay */
    .evp-page .evs-mobile-sheet-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1070;
        display: block;
        border: 0;
        background: rgba(25, 20, 17, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 220ms ease,
            visibility 220ms ease;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    body.evs-mobile-sheet-open
    .evp-page
    .evs-mobile-sheet-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Shared bottom-sheet shell */
    .evp-page .evs-mobile-filter-panel,
    .evp-page .evs-mobile-sort-sheet {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1075;
        width: 100%;
        max-height: min(88vh, 760px);
        margin: 0;
        border: 1px solid var(--hairline);
        border-bottom: 0;
        border-radius: 28px 28px 0 0;
        background: var(--paper);
        box-shadow: 0 -22px 58px rgba(30, 24, 18, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(105%);
        transition:
            transform 320ms var(--gm-ease-soft),
            opacity 220ms ease,
            visibility 320ms ease;
    }

    .evp-page .evs-mobile-filter-panel {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .evp-page .evs-mobile-sort-sheet {
        display: block;
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }

    .evp-page .evs-mobile-filter-panel.is-open,
    .evp-page .evs-mobile-sort-sheet.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Bottom-sheet handle */
    .evp-page .evs-mobile-sheet-handle {
        display: block;
        width: 42px;
        height: 4px;
        margin: 9px auto 2px;
        border-radius: 999px;
        background: var(--hairline-2);
    }

    /* Bottom-sheet heading */
    .evp-page .evs-mobile-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex: 0 0 auto;
        padding: 13px 18px 15px;
        border-bottom: 1px solid var(--hairline);
        background: var(--paper);
    }

    .evp-page .evs-mobile-sheet-kicker {
        display: block;
        margin-bottom: 2px;
        color: var(--rose-deep);
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.15em;
        text-transform: uppercase;
    }

    .evp-page .evs-mobile-sheet-head h2 {
        margin: 0;
        color: var(--ink);
        font-family: var(--gm-font-display);
        font-size: 1.65rem;
        font-weight: 500;
        line-height: 1;
    }

    .evp-page .evs-mobile-sheet-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid var(--hairline);
        border-radius: 50%;
        background: var(--ivory);
        color: var(--ink);
        cursor: pointer;
    }

    /* Existing desktop filters inside the mobile panel */
    .evp-page
    .evs-mobile-filter-panel
    .evs-filter-stack {
        position: static;
        display: grid;
        flex: 1 1 auto;
        gap: 14px;
        min-height: 0;
        padding: 16px 16px 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .evp-page
    .evs-mobile-filter-panel
    .evs-filter-card {
        padding: 17px;
        border-radius: 18px;
        box-shadow: none;
    }

    .evp-page
    .evs-mobile-filter-panel
    .evs-filter-title {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .evp-page
    .evs-mobile-filter-panel
    .evs-scroll-list {
        max-height: 210px;
    }

    /* Filter Clear and Apply buttons */
    .evp-page .evs-mobile-filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
        display: grid;
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(0, 1.5fr);
        gap: 10px;
        margin: 0 -16px;
        padding:
            14px
            16px
            max(14px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--hairline);
        background: rgba(255, 254, 251, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .evp-page .evs-mobile-clear-filters,
    .evp-page .evs-mobile-apply-filters {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: 999px;
        font-size: 0.84rem;
        font-weight: 800;
        text-decoration: none;
    }

    .evp-page .evs-mobile-clear-filters {
        border: 1px solid var(--hairline-2);
        background: var(--paper);
        color: var(--ink);
    }

    .evp-page .evs-mobile-apply-filters {
        border: 0;
        background: var(--gm-grad-brand);
        color: #fff;
        box-shadow:
            0 10px 24px rgba(185, 30, 107, 0.22);
    }

    /* Mobile sorting options */
    .evp-page .evs-mobile-sort-form {
        display: grid;
        padding: 4px 0 0;
    }

    .evp-page .evs-mobile-sort-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 56px;
        margin: 0;
        padding: 0 20px;
        border-bottom:
            1px solid rgba(229, 218, 198, 0.72);
        color: var(--ink);
        font-size: 0.9rem;
        cursor: pointer;
    }

    .evp-page .evs-mobile-sort-option:last-child {
        border-bottom: 0;
    }

    .evp-page .evs-mobile-sort-option input {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        margin: 0;
        accent-color: var(--rose);
    }
}

@media (max-width: 575.98px) {
    .evp-page .evs-mobile-shopbar {
        top: 62px;
    }
}




































/* ============================================================
   Shop AJAX filtering
   ============================================================ */

.evp-page .evs-shop-results-column {
    min-width: 0;
}

.evp-page .evs-shop-toolbar-main {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.evp-page .evs-shop-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.evp-page .evs-shop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    min-height: 30px;
    padding: 4px 5px 4px 11px;
    border: 1px solid rgba(216, 47, 134, 0.22);
    border-radius: 999px;
    background: rgba(216, 47, 134, 0.08);
    color: var(--rose-deep);
    font-size: 0.74rem;
    font-weight: 750;
}

.evp-page .evs-shop-filter-chip button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
}

.evp-page .evs-shop-clear-inline {
    min-height: 30px;
    padding: 4px 11px;
    border: 1px solid var(--hairline-2);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 750;
}

.evp-page .evs-toolbar-sort {
    flex: 0 0 auto;
}

.evp-page .evs-shop-results-loading {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--ink);
    text-align: center;
}

.evp-page .evs-shop-results-spinner {
    width: 72px;
    height: 72px;
    border: 6px solid rgba(216, 47, 134, 0.16);
    border-top-color: var(--rose);
    border-right-color: #9f48ea;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(216, 47, 134, 0.12);
    animation: evs-shop-spin 700ms linear infinite;
}

.evp-page .evs-shop-inline-error {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px;
    text-align: center;
}

.evp-page .evs-shop-inline-error span {
    color: var(--muted);
}

.evp-page .evs-shop-inline-error button {
    margin-top: 6px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 750;
}

@keyframes evs-shop-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .evp-page .evs-shop-results-loading {
        min-height: 240px;
    }

    .evp-page .evs-shop-active-filters {
        gap: 6px;
    }

    .evp-page .evs-shop-filter-chip {
        font-size: 0.69rem;
    }
}






























/* ============================================================
   Stable shop price-filter layout
   ============================================================ */

.evp-page .evs-shop-price-filter {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.evp-page .evs-shop-price-limits {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1;
}

.evp-page .evs-shop-price-limits span {
    display: block;
    flex: 0 0 auto;
    white-space: nowrap;
}

.evp-page .evs-shop-price-slider {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    accent-color: var(--rose);
}

.evp-page .evs-shop-price-selected {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.evp-page .evs-shop-price-selected span {
    min-width: 0;
    color: var(--muted);
    font-size: 0.74rem;
}

.evp-page .evs-shop-price-selected strong {
    display: block;
    flex: 0 0 9ch;
    width: 9ch;
    min-width: 9ch;
    color: var(--ink);
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}































/* ============================================================
   Integer price inputs
   ============================================================ */

.evp-page .evs-shop-price-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.evp-page .evs-shop-price-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.evp-page .evs-shop-price-field > span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.evp-page .evs-shop-price-input-wrap {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 5px;
    padding: 9px 10px;
    border: 1px solid var(--hairline-2);
    border-radius: 12px;
    background: var(--paper);
}

.evp-page .evs-shop-price-input-wrap > span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.evp-page .evs-shop-price-input-wrap input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.evp-page
.evs-shop-price-input-wrap
input::-webkit-inner-spin-button,
.evp-page
.evs-shop-price-input-wrap
input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.evp-page .evs-shop-price-input-wrap:focus-within {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(216, 47, 134, 0.10);
}


/* ============================================================
   Progressive product batches
   ============================================================ */

.evp-page .evs-shop-progress {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.evp-page .evs-shop-progress[hidden] {
    display: none !important;
}

.evp-page .evs-shop-progress-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(216, 47, 134, 0.15);
    border-top-color: var(--rose);
    border-right-color: #9f48ea;
    border-radius: 50%;
    animation: evs-shop-spin 700ms linear infinite;
}

@media (max-width: 991px) {
    .evp-page .evs-shop-price-inputs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .evp-page .evs-shop-price-input-wrap {
        padding: 10px 9px;
    }
}

















































/* ============================================================
   Shop brand choices
   ============================================================ */

.evp-page .evs-brand-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100%;
}

.evp-page .evs-brand-list .evs-check {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 9px 11px;
    border: 1px solid rgba(216, 47, 134, 0.12);
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98),
        rgba(252, 228, 240, 0.32)
    );
    color: var(--ink);
    font-family: var(--gm-font-sans) !important;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.25;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.evp-page .evs-brand-list .evs-check:hover {
    border-color: rgba(216, 47, 134, 0.32);
    background: rgba(252, 228, 240, 0.56);
    box-shadow: 0 5px 14px rgba(185, 30, 107, 0.08);
    transform: translateY(-1px);
}

.evp-page .evs-brand-list .evs-check:focus-within {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(216, 47, 134, 0.10);
}

.evp-page .evs-brand-list .evs-check > input {
    position: relative;
    display: grid;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    padding: 0;
    place-content: center;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid rgba(33, 26, 21, 0.32);
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
}

.evp-page .evs-brand-list .evs-check > input:checked {
    border-color: transparent;
    background: var(--gm-grad-brand);
}

.evp-page .evs-brand-list .evs-check > input:checked::after {
    content: "✓";
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.evp-page .evs-brand-list .evs-check > span {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--gm-font-sans) !important;
}

.evp-page .evs-brand-list .evs-check > span > .text-muted {
    flex: 0 0 auto;
    margin-left: auto;
    font-family: var(--gm-font-sans) !important;
    font-size: 0.74rem;
}

.evp-page
.evs-brand-list
.evs-check
> input:checked
+ span {
    color: var(--rose-deep);
    font-weight: 750;
}


/* ============================================================
   Clear and Show Products actions
   ============================================================ */

.evp-page
#shopFilterForm
.evs-mobile-clear-filters,
.evp-page
#shopFilterForm
.evs-mobile-apply-filters {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: var(--gm-font-sans) !important;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.evp-page
#shopFilterForm
.evs-mobile-clear-filters {
    border: 1px solid var(--hairline-2);
    background: var(--paper);
    color: var(--ink);
}

.evp-page
#shopFilterForm
.evs-mobile-apply-filters {
    border: 0;
    background: var(--gm-grad-brand);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(185, 30, 107, 0.20);
}

.evp-page
#shopFilterForm
.evs-mobile-clear-filters:hover,
.evp-page
#shopFilterForm
.evs-mobile-apply-filters:hover {
    transform: translateY(-1px);
}

.evp-page
#shopFilterForm
.evs-mobile-apply-filters:hover {
    box-shadow: 0 13px 28px rgba(185, 30, 107, 0.28);
}

/* Show the same professional action row on desktop. */
@media (min-width: 992px) {
    .evp-page .evs-mobile-filter-actions {
        position: static;
        display: grid !important;
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(0, 1.5fr);
        gap: 10px;
        width: 100%;
        margin: 0;
        padding: 4px 0 0;
        border: 0;
        background: transparent;
    }
}


/* ============================================================
   Wider centred recommendation sections on desktop
   ============================================================ */

@media (min-width: 992px) {
    .evp-page #shopRecommendations {
        width: calc(100% - 48px);
        max-width: 1320px;
        margin-right: auto;
        margin-left: auto;
    }

    .evp-page #shopRecommendations > .evp-card {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}