/* =========================================================
   S4P HEADER
   New Slots4Play header / mega-menu system
   ========================================================= */


/* ---------------------------------------------------------
   1. BASE
   --------------------------------------------------------- */

.s4p-site-header {
    --s4p-header-red: #c71938;
    --s4p-header-red-dark: #a90f2b;
    --s4p-header-dark: #181516;
    --s4p-header-text: #171717;
    --s4p-header-muted: #777;
    --s4p-header-border: #ece8e8;
    --s4p-header-bg: #ffffff;
    --s4p-header-container: 1200px;

    position: relative;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.s4p-site-header *,
.s4p-site-header *::before,
.s4p-site-header *::after {
    box-sizing: border-box;
}

.s4p-header-container {
    width: 100%;
    max-width: var(--s4p-header-container);
    margin: 0 auto;
    padding: 0;
}


/* ---------------------------------------------------------
   2. MAIN HEADER BAR
   --------------------------------------------------------- */

.s4p-header-bar {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    background: var(--s4p-header-red);
    padding: 0 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   3. LOGO
   --------------------------------------------------------- */

.s4p-header-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 26px;
}

.s4p-header-logo__link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.s4p-header-logo__image {
    display: block;
    width: auto;
    max-width: 185px;
    max-height: 54px;
    object-fit: contain;
}


/* ---------------------------------------------------------
   4. DESKTOP NAVIGATION
   --------------------------------------------------------- */

.s4p-desktop-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    flex: 1 1 auto;
    min-width: 0;
}

