/* Activerse Site 1.0.0 */
:root {
    --acs-navy: #1e2447;
    --acs-gold: #e0b33c;
    --acs-text: #0f172a;
    --acs-muted: #64748b;
    --acs-line: #e2e8f0;
}

/* ---------- Live search ---------- */
.acs-search-host { position: relative; }
.acs-search {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 100000;
    width: min(400px, calc(100vw - 32px));
    max-height: min(70vh, 520px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--acs-line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
    text-align: left;
}
.acs-search[hidden] { display: none; }
.acs-search__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--acs-text) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--acs-line);
}
.acs-search__item:hover,
.acs-search__item.is-active { background: #f8fafc; }
.acs-search__item img {
    flex: none;
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 8px;
}
.acs-search__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acs-search__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.acs-search__price { font-size: 13px; font-weight: 700; color: var(--acs-navy); }
.acs-search__all {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--acs-navy) !important;
    text-decoration: none !important;
}
.acs-search__all:hover { background: #f8fafc; }
.acs-search__msg { padding: 14px; font-size: 14px; color: var(--acs-muted); }

/* Mobile search, next to the header cart */
.acs-msearch-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    padding: 0;
    border: 1px solid rgba(224, 179, 60, .6);
    border-radius: 50%;
    background: transparent;
    color: var(--acs-gold);
    cursor: pointer;
}
.acs-msearch-btn[aria-expanded="true"] { background: rgba(224, 179, 60, .15); }
.acs-msearch {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100000;
    padding: 12px 16px;
    background: var(--acs-navy);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .25);
}
.acs-msearch[hidden] { display: none; }
.acs-msearch__input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    font-size: 16px;
}
.acs-msearch .acs-search { left: 0; right: 0; width: auto; max-height: 60vh; }

/* The chat's "Need help to choose?" bubble sat above the chat button and covered the
   floating cart; it now sits to the left of the chat button. */
html #aci-ai-root .aci-ai__tooltip {
    right: 76px !important;
    bottom: 13px !important;
    border-radius: 20px !important;
    border-top-right-radius: 4px !important;
}
@media (max-width: 768px) {
    html #aci-ai-root .aci-ai__tooltip { right: 84px !important; bottom: 25px !important; }
}
/* While the cookie banner is open the bubble would cover its links. */
body:has(.cmplz-cookiebanner.cmplz-show) #aci-ai-root .aci-ai__tooltip { display: none !important; }

/* ---------- Language switch (DE / EN) ---------- */
.acs-lang[hidden] { display: none !important; }
.acs-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-right: 14px;
    padding: 3px;
    border: 1px solid rgba(224, 179, 60, .55);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}
.acs-lang__opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 6px;
    border-radius: 999px;
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}
.acs-lang { flex: none; white-space: nowrap; }
.acs-lang__opt:hover { background: rgba(255, 255, 255, .12); }
.acs-lang__opt.is-active { background: var(--acs-gold); color: var(--acs-navy) !important; }
.acs-lang__flag {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
    flex: none;
}
.acs-lang__flag svg { display: block; width: 100%; height: 100%; }
/* Mobile header: flags and codes only, compact. */
.acs-lang--mobile { margin-right: 8px; }
.acs-lang--mobile .acs-lang__opt { padding: 4px 8px 4px 4px; font-size: 11.5px; gap: 4px; }
.acs-lang--mobile .acs-lang__flag { width: 16px; height: 16px; }
/* Phones: flags only and tighter spacing, so the menu button stays on screen. */
@media (max-width: 420px) {
    .acs-lang--mobile { margin-right: 6px; }
    .acs-lang--mobile .acs-lang__code { display: none; }
    .acs-lang--mobile .acs-lang__opt { padding: 4px; }
    .acs-msearch-btn { margin-right: 6px; }
}
/* Very small phones: only the other language's flag, as a single switch button. */
@media (max-width: 350px) {
    #ast-mobile-header .custom-logo-link img { max-width: 92px !important; height: auto !important; }
    .acs-lang--mobile .acs-lang__opt.is-active { display: none; }
    .acs-msearch-btn { width: 36px; height: 36px; }
}

/* ---------- Consultation popup ---------- */
html.acs-modal-open, html.acs-modal-open body { overflow: hidden; }
.acs-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.acs-modal[hidden] { display: none; }
.acs-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); }
.acs-modal__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 32px 28px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .3);
}
.acs-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--acs-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.acs-modal__close:hover { background: #e2e8f0; }
.acs-modal__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a07a12;
}
.acs-modal__title { margin: 0 0 8px; font-size: 24px; line-height: 1.2; color: var(--acs-navy); }
.acs-modal__lead { margin: 0 0 18px; color: var(--acs-muted); font-size: 15px; }
.acs-modal__alt { margin: 16px 0 0; font-size: 14px; color: var(--acs-muted); }
.acs-modal__alt a { color: var(--acs-navy); font-weight: 700; }

/* ---------- Product page ---------- */
/* The category label above the title was near-white on white, and the capacity box
   repeated what the fact chips now show. */
.single-product .summary .single-product-category,
.single-product .summary .aci-capacity-summary { display: none !important; }

