/*
 * Wspólny navbar Tofaa.
 * Źródło HTML: template-parts/site-navbar.php
 */
:root {
    --tofaa-purple: #7C4FA0;
    --tofaa-purple-light: #B083BC;
    --tofaa-beige: #F8EAE1;
    --tofaa-green: #ABB538;
    --tofaa-white: #fffdfb;
}

.tofaa-nav,
.tofaa-nav * {
    box-sizing: border-box;
}

.tofaa-nav {
    font-family: "Rubik", Arial, sans-serif;
}

/* Navbar jest fixed, więc podstrony potrzebują miejsca nad treścią. */
.tofaa-navbar-spacer {
    width: 100%;
    height: clamp(132px, 9.2vw, 154px);
    background: #F8EAE1;
}

@media (max-width: 980px) {
    .tofaa-navbar-spacer {
        height: 112px;
    }
}

@media (max-width: 620px) {
    .tofaa-navbar-spacer {
        height: 100px;
    }
}

.tofaa-nav {
    width: min(1480px, 100%);
    min-height: 100px;
    margin: 0 auto;
    padding: 15px clamp(22px, 3vw, 46px);
    display: grid;
    grid-template-columns: minmax(180px, 250px) 1fr auto;
    align-items: center;
    gap: 24px;
    background: var(--tofaa-white);
    border: 1px solid rgba(124, 79, 160, .15);
    border-radius: 30px;
    box-shadow: 0 14px 38px rgba(91, 49, 87, .12);
    position: relative;
    z-index: 20;
    isolation: isolate;
    overflow: visible;
}.tofaa-nav__brand {
    width: 190px;
    height: 70px;
    display: flex;
    align-items: center;
    color: var(--tofaa-purple);
}.tofaa-nav__brand svg,
.tofaa-nav__brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}.tofaa-nav__menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(24px, 2.7vw, 52px);
}.tofaa-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}.tofaa-nav__link,
.tofaa-nav__trigger,
.tofaa-nav__action {
    color: var(--tofaa-purple);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}.tofaa-nav__link,
.tofaa-nav__trigger,
.tofaa-nav__action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
    isolation: isolate;
}.tofaa-nav__trigger {
    padding: 0;
    gap: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}.tofaa-nav__link::after,
.tofaa-nav__trigger::after,
.tofaa-nav__action::after {
    content: "";
    height: 2px;
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    border-radius: 999px;
    background: var(--tofaa-purple-light);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
}.tofaa-nav__link:hover::after,
.tofaa-nav__link:focus-visible::after,
.tofaa-nav__item--dropdown:hover > .tofaa-nav__trigger::after,
.tofaa-nav__item--dropdown:focus-within > .tofaa-nav__trigger::after,
.tofaa-nav__item--dropdown.is-open > .tofaa-nav__trigger::after,
.tofaa-nav__action:hover::after,
.tofaa-nav__action:focus-visible::after {
    transform: scaleX(1);
}.tofaa-nav__item--dropdown:hover > .tofaa-nav__trigger--featured::after,
.tofaa-nav__item--dropdown:focus-within > .tofaa-nav__trigger--featured::after,
.tofaa-nav__item--dropdown.is-open > .tofaa-nav__trigger--featured::after {
    transform: none;
}.tofaa-nav__link,
.tofaa-nav__trigger,
.tofaa-nav__action {
    transition: color .2s ease, opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}.tofaa-nav__link:hover,
.tofaa-nav__link:focus-visible,
.tofaa-nav__trigger:hover,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger,
.tofaa-nav__action:hover,
.tofaa-nav__action:focus-visible {
    color: var(--tofaa-purple);
    opacity: 1;
    transform: translateY(-2px);
    outline: none;
}@property --tofaa-shop-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}.tofaa-nav__trigger--featured {
    --tofaa-shop-angle: 0deg;
    min-height: 42px;
    padding: 10px 16px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 999px;
    color: var(--tofaa-purple);
    background:
        linear-gradient(var(--tofaa-white), var(--tofaa-white)) padding-box,
        conic-gradient(
            from var(--tofaa-shop-angle),
            var(--tofaa-purple) 0deg,
            var(--tofaa-beige) 90deg,
            var(--tofaa-purple) 180deg,
            var(--tofaa-beige) 270deg,
            var(--tofaa-purple) 360deg
        ) border-box;
    box-shadow: 0 7px 18px rgba(124, 79, 160, .14);
    animation: tofaa-shop-border-spin 4.5s linear infinite;
}.tofaa-nav__trigger--featured > span,
.tofaa-nav__trigger--featured .tofaa-nav__chevron {
    position: relative;
    z-index: 1;
}.tofaa-nav__trigger--featured::before,
.tofaa-nav__trigger--featured::after {
    display: none;
}.tofaa-nav__trigger--featured:hover,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger--featured,
.tofaa-nav__item.is-open > .tofaa-nav__trigger--featured {
    color: var(--tofaa-purple);
    background:
        linear-gradient(rgba(248, 234, 225, .78), rgba(248, 234, 225, .78)) padding-box,
        conic-gradient(
            from var(--tofaa-shop-angle),
            var(--tofaa-purple) 0deg,
            var(--tofaa-beige) 90deg,
            var(--tofaa-purple) 180deg,
            var(--tofaa-beige) 270deg,
            var(--tofaa-purple) 360deg
        ) border-box;
    box-shadow: 0 11px 24px rgba(124, 79, 160, .24);
    animation-duration: 2.2s;
}.tofaa-nav__trigger--featured .tofaa-nav__chevron {
    color: var(--tofaa-purple);
    background: rgba(176, 131, 188, .14);
}.tofaa-nav__item--dropdown:hover .tofaa-nav__trigger--featured .tofaa-nav__chevron,
.tofaa-nav__item--dropdown:focus-within .tofaa-nav__trigger--featured .tofaa-nav__chevron,
.tofaa-nav__item--dropdown.is-open .tofaa-nav__trigger--featured .tofaa-nav__chevron {
    background: rgba(176, 131, 188, .28);
}@keyframes tofaa-shop-border-spin {
    to { --tofaa-shop-angle: 1turn; }
}@media (prefers-reduced-motion: reduce) {.tofaa-nav__trigger--featured {
        animation: none;
    }}.tofaa-nav__chevron {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 22px;
    border-radius: 50%;
    background: rgba(176, 131, 188, .14);
    transition: transform .32s cubic-bezier(.2,.8,.2,1), background-color .22s ease;
}.tofaa-nav__chevron svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}.tofaa-nav__item--dropdown:hover .tofaa-nav__chevron,
.tofaa-nav__item--dropdown:focus-within .tofaa-nav__chevron,
.tofaa-nav__item--dropdown.is-open .tofaa-nav__chevron {
    background: rgba(176, 131, 188, .28);
    transform: translateY(1px) rotate(180deg);
}.tofaa-nav__submenu {
    min-width: 292px;
    padding-top: 16px;
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -24px) scale(.985);
    transform-origin: top center;
    transition: opacity .24s ease, visibility .24s ease, transform .34s cubic-bezier(.2,.8,.2,1);
}.tofaa-nav__submenu::before {
    content: "";
    height: 32px;
    position: absolute;
    top: -16px;
    right: 0;
    left: 0;
}.tofaa-nav__submenu-panel {
    padding: 15px 0;
    overflow: hidden;
    border: 1px solid rgba(124, 79, 160, .14);
    border-radius: 0 0 26px 26px;
    background: var(--tofaa-white);
    box-shadow: 0 20px 34px rgba(65, 30, 71, .18);
}.tofaa-nav__submenu a {
    padding: 13px 24px;
    display: block;
    color: var(--tofaa-purple);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    transition: background .18s ease, padding-left .18s ease;
}.tofaa-nav__submenu a:hover,
.tofaa-nav__submenu a:focus-visible {
    color: var(--tofaa-purple);
    background: rgba(176, 131, 188, .16);
    padding-left: 30px;
    outline: none;
}.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu,
.tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu,
.tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}.tofaa-nav__submenu--about {
    min-width: 270px;
}.tofaa-nav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2vw, 34px);
}.tofaa-nav__action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7C4FA0 !important;
}.tofaa-nav__action svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}.tofaa-nav__cart b {
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tofaa-green);
    color: var(--tofaa-white);
    font-size: 12px;
}.tofaa-nav__toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 0;
    border-radius: 50%;
    background: var(--tofaa-beige);
}.tofaa-nav__toggle span {
    width: 100%;
    height: 2px;
    margin: 4px 0;
    display: block;
    background: var(--tofaa-purple);
}@media (max-width: 1250px) {.tofaa-nav {
        grid-template-columns: 175px 1fr auto;
        gap: 16px;
    }.tofaa-nav__brand {
        width: 165px;
    }.tofaa-nav__menu {
        gap: 22px;
    }.tofaa-nav__link,
    .tofaa-nav__trigger,
    .tofaa-nav__action {
        font-size: 13px;
    }}@media (max-width: 980px) {.tofaa-nav {
        min-height: 82px;
        padding: 10px 18px;
        grid-template-columns: 145px 1fr auto;
        border-radius: 24px;
    }.tofaa-nav__brand {
        width: 140px;
        height: 56px;
    }.tofaa-nav__toggle {
        display: block;
        justify-self: end;
    }.tofaa-nav__menu {
        width: calc(100% - 28px);
        padding: 18px;
        position: absolute;
        top: calc(100% + 10px);
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 20px;
        background: var(--tofaa-white);
        box-shadow: 0 18px 30px rgba(65,30,71,.16);
    }.tofaa-nav__menu.is-open {
        display: flex;
    }.tofaa-nav__item {
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(124,79,160,.12);
    }.tofaa-nav__link,
    .tofaa-nav__trigger {
        width: 100%;
        min-height: 50px;
        padding: 14px 10px;
        justify-content: space-between;
        border-bottom: 1px solid rgba(124,79,160,.12);
    }.tofaa-nav__item > .tofaa-nav__trigger {
        border-bottom: 0;
    }.tofaa-nav__trigger--featured {
        width: 100%;
        margin: 6px 0;
        padding: 14px 16px;
        border-radius: 16px;
    }.tofaa-nav__trigger::after {
        bottom: 8px;
    }.tofaa-nav__submenu,
    .tofaa-nav__submenu--about {
        width: 100%;
        min-width: 0;
        max-height: 0;
        padding: 0;
        position: static;
        z-index: auto;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: max-height .3s ease;
    }.tofaa-nav__submenu::before {
        display: none;
    }.tofaa-nav__submenu-panel {
        margin: 0 4px 12px;
        padding: 7px 0;
        border-radius: 18px;
        box-shadow: none;
        background: var(--tofaa-white);
    }.tofaa-nav__submenu a {
        padding: 11px 18px;
        border: 0;
        font-size: 13px;
    }.tofaa-nav__submenu a:hover,
    .tofaa-nav__submenu a:focus-visible {
        padding-left: 23px;
    }.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu,
    .tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu {
        max-height: 0;
    }.tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu {
        max-height: 360px;
    }.tofaa-nav__actions .tofaa-nav__action span:not(.screen-reader-text),
    .tofaa-nav__cart b {
        display: none;
    }.tofaa-nav__actions {
        gap: 12px;
    }}@media (max-width: 620px) {.tofaa-nav {
        grid-template-columns: 115px 1fr auto;
        padding: 8px 12px;
    }.tofaa-nav__brand {
        width: 110px;
        height: 48px;
    }.tofaa-nav__actions {
        display: none;
    }}.tofaa-nav a.tofaa-nav__link,