.s4p-desktop-nav__list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s4p-nav-item {
    position: static;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.s4p-nav-item__top {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.s4p-nav-link {
    display: flex;
    align-items: center;
    min-height: 76px;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.18s ease,
        opacity 0.18s ease;
}

.s4p-nav-link:hover,
.s4p-nav-link:focus {
    color: #fff;
    opacity: 0.82;
}

.s4p-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 32px;
    margin: 0 0 0 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.s4p-nav-toggle svg {
    display: block;
    transition: transform 0.2s ease;
}

.s4p-nav-item.is-open .s4p-nav-toggle svg {
    transform: rotate(180deg);
}


/* ---------------------------------------------------------
   5. ACTIVE / HOVER NAV ITEM
   --------------------------------------------------------- */

.s4p-nav-item__top::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 12px;
    height: 2px;
    background: #fff;
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.s4p-nav-item:hover .s4p-nav-item__top::after,
.s4p-nav-item.is-open .s4p-nav-item__top::after {
    opacity: 1;
    transform: scaleX(1);
}


/* ---------------------------------------------------------
   6. MEGA MENU BASE
   --------------------------------------------------------- */

.s4p-mega-menu,
.s4p-app-menu,
.s4p-simple-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1005;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.s4p-nav-item.is-open > .s4p-mega-menu,
.s4p-nav-item.is-open > .s4p-app-menu,
.s4p-nav-item.is-open > .s4p-simple-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* ---------------------------------------------------------
   7. STANDARD MEGA MENU
   --------------------------------------------------------- */

.s4p-mega-menu {
    width: 100%;
    background: #fff;
    border: 1px solid var(--s4p-header-border);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.s4p-mega-menu__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 20px;
}

.s4p-mega-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.s4p-mega-columns--casinos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.s4p-mega-column {
    min-width: 0;
    padding: 0 22px;
    border-right: 1px solid #eee5e7;
}

.s4p-mega-column:first-child {
    padding-left: 0;
}

.s4p-mega-column:last-child {
    border-right: 0;
}

.s4p-mega-title {
    margin-bottom: 10px;
    color: var(--s4p-header-red);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.s4p-mega-link {
    position: relative;
    display: block;
    margin: 3px 0;
    padding: 7px 9px;
    color: var(--s4p-header-text);
    background: #faf7f8;
    border: 1px solid #f0e8ea;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.s4p-mega-link:hover,
.s4p-mega-link:focus {
    color: var(--s4p-header-red);
    background: #fff1f4;
    border-color: #e7c5cc;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(169, 15, 43, 0.08);
}

/* Icon rows used by the Slots mega menu. */
.s4p-mega-link--icon {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    min-height: 42px;
    margin: 3px 0;
    padding: 6px 8px;
    background: #faf7f8;
    border: 1px solid #f0e8ea;
    border-radius: 6px;
}

.s4p-mega-link--icon:hover,
.s4p-mega-link--icon:focus {
    background: #fff1f4;
    border-color: #e7c5cc;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(169, 15, 43, 0.08);
}

.s4p-mega-menu--slots .s4p-mega-link--icon .s4p-mega-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    color: var(--s4p-header-red);
}

.s4p-mega-menu--slots .s4p-mega-link--icon .s4p-mega-icon svg {
    display: block !important;
    flex: 0 0 23px !important;
    width: 23px !important;
    min-width: 23px !important;
    max-width: 23px !important;
    height: 23px !important;
    min-height: 23px !important;
    max-height: 23px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    fill: currentColor !important;
}

.s4p-mega-menu--slots .s4p-mega-link--icon .s4p-mega-icon svg path,
.s4p-mega-menu--slots .s4p-mega-link--icon .s4p-mega-icon svg circle,
.s4p-mega-menu--slots .s4p-mega-link--icon .s4p-mega-icon svg rect,
.s4p-mega-menu--slots .s4p-mega-link--icon .s4p-mega-icon svg polygon {
    fill: currentColor !important;
}

.s4p-mega-link__label {
    display: block;
    min-width: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

/* Give the Slots icons the mixed accent treatment from the design. */
.s4p-mega-icon--gamepad,
.s4p-mega-icon--diamond,
.s4p-mega-icon--palette,
.s4p-mega-icon--chart,
.s4p-mega-icon--pyramid,
.s4p-mega-icon--book,
.s4p-mega-icon--fish,
.s4p-mega-icon--rocket {
    color: #c71938;
}

.s4p-mega-icon--sparkles,
.s4p-mega-icon--trophy,
.s4p-mega-icon--bolt,
.s4p-mega-icon--cherries,
.s4p-mega-icon--apple,
.s4p-mega-icon--tree,
.s4p-mega-icon--pumpkin {
    color: #e09b16;
}

.s4p-mega-icon--building,
.s4p-mega-icon--grid,
.s4p-mega-icon--cards,
.s4p-mega-icon--slots,
.s4p-mega-icon--paw {
    color: #8f1630;
}

/* Slots mega menu: compact centered layout matching the new design. */
.s4p-mega-menu--slots {
    left: 50%;
    width: min(820px, calc(100vw - 40px));
    margin-left: -410px;
}

.s4p-slots-mega-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 215px;
    align-items: stretch;
    min-height: 0;
}

.s4p-slots-mega-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.s4p-mega-menu--slots .s4p-mega-columns {
    flex: 1 1 auto;
    padding: 16px 10px 12px;
}

.s4p-mega-menu--slots .s4p-mega-column {
    padding: 0 18px;
}

.s4p-mega-menu--slots .s4p-mega-column:first-child {
    padding-left: 8px;
}

.s4p-mega-menu--slots .s4p-mega-column:last-child {
    padding-right: 8px;
}

.s4p-mega-menu--slots .s4p-mega-title {
    margin-bottom: 8px;
}

.s4p-mega-menu--slots .s4p-mega-link--icon {
    min-height: 38px;
    gap: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.s4p-mega-menu--slots .s4p-mega-menu__footer-link {
    min-height: 44px;
}

.s4p-slots-mega-image {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-width: 0;
    padding: 10px;
    background: #fff;
    border-left: 1px solid var(--s4p-header-border);
}

.s4p-slots-mega-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 215px;
    max-height: 250px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
}

@media (max-width: 1100px) {
    .s4p-mega-menu--slots {
        left: 20px;
        right: 20px;
        width: auto;
        margin-left: 0;
    }

    .s4p-slots-mega-layout {
        grid-template-columns: minmax(0, 1fr) 240px;
    }
}


/* ---------------------------------------------------------
   CASINO REVIEWS MEGA MENU — COMPACT
   --------------------------------------------------------- */

.s4p-mega-menu--casinos {
    left: 50%;
    width: min(680px, calc(100vw - 40px));
    margin-left: -340px;
}

.s4p-mega-menu--casinos .s4p-mega-menu__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 215px;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

.s4p-casinos-mega-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.s4p-mega-menu--casinos .s4p-mega-columns--casinos {
    flex: 1 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 10px 12px;
}

.s4p-mega-menu--casinos .s4p-mega-column {
    padding: 0 18px;
}

.s4p-mega-menu--casinos .s4p-mega-column:first-child {
    padding-left: 8px;
}

.s4p-mega-menu--casinos .s4p-mega-column:last-child {
    padding-right: 8px;
    border-right: 0;
}

.s4p-mega-menu--casinos .s4p-mega-title {
    margin-bottom: 8px;
}

.s4p-mega-menu--casinos .s4p-mega-link {
    margin: 4px 0;
    padding: 7px 9px;
}

.s4p-mega-menu--casinos .s4p-mega-menu__footer-link {
    min-height: 44px;
}

.s4p-casinos-mega-side {
    min-width: 0;
    border-left: 1px solid var(--s4p-header-border);
    background: #fff;
}

.s4p-casinos-mega-image {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.s4p-casinos-mega-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 210px;
    max-height: 250px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
}

@media (max-width: 1100px) {
    .s4p-mega-menu--casinos {
        left: 20px;
        right: 20px;
        width: auto;
        margin-left: 0;
    }

    .s4p-mega-menu--casinos .s4p-mega-menu__inner {
        grid-template-columns: minmax(0, 1fr) 215px;
    }
}


/* ---------------------------------------------------------
   8. MEGA MENU PROMO CARD
   --------------------------------------------------------- */

.s4p-mega-promo {
    position: relative;
    flex: 0 0 300px;
    min-height: 220px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 211, 112, 0.28),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #b80f2e 0%,
            #d11b3d 55%,
            #8f0c24 100%
        );
}

.s4p-mega-promo::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: -70px;
    border: 24px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.s4p-mega-promo__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    min-height: 220px;
    padding: 28px;
}

