.miluna-hero,
.miluna-hero * {
    box-sizing: border-box;
}

.miluna-hero {
    --miluna-bg: #f4f0ee;
    --miluna-text: #171717;
    --miluna-muted: #655f5b;
    --miluna-accent: #9a6b61;
    --miluna-line: rgba(23, 23, 23, 0.16);
    position: relative;
    isolation: isolate;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: var(--miluna-bg);
    color: var(--miluna-text);
    font-family: inherit;
}

.miluna-hero__viewport {
    position: relative;
    min-height: clamp(620px, 76vh, 810px);
    overflow: hidden;
}

.miluna-hero__track {
    position: relative;
    min-height: inherit;
}

.miluna-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(340px, 42%) minmax(0, 58%);
    min-height: inherit;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 650ms cubic-bezier(.22,.61,.36,1), visibility 650ms;
}

.miluna-hero__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.miluna-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: clamp(72px, 8vw, 132px) clamp(36px, 6vw, 112px) clamp(92px, 9vw, 140px);
    background:
        radial-gradient(circle at 18% 16%, rgba(255,255,255,.9), transparent 34%),
        linear-gradient(135deg, #faf8f7 0%, #eee7e3 100%);
}

.miluna-hero__content::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 13%;
    bottom: 13%;
    width: 1px;
    background: var(--miluna-line);
}

.miluna-hero__content-inner {
    width: min(100%, 570px);
}

.miluna-hero__eyebrow {
    margin: 0 0 22px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--miluna-accent);
}

.miluna-hero__title {
    max-width: 12ch;
    margin: 0;
    font-family: inherit;
    font-size: clamp(42px, 4.5vw, 76px);
    line-height: .98;
    font-weight: 450;
    letter-spacing: -.045em;
    text-wrap: balance;
    color: var(--miluna-text);
}

.miluna-hero__description {
    max-width: 49ch;
    margin: 28px 0 0;
    color: var(--miluna-muted);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
}

.miluna-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 58px;
    margin-top: 36px;
    padding: 16px 26px;
    border: 1px solid var(--miluna-text);
    background: var(--miluna-text);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.miluna-hero__cta:hover,
.miluna-hero__cta:focus-visible {
    background: transparent;
    color: var(--miluna-text) !important;
    transform: translateY(-2px);
}

.miluna-hero__cta svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.miluna-hero__media {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    padding: clamp(34px, 4vw, 64px) clamp(36px, 5vw, 88px) clamp(74px, 7vw, 110px);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,248,248,.95)),
        #fff;
}

.miluna-hero__media::before {
    content: "";
    position: absolute;
    width: min(40vw, 540px);
    aspect-ratio: 1;
    border: 1px solid rgba(154, 107, 97, .16);
    border-radius: 50%;
    transform: translate(26%, -26%);
}

.miluna-hero__image-frame {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 620px);
    height: min(66vh, 680px);
    min-height: 510px;
    overflow: hidden;
    background: #f7f7f7;
    box-shadow: 0 28px 70px rgba(39, 29, 24, .12);
}

.miluna-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: var(--miluna-position-desktop, center center);
    transform: none;
    transition: none;
}

.miluna-hero__slide.is-active .miluna-hero__image {
    transform: none;
}

.miluna-hero__slide-number {
    position: absolute;
    z-index: 2;
    right: clamp(24px, 3vw, 56px);
    bottom: clamp(74px, 7vw, 110px);
    color: rgba(23,23,23,.42);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .18em;
}

.miluna-hero__controls {
    position: absolute;
    z-index: 10;
    left: clamp(36px, 6vw, 112px);
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.miluna-hero__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(23,23,23,.24);
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    color: var(--miluna-text);
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.miluna-hero__arrow:hover,
.miluna-hero__arrow:focus-visible {
    background: var(--miluna-text);
    border-color: var(--miluna-text);
    color: #fff;
    transform: scale(1.04);
}

.miluna-hero__arrow svg {
    width: 20px;
    height: 20px;
}

.miluna-hero__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.miluna-hero__dot {
    position: relative;
    width: 30px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.miluna-hero__dot span {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
    background: rgba(23,23,23,.22);
    overflow: hidden;
}

.miluna-hero__dot span::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-101%);
    background: var(--miluna-text);
    transition: transform 250ms ease;
}

.miluna-hero__dot.is-active span::after {
    transform: translateX(0);
}

.miluna-hero__progress {
    position: absolute;
    z-index: 12;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(23,23,23,.08);
}

.miluna-hero__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--miluna-accent);
}

.miluna-hero.is-running .miluna-hero__progress span {
    animation: milunaSliderProgress var(--miluna-interval, 6000ms) linear forwards;
}

.miluna-hero.is-paused .miluna-hero__progress span {
    animation-play-state: paused;
}

@keyframes milunaSliderProgress {
    from { width: 0; }
    to { width: 100%; }
}