.tofaa-nav a.tofaa-nav__link:link,
.tofaa-nav a.tofaa-nav__link:visited,
.tofaa-nav a.tofaa-nav__link:hover,
.tofaa-nav a.tofaa-nav__link:focus,
.tofaa-nav a.tofaa-nav__link:focus-visible,
.tofaa-nav a.tofaa-nav__link:active,
.tofaa-nav a.tofaa-nav__action,
.tofaa-nav a.tofaa-nav__action:link,
.tofaa-nav a.tofaa-nav__action:visited,
.tofaa-nav a.tofaa-nav__action:hover,
.tofaa-nav a.tofaa-nav__action:focus,
.tofaa-nav a.tofaa-nav__action:focus-visible,
.tofaa-nav a.tofaa-nav__action:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}.tofaa-nav {
    width: min(1480px, calc(100vw - clamp(28px, 4.4vw, 68px)));
    margin: 0;
    position: fixed;
    top: clamp(14px, 1.45vw, 24px);
    left: 50%;
    z-index: 9990;
    transform: translateX(-50%);

    /* Fallback dla przeglądarek bez backdrop-filter. */
    background-color: rgba(255, 253, 251, .88);
    background-image:
        radial-gradient(circle at 12% -35%, rgba(255, 255, 255, .96) 0 22%, transparent 48%),
        radial-gradient(circle at 88% 145%, rgba(176, 131, 188, .22) 0 18%, transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, .64), rgba(248, 234, 225, .38));
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow:
        0 18px 48px rgba(72, 38, 76, .15),
        inset 0 1px 0 rgba(255, 255, 255, .92),
        inset 0 -1px 0 rgba(124, 79, 160, .08);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
    backdrop-filter: blur(24px) saturate(165%);
}body.admin-bar .tofaa-nav {
    top: calc(32px + clamp(14px, 1.45vw, 24px));
}@media (max-width: 980px) {.tofaa-nav {
        width: calc(100vw - 28px);
        top: 14px;
        background-color: rgba(255, 253, 251, .9);
    }.tofaa-nav__menu {
        background-color: rgba(255, 253, 251, .9);
        background-image: linear-gradient(135deg, rgba(255,255,255,.66), rgba(248,234,225,.44));
        border: 1px solid rgba(255, 255, 255, .72);
        -webkit-backdrop-filter: blur(22px) saturate(155%);
        backdrop-filter: blur(22px) saturate(155%);
    }}@media (max-width: 782px) {body.admin-bar .tofaa-nav {
        top: 56px;
    }}@media (max-width: 620px) {.tofaa-nav {
        width: calc(100vw - 20px);
        top: 10px;
    }body.admin-bar .tofaa-nav {
        top: 52px;
    }}@media (prefers-reduced-transparency: reduce) {.tofaa-nav,
    .tofaa-nav__menu {
        background-color: rgba(255, 253, 251, .97);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }}.tofaa-nav {
    background-color: rgba(248, 234, 225, .38) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, .62);
    box-shadow:
        0 16px 42px rgba(72, 38, 76, .13),
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(124, 79, 160, .08);
    -webkit-backdrop-filter: blur(22px) saturate(140%) contrast(104%);
    backdrop-filter: blur(22px) saturate(140%) contrast(104%);
}.tofaa-nav a.tofaa-nav__link,
.tofaa-nav a.tofaa-nav__link:link,
.tofaa-nav a.tofaa-nav__link:visited,
.tofaa-nav a.tofaa-nav__link:hover,
.tofaa-nav a.tofaa-nav__link:focus,
.tofaa-nav a.tofaa-nav__link:focus-visible,
.tofaa-nav a.tofaa-nav__link:active,
.tofaa-nav a.tofaa-nav__action,
.tofaa-nav a.tofaa-nav__action:link,
.tofaa-nav a.tofaa-nav__action:visited,
.tofaa-nav a.tofaa-nav__action:hover,
.tofaa-nav a.tofaa-nav__action:focus,
.tofaa-nav a.tofaa-nav__action:focus-visible,
.tofaa-nav a.tofaa-nav__action:active {
    color: #7C4FA0 !important;
}@media (max-width: 980px) {.tofaa-nav,
    .tofaa-nav__menu {
        background-color: rgba(248, 234, 225, .42) !important;
        background-image: none !important;
        -webkit-backdrop-filter: blur(22px) saturate(140%) contrast(104%);
        backdrop-filter: blur(22px) saturate(140%) contrast(104%);
    }}.tofaa-nav__trigger--featured,