.s4p-mega-promo__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.s4p-mega-promo__title {
    display: block;
    max-width: 220px;
    margin-bottom: 22px;
    color: #fff;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 800;
}

.s4p-mega-promo__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    background: #fff;
    color: var(--s4p-header-red);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.s4p-mega-promo__button:hover,
.s4p-mega-promo__button:focus {
    color: var(--s4p-header-red);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}


/* ---------------------------------------------------------
   9. MEGA MENU BOTTOM CTA
   --------------------------------------------------------- */

.s4p-mega-menu__footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 20px;
    border-top: 1px solid var(--s4p-header-border);
    color: var(--s4p-header-red);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.s4p-mega-menu__footer-link:hover,
.s4p-mega-menu__footer-link:focus {
    color: var(--s4p-header-red-dark);
    background: #fff8f9;
}


/* =========================================================
   CASINO BONUSES MEGA MENU — MATCH CASINO REVIEWS
   ========================================================= */

.s4p-mega-menu--bonuses {
    left: 50%;
    width: min(680px, calc(100vw - 40px));
    margin-left: -340px;
}

.s4p-mega-menu--bonuses .s4p-mega-menu__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 215px;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

.s4p-bonuses-mega-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.s4p-mega-menu--bonuses .s4p-mega-columns--bonuses {
    flex: 1 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 10px 12px;
}

.s4p-mega-menu--bonuses .s4p-mega-column {
    padding: 0 18px;
}

.s4p-mega-menu--bonuses .s4p-mega-column:first-child {
    padding-left: 8px;
}

.s4p-mega-menu--bonuses .s4p-mega-column:last-child {
    padding-right: 8px;
    border-right: 0;
}

.s4p-mega-menu--bonuses .s4p-mega-title {
    margin-bottom: 8px;
}

.s4p-mega-menu--bonuses .s4p-mega-link {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 4px 0 !important;
    padding: 7px 9px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

.s4p-mega-menu--bonuses .s4p-mega-menu__footer-link {
    min-height: 44px;
}

.s4p-bonuses-mega-side {
    min-width: 0;
    border-left: 1px solid var(--s4p-header-border);
    background: #fff;
}

.s4p-bonuses-mega-image {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.s4p-bonuses-mega-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 210px;
    max-height: 250px;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
}

@media (max-width: 1100px) {
    .s4p-mega-menu--bonuses {
        left: 20px;
        right: 20px;
        width: auto;
        margin-left: 0;
    }

    .s4p-mega-menu--bonuses .s4p-mega-menu__inner {
        grid-template-columns: minmax(0, 1fr) 215px;
    }
}


/* ---------------------------------------------------------
   11. S4P APP MEGA MENU
   --------------------------------------------------------- */

.s4p-nav-item--app {
    position: relative;
}

.s4p-app-menu {
    top: 100%;
    left: 50%;
    width: 620px;
    max-width: calc(100vw - 40px);
    overflow: hidden;
    background: #a3112b;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
    transform: translate(-50%, 8px);
}

.s4p-nav-item--app.is-open > .s4p-app-menu {
    transform: translate(-50%, 0);
}

.s4p-app-menu__layout {
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: start;
}

.s4p-app-menu__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 15px 16px 14px;
    background: linear-gradient(
        145deg,
        #8f0c24 0%,
        #a3112b 55%,
        #8f0c24 100%
    );
    color: #fff;
}

.s4p-app-menu__intro {
    margin: 0;
}

.s4p-app-menu__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.s4p-app-menu__cherries {
    flex: 0 0 auto;
    font-size: 23px;
    line-height: 1;
}

.s4p-app-menu__heading {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 1.05;
    font-weight: 800;
}

.s4p-app-menu__tagline {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

.s4p-app-menu__text {
    max-width: 255px;
    margin: 7px 0 9px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 9.5px;
    line-height: 1.4;
}

.s4p-app-menu__features {
    display: flex;
    flex-direction: column;
    margin: 0 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.s4p-app-feature {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 5px 6px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: #fff;
    cursor: default;
}

.s4p-app-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

.s4p-app-feature__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.s4p-app-feature__copy strong {
    margin: 0;
    color: #fff;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.s4p-app-feature__copy small {
    display: block;
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 8.5px;
    line-height: 1.2;
    text-decoration: none;
}

.s4p-app-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 9px 14px;
    background: #ffc83d;
    border: 0;
    border-radius: 0;
    color: #171717;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.16s ease;
}

.s4p-app-menu__cta:hover,
.s4p-app-menu__cta:focus {
    background: #ffd35f;
    color: #171717;
}

.s4p-app-menu__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #a3112b;
}