@media (max-width: 1024px) {
    .miluna-hero__viewport {
        min-height: 680px;
    }

    .miluna-hero__slide {
        grid-template-columns: 44% 56%;
    }

    .miluna-hero__content {
        padding-left: 42px;
        padding-right: 42px;
    }

    .miluna-hero__title {
        font-size: clamp(42px, 5.8vw, 62px);
    }

    .miluna-hero__media {
        padding-left: 34px;
        padding-right: 34px;
    }

    .miluna-hero__image-frame {
        height: 570px;
        min-height: 0;
    }

    .miluna-hero__controls {
        left: 42px;
    }
}

@media (max-width: 767px) {
    .miluna-hero {
        width: 100%;
        margin-left: 0;
    }

    .miluna-hero__viewport,
    .miluna-hero__track,
    .miluna-hero__slide {
        min-height: 0;
    }

    .miluna-hero__slide {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(440px, 62vh) auto;
    }

    .miluna-hero__media {
        grid-row: 1;
        padding: 18px 18px 0;
        min-height: 440px;
    }

    .miluna-hero__image-frame {
        width: 100%;
        height: 100%;
        min-height: 420px;
        box-shadow: none;
    }

    .miluna-hero__image {
        object-fit: cover;
        object-position: var(--miluna-position-mobile, center center);
    }

    .miluna-hero__content {
        grid-row: 2;
        align-items: flex-start;
        padding: 34px 22px 92px;
    }

    .miluna-hero__content::after {
        display: none;
    }

    .miluna-hero__eyebrow {
        margin-bottom: 16px;
        font-size: 10px;
    }

    .miluna-hero__title {
        max-width: 13ch;
        font-size: clamp(37px, 11vw, 52px);
        line-height: 1.01;
    }

    .miluna-hero__description {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.55;
    }

    .miluna-hero__cta {
        width: 100%;
        min-height: 54px;
        margin-top: 26px;
    }

    .miluna-hero__controls {
        left: 22px;
        right: 22px;
        bottom: 24px;
        justify-content: space-between;
    }

    .miluna-hero__dots {
        order: 2;
    }

    .miluna-hero__arrow--prev {
        order: 1;
    }

    .miluna-hero__arrow--next {
        order: 3;
    }

    .miluna-hero__arrow {
        width: 40px;
        height: 40px;
    }

    .miluna-hero__dot {
        width: 22px;
    }

    .miluna-hero__slide-number {
        right: 32px;
        bottom: 20px;
        color: rgba(255,255,255,.86);
        text-shadow: 0 1px 4px rgba(0,0,0,.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .miluna-hero__slide,
    .miluna-hero__image,
    .miluna-hero__cta,
    .miluna-hero__arrow,
    .miluna-hero__dot span::after {
        transition: none !important;
        animation: none !important;
    }

    .miluna-hero__progress {
        display: none;
    }
}

/* Preserve social icons without loading the layout-shifting Font Awesome font. */
.menu-item-103 > a::before,
.menu-item-104 > a::before {
    content: "" !important;
    display: inline-block;
    height: 14px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: -2px;
}

.menu-item-103 > a::before {
    width: 8px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3 0-5 2-5 5v3H6v4h3v8h4v-8h3l1-4h-4V9c0-.7.3-1 1-1z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3 0-5 2-5 5v3H6v4h3v8h4v-8h3l1-4h-4V9c0-.7.3-1 1-1z'/%3E%3C/svg%3E");
}

.menu-item-104 > a::before {
    width: 12px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm5.5-3.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm5.5-3.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}

.miluna-hero.has-single-slide .miluna-hero__content {
    padding-bottom: clamp(72px, 8vw, 132px);
}

.miluna-slider-empty {
    padding: 16px;
    border-left: 4px solid #d63638;
    background: #fff;
}

/* Minimal first-paint styles for the three enabled Google Translator flags. */
#flags {
    overflow: hidden;
}

#flags ul {
    margin: 0;
    padding: 0;
}

#flags li {
    float: left !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

#flags li::before {
    content: none !important;
}

#flags a.flag {
    display: inline-block;
    width: 22px !important;
    height: 17px !important;
    box-sizing: content-box;
    cursor: pointer;
}

#flags.size22 a[title="Czech"] {
    background: url("https://milunabrand.pl/wp-content/plugins/google-language-translator/images/flags22.png") -88px -61px no-repeat;
}

#flags.size22 a.united-states[title="English"] {
    background: url("https://milunabrand.pl/wp-content/plugins/google-language-translator/images/flags22.png") -117px -351px no-repeat;
}

#flags.size22 a[title="Polish"] {
    background: url("https://milunabrand.pl/wp-content/plugins/google-language-translator/images/flags22.png") -88px -264px no-repeat;
}

/* Currency switching is not useful before B2B authentication because prices
   and purchase controls are intentionally unavailable. */
body:not(.logged-in) .woo-multi-currency {
    display: none !important;
}