.tofaa-nav__trigger--featured:hover,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger--featured,
.tofaa-nav__item.is-open > .tofaa-nav__trigger--featured {
    background: transparent !important;
}.tofaa-nav__trigger--featured::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: -2px;
    z-index: 0;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--tofaa-shop-angle),
        #7C4FA0 0deg,
        #F8EAE1 90deg,
        #7C4FA0 180deg,
        #F8EAE1 270deg,
        #7C4FA0 360deg
    );
    pointer-events: none;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}.tofaa-nav__trigger--featured::after {
    display: none !important;
}.tofaa-nav__trigger--featured,
.tofaa-nav__trigger--featured:hover,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger--featured,
.tofaa-nav__item.is-open > .tofaa-nav__trigger--featured {
    background: transparent !important;
    border-color: transparent !important;
    animation: none !important;
}.tofaa-nav__trigger--featured::before {
    --tofaa-shop-angle: 0deg;
    content: "";
    display: block !important;
    position: absolute;
    inset: 0 !important;
    z-index: 0;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--tofaa-shop-angle),
        #7C4FA0 0deg,
        #F8EAE1 90deg,
        #7C4FA0 180deg,
        #F8EAE1 270deg,
        #7C4FA0 360deg
    ) !important;
    pointer-events: none;
    animation: tofaa-shop-border-spin 4.5s linear infinite;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
}.tofaa-nav__trigger--featured:hover::before,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger--featured::before,
.tofaa-nav__item.is-open > .tofaa-nav__trigger--featured::before {
    animation-duration: 2.2s;
}.tofaa-nav__trigger--featured::after {
    display: none !important;
}@media (prefers-reduced-motion: reduce) {.tofaa-nav__trigger--featured::before {
        animation: none;
    }}.tofaa-nav__submenu {
    top: calc(100% - 16px);
    padding-top: 26px;
}.tofaa-nav__submenu-panel {
    border-color: rgba(255, 255, 255, .62) !important;
    background-color: rgba(248, 234, 225, .38) !important;
    background-image: none !important;
    box-shadow:
        0 24px 48px rgba(72, 38, 76, .15),
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(124, 79, 160, .08);
    -webkit-backdrop-filter: blur(22px) saturate(140%) contrast(104%);
    backdrop-filter: blur(22px) saturate(140%) contrast(104%);
}.tofaa-nav__item--shop {
    position: static;
}.tofaa-nav__submenu--shop {
    width: 100%;
    min-width: 0;
    padding-top: 30px;
    top: calc(100% - 20px);
    right: 0;
    left: 0;
    transform: translateY(-28px) scale(.992);
    transform-origin: top center;
}.tofaa-nav__submenu--shop::before {
    height: 42px;
    top: -12px;
}.tofaa-nav__item--shop:hover > .tofaa-nav__submenu--shop,
.tofaa-nav__item--shop:focus-within > .tofaa-nav__submenu--shop,
.tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop {
    transform: translateY(0) scale(1);
}.tofaa-nav__submenu--shop .tofaa-nav__submenu-panel {
    padding: 34px clamp(22px, 3vw, 46px) 26px;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}.tofaa-nav__category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 22px);
}.tofaa-nav__submenu--shop a.tofaa-nav__category-card,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:link,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:visited {
    min-width: 0;
    min-height: 190px;
    padding: 12px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 124px auto;
    gap: 10px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .54);
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
    color: #7C4FA0 !important;
    text-decoration: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .56),
        0 8px 20px rgba(72, 38, 76, .06);
    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        background-color .24s ease,
        border-color .24s ease,
        box-shadow .28s ease;
}.tofaa-nav__submenu--shop a.tofaa-nav__category-card:hover,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:focus-visible {
    padding: 12px;
    color: #7C4FA0 !important;
    background: rgba(255, 255, 255, .32);
    border-color: rgba(255, 255, 255, .82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .74),
        0 15px 30px rgba(72, 38, 76, .13);
    transform: translateY(-5px);
    outline: none;
}.tofaa-nav__category-image {
    grid-column: 1 / -1;
    min-width: 0;
    height: 124px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, .64), transparent 52%),
        rgba(176, 131, 188, .14);
}.tofaa-nav__category-image img {
    width: 92%;
    height: 112px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 13px rgba(61, 24, 63, .18));
    transform: scale(.96) rotate(-2deg);
    transition: transform .36s cubic-bezier(.2,.8,.2,1);
}.tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image img {
    transform: scale(.96) rotate(2deg);
}.tofaa-nav__category-card:hover .tofaa-nav__category-image img,
.tofaa-nav__category-card:focus-visible .tofaa-nav__category-image img {
    transform: scale(1.04) rotate(0);
}.tofaa-nav__category-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: center;
    gap: 4px;
}.tofaa-nav__category-copy strong {
    color: #7C4FA0;
    font-size: clamp(12px, .88vw, 15px);
    font-weight: 850;
    line-height: 1.18;
    text-transform: uppercase;
}.tofaa-nav__category-copy > span {
    color: rgba(124, 79, 160, .72);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}.tofaa-nav__category-arrow {
    width: 32px;
    height: 32px;
    align-self: center;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(176, 131, 188, .18);
    color: #7C4FA0;
    font-size: 18px;
    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        background-color .24s ease;
}.tofaa-nav__category-card:hover .tofaa-nav__category-arrow,
.tofaa-nav__category-card:focus-visible .tofaa-nav__category-arrow {
    background: rgba(176, 131, 188, .32);
    transform: translateX(3px);
}.tofaa-nav__submenu--about .tofaa-nav__submenu-panel {
    background-color: rgba(248, 234, 225, .38) !important;
}@media (max-width: 980px) {.tofaa-nav__item--shop {
        position: relative;
    }.tofaa-nav__submenu,
    .tofaa-nav__submenu--shop {
        top: auto;
        right: auto;
        left: auto;
        padding-top: 0;
        transform: none;
    }.tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel {
        margin: 0 4px 12px;
        padding: 12px;
        border-radius: 18px;
        background-color: rgba(248, 234, 225, .42) !important;
    }.tofaa-nav__category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }.tofaa-nav__submenu--shop a.tofaa-nav__category-card,
    .tofaa-nav__submenu--shop a.tofaa-nav__category-card:hover,
    .tofaa-nav__submenu--shop a.tofaa-nav__category-card:focus-visible {
        min-height: 152px;
        padding: 9px;
        grid-template-rows: 88px auto;
        border-radius: 16px;
    }.tofaa-nav__category-image {
        height: 88px;
        border-radius: 12px;
    }.tofaa-nav__category-image img {
        height: 80px;
    }.tofaa-nav__category-copy strong {
        font-size: 11px;
    }.tofaa-nav__category-copy > span {
        display: none;
    }.tofaa-nav__category-arrow {
        width: 27px;
        height: 27px;
        font-size: 15px;
    }.tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop {
        max-height: 720px;
    }}@media (max-width: 480px) {.tofaa-nav__category-grid {
        grid-template-columns: 1fr;
    }.tofaa-nav__submenu--shop a.tofaa-nav__category-card,
    .tofaa-nav__submenu--shop a.tofaa-nav__category-card:hover,
    .tofaa-nav__submenu--shop a.tofaa-nav__category-card:focus-visible {
        min-height: 132px;
        grid-template-columns: 116px minmax(0, 1fr) auto;
        grid-template-rows: 1fr;
        align-items: center;
    }.tofaa-nav__category-image {
        grid-column: auto;
        width: 116px;
        height: 104px;
    }.tofaa-nav__category-image img {
        width: 108px;
        height: 94px;
    }}@media (prefers-reduced-transparency: reduce) {.tofaa-nav__submenu-panel {
        background-color: rgba(255, 253, 251, .97) !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }}.tofaa-nav {
    --tofaa-glass-background: rgba(248, 234, 225, .38);
    --tofaa-glass-border: rgba(255, 255, 255, .62);
    --tofaa-glass-blur: blur(22px) saturate(140%) contrast(104%);
    --tofaa-dropdown-gap: 12px;

    /* Backdrop-filter przenosimy na osobną warstwę. Dzięki temu
       zagnieżdżone dropdowny mogą rozmywać treść strony znajdującą
       się faktycznie za nimi. */
    isolation: auto !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}.tofaa-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid var(--tofaa-glass-border);
    border-radius: inherit;
    background-color: var(--tofaa-glass-background);
    background-image: none;
    box-shadow:
        0 16px 42px rgba(72, 38, 76, .13),
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(124, 79, 160, .08);
    -webkit-backdrop-filter: var(--tofaa-glass-blur);
    backdrop-filter: var(--tofaa-glass-blur);
    pointer-events: none;
}.tofaa-nav__brand,
.tofaa-nav__toggle,
.tofaa-nav__menu,
.tofaa-nav__actions {
    position: relative;
    z-index: 2;
}.tofaa-nav__submenu,
.tofaa-nav__submenu--shop {
    top: 100% !important;
    padding-top: var(--tofaa-dropdown-gap) !important;
}.tofaa-nav__submenu::before,
.tofaa-nav__submenu--shop::before {
    height: var(--tofaa-dropdown-gap) !important;
    top: 0 !important;
}.tofaa-nav__submenu-panel,
.tofaa-nav__submenu--about .tofaa-nav__submenu-panel,
.tofaa-nav__submenu--shop .tofaa-nav__submenu-panel {
    border-color: var(--tofaa-glass-border) !important;
    background-color: var(--tofaa-glass-background) !important;
    background-image: none !important;
    box-shadow:
        0 20px 42px rgba(72, 38, 76, .13),
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(124, 79, 160, .08);
    -webkit-backdrop-filter: var(--tofaa-glass-blur) !important;
    backdrop-filter: var(--tofaa-glass-blur) !important;
}@media (min-width: 981px) {.tofaa-nav__submenu {
        transform: translate(-50%, -16px) scale(.985);
    }.tofaa-nav__submenu--shop {
        transform: translateY(-16px) scale(.992);
    }.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu,
    .tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu,
    .tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu {
        transform: translate(-50%, 0) scale(1);
    }.tofaa-nav__item--shop:hover > .tofaa-nav__submenu--shop,
    .tofaa-nav__item--shop:focus-within > .tofaa-nav__submenu--shop,
    .tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop {
        transform: translateY(0) scale(1);
    }}@media (max-width: 980px) {.tofaa-nav__menu,
    .tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--about .tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel {
        background-color: var(--tofaa-glass-background) !important;
        background-image: none !important;
        border-color: var(--tofaa-glass-border) !important;
        -webkit-backdrop-filter: var(--tofaa-glass-blur) !important;
        backdrop-filter: var(--tofaa-glass-blur) !important;
    }}@media (prefers-reduced-transparency: reduce) {.tofaa-nav::before,
    .tofaa-nav__menu,
    .tofaa-nav__submenu-panel {
        background-color: rgba(255, 253, 251, .97) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }}@media (min-width: 981px) {.tofaa-nav__submenu,
    .tofaa-nav__submenu--shop,
    .tofaa-nav__submenu--about {
        position: fixed !important;
        top: calc(100% + 10px) !important;
        right: auto !important;
        padding-top: 0 !important;
        z-index: 1 !important;
    }.tofaa-nav__submenu::before,
    .tofaa-nav__submenu--shop::before,
    .tofaa-nav__submenu--about::before {
        height: 10px !important;
        top: -10px !important;
        right: 0 !important;
        left: 0 !important;
    }.tofaa-nav__submenu--shop {
        width: 100% !important;
        min-width: 0 !important;
        left: 0 !important;
        transform: translateY(-6px) scale(.992) !important;
        transform-origin: top center !important;
    }.tofaa-nav__item--shop:hover > .tofaa-nav__submenu--shop,
    .tofaa-nav__item--shop:focus-within > .tofaa-nav__submenu--shop,
    .tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop {
        transform: translateY(0) scale(1) !important;
    }.tofaa-nav__submenu--about {
        width: 290px !important;
        min-width: 290px !important;
        left: var(--tofaa-dropdown-center-x, 50%) !important;
        transform: translate(-50%, -6px) scale(.985) !important;
        transform-origin: top center !important;
    }.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu--about,
    .tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu--about,
    .tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu--about {
        transform: translate(-50%, 0) scale(1) !important;
    }.tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--about .tofaa-nav__submenu-panel {
        -webkit-backdrop-filter: var(--tofaa-glass-blur) !important;
        backdrop-filter: var(--tofaa-glass-blur) !important;
    }}@media (min-width: 1251px) {.tofaa-nav__link,
    .tofaa-nav__trigger,
    .tofaa-nav__action {
        font-size: 18px !important;
    }}@media (min-width: 981px) {.tofaa-nav__link,
    .tofaa-nav__trigger,
    .tofaa-nav__action {
        font-size: 16px !important;
    }}@media (min-width: 981px) {.tofaa-nav__link,
    .tofaa-nav__trigger,
    .tofaa-nav__action {
        font-size: 16px !important;
    }}.tofaa-nav,