.s4p-app-menu__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 385px;
    margin: 0;
    object-fit: contain;
    object-position: top center;
}


/* ---------------------------------------------------------
   12. HEADER ACTIONS
   --------------------------------------------------------- */

.s4p-header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    margin-left: 14px;
}

.s4p-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

button.s4p-header-action {
    cursor: pointer;
}

.s4p-header-action:hover,
.s4p-header-action:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}


/* Language plugin wrapper */

.s4p-header-language {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 38px;
    min-height: 38px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background .18s ease, border-color .18s ease;
}

/*
 * Keep this wrapper free of transform/filter/perspective.
 * GTranslate renders popup UI from inside it.
 */
.s4p-header-language:hover,
.s4p-header-language:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
}

.s4p-header-language img {
    display: block;
    max-width: 24px;
    max-height: 18px;
}


/* Profile */

.s4p-header-profile {
    display: block;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: #fff;
}

.s4p-header-profile__avatar {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}


/* Logged-out Login */

.s4p-header-login,
.s4p-header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .35px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.s4p-header-login {
    border: 1px solid rgba(255,255,255,.12);
    background: #171b2f;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,.16);
}

.s4p-header-login:hover,
.s4p-header-login:focus {
    background: #222844;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0,0,0,.22);
}

.s4p-header-register {
    border: 1px solid #f3b900;
    background: linear-gradient(180deg, #ffd84d 0%, #ffc400 100%);
    color: #2b2200;
    box-shadow: 0 3px 10px rgba(0,0,0,.14);
}

.s4p-header-register:hover,
.s4p-header-register:focus {
    background: linear-gradient(180deg, #ffe16d 0%, #ffd01a 100%);
    color: #211a00;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0,0,0,.2);
}


/* ---------------------------------------------------------
   13. MOBILE HAMBURGER
   --------------------------------------------------------- */

.s4p-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.s4p-mobile-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: #fff;
}


/* ---------------------------------------------------------
   14. MOBILE NAV BASE
   --------------------------------------------------------- */

.s4p-mobile-navigation {
    display: none;
}


/* ---------------------------------------------------------
   15. MEDIUM DESKTOP
   Keep desktop navigation, but tighten spacing.
   --------------------------------------------------------- */

@media (max-width: 1199px) {

    .s4p-header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .s4p-header-bar {
        padding-left: 14px;
        padding-right: 14px;
    }

    .s4p-header-logo {
        margin-right: 14px;
    }

    .s4p-header-logo__image {
        max-width: 155px;
    }

    .s4p-nav-item__top {
        padding-left: 5px;
        padding-right: 5px;
    }

    .s4p-nav-link {
        font-size: 13px;
    }

    .s4p-header-actions {
        gap: 5px;
        margin-left: 8px;
    }

    .s4p-mega-menu__inner {
        gap: 22px;
        padding: 26px 24px 24px;
    }

    .s4p-mega-columns {
        gap: 22px;
    }

    .s4p-mega-promo {
        flex-basis: 260px;
    }
}


/* ---------------------------------------------------------
   16. TABLET / MOBILE NAVIGATION
   --------------------------------------------------------- */

@media (max-width: 1023px) {

    .s4p-site-header {
        z-index: 9999;
    }

    .s4p-header-container {
        padding: 0 12px;
    }

    .s4p-header-bar {
        min-height: 68px;
        padding: 0 14px;
    }

    .s4p-header-logo {
        margin-right: auto;
    }

    .s4p-header-logo__image {
        max-width: 165px;
        max-height: 48px;
    }

    .s4p-desktop-nav {
        display: none;
    }

    .s4p-header-actions {
        margin-left: auto;
    }

    .s4p-header-login,
    .s4p-header-register {
        display: none !important;
    }

    .s4p-header-notifications {
        display: none;
    }

    .s4p-header-language {
        display: none;
    }

    .s4p-mobile-toggle {
        display: inline-flex;
    }


    /* Mobile panel */

    .s4p-mobile-navigation {
        position: fixed;
        z-index: 10000;
        inset: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        background: rgba(15, 10, 11, 0.58);
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
    }

    .s4p-mobile-navigation.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .s4p-mobile-navigation__inner {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        width: min(430px, 100%);
        height: 100%;
        overflow: hidden;
        background: #fff;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.22);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .s4p-mobile-navigation.is-open
    .s4p-mobile-navigation__inner {
        transform: translateX(0);
    }


    /* Mobile panel header */

    .s4p-mobile-navigation__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex: 0 0 auto;
        min-height: 68px;
        padding: 0 20px;
        border-bottom: 1px solid var(--s4p-header-border);
    }

    .s4p-mobile-navigation__header strong {
        color: var(--s4p-header-text);
        font-size: 18px;
        line-height: 1.2;
        font-weight: 800;
    }

    .s4p-mobile-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f6f2f3;
        color: var(--s4p-header-text);
        font-size: 27px;
        line-height: 1;
        cursor: pointer;
    }


    /* Screens */

    .s4p-mobile-screen {
        display: none;
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 14px 18px 24px;
    }

    .s4p-mobile-screen.is-active {
        display: block;
    }

    .s4p-mobile-item {
        border-bottom: 1px solid #eee9ea;
    }

    .s4p-mobile-link,
    .s4p-mobile-drilldown {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 54px;
        margin: 0;
        padding: 10px 4px;
        border: 0;
        background: transparent;
        color: var(--s4p-header-text);
        font-size: 15px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        text-decoration: none;
    }

    .s4p-mobile-drilldown {
        cursor: pointer;
    }

    .s4p-mobile-drilldown > span:last-child {
        color: var(--s4p-header-red);
        font-size: 25px;
        line-height: 1;
        font-weight: 400;
    }

    .s4p-mobile-link:hover,
    .s4p-mobile-link:focus,
    .s4p-mobile-drilldown:hover,
    .s4p-mobile-drilldown:focus {
        color: var(--s4p-header-red);
    }



    /* Mobile drawer logo */
    .s4p-mobile-navigation__logo {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        max-width: 210px;
        height: 58px;
        text-decoration: none;
    }

    .s4p-mobile-navigation__logo-image {
        display: block;
        width: auto !important;
        max-width: 200px !important;
        max-height: 58px !important;
        height: auto !important;
        object-fit: contain;
    }

    /* Parent menu rows: label navigates, arrow opens submenu */
    .s4p-mobile-parent-row {
        display: flex;
        align-items: stretch;
        width: 100%;
        min-height: 58px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .s4p-mobile-parent-link {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        padding: 15px 8px;
        color: #fff !important;
        font-size: 18px;
        line-height: 1.25;
        font-weight: 700;
        text-decoration: none !important;
    }

    .s4p-mobile-parent-link:hover,
    .s4p-mobile-parent-link:focus {
        color: #ffc83d !important;
        text-decoration: none !important;
    }

    .s4p-mobile-parent-row .s4p-mobile-drilldown {
        flex: 0 0 52px;
        width: 52px;
        min-width: 52px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        border: 0;
        color: #ffc83d;
        font-size: 27px;
        line-height: 1;
        cursor: pointer;
    }

    .s4p-mobile-parent-row .s4p-mobile-drilldown:hover,
    .s4p-mobile-parent-row .s4p-mobile-drilldown:focus {
        color: #ffd968;
        background: transparent;
    }

    /* Child screens */

    .s4p-mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 36px;
        margin: 0 0 12px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--s4p-header-red);
        font-size: 13px;
        line-height: 1;
        font-weight: 800;
        cursor: pointer;
    }

    .s4p-mobile-screen__title {
        margin-bottom: 8px;
        padding-bottom: 13px;
        border-bottom: 1px solid var(--s4p-header-border);
        color: var(--s4p-header-text);
        font-size: 22px;
        line-height: 1.2;
        font-weight: 800;
    }

    .s4p-mobile-screen > .s4p-mobile-link {
        border-bottom: 1px solid #eee9ea;
    }

    .s4p-mobile-view-all {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 46px;
        margin-top: 18px;
        padding: 10px 16px;
        background: var(--s4p-header-red);
        color: #fff;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 800;
        text-decoration: none;
        text-transform: uppercase;
    }

    .s4p-mobile-view-all:hover,
    .s4p-mobile-view-all:focus {
        background: var(--s4p-header-red-dark);
        color: #fff;
    }


    /* Mobile app card */

    .s4p-mobile-app-card {
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 180px;
        margin-top: 12px;
        padding: 25px;
        overflow: hidden;
        background:
            radial-gradient(
                circle at 85% 25%,
                rgba(255, 255, 255, 0.14),
                transparent 28%
            ),
            linear-gradient(
                135deg,
                #c71938,
                #8d0d25
            );
        color: #fff;
        text-decoration: none;
    }

    .s4p-mobile-app-card::after {
        content: "S4P";
        position: absolute;
        right: 20px;
        bottom: -10px;
        color: rgba(255, 255, 255, 0.1);
        font-size: 78px;
        line-height: 1;
        font-weight: 900;
    }

    .s4p-mobile-app-card strong {
        position: relative;
        z-index: 2;
        margin-bottom: 8px;
        color: #fff;
        font-size: 22px;
        line-height: 1.2;
        font-weight: 800;
    }

    .s4p-mobile-app-card span {
        position: relative;
        z-index: 2;
        max-width: 250px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 13px;
        line-height: 1.5;
    }


    /* Mobile bottom actions */

    .s4p-mobile-navigation__actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex: 0 0 auto;
        padding: 14px 18px;
        border-top: 1px solid var(--s4p-header-border);
        background: #faf8f8;
    }

    .s4p-mobile-navigation__language {
        display: flex;
        align-items: center;
    }

    .s4p-mobile-account-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin-left: auto;
    }

    .s4p-mobile-account {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 16px;
        border-radius: 7px;
        color: #fff;
        font-size: 12px;
        line-height: 1;
        font-weight: 800;
        text-decoration: none;
    }

    .s4p-mobile-account:hover,
    .s4p-mobile-account:focus {
        background: var(--s4p-header-red-dark);
        color: #fff;
    }
}


