/* ============================================================
   ACTOREIN — Products page, Apple-glass edition
   Frosted catalogue cards and rows over a soft colour field,
   with a quiet glass filter bar above them.
   Loaded last (priority 240) so it governs catalog-view.css.
   ============================================================ */

/* ---------- Page surface ---------- */
body .actorein-catalog { background: #f3f7fa !important; }

body .actorein-catalog .acto-page-hero {
    padding: 64px 0 58px !important;
    background:
        radial-gradient(120% 160% at 12% -20%, rgba(56, 189, 248, 0.32) 0%, rgba(56, 189, 248, 0) 55%),
        radial-gradient(100% 140% at 92% 0%, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0) 55%),
        linear-gradient(160deg, #0e3550 0%, #0a2540 52%, #07192b 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body .actorein-catalog .acto-page-hero h1 {
    color: #ffffff !important;
    font-size: clamp(32px, 3.6vw, 46px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;
}
body .actorein-catalog .acto-page-hero p {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(214, 232, 244, 0.82) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* ---------- Glass filter bar ---------- */
body .actorein-catalog .acto-subnav {
    padding: 18px 0 6px !important;
    border: 0 !important;
    background: transparent !important;
}
body .actorein-catalog .eds-container.ac-catalog-toolbar {
    box-sizing: border-box;
    padding: 10px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow:
        0 20px 44px -30px rgba(10, 37, 64, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
body .actorein-catalog .ac-catalog-toolbar .ac-brand-filter summary {
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px -14px rgba(10, 37, 64, 0.4);
    color: #24425a !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
body .actorein-catalog .ac-catalog-toolbar .ac-brand-filter summary:hover {
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(255, 255, 255, 0.96) !important;
}
body .actorein-catalog .ac-catalog-toolbar .ac-brand-filter[open] summary {
    border-color: rgba(255, 255, 255, 0.98) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #0b6f92 !important;
}
body .actorein-catalog .ac-catalog-toolbar .ac-brand-filter__panel {
    border: 1px solid rgba(255, 255, 255, 0.86) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 34px 66px -34px rgba(10, 37, 64, 0.42), inset 0 1px 0 #ffffff !important;
}
body .actorein-catalog .ac-brand-filter__options label {
    border-radius: 9px !important;
    transition: background-color 0.15s ease;
}
body .actorein-catalog .ac-brand-filter__options label:hover,
body .actorein-catalog .ac-brand-filter__options label:has(:checked) {
    background: rgba(224, 242, 254, 0.7) !important;
}
body .actorein-catalog .ac-filter-search {
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow: inset 0 1px 2px rgba(10, 37, 64, 0.05);
}
body .actorein-catalog .ac-filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    color: #0b6f97 !important;
}
body .actorein-catalog .ac-catalog-view {
    padding: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
body .actorein-catalog .ac-catalog-view label {
    border-radius: 8px !important;
    color: #40586b !important;
}
body .actorein-catalog .ac-catalog-view label:has(input:checked) {
    background: #0f2b40 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px -6px rgba(15, 43, 64, 0.7);
}
body .actorein-catalog .ac-catalog-view label:has(input:checked) svg { stroke: #ffffff; }

/* ---------- Soft field behind the cards ---------- */
body .actorein-catalog .acto-products {
    position: relative;
    isolation: isolate;
    overflow: hidden !important;
    padding: 26px 0 76px !important;
    background: linear-gradient(180deg, #f1f7fb 0%, #f8fbfd 52%, #edf5fa 100%) !important;
}
body .actorein-catalog .acto-products::before,
body .actorein-catalog .acto-products::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
}
body .actorein-catalog .acto-products::before {
    top: -140px;
    left: -160px;
    background: radial-gradient(circle, #7dd3fc 0%, rgba(125, 211, 252, 0) 68%);
}
body .actorein-catalog .acto-products::after {
    right: -180px;
    bottom: -200px;
    background: radial-gradient(circle, #99f6e4 0%, rgba(153, 246, 228, 0) 68%);
}
body .actorein-catalog .acto-products > .eds-container { position: relative; z-index: 1; }
body .actorein-catalog .acto-products__grid { gap: 18px !important; }

/* ---------- Grid cards ---------- */
body .actorein-catalog .acto-products__grid .ac-product {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 22px !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.46) 100%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    box-shadow:
        0 24px 50px -32px rgba(10, 37, 64, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden !important;
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    will-change: transform;
}
body .actorein-catalog .acto-products__grid .ac-product:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
        0 38px 68px -34px rgba(10, 37, 64, 0.42),
        inset 0 1px 0 #ffffff;
}
body .actorein-catalog .ac-product::before { content: none !important; }

body .actorein-catalog .ac-product__visual {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    padding: 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.62) !important;
    background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(236, 245, 250, 0.5) 100%) !important;
    overflow: hidden;
}
body .actorein-catalog .ac-product__visual img {
    mix-blend-mode: multiply;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body .actorein-catalog .ac-product:hover .ac-product__visual img { transform: scale(1.045) !important; }

body .actorein-catalog .ac-product__badge {
    display: inline-flex !important;
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    box-sizing: border-box;
    max-width: calc(100% - 24px);
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    box-shadow: 0 8px 18px -14px rgba(10, 37, 64, 0.45), inset 0 1px 0 #ffffff;
    color: #0b6f92 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .actorein-catalog .ac-product__content {
    padding: 16px 16px 14px !important;
    gap: 6px !important;
}
body .actorein-catalog .ac-product__list-category {
    order: -1;
    color: #0b6f92 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    line-height: 1.4 !important;
}
body .actorein-catalog .acto-products__grid .ac-product h3,
body .actorein-catalog .acto-products__grid .ac-product .ac-product__title {
    color: #102d43 !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    letter-spacing: -0.02em !important;
}

body .actorein-catalog .ac-product__action {
    gap: 10px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.66) !important;
    background: rgba(255, 255, 255, 0.34) !important;
    color: #0f2b40 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    transition: background-color 0.22s ease, color 0.22s ease;
}
body .actorein-catalog .ac-product__action svg {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    box-sizing: border-box;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: inset 0 1px 0 #ffffff, 0 6px 14px -10px rgba(10, 37, 64, 0.45);
    color: #0b6f92;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
body .actorein-catalog .ac-product:hover .ac-product__action {
    background: rgba(255, 255, 255, 0.55) !important;
    color: #0b6f92 !important;
}
body .actorein-catalog .ac-product:hover .ac-product__action svg {
    border-color: #0f2b40;
    background: #0f2b40;
    color: #ffffff;
}

body .actorein-catalog__empty {
    padding: 44px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #607d90 !important;
    text-align: center;
}

/* ---------- List rows ---------- */
@media (min-width: 901px) {
    body .actorein-catalog[data-view="list"] .acto-products__grid { gap: 14px !important; }
    body .actorein-catalog[data-view="list"] .acto-products__grid .ac-product {
        display: grid !important;
        grid-template-columns: 212px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 26px !important;
        min-height: 0 !important;
        padding: 18px !important;
        border-radius: 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.78) !important;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.46) 100%) !important;
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        backdrop-filter: blur(18px) saturate(180%);
        box-shadow: 0 22px 46px -32px rgba(10, 37, 64, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    }
    body .actorein-catalog[data-view="list"] .acto-products__grid .ac-product:hover {
        transform: translateY(-3px) !important;
        border-color: rgba(255, 255, 255, 0.98) !important;
    }
    body .actorein-catalog[data-view="list"] .ac-product__visual {
        width: 212px !important;
        height: 172px !important;
        aspect-ratio: auto !important;
        padding: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        border-radius: 14px !important;
        background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.94) 0%, rgba(236, 245, 250, 0.6) 100%) !important;
    }
    body .actorein-catalog[data-view="list"] .ac-product__content {
        gap: 8px !important;
        padding: 4px 0 !important;
        align-self: center;
    }
    body .actorein-catalog[data-view="list"] .ac-product__content h3,
    body .actorein-catalog[data-view="list"] .ac-product__title { font-size: 20px !important; }
    body .actorein-catalog[data-view="list"] .ac-product__list-details {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }
    body .actorein-catalog[data-view="list"] .ac-product__list-brand {
        border: 1px solid rgba(255, 255, 255, 0.85) !important;
        border-radius: 7px !important;
        background: rgba(255, 255, 255, 0.55) !important;
        color: #0b6f92 !important;
    }
    body .actorein-catalog[data-view="list"] .ac-product p.ac-product__list-description {
        color: #536e82 !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
    }
    body .actorein-catalog[data-view="list"] .ac-product__list-features li { color: #526f82; }
    body .actorein-catalog[data-view="list"] .ac-product__action {
        align-self: center !important;
        justify-self: end !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.86) !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.58) !important;
        color: #0f2b40 !important;
        font-size: 12px !important;
        white-space: nowrap;
        box-shadow: inset 0 1px 0 #ffffff, 0 10px 22px -18px rgba(10, 37, 64, 0.5);
    }
    body .actorein-catalog[data-view="list"] .ac-product:hover .ac-product__action {
        border-color: #0f2b40;
        background: #0f2b40 !important;
        color: #ffffff !important;
    }
    body .actorein-catalog[data-view="list"] .ac-product:hover .ac-product__action svg { color: #ffffff; }
}

/* ---------- Compact tiles ---------- */
body .actorein-catalog[data-view="compact"] .ac-product__visual {
    aspect-ratio: 1 / 1 !important;
    padding: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(236, 245, 250, 0.45) 100%) !important;
}
body .actorein-catalog[data-view="compact"] .ac-product__action {
    padding: 9px 12px !important;
    font-size: 10px !important;
}
body .actorein-catalog[data-view="compact"] .ac-product__action svg { width: 24px !important; height: 24px !important; flex-basis: 24px !important; padding: 5px; }
body .actorein-catalog[data-view="compact"] .ac-product__badge { display: none !important; }
body .actorein-catalog[data-view="compact"] .ac-product { border-radius: 16px !important; }
body .actorein-catalog[data-view="compact"] .ac-product__content { padding: 10px !important; gap: 4px !important; }
body .actorein-catalog[data-view="compact"] .ac-product__content h3 { font-size: 12.5px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
    body .actorein-catalog .acto-page-hero { padding: 40px 0 36px !important; }
    body .actorein-catalog .acto-page-hero h1 { font-size: 27px !important; }
    body .actorein-catalog .acto-page-hero p { font-size: 13px !important; }
    body .actorein-catalog .acto-subnav { padding: 12px 0 2px !important; }
    body .actorein-catalog .eds-container.ac-catalog-toolbar { padding: 8px 10px !important; border-radius: 14px !important; }
    body .actorein-catalog .acto-products { padding: 16px 0 52px !important; }
    body .actorein-catalog .acto-products__grid { gap: 12px !important; }
    body .actorein-catalog .acto-products__grid .ac-product { border-radius: 18px !important; }
    body .actorein-catalog .ac-product__visual { padding: 12px !important; }
    body .actorein-catalog .ac-product__content { padding: 12px 12px 10px !important; }
    body .actorein-catalog .acto-products__grid .ac-product h3,
    body .actorein-catalog .acto-products__grid .ac-product .ac-product__title { font-size: 13.5px !important; }
    body .actorein-catalog .ac-product__action { padding: 10px 12px !important; font-size: 10.5px !important; }
    body .actorein-catalog .ac-product__action svg { width: 26px !important; height: 26px !important; flex-basis: 26px !important; padding: 5px; }
}

/* ---------- Dark appearance ---------- */
html.ac-access-dark body .actorein-catalog { background: #071522 !important; }
html.ac-access-dark body .actorein-catalog .acto-products {
    background: linear-gradient(180deg, #071522 0%, #0b1d2e 52%, #071522 100%) !important;
}
html.ac-access-dark body .actorein-catalog .acto-products::before { opacity: 0.28; }
html.ac-access-dark body .actorein-catalog .acto-products::after { opacity: 0.22; }
html.ac-access-dark body .actorein-catalog .ac-product {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.035) 100%) !important;
    box-shadow: 0 26px 60px -34px #000000, inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
html.ac-access-dark body .actorein-catalog .acto-products__grid .ac-product h3,
html.ac-access-dark body .actorein-catalog .acto-products__grid .ac-product .ac-product__title { color: #f5f5f7 !important; }
html.ac-access-dark body .actorein-catalog .ac-product__list-category { color: #7dd3fc !important; }
html.ac-access-dark body .actorein-catalog .ac-product__action {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #e5e5ea !important;
}
html.ac-access-dark body .actorein-catalog .ac-product__action svg {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #7dd3fc;
}
html.ac-access-dark body .actorein-catalog .ac-catalog-toolbar {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html.ac-access-dark body .actorein-catalog .ac-catalog-toolbar .ac-brand-filter summary,
html.ac-access-dark body .actorein-catalog .ac-catalog-view,
html.ac-access-dark body .actorein-catalog .ac-filter-chip {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e5e5ea !important;
}
html.ac-access-dark body .actorein-catalog .ac-catalog-view label { color: #c7d2da !important; }
html.ac-access-dark body .actorein-catalog .ac-catalog-view label:has(input:checked) {
    background: #f5f5f7 !important;
    color: #071522 !important;
}
html.ac-access-dark body .actorein-catalog .ac-catalog-view label:has(input:checked) svg { stroke: #071522; }
html.ac-access-dark body .actorein-catalog .ac-catalog-toolbar .ac-brand-filter__panel {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(18, 32, 46, 0.92) !important;
}
html.ac-access-dark body .actorein-catalog .ac-brand-filter__options label { color: #d8e6f0 !important; }
html.ac-access-dark body .actorein-catalog .ac-filter-search {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e5e5ea !important;
}
html.ac-access-dark body .actorein-catalog[data-view="list"] .acto-products__grid .ac-product {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.035) 100%) !important;
    box-shadow: 0 26px 60px -34px #000000, inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
html.ac-access-dark body .actorein-catalog[data-view="list"] .ac-product__list-brand {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #7dd3fc !important;
}
html.ac-access-dark body .actorein-catalog[data-view="list"] .ac-product p.ac-product__list-description { color: #b5c5d5 !important; }
html.ac-access-dark body .actorein-catalog[data-view="list"] .ac-product__action {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f5f5f7 !important;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    body .actorein-catalog .ac-product,
    body .actorein-catalog .ac-product__visual img,
    body .actorein-catalog .ac-product__action svg,
    body .actorein-catalog .ac-brand-filter summary { transition: none !important; }
    body .actorein-catalog .ac-product:hover { transform: none !important; }
    body .actorein-catalog .ac-product:hover .ac-product__visual img { transform: none !important; }
}
html.ac-access-motion body .actorein-catalog .ac-product,
html.ac-access-motion body .actorein-catalog .ac-product:hover { transform: none !important; }