.tofaa-hero,
.tofaa-hero__moments,
.tofaa-hero__copy,
.tofaa-hero__visual {
    position: relative;
    z-index: 4;
}@media (min-width: 981px) {.tofaa-nav__link,
    .tofaa-nav__trigger,
    .tofaa-nav__action {
        font-size: 16px !important;
    }}.tofaa-nav {
    position: fixed !important;
    z-index: 9990 !important;
    transform: translateX(-50%) !important;
}.tofaa-nav__brand,
.tofaa-nav__toggle,
.tofaa-nav__menu,
.tofaa-nav__actions {
    position: relative;
    z-index: 2;
}@media (min-width: 981px) {.tofaa-nav__submenu,
    .tofaa-nav__submenu--shop,
    .tofaa-nav__submenu--about {
        z-index: 20 !important;
    }.tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--about .tofaa-nav__submenu-panel {
        position: relative;
        z-index: 21 !important;
    }}@media (min-width: 981px) {.tofaa-nav__link,
    .tofaa-nav__trigger,
    .tofaa-nav__action {
        font-size: 16px !important;
    }}@media (max-width: 980px) {.tofaa-nav {
        position: fixed !important;
        z-index: 9990 !important;
    }.tofaa-nav__menu {
        z-index: 30 !important;
    }}@media (min-width: 981px) {.tofaa-nav__submenu,
    .tofaa-nav__submenu--shop,
    .tofaa-nav__submenu--about {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: none;
        transition:
            transform .34s cubic-bezier(.2, .8, .2, 1) !important;
    }.tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel,
    .tofaa-nav__submenu--about .tofaa-nav__submenu-panel {
        -webkit-backdrop-filter: var(--tofaa-glass-blur) !important;
        backdrop-filter: var(--tofaa-glass-blur) !important;

        clip-path: inset(0 0 100% 0 round 0 0 26px 26px);
        -webkit-clip-path: inset(0 0 100% 0 round 0 0 26px 26px);

        transition:
            clip-path .30s cubic-bezier(.2, .8, .2, 1),
            -webkit-clip-path .30s cubic-bezier(.2, .8, .2, 1) !important;
    }.tofaa-nav__submenu-panel > * {
        visibility: hidden;
    }.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu,
    .tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu,
    .tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu,
    .tofaa-nav__item--shop:hover > .tofaa-nav__submenu--shop,
    .tofaa-nav__item--shop:focus-within > .tofaa-nav__submenu--shop,
    .tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
    }.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu .tofaa-nav__submenu-panel,
    .tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu .tofaa-nav__submenu-panel,
    .tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu .tofaa-nav__submenu-panel,
    .tofaa-nav__item--shop:hover > .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel,
    .tofaa-nav__item--shop:focus-within > .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel,
    .tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel {
        clip-path: inset(0 0 0 0 round 0 0 26px 26px);
        -webkit-clip-path: inset(0 0 0 0 round 0 0 26px 26px);
    }.tofaa-nav__item--dropdown:hover > .tofaa-nav__submenu .tofaa-nav__submenu-panel > *,
    .tofaa-nav__item--dropdown:focus-within > .tofaa-nav__submenu .tofaa-nav__submenu-panel > *,
    .tofaa-nav__item--dropdown.is-open > .tofaa-nav__submenu .tofaa-nav__submenu-panel > *,
    .tofaa-nav__item--shop:hover > .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel > *,
    .tofaa-nav__item--shop:focus-within > .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel > *,
    .tofaa-nav__item--shop.is-open > .tofaa-nav__submenu--shop .tofaa-nav__submenu-panel > * {
        visibility: visible;
    }}@media (prefers-reduced-motion: reduce) and (min-width: 981px) {.tofaa-nav__submenu,
    .tofaa-nav__submenu-panel {
        transition: none !important;
    }}.tofaa-nav__trigger--featured::before {
    background: conic-gradient(
        from var(--tofaa-shop-angle),
        #7C4FA0 0deg,
        #d1d635 90deg,
        #7C4FA0 180deg,
        #d1d635 270deg,
        #7C4FA0 360deg
    ) !important;
}