/* ---------------------------------------------------------
   17. PHONE
   --------------------------------------------------------- */

@media (max-width: 575px) {

    .s4p-header-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .s4p-header-bar {
        min-height: 62px;
        padding-left: 12px;
        padding-right: 10px;
    }

    .s4p-header-logo__image {
        max-width: 145px;
        max-height: 44px;
    }

    .s4p-header-actions {
        gap: 4px;
    }

    .s4p-header-action,
    .s4p-header-profile {
        width: 36px;
        height: 36px;
    }

    .s4p-mobile-toggle {
        width: 38px;
        height: 38px;
    }

    .s4p-mobile-navigation__inner {
        width: 100%;
    }

    .s4p-mobile-navigation__header {
        min-height: 62px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .s4p-mobile-screen {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ---------------------------------------------------------
   18. BODY LOCK
   JS adds this class while mobile navigation is open.
   --------------------------------------------------------- */

body.s4p-menu-open {
    overflow: hidden;
}


    @media (max-width: 767px) {
        .s4p-mobile-navigation__header {
            min-height: 82px;
        }

        .s4p-mobile-navigation__logo {
            max-width: 185px;
            height: 52px;
        }

        .s4p-mobile-navigation__logo-image {
            max-width: 180px !important;
            max-height: 52px !important;
        }

        .s4p-mobile-parent-row {
            min-height: 58px;
        }

        .s4p-mobile-parent-link {
            padding-left: 8px;
            font-size: 18px;
        }

        .s4p-mobile-parent-row .s4p-mobile-drilldown {
            width: 48px;
            min-width: 48px;
            flex-basis: 48px;
        }
    }


/* =========================================================
   FINAL MOBILE DRAWER OVERRIDES
   Keeps the redesigned burgundy drawer authoritative over
   legacy/global theme rules.
   ========================================================= */
@media (max-width: 1023px) {

    .s4p-mobile-navigation__inner {
        background: linear-gradient(180deg, #4b0005 0%, #330003 100%) !important;
        color: #fff !important;
    }

    .s4p-mobile-navigation__header {
        background: #430004 !important;
        border-bottom-color: rgba(255,255,255,.14) !important;
    }

    .s4p-mobile-navigation__logo {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        max-width: 190px !important;
        height: 54px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .s4p-mobile-navigation__logo-image {
        display: block !important;
        width: auto !important;
        max-width: 185px !important;
        max-height: 52px !important;
        height: auto !important;
        margin: 0 !important;
    }

    .s4p-mobile-screen,
    .s4p-mobile-screen.is-active {
        background: transparent !important;
        color: #fff !important;
    }

    .s4p-mobile-item {
        border-bottom-color: rgba(255,255,255,.12) !important;
    }

    .s4p-mobile-parent-row {
        display: flex !important;
        align-items: stretch !important;
        width: 100% !important;
        min-height: 58px !important;
        border-bottom: 1px solid rgba(255,255,255,.12) !important;
    }

    .s4p-mobile-parent-link {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 12px 8px !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .s4p-mobile-parent-link:hover,
    .s4p-mobile-parent-link:focus {
        color: #ffc83d !important;
    }

    .s4p-mobile-parent-row .s4p-mobile-drilldown {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 6px 0 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #ffc83d !important;
        font-size: 26px !important;
        line-height: 1 !important;
    }

    .s4p-mobile-link {
        color: #fff !important;
        border-color: rgba(255,255,255,.12) !important;
    }

    .s4p-mobile-back {
        color: #ffc83d !important;
    }

    .s4p-mobile-screen__title {
        color: #fff !important;
        border-bottom-color: rgba(255,255,255,.14) !important;
    }

    .s4p-mobile-navigation__actions {
        position: relative !important;
        z-index: 10030 !important;
        overflow: visible !important;
        background: #3a0003 !important;
        border-top-color: rgba(255,255,255,.14) !important;
    }

    .s4p-mobile-navigation__language {
        position: relative !important;
        z-index: 10040 !important;
        overflow: visible !important;
    }

    /* Keep GTranslate's selector/popup above the drawer. */
    .s4p-mobile-navigation__language .gtranslate_wrapper,
    .s4p-mobile-navigation__language .gt_switcher,
    .s4p-mobile-navigation__language .gt_float_switcher,
    .s4p-mobile-navigation__language .gt_options {
        position: relative;
        z-index: 10050 !important;
        overflow: visible !important;
    }

    .s4p-mobile-account {
        color: #fff !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        text-decoration: none !important;
        white-space: nowrap;
    }

    .s4p-mobile-account--login {
        background: #171b2f !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        box-shadow: 0 3px 10px rgba(0,0,0,.18);
    }

    .s4p-mobile-account--register {
        background: linear-gradient(180deg, #ffd84d 0%, #ffc400 100%) !important;
        border: 1px solid #f3b900 !important;
        color: #2b2200 !important;
        box-shadow: 0 3px 10px rgba(0,0,0,.16);
    }

    /* OneSignal / notification launcher: sit above the mobile bottom bar. */
    body.s4p-menu-open .onesignal-bell-container,
    body.s4p-menu-open #onesignal-bell-container,
    body.s4p-menu-open .onesignal-bell-launcher,
    body.s4p-menu-open .s4p-notification-bell[style*="fixed"] {
        bottom: 86px !important;
        z-index: 10060 !important;
    }
}

@media (max-width: 575px) {
    .s4p-mobile-navigation__logo {
        max-width: 165px !important;
        height: 48px !important;
    }

    .s4p-mobile-navigation__logo-image {
        max-width: 160px !important;
        max-height: 46px !important;
    }
}


/* =========================================================
   MOBILE ACCORDION NAVIGATION
   ========================================================= */
@media (max-width: 1023px) {

    .s4p-mobile-accordion {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 14px 18px 24px;
        background: transparent;
    }

    .s4p-mobile-accordion__item {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .s4p-mobile-accordion__row {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 46px;
        align-items: center;
        min-height: 60px;
    }

    .s4p-mobile-accordion__item:not(.has-panel) .s4p-mobile-accordion__row {
        grid-template-columns: 32px minmax(0, 1fr);
        padding-right: 46px;
    }

    .s4p-mobile-accordion__icon {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        width: 26px;
        min-width: 26px;
        color: #ffc83d;
        font-size: 20px;
        line-height: 1;
        filter: saturate(.9);
    }

    .s4p-mobile-accordion__link {
        display: flex;
        align-items: center;
        min-height: 60px;
        padding: 10px 8px 10px 4px;
        color: #fff !important;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 700;
        text-decoration: none !important;
    }

    .s4p-mobile-accordion__link:hover,
    .s4p-mobile-accordion__link:focus {
        color: #ffc83d !important;
    }

    .s4p-mobile-accordion__toggle {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 60px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .s4p-mobile-accordion__toggle span,
    .s4p-mobile-accordion__toggle span::after {
        position: absolute;
        display: block;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: #ffc83d;
        content: "";
        transition: transform .2s ease;
    }

    .s4p-mobile-accordion__toggle span::after {
        transform: rotate(90deg);
    }

    .s4p-mobile-accordion__item.is-open .s4p-mobile-accordion__toggle span::after {
        transform: rotate(0);
    }

    .s4p-mobile-accordion__panel {
        display: grid;
        grid-template-rows: 0fr;
        opacity: 0;
        overflow: hidden;
        transition:
            grid-template-rows .22s ease,
            opacity .18s ease;
    }

    .s4p-mobile-accordion__panel:not([hidden]) {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    .s4p-mobile-accordion__panel-inner {
        min-height: 0;
        overflow: hidden;
        padding: 0 0 10px 32px;
    }

    .s4p-mobile-accordion__child-link {
        display: block;
        padding: 10px 12px;
        border-top: 1px solid rgba(255,255,255,.08);
        color: rgba(255,255,255,.88) !important;
        font-size: 14px;
        line-height: 1.35;
        font-weight: 600;
        text-decoration: none !important;
    }

    .s4p-mobile-accordion__child-link:hover,
    .s4p-mobile-accordion__child-link:focus {
        color: #ffc83d !important;
    }

    .s4p-mobile-accordion .s4p-mobile-app-card {
        display: block;
        margin: 10px 0 8px;
        min-height: 130px;
        padding: 20px;
        border-radius: 8px;
        background: linear-gradient(135deg, #d7193f 0%, #a91330 100%);
        color: #fff !important;
        text-decoration: none !important;
    }

    .s4p-mobile-accordion .s4p-mobile-app-card strong {
        display: block;
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 1.15;
    }

    .s4p-mobile-accordion .s4p-mobile-app-card span {
        display: block;
        font-size: 14px;
        line-height: 1.45;
    }
}

@media (max-width: 575px) {
    .s4p-mobile-accordion {
        padding-left: 16px;
        padding-right: 16px;
    }

    .s4p-mobile-accordion__row {
        grid-template-columns: 30px minmax(0, 1fr) 44px;
    }

    .s4p-mobile-accordion__item:not(.has-panel) .s4p-mobile-accordion__row {
        grid-template-columns: 30px minmax(0, 1fr);
        padding-right: 44px;
    }

    .s4p-mobile-accordion__panel-inner {
        padding-left: 30px;
    }
}


/* =========================================================
   S4P MOBILE MENU — AUTHORITATIVE FIX
   Matches the current accordion PHP markup.
   ========================================================= */
@media (max-width: 1023px) {

    .s4p-mobile-navigation__inner {
        background: linear-gradient(180deg, #4b0005 0%, #330003 100%) !important;
        color: #fff !important;
        overflow: hidden !important;
    }

    .s4p-mobile-navigation__header {
        background: #430004 !important;
        border-bottom: 1px solid rgba(255,255,255,.14) !important;
    }

    .s4p-mobile-accordion {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 14px 22px 24px !important;
        background: transparent !important;
    }

    .s4p-mobile-accordion__item {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,.12) !important;
        background: transparent !important;
    }

    .s4p-mobile-accordion__row,
    .s4p-mobile-accordion__item:not(.has-panel) .s4p-mobile-accordion__row {
        display: grid !important;
        grid-template-columns: 34px minmax(0,1fr) 46px !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .s4p-mobile-accordion__icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffc83d !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .s4p-mobile-accordion__icon svg {
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;
        min-height: 22px !important;
        max-height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .s4p-mobile-accordion__icon svg *,
    .s4p-mobile-accordion__icon path,
    .s4p-mobile-accordion__icon rect,
    .s4p-mobile-accordion__icon circle {
        fill: none !important;
        stroke: currentColor !important;
        vector-effect: non-scaling-stroke;
    }

    .s4p-mobile-accordion__link {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .s4p-mobile-accordion__link:hover,
    .s4p-mobile-accordion__link:focus {
        color: #ffc83d !important;
    }

    .s4p-mobile-accordion__toggle {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        cursor: pointer !important;
    }

    .s4p-mobile-accordion__toggle > span,
    .s4p-mobile-accordion__toggle > span::after {
        position: absolute !important;
        display: block !important;
        width: 16px !important;
        height: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 2px !important;
        background: #ffc83d !important;
        box-shadow: none !important;
        content: "" !important;
        transition: transform .2s ease !important;
    }

    .s4p-mobile-accordion__toggle > span::after {
        left: 0 !important;
        top: 0 !important;
        transform: rotate(90deg) !important;
    }

    .s4p-mobile-accordion__item.is-open
    .s4p-mobile-accordion__toggle > span::after {
        transform: rotate(0deg) !important;
    }

    /* Closed by default. Only .is-open may reveal it. */
    .s4p-mobile-accordion__panel,
    .s4p-mobile-accordion__panel:not([hidden]) {
        display: block !important;
        width: 100% !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        background: transparent !important;
        transition: max-height .25s ease, opacity .18s ease, visibility .18s ease !important;
    }

    .s4p-mobile-accordion__item.is-open > .s4p-mobile-accordion__panel,
    .s4p-mobile-accordion__item.is-open > .s4p-mobile-accordion__panel:not([hidden]) {
        max-height: 1600px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .s4p-mobile-accordion__panel-inner {
        display: block !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 0 10px 42px !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .s4p-mobile-accordion__child-link {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        border: 0 !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: rgba(255,255,255,.90) !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .s4p-mobile-accordion__child-link:hover,
    .s4p-mobile-accordion__child-link:focus,
    .s4p-mobile-accordion__child-link--app {
        color: #ffc83d !important;
    }

    .s4p-mobile-navigation__actions {
        position: relative !important;
        z-index: 10030 !important;
        overflow: visible !important;
        background: #3a0003 !important;
    }

    .s4p-mobile-navigation__language,
    .s4p-mobile-navigation__language .gtranslate_wrapper,
    .s4p-mobile-navigation__language .gt_switcher,
    .s4p-mobile-navigation__language .gt_float_switcher,
    .s4p-mobile-navigation__language .gt_options {
        z-index: 10050 !important;
        overflow: visible !important;
    }

    body.s4p-menu-open .onesignal-bell-container,
    body.s4p-menu-open #onesignal-bell-container,
    body.s4p-menu-open .onesignal-bell-launcher,
    body.s4p-menu-open .s4p-notification-bell[style*="fixed"] {
        bottom: 86px !important;
        z-index: 10060 !important;
    }
}

@media (max-width: 575px) {
    .s4p-mobile-accordion {
        padding-left: 22px !important;
        padding-right: 18px !important;
    }

    .s4p-mobile-accordion__row,
    .s4p-mobile-accordion__item:not(.has-panel) .s4p-mobile-accordion__row {
        grid-template-columns: 32px minmax(0,1fr) 44px !important;
    }

    .s4p-mobile-accordion__panel-inner {
        padding-left: 40px !important;
    }
}


/* Mobile accordion icon update */
.s4p-mobile-accordion__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.s4p-mobile-accordion__child-link--app {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffc83d;
}


@media (max-width: 520px) {
    .s4p-mobile-navigation__actions {
        gap: 10px;
    }

    .s4p-mobile-account-actions {
        gap: 7px;
    }

    .s4p-mobile-account {
        min-height: 40px;
        padding: 7px 11px;
        font-size: 12px;
    }
}
