/* ============================================================
   PRODUCT CARDS — informative light cards
   Full-width columns, rectangular packshot, real feature list.
   No status badges, no icons, no hover effects, no dark stage.
   ============================================================ */

.ac-bubbles .ac-sparkle {
    position: absolute;
    z-index: 0;
    display: block;
    width: var(--ac-sparkle-size, 46px);
    height: var(--ac-sparkle-size, 46px);
    background: url('../images/actorein-sparkle.png') center / contain no-repeat;
    opacity: var(--ac-sparkle-opacity, 0.08);
    animation:
        ac-sparkle-float var(--ac-sparkle-dur, 18s) ease-in-out var(--ac-sparkle-delay, 0s) infinite alternate;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes ac-sparkle-float {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    100% { transform: translate3d(12px, -16px, 0) rotate(14deg) scale(1.08); }
}

html body .acto-page-hero .eds-container {
    position: relative;
}

html body .acto-page-hero .eds-container::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 50%;
    inset-inline-end: 4%;
    width: 92px;
    height: 92px;
    transform: translateY(-50%);
    background: url('../images/actorein-sparkle.png') center / contain no-repeat;
    opacity: 0.09;
    pointer-events: none;
}

html body .acto-page-hero__content {
    position: relative;
    z-index: 1;
}

/* ---------- Light sections ---------- */
html body .rh-products,
html body #content.actorein-catalog .acto-products {
    background: transparent !important;
    color: #1d1d1f;
}

html body .rh-products {
    padding: 56px 0 64px !important;
}

/* ---------- Catalog: two full-width columns ---------- */
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .acto-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-top: 16px !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .acto-products__grid[data-visible-count="1"] {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 720px;
    margin-inline: auto !important;
}