/*
 * Pływające akcje na wszystkich podstronach.
 * HTML jest renderowany bezpośrednio przez template-parts/site-navbar.php,
 * czyli przez komponent, który jest faktycznie obecny w każdym widoku.
 * Kolory, rozmiary i animacje odpowiadają wersji ze strony głównej.
 */
.tofaa-floating-actions--global {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tofaa-floating-actions--global .tofaa-float {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid rgba(124, 79, 160, .20);
    border-radius: 50%;
    background: #B083BC;
    color: #7C4FA0;
    box-shadow: 0 9px 22px rgba(65, 30, 71, .18);
    cursor: pointer;
    text-decoration: none;
    appearance: none;
    transition: transform .2s ease, opacity .25s ease, visibility .25s ease;
}

.tofaa-floating-actions--global .tofaa-float:hover,
.tofaa-floating-actions--global .tofaa-float:focus-visible {
    color: #F8EAE1;
    transform: translateY(-2px);
    outline: none;
    text-decoration: none;
}

.tofaa-floating-actions--global .tofaa-float svg {
    width: 31px;
    height: 31px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tofaa-floating-actions--global a.tofaa-floating-cart,
.tofaa-floating-actions--global a.tofaa-floating-cart:link,
.tofaa-floating-actions--global a.tofaa-floating-cart:visited,
.tofaa-floating-actions--global a.tofaa-floating-cart:active {
    background: #B083BC;
    color: #7C4FA0 !important;
    text-decoration: none !important;
}

.tofaa-floating-actions--global a.tofaa-floating-cart:hover,
.tofaa-floating-actions--global a.tofaa-floating-cart:focus,
.tofaa-floating-actions--global a.tofaa-floating-cart:focus-visible {
    color: #F8EAE1 !important;
}

.tofaa-floating-actions--global .tofaa-floating-cart svg,
.tofaa-floating-actions--global .tofaa-floating-cart svg path,
.tofaa-floating-actions--global .tofaa-floating-cart svg circle {
    fill: none !important;
    stroke: currentColor !important;
}

.tofaa-floating-actions--global .tofaa-cart-count {
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--tofaa-green, #ABB538);
    color: var(--tofaa-white, #fffdfb);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.tofaa-floating-actions--global .tofaa-cart-count[hidden] {
    display: none;
}

.tofaa-floating-actions--global .tofaa-back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.tofaa-floating-actions--global .tofaa-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tofaa-floating-actions--global .tofaa-back-to-top.is-visible:hover,
.tofaa-floating-actions--global .tofaa-back-to-top.is-visible:focus-visible {
    transform: translateY(-2px);
}

@media (max-width: 620px) {
    .tofaa-floating-actions--global {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .tofaa-floating-actions--global .tofaa-float {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-floating-actions--global .tofaa-float {
        transition: none;
    }
}


/* ============================================================
   V25 — ruchomy podgląd wszystkich batoników w mega-menu
   ============================================================ */

.tofaa-nav__category-image--bars-marquee {
    position: relative;
    display: block;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 26%, rgba(255,255,255,.78), transparent 58%),
        linear-gradient(90deg, rgba(176,131,188,.13), rgba(248,234,225,.58), rgba(176,131,188,.13));
}

/* Miękkie krawędzie okna ukrywają moment wejścia i wyjścia opakowań. */
.tofaa-nav__category-image--bars-marquee::before,
.tofaa-nav__category-image--bars-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 3;
    pointer-events: none;
}

.tofaa-nav__category-image--bars-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248,234,225,.95), transparent);
}

.tofaa-nav__category-image--bars-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(248,234,225,.95), transparent);
}

.tofaa-nav__bars-marquee-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: max-content;
    display: flex;
    align-items: center;
    transform: translate3d(-50%, 0, 0);
    animation: tofaa-navbar-bars-scroll-right 22s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.tofaa-nav__bars-marquee-group {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
}

.tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
    flex: 0 0 auto;
    width: 152px !important;
    height: 102px !important;
    display: block;
    object-fit: contain;
    transform: none !important;
    transition: filter .28s ease, opacity .28s ease !important;
    filter: drop-shadow(0 10px 10px rgba(61,24,63,.16));
}

/* Animacja działa tylko wtedy, gdy menu sklepu jest faktycznie otwarte. */
.tofaa-nav__item--shop:hover .tofaa-nav__bars-marquee-track,
.tofaa-nav__item--shop:focus-within .tofaa-nav__bars-marquee-track,
.tofaa-nav__item--shop.is-open .tofaa-nav__bars-marquee-track {
    animation-play-state: running;
}

.tofaa-nav__category-card--bars:hover .tofaa-nav__bars-marquee-track,
.tofaa-nav__category-card--bars:focus-visible .tofaa-nav__bars-marquee-track {
    animation-duration: 16s;
}

.tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
    filter: drop-shadow(0 13px 14px rgba(61,24,63,.22));
}