.acs-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 18px !important;
    padding: 0 !important;
    list-style: none !important;
}
.acs-facts li {
    margin: 0 !important;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--acs-navy);
    background: #fff;
    border: 1px solid var(--acs-line);
    border-radius: 999px;
}
.acs-facts li:first-child { background: #fdf6e3; border-color: rgba(224, 179, 60, .55); }

.acs-help {
    margin: 18px 0;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--acs-line);
    border-radius: 14px;
}
.acs-help__title { margin: 0 0 10px !important; font-weight: 700; color: var(--acs-navy); }
.acs-help__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acs-help__btn {
    flex: 1 1 180px;
    min-height: 42px;
    padding: 8px 14px !important;
    border: 1px solid var(--acs-navy) !important;
    border-radius: 10px !important;
    background: var(--acs-navy) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    cursor: pointer;
}
.acs-help__btn--ghost { background: #fff !important; color: var(--acs-navy) !important; }
.acs-help__note { margin: 10px 0 0 !important; font-size: 13px; color: var(--acs-muted); }

.acs-benefits { display: grid; gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.acs-benefits li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 !important;
    padding: 14px 16px 14px 44px;
    position: relative;
    background: #fff;
    border: 1px solid var(--acs-line);
    border-radius: 12px;
}
.acs-benefits li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    color: #15803d;
    font-weight: 800;
}
.acs-benefits strong { color: var(--acs-navy); }
.acs-benefits span { color: #334155; font-size: 15px; }

@media (max-width: 768px) {
    .single-product .summary .product_title { font-size: 24px !important; line-height: 1.25 !important; }
    .single-product form.cart { display: flex; gap: 10px; }
    .single-product form.cart .single_add_to_cart_button { flex: 1; }
}

/* Mobile bar: price + add to cart once the real button has scrolled away */
.acs-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147481000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--acs-line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .12);
}
.acs-sticky[hidden] { display: none; }
.acs-sticky__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.acs-sticky__name { font-size: 12px; color: var(--acs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acs-sticky__price { font-size: 16px; font-weight: 800; color: var(--acs-navy); }
.acs-sticky__btn {
    flex: none;
    min-height: 46px;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--acs-gold) !important;
    color: var(--acs-navy) !important;
    font-weight: 800 !important;
    text-transform: none !important;
}
/* Keep the chat button, its bubble and the floating cart above the bar. */
html.acs-sticky-on #aci-ai-root .aci-ai__launcher { bottom: 88px !important; }
html.acs-sticky-on #aci-ai-root .aci-ai__tooltip { bottom: 97px !important; }
html.acs-sticky-on .aci-floating-cart { transform: translateY(-72px); }

/* ---------- Shop filters ---------- */
.acs-filters { margin: 0 0 24px; width: 100%; clear: both; }
.acs-filters__open { display: none; }
.acs-filters__head { display: none; }
.acs-filters__panel {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--acs-line);
    border-radius: 14px;
}
/* The new filter replaces the earlier, simpler shop filter block. */
body:has(.acs-filters) .aci-shop-filters { display: none !important; }
.acs-filters__search { display: block; margin: 0 0 16px; }
.acs-filters__search input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--acs-line);
    border-radius: 10px;
    font-size: 15px;
}
.acs-filters__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.acs-filter { margin: 0; padding: 0; border: 0; min-width: 0; }
.acs-filter legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--acs-navy);
}
.acs-filter small { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.35; color: var(--acs-muted); }
.acs-check {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 6px;
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--acs-text);
    cursor: pointer;
}
.acs-check input { margin-top: 2px; accent-color: var(--acs-navy); }
.acs-check span { color: var(--acs-muted); }
.acs-check.is-empty { opacity: .45; }
.acs-filter__room { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.acs-filter__room input {
    width: 90px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--acs-line);
    border-radius: 8px;
}
.acs-filters__actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.acs-filters__apply {
    min-height: 40px;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--acs-navy) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
.acs-filters__reset { font-size: 14px; color: var(--acs-navy) !important; text-decoration: underline; }
.acs-loop-energy {
    display: inline-block;
    margin: 4px 0 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #166534;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
}

@media (max-width: 1200px) {
    .acs-filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Mobile and tablet: a "Filter" button opens the filters as a full-height panel. */
@media (max-width: 921px) {
    .acs-filters__open {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 0 16px !important;
        border: 1px solid var(--acs-navy) !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: var(--acs-navy) !important;
        font-weight: 700 !important;
        text-transform: none !important;
    }
    .acs-filters__badge {
        display: inline-grid;
        place-items: center;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: var(--acs-gold);
        font-size: 12px;
    }
    .acs-filters__panel {
        position: fixed;
        inset: 0;
        z-index: 2147483500;
        display: none;
        flex-direction: column;
        padding: 0;
        border: 0;
        border-radius: 0;
        overflow: hidden;
    }
    .acs-filters.is-open .acs-filters__panel { display: flex; }
    .acs-filters__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-bottom: 1px solid var(--acs-line);
        font-size: 18px;
        color: var(--acs-navy);
    }
    .acs-filters__close {
        width: 40px;
        height: 40px;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        color: var(--acs-text) !important;
        font-size: 24px !important;
    }
    .acs-filters__grid { flex: 1; grid-template-columns: 1fr; gap: 22px; padding: 18px 16px; overflow-y: auto; }
    .acs-check { font-size: 15px; margin-bottom: 10px; }
    .acs-filters__actions { margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--acs-line); }
    .acs-filters__apply { flex: 1; min-height: 48px; }
}

/* ---------- Homepage reviews ---------- */
.acs-reviews { padding: 64px 16px; background: #f8fafc; }
.acs-reviews__inner { max-width: 1180px; margin: 0 auto; }
.acs-reviews__eyebrow {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a07a12;
}
.acs-reviews__title { margin: 0 0 28px; color: var(--acs-navy); }
.acs-reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.acs-review { padding: 22px; background: #fff; border: 1px solid var(--acs-line); border-radius: 14px; }
.acs-review__stars { color: var(--acs-gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 10px; }
.acs-review__text { margin: 0 0 14px; color: var(--acs-text); }
.acs-review__meta { margin: 0; font-size: 14px; color: var(--acs-muted); }
.acs-review__meta a { color: var(--acs-navy); }