/* ---------- Catalog card ---------- */
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product {
    position: relative;
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0 20px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow:
        0 22px 44px -36px rgba(10, 37, 64, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    color: #1d1d1f;
    transform: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product::before,
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product::after {
    content: none !important;
    display: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__visual {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 220px !important;
    height: 200px !important;
    min-height: 0;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #f7fafc !important;
    box-shadow: inset 0 0 32px rgba(10, 37, 64, 0.035) !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__visual::before,
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__visual::after {
    content: none !important;
    display: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__visual img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    border-radius: 0 !important;
    transform: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__badge {
    display: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0;
    padding: 0 !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__content::before {
    content: none !important;
    display: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-category {
    display: block !important;
    order: -1 !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #007a99 !important;
    font: 700 8.5px/1.4 Inter, "SF Pro Text", sans-serif !important;
    letter-spacing: 0.08em !important;
    line-height: 1.4;
    text-transform: uppercase;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product h3,
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product .ac-product__title {
    margin: 0 !important;
    color: #1d1d1f !important;
    font: 600 20px/1.2 "Plus Jakarta Sans", "SF Pro Display", Inter, sans-serif !important;
    letter-spacing: -0.025em !important;
    overflow-wrap: anywhere;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-details {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-brand {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #7b8b99 !important;
    font: 600 8.5px/1.4 Inter, "SF Pro Text", sans-serif !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-description {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
    color: #6e6e73 !important;
    font: 400 11.5px/1.5 Inter, "SF Pro Text", sans-serif !important;
}

/* Real feature list, set as an infographic. */
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-features {
    display: grid !important;
    gap: 0 !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: ac-feature;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-features::before {
    content: 'FEATURES';
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: #7b8b99;
    font: 700 7px/1.3 Inter, "SF Pro Text", sans-serif;
    letter-spacing: 0.12em;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-features li {
    counter-increment: ac-feature;
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin: 0 !important;
    padding: 6px 0 !important;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    color: #42586a !important;
    font: 400 11px/1.45 Inter, "SF Pro Text", sans-serif !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-features li::before {
    content: counter(ac-feature, decimal-leading-zero);
    color: #00a8c8;
    font: 700 9px/1.45 Inter, "SF Pro Text", sans-serif;
    letter-spacing: 0.04em;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__action {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 8px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(10, 37, 64, 0.08) !important;
    background: transparent !important;
    color: #0071e3 !important;
    font: 600 8.5px/1.2 Inter, "SF Pro Text", sans-serif !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__action svg {
    display: none !important;
}

/* No motion, no hover, no pointer effects. */
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product,
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product *,
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product::before,
html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product::after {
    transition: none !important;
    animation: none !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product:hover {
    transform: none !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow:
        0 22px 44px -36px rgba(10, 37, 64, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product:hover img {
    transform: none !important;
}

/* ---------- Homepage product cards ---------- */
html body .rh-products .rh-products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

html body .rh-products .rh-products__card {
    position: relative;
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    width: auto !important;
    min-width: 0;
    min-height: 0;
    padding: 14px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow:
        0 20px 40px -34px rgba(10, 37, 64, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    color: #1d1d1f;
    transform: none !important;
}

html body .rh-products .rh-products__card::before,
html body .rh-products .rh-products__card::after {
    content: none !important;
    display: none !important;
}

html body .rh-products .rh-products__media {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    margin: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #f7fafc !important;
    box-shadow: inset 0 0 30px rgba(10, 37, 64, 0.035) !important;
}

html body .rh-products .rh-products__media::before,
html body .rh-products .rh-products__media::after {
    content: none !important;
    display: none !important;
}

html body .rh-products .rh-products__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    border-radius: 0 !important;
    transform: none !important;
}

html body .rh-products .rh-products__info {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    min-width: 0;
    padding: 0 !important;
}

html body .rh-products .rh-products__info::before {
    content: none !important;
    display: none !important;
}

html body .rh-products .rh-products__info small {
    display: block !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #007a99 !important;
    font: 700 8.5px/1.4 Inter, "SF Pro Text", sans-serif !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

html body .rh-products h3 {
    margin: 0 0 3px !important;
    color: #1d1d1f !important;
    font: 600 17px/1.25 "Plus Jakarta Sans", "SF Pro Display", Inter, sans-serif !important;
    letter-spacing: -0.025em !important;
    overflow-wrap: anywhere;
}

html body .rh-products .rh-products__info p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px !important;
    color: #6e6e73 !important;
    font: 400 11.5px/1.5 Inter, "SF Pro Text", sans-serif !important;
}

html body .rh-products__features {
    display: grid !important;
    gap: 0 !important;
    margin: 2px 0 6px !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: rh-feature;
}

html body .rh-products__features li {
    counter-increment: rh-feature;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    padding: 4px 0;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    color: #536e82;
    font: 400 10px/1.4 Inter, "SF Pro Text", sans-serif;
}

html body .rh-products__features li::before {
    content: counter(rh-feature, decimal-leading-zero);
    color: #00a8c8;
    font: 700 8px/1.4 Inter, "SF Pro Text", sans-serif;
}

html body .rh-products .rh-products__info > span {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 8px;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
    color: #0071e3 !important;
    font: 600 8.5px/1.2 Inter, "SF Pro Text", sans-serif !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

html body .rh-products .rh-products__info b {
    display: none !important;
}

html body .rh-products .rh-products__card,
html body .rh-products .rh-products__card *,
html body .rh-products .rh-products__card::before,
html body .rh-products .rh-products__card::after {
    transition: none !important;
    animation: none !important;
}

html body .rh-products .rh-products__card:hover {
    transform: none !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow:
        0 20px 40px -34px rgba(10, 37, 64, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html body .rh-products .rh-products__card:hover img {
    transform: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .acto-products__grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body .rh-products .rh-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 0 !important;
        padding: 14px !important;
        border-radius: 20px !important;
    }

    html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__visual {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 200px !important;
        margin: 0 0 10px !important;
    }

    html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__content {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    html body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__action {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    html body .rh-products .rh-products__grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body .rh-products .rh-products__media {
        height: 190px !important;
    }

    html body .acto-page-hero .eds-container::before {
        width: 58px;
        height: 58px;
        inset-inline-end: 2%;
    }
}

/* ---------- RTL mobile hardening ---------- */
@media (max-width: 900px) {
    html[dir="rtl"],
    html[dir="rtl"] body,
    html[dir="rtl"] #content {
        max-width: 100%;
        overflow-x: clip;
    }

    html[dir="rtl"] .ac-product,
    html[dir="rtl"] .ac-product__content,
    html[dir="rtl"] .ac-product__list-details,
    html[dir="rtl"] .ac-product__list-features,
    html[dir="rtl"] .rh-products__card,
    html[dir="rtl"] .rh-products__info,
    html[dir="rtl"] .rh-products__features {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html[dir="rtl"] .ac-product__list-category,
    html[dir="rtl"] .ac-product__list-description,
    html[dir="rtl"] .ac-product__list-features li,
    html[dir="rtl"] .rh-products__info small,
    html[dir="rtl"] .rh-products__info p,
    html[dir="rtl"] .rh-products__features li {
        min-width: 0 !important;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    html body .rh-products .rh-products__card {
        grid-template-columns: 130px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    html body .rh-products .rh-products__media {
        height: 170px !important;
        min-height: 170px !important;
    }
}

/* ---------- Dark appearance ---------- */
html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product,
html.ac-access-dark:not(.ac-access-contrast) #content .rh-products .rh-products__card {
    background: rgba(28, 28, 30, 0.64) !important;
    box-shadow:
        0 24px 46px -34px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__visual,
html.ac-access-dark:not(.ac-access-contrast) #content .rh-products .rh-products__media {
    background: #f2f2f7 !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product h3,
html.ac-access-dark:not(.ac-access-contrast) #content .rh-products h3 {
    color: #f5f5f7 !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-description,
html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-features li,
html.ac-access-dark:not(.ac-access-contrast) #content .rh-products .rh-products__info p {
    color: #98989d !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__list-category,
html.ac-access-dark:not(.ac-access-contrast) #content .rh-products .rh-products__info small {
    color: #8cddff !important;
}

html.ac-access-dark:not(.ac-access-contrast) #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product__action,
html.ac-access-dark:not(.ac-access-contrast) #content .rh-products .rh-products__info > span {
    color: #0a84ff !important;
}

/* ---------- Forced contrast ---------- */
html.ac-access-contrast body .ac-bubbles .ac-sparkle,
html.ac-access-contrast body .acto-page-hero .eds-container::before {
    display: none !important;
}

html.ac-access-contrast body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product,
html.ac-access-contrast body .rh-products .rh-products__card {
    border: 2px solid #000000 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    transform: none !important;
}

html.ac-access-contrast body .ac-product__visual,
html.ac-access-contrast body .rh-products__media {
    border: 2px solid #000000 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

html.ac-access-contrast body .ac-product h3,
html.ac-access-contrast body .ac-product__list-category,
html.ac-access-contrast body .ac-product__list-brand,
html.ac-access-contrast body .ac-product__list-description,
html.ac-access-contrast body .ac-product__list-features li,
html.ac-access-contrast body .ac-product__action,
html.ac-access-contrast body .rh-products h3,
html.ac-access-contrast body .rh-products__info small,
html.ac-access-contrast body .rh-products__info p,
html.ac-access-contrast body .rh-products__info > span {
    color: #000000 !important;
}

html.ac-access-contrast.ac-access-dark body #content.actorein-catalog:not([data-view="list"]):not([data-view="compact"]) .ac-product,
html.ac-access-contrast.ac-access-dark body .rh-products .rh-products__card {
    border-color: #ffffff !important;
    background: #000000 !important;
}

html.ac-access-contrast.ac-access-dark body .ac-product h3,
html.ac-access-contrast.ac-access-dark body .ac-product__list-category,
html.ac-access-contrast.ac-access-dark body .ac-product__list-brand,
html.ac-access-contrast.ac-access-dark body .ac-product__list-description,
html.ac-access-contrast.ac-access-dark body .ac-product__list-features li,
html.ac-access-contrast.ac-access-dark body .ac-product__action,
html.ac-access-contrast.ac-access-dark body .rh-products h3,
html.ac-access-contrast.ac-access-dark body .rh-products__info small,
html.ac-access-contrast.ac-access-dark body .rh-products__info p,
html.ac-access-contrast.ac-access-dark body .rh-products__info > span {
    color: #ffffff !important;
}