@keyframes tofaa-navbar-bars-scroll-right {
    from {
        transform: translate3d(-50%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 980px) {
    .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
        width: 116px !important;
        height: 76px !important;
    }

    .tofaa-nav__bars-marquee-group {
        gap: 8px;
        padding-right: 8px;
    }

    .tofaa-nav__bars-marquee-track {
        animation-duration: 19s;
    }
}

@media (max-width: 480px) {
    .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
        width: 108px !important;
        height: 72px !important;
    }

    .tofaa-nav__category-image--bars-marquee::before,
    .tofaa-nav__category-image--bars-marquee::after {
        width: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-nav__bars-marquee-track {
        animation: none !important;
        transform: translate3d(-12%, 0, 0);
    }
}


/* ============================================================
   V26 — większe batoniki i całkowicie płynna pętla w dropdownie
   - packshoty wypełniają wysokość okna,
   - animacja pracuje stale, także gdy menu jest zamknięte,
   - hover nie zmienia tempa, pozycji ani stanu animacji,
   - karta batoników nie podskakuje pod kursorem.
   ============================================================ */

.tofaa-nav__category-card--bars,
.tofaa-nav__category-card--bars:hover,
.tofaa-nav__category-card--bars:focus-visible {
    transform: none !important;
}

.tofaa-nav__bars-marquee-track,
.tofaa-nav__item--shop:hover .tofaa-nav__bars-marquee-track,
.tofaa-nav__item--shop:focus-within .tofaa-nav__bars-marquee-track,
.tofaa-nav__item--shop.is-open .tofaa-nav__bars-marquee-track,
.tofaa-nav__category-card--bars:hover .tofaa-nav__bars-marquee-track,
.tofaa-nav__category-card--bars:focus-visible .tofaa-nav__bars-marquee-track {
    animation-name: tofaa-navbar-bars-scroll-right !important;
    animation-duration: 22s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-play-state: running !important;
}

.tofaa-nav__bars-marquee-group {
    gap: 0 !important;
    padding-right: 0 !important;
}

.tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
.tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
    flex: 0 0 auto;
    width: clamp(240px, 20vw, 320px) !important;
    height: 124px !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
    transition: none !important;
    filter: drop-shadow(0 11px 12px rgba(61,24,63,.18)) !important;
}

@media (max-width: 980px) {
    .tofaa-nav__bars-marquee-track,
    .tofaa-nav__item--shop:hover .tofaa-nav__bars-marquee-track,
    .tofaa-nav__item--shop:focus-within .tofaa-nav__bars-marquee-track,
    .tofaa-nav__item--shop.is-open .tofaa-nav__bars-marquee-track,
    .tofaa-nav__category-card--bars:hover .tofaa-nav__bars-marquee-track,
    .tofaa-nav__category-card--bars:focus-visible .tofaa-nav__bars-marquee-track {
        animation-duration: 19s !important;
    }

    .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
        width: clamp(180px, 30vw, 240px) !important;
        height: 88px !important;
    }
}

@media (max-width: 480px) {
    .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card:nth-child(even) .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:hover .tofaa-nav__category-image--bars-marquee img,
    .tofaa-nav__category-card--bars:focus-visible .tofaa-nav__category-image--bars-marquee img {
        width: 190px !important;
        height: 104px !important;
    }
}

/* ============================================================
   V27 — pływające akcje w oficjalnym akcencie Tofaa
   ============================================================ */

.tofaa-floating-actions--global {
    bottom: 58px !important;
}

.tofaa-floating-actions--global .tofaa-float,
.tofaa-floating-actions--global a.tofaa-floating-cart,
.tofaa-floating-actions--global a.tofaa-floating-cart:link,
.tofaa-floating-actions--global a.tofaa-floating-cart:visited,
.tofaa-floating-actions--global a.tofaa-floating-cart:active {
    border: 1px solid #171717 !important;
    background: #d1d635 !important;
    background-color: #d1d635 !important;
    color: #7C4FA0 !important;
    box-shadow: 0 10px 0 rgba(124, 79, 160, .18) !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        opacity .25s ease,
        visibility .25s ease !important;
}

.tofaa-floating-actions--global .tofaa-float:hover,
.tofaa-floating-actions--global .tofaa-float:focus-visible,
.tofaa-floating-actions--global a.tofaa-floating-cart:hover,
.tofaa-floating-actions--global a.tofaa-floating-cart:focus,
.tofaa-floating-actions--global a.tofaa-floating-cart:focus-visible {
    border-color: #171717 !important;
    background: #d1d635 !important;
    background-color: #d1d635 !important;
    color: #7C4FA0 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 0 rgba(124, 79, 160, .22) !important;
    outline: none !important;
}

@media (max-width: 620px) {
    .tofaa-floating-actions--global {
        bottom: 44px !important;
    }
}


/* ============================================================
   V152 — navbar z jednolitym czarnym konturem 1 px
   ============================================================ */
.tofaa-nav {
    border: 1px solid #171717 !important;
}


/* ============================================================
   V153 — czarny kontur dropdownów navbara
   ============================================================ */
.tofaa-nav__submenu-panel,
.tofaa-nav__submenu--shop .tofaa-nav__submenu-panel,
.tofaa-nav__submenu--about .tofaa-nav__submenu-panel {
    border: 1px solid #171717 !important;
    box-sizing: border-box;
}

/* ============================================================
   V154 — strzałki mega-menu i „Kup Tofaa!” jak wciskane CTA
   ============================================================ */

/* Strzałki kart produktów w mega-menu. */
.tofaa-nav__category-arrow,
.tofaa-nav__category-card:hover .tofaa-nav__category-arrow,
.tofaa-nav__category-card:focus-visible .tofaa-nav__category-arrow {
    border: 1px solid #171717 !important;
    background: #d1d635 !important;
    background-color: #d1d635 !important;
    color: #7C4FA0 !important;
    box-sizing: border-box;
}

.tofaa-nav__category-arrow svg,
.tofaa-nav__category-arrow path {
    color: #7C4FA0 !important;
    stroke: #7C4FA0 !important;
    fill: currentColor;
}

/* „Kup Tofaa!” — ten sam fizyczny efekt wciśnięcia co CTA hero. */
.tofaa-nav__trigger--featured,
.tofaa-nav__trigger--featured:hover,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger--featured,
.tofaa-nav__item.is-open > .tofaa-nav__trigger--featured {
    background: #d1d635 !important;
    background-color: #d1d635 !important;
    color: #7C4FA0 !important;
    border: 1px solid #171717 !important;
    box-shadow: 0 8px 0 #171717 !important;
    overflow: visible !important;
    animation: none !important;
    transition:
        transform .18s cubic-bezier(.2, .8, .2, 1),
        box-shadow .18s cubic-bezier(.2, .8, .2, 1),
        background-color .18s ease !important;
}

.tofaa-nav__trigger--featured::before,
.tofaa-nav__trigger--featured::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

.tofaa-nav__trigger--featured:hover,
.tofaa-nav__item:focus-within > .tofaa-nav__trigger--featured,
.tofaa-nav__item.is-open > .tofaa-nav__trigger--featured {
    transform: translateY(6px) !important;
    box-shadow: 0 2px 0 #171717 !important;
    outline: none !important;
}

.tofaa-nav__trigger--featured:active {
    transform: translateY(8px) !important;
    box-shadow: 0 0 0 #171717 !important;
}

.tofaa-nav__trigger--featured .tofaa-nav__chevron,
.tofaa-nav__item--dropdown:hover .tofaa-nav__trigger--featured .tofaa-nav__chevron,
.tofaa-nav__item--dropdown:focus-within .tofaa-nav__trigger--featured .tofaa-nav__chevron,
.tofaa-nav__item--dropdown.is-open .tofaa-nav__trigger--featured .tofaa-nav__chevron {
    background: rgba(124, 79, 160, .12) !important;
    color: #7C4FA0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-nav__trigger--featured {
        transition: none !important;
    }
}


/* ============================================================
   V155 — pływające akcje jak wciskany przycisk „Sprawdź produkty”
   ============================================================ */

.tofaa-floating-actions--global .tofaa-float,
.tofaa-floating-actions--global a.tofaa-floating-cart,
.tofaa-floating-actions--global a.tofaa-floating-cart:link,
.tofaa-floating-actions--global a.tofaa-floating-cart:visited,
.tofaa-floating-actions--global a.tofaa-floating-cart:active {
    border: 1px solid #171717 !important;
    background: #d1d635 !important;
    color: #7C4FA0 !important;
    box-shadow: 0 8px 0 #171717 !important;
    transform: translateY(0) !important;
    transition:
        transform .18s cubic-bezier(.2, .8, .2, 1),
        box-shadow .18s cubic-bezier(.2, .8, .2, 1) !important;
}

.tofaa-floating-actions--global .tofaa-float:hover,
.tofaa-floating-actions--global .tofaa-float:focus-visible,
.tofaa-floating-actions--global a.tofaa-floating-cart:hover,
.tofaa-floating-actions--global a.tofaa-floating-cart:focus,
.tofaa-floating-actions--global a.tofaa-floating-cart:focus-visible {
    border-color: #171717 !important;
    background: #d1d635 !important;
    color: #7C4FA0 !important;
    box-shadow: 0 2px 0 #171717 !important;
    transform: translateY(6px) !important;
    outline: none !important;
}

.tofaa-floating-actions--global .tofaa-float:active,
.tofaa-floating-actions--global a.tofaa-floating-cart:active {
    box-shadow: 0 0 0 #171717 !important;
    transform: translateY(8px) !important;
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-floating-actions--global .tofaa-float,
    .tofaa-floating-actions--global a.tofaa-floating-cart {
        transition: none !important;
    }
}


/* ============================================================
   V162 — licznik koszyka w navbarze i globalnym przycisku
   ============================================================ */
.tofaa-nav__cart .tofaa-cart-count,
.tofaa-nav__cart b.tofaa-cart-count,
.tofaa-floating-actions--global .tofaa-floating-cart .tofaa-cart-count {
    border: 1px solid #171717 !important;
    background: #d1d635 !important;
    background-color: #d1d635 !important;
    color: #7C4FA0 !important;
    box-sizing: border-box !important;
}

/* ============================================================
   V163 — czarny kontur 1 px wokół kafelków produktów w mega-menu
   ============================================================ */
.tofaa-nav__submenu--shop a.tofaa-nav__category-card,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:link,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:visited,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:hover,
.tofaa-nav__submenu--shop a.tofaa-nav__category-card:focus-visible {
    border: 1px solid #171717 !important;
    box-sizing: border-box;
}

/* ============================================================
   V164 — szybkie menu profilu i #Tofaanklubu
   ============================================================ */
.tofaa-nav__club-dropdown,
.tofaa-nav__account-dropdown {
    gap: 4px;
}

.tofaa-nav__compact-trigger {
    width: 28px;
    min-width: 28px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
}

.tofaa-nav__compact-trigger::after {
    content: none !important;
    display: none !important;
}

.tofaa-nav__compact-trigger .tofaa-nav__chevron {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.tofaa-nav__submenu--club {
    min-width: 245px;
}

@media (max-width: 980px) {
    .tofaa-nav__club-dropdown {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
    }

    .tofaa-nav__club-dropdown > .tofaa-nav__club-link {
        width: auto;
        flex: 1 1 auto;
        border-bottom: 0;
    }

    .tofaa-nav__club-dropdown > .tofaa-nav__compact-trigger {
        width: 44px;
        min-width: 44px;
    }

    .tofaa-nav__club-dropdown > .tofaa-nav__submenu--club {
        flex: 0 0 100%;
    }

    .tofaa-nav__actions > .tofaa-nav__account-dropdown {
        width: auto;
        display: flex;
        border-bottom: 0;
    }

    .tofaa-nav__account-dropdown > .tofaa-nav__compact-trigger {
        width: 28px;
        min-width: 28px;
    }

    .tofaa-nav__account-dropdown .tofaa-nav__submenu--account {
        width: 250px;
        min-width: 250px;
        max-height: 0;
        padding: 0;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .tofaa-nav__account-dropdown.is-open > .tofaa-nav__submenu--account {
        max-height: 190px;
    }
}

/* ============================================================
   V165 — finalne dropdowny profilu, klubu i centrum powiadomień
   ============================================================ */
.tofaa-nav__balance {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 10px;
    padding: 13px 14px;
    border: 1px solid #171717;
    border-radius: 18px;
    background: #d1d635;
    color: #7C4FA0;
    cursor: default;
}

.tofaa-nav__balance-mark {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid #171717;
    border-radius: 50%;
    background: #d1d635;
}

.tofaa-nav__balance-mark img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 72%;
    max-width: none;
    height: 72%;
    margin: 0;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.tofaa-nav__submenu--account {
    width: 180px;
    min-width: 180px;
}

.tofaa-nav__balance-copy,
.tofaa-nav__balance-copy > span,
.tofaa-nav__balance-copy > strong {
    display: block;
}

.tofaa-nav__balance-copy > span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tofaa-nav__balance-copy > strong {
    margin-top: 3px;
    color: #7C4FA0;
    font-size: 19px;
    font-weight: 1000;
    line-height: 1.15;
}

.tofaa-nav__submenu a.tofaa-nav__logout,
.tofaa-nav__submenu a.tofaa-nav__logout:link,
.tofaa-nav__submenu a.tofaa-nav__logout:visited {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #7C4FA0;
    font-size: 14px;
    text-align: left;
    text-transform: none;
    transition: transform .2s ease, background-color .2s ease;
}

.tofaa-nav__submenu a.tofaa-nav__logout:hover,
.tofaa-nav__submenu a.tofaa-nav__logout:focus-visible {
    padding-left: 20px;
    background: rgba(124, 79, 160, .07);
    transform: translateX(3px);
}

.tofaa-nav__logout-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 11px;
    background: rgba(124, 79, 160, .10);
}

.tofaa-nav__logout-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tofaa-nav__notification-trigger {
    min-width: 44px;
    min-height: 44px;
    padding: 7px;
    justify-content: center;
    gap: 5px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #7C4FA0;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.tofaa-nav__notification-trigger::after {
    content: none !important;
    display: none !important;
}

.tofaa-nav__notification-trigger.has-unread {
    padding-inline: 10px;
    border-color: #171717;
    background: #d1d635;
}

.tofaa-nav__notification-bell,
.tofaa-nav__notification-bell svg {
    display: block;
}

.tofaa-nav__notification-bell svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tofaa-nav__notification-count {
    min-width: 16px;
    color: #7C4FA0;
    font-size: 13px;
    font-weight: 1000;
    line-height: 1;
    text-align: center;
}

.tofaa-nav__notification-trigger:hover,
.tofaa-nav__notification-trigger:focus-visible,
.tofaa-nav__notifications-dropdown.is-open > .tofaa-nav__notification-trigger {
    color: #7C4FA0;
    opacity: 1;
    outline: none;
    transform: translateY(-2px);
}

@keyframes tofaa-notification-ring {
    0%, 100% { transform: rotate(0); }
    16% { transform: rotate(15deg); }
    32% { transform: rotate(-13deg); }
    48% { transform: rotate(10deg); }
    64% { transform: rotate(-7deg); }
    80% { transform: rotate(3deg); }
}

.tofaa-nav__notification-trigger.is-ringing .tofaa-nav__notification-bell {
    transform-origin: 50% 10%;
    animation: tofaa-notification-ring .8s ease-in-out;
}

.tofaa-nav__submenu--notifications {
    width: min(410px, calc(100vw - 32px));
    min-width: min(410px, calc(100vw - 32px));
}

.tofaa-nav__notifications-panel {
    overflow: hidden;
}

.tofaa-nav__notifications-header {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(23, 23, 23, .18);
    color: #7C4FA0;
}

.tofaa-nav__notifications-header > strong {
    font-size: 16px;
    font-weight: 1000;
}

.tofaa-nav__notifications-header > span {
    padding: 5px 9px;
    border: 1px solid #171717;
    border-radius: 999px;
    background: #d1d635;
    font-size: 11px;
    font-weight: 900;
}

.tofaa-nav__notifications-list {
    max-height: min(56vh, 470px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #B083BC transparent;
    scrollbar-width: thin;
}

.tofaa-nav__notification-item {
    padding: 15px 17px;
    border-bottom: 1px solid rgba(23, 23, 23, .14);
    background: rgba(255, 253, 251, .88);
}

.tofaa-nav__notification-item:last-child {
    border-bottom: 0;
}

.tofaa-nav__notification-item.is-unread {
    background: rgba(209, 214, 53, .12);
}

.tofaa-nav__notification-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #7C4FA0;
}

.tofaa-nav__notification-title strong {
    font-size: 14px;
    font-weight: 950;
    line-height: 1.3;
}

.tofaa-nav__notification-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: #7C4FA0;
}

.tofaa-nav__notification-copy p {
    margin: 6px 0 0;
    color: #514657;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
}

.tofaa-nav__notification-copy time {
    display: block;
    margin-top: 6px;
    color: #786b7c;
    font-size: 11px;
    font-weight: 700;
}

.tofaa-nav__notification-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 13px;
    margin-top: 10px;
}

.tofaa-nav__notification-actions form {
    display: inline-flex;
    margin: 0;
}

.tofaa-nav__submenu .tofaa-nav__notification-actions a,
.tofaa-nav__notification-actions button {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7C4FA0;
    font: 800 11px/1.3 "Rubik", Arial, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: none;
    cursor: pointer;
}

.tofaa-nav__submenu .tofaa-nav__notification-actions a:hover,
.tofaa-nav__submenu .tofaa-nav__notification-actions a:focus-visible,
.tofaa-nav__notification-actions button:hover,
.tofaa-nav__notification-actions button:focus-visible {
    padding: 0;
    color: #5d3678;
    background: transparent;
    outline: none;
}

.tofaa-nav__notification-actions .tofaa-nav__notification-delete {
    color: #8c3d61;
}

.tofaa-nav__submenu .tofaa-nav__notification-actions > a,
.tofaa-nav__submenu .tofaa-nav__notification-actions > a:link,
.tofaa-nav__submenu .tofaa-nav__notification-actions > a:visited {
    padding: 5px 9px;
    border: 1px solid #171717;
    border-radius: 999px;
    background: #d1d635;
    color: #7C4FA0;
    text-decoration: none;
}

.tofaa-nav__submenu .tofaa-nav__notification-actions > a:hover,
.tofaa-nav__submenu .tofaa-nav__notification-actions > a:focus-visible {
    padding: 5px 9px;
    background: #e2e64f;
    color: #5d3678;
}

.tofaa-nav__notifications-empty {
    padding: 24px 20px;
    color: #7C4FA0;
    text-align: center;
}

.tofaa-nav__notifications-empty > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin: 0 auto 10px;
    border: 1px solid #171717;
    border-radius: 50%;
    background: #d1d635;
    font-weight: 1000;
}

.tofaa-nav__notifications-empty p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.tofaa-nav__submenu .tofaa-nav__notifications-empty a {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid #171717;
    border-radius: 999px;
    background: #d1d635;
    font-size: 12px;
}

@media (min-width: 981px) {
    .tofaa-nav__submenu--club,
    .tofaa-nav__account-dropdown .tofaa-nav__submenu--account,
    .tofaa-nav__notifications-dropdown .tofaa-nav__submenu--notifications {
        position: fixed !important;
        top: calc(100% + 10px) !important;
        padding-top: 0 !important;
        z-index: 20 !important;
    }

    .tofaa-nav__submenu--club {
        right: auto !important;
        left: var(--tofaa-dropdown-center-x, 50%) !important;
        transform: translate(-50%, -6px) scale(.985) !important;
    }

    .tofaa-nav__account-dropdown .tofaa-nav__submenu--account {
        right: auto !important;
        left: var(--tofaa-dropdown-center-x, 50%) !important;
        transform: translate(-50%, -6px) scale(.985) !important;
        transform-origin: top center !important;
    }

    .tofaa-nav__notifications-dropdown .tofaa-nav__submenu--notifications {
        right: var(--tofaa-dropdown-right-x, 0) !important;
        left: auto !important;
        transform: translate(0, -6px) scale(.985) !important;
        transform-origin: top right !important;
    }

    .tofaa-nav__club-dropdown:hover > .tofaa-nav__submenu--club,
    .tofaa-nav__club-dropdown:focus-within > .tofaa-nav__submenu--club,
    .tofaa-nav__club-dropdown.is-open > .tofaa-nav__submenu--club {
        transform: translate(-50%, 0) scale(1) !important;
    }

    .tofaa-nav__account-dropdown:hover > .tofaa-nav__submenu--account,
    .tofaa-nav__account-dropdown:focus-within > .tofaa-nav__submenu--account,
    .tofaa-nav__account-dropdown.is-open > .tofaa-nav__submenu--account {
        transform: translate(-50%, 0) scale(1) !important;
    }

    .tofaa-nav__notifications-dropdown:hover > .tofaa-nav__submenu--notifications,
    .tofaa-nav__notifications-dropdown:focus-within > .tofaa-nav__submenu--notifications,
    .tofaa-nav__notifications-dropdown.is-open > .tofaa-nav__submenu--notifications {
        transform: translate(0, 0) scale(1) !important;
    }
}

@media (max-width: 980px) {
    .tofaa-nav__actions > .tofaa-nav__notifications-dropdown {
        width: auto;
        display: flex;
        border-bottom: 0;
    }

    .tofaa-nav__notifications-dropdown .tofaa-nav__submenu--notifications {
        width: min(410px, calc(100vw - 32px));
        min-width: 0;
        max-height: 0;
        padding: 0;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .tofaa-nav__notifications-dropdown.is-open > .tofaa-nav__submenu--notifications {
        max-height: min(70vh, 560px);
    }
}

@media (max-width: 620px) {
    .tofaa-nav__actions {
        display: flex;
        gap: 6px;
    }

    .tofaa-nav__account-dropdown > .tofaa-nav__compact-trigger {
        display: none;
    }

    .tofaa-nav__actions .tofaa-nav__action {
        width: 42px;
        min-width: 42px;
        justify-content: center;
    }

    .tofaa-nav__notification-trigger {
        min-width: 42px;
        min-height: 42px;
    }

    .tofaa-nav__notifications-dropdown .tofaa-nav__submenu--notifications {
        position: fixed;
        top: 92px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-nav__notification-trigger.is-ringing .tofaa-nav__notification-bell {
        animation: none;
    }
}

/* ============================================================
   V166 — czytelne saldo #Tofaanklubu
   ============================================================ */
.tofaa-nav__submenu--club {
    min-width: 278px;
}

.tofaa-nav__balance {
    position: relative;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 14px 12px 13px;
    overflow: hidden;
    border-color: #171717;
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(209, 214, 53, .28) 0 21%, #fffdfb 58%);
}

.tofaa-nav__balance-mark {
    width: 40px;
    height: 40px;
    border: 0;
    background: #d1d635;
    box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .72);
}

.tofaa-nav__balance-copy > span {
    color: #6a466f;
    font-size: 10px;
    letter-spacing: .065em;
}

.tofaa-nav__balance-copy > strong {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 1px;
    white-space: nowrap;
}

.tofaa-nav__balance-value {
    color: #7C4FA0;
    font-size: 24px;
    font-weight: 1000;
    line-height: 1;
}

.tofaa-nav__balance-unit {
    color: #7C4FA0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
}
