/* Shared geometry. Theme styles provide palettes, imagery and backgrounds. */
.nv-navbar > .container > .row {
    align-items: center;
}
.nv-navbar .icons-tools {
    width: auto;
    margin-inline-start: auto;
}
.nv-navbar .icons-tools > .row {
    margin: 0;
    gap: clamp(12px, 1.6vw, 24px);
    flex-wrap: nowrap;
}
.nv-navbar .icons-tools > .row > .col-4 {
    width: auto;
    padding: 0;
}
.nv-navbar .navbar-brand img,
.navbar-brand .storefront-logo {
    display: block;
}

/* Follow Bootstrap's open state so every dismissal also removes the dimming. */
@media (min-width: 992px) {
    .nv-navbar::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgb(0 0 0 / 35%);
        z-index: 1035;
        opacity: 0;
        pointer-events: none;
    }
    .nv-navbar:has(.products-mega-menu.show)::before {
        opacity: 1;
        pointer-events: auto;
    }
    .nv-navbar:has(.products-mega-menu.show) > .container {
        z-index: 1036;
    }
    @media (prefers-reduced-motion: no-preference) {
        .nv-navbar::before {
            transition: opacity 250ms ease-in-out;
        }
        .nv-navbar > .container {
            transition: z-index 0s 250ms;
        }
        .nv-navbar:has(.products-mega-menu.show) > .container {
            transition-delay: 0s;
        }
    }
}

.storefront-home-intro {
    display: flow-root;
    background-color: var(--main-color-bg-3);
    background-image: var(--home-intro-background, var(--main-color-gradient-1));
}
.storefront-home-intro .nv-head,
.storefront-home-intro .nv-slider,
.storefront-home-intro .product-categories {
    background: transparent;
}
.storefront-home-intro .product-categories {
    margin: 0;
    padding-block: 5px;
}
.nv-slider {
    width: 100%;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}
.nv-slider > .container {
    position: relative;
    z-index: 2;
}
.product-slider-header {
    background-color: var(--main-color-bg-2);
    border-inline-start: 4px solid var(--main-color-primary);
    border-radius: 1rem;
}
.product-item:not(.cart-item) {
    border: 1px solid var(--main-color-hr);
}
.product-item:not(.cart-item):hover {
    border-color: var(--main-color-primary);
}
.nv-sections-slider > .custom-next.nv-next,
.nv-sections-slider > .custom-prev.nv-prev {
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    background-color: var(--main-color-third);
    color: #fff;
    z-index: 1;
}
.nv-sections-slider > .custom-next.nv-next {
    right: 8px;
    left: auto;
}
.nv-sections-slider > .custom-prev.nv-prev {
    left: 8px;
    right: auto;
}
.nv-sections-slider > .custom-next.nv-next:hover,
.nv-sections-slider > .custom-prev.nv-prev:hover {
    background-color: var(--main-color-second);
}
.nv-sections-slider > .custom-next.nv-next img,
.nv-sections-slider > .custom-prev.nv-prev img {
    display: none;
}
.nv-sections-slider > .custom-next.nv-next::before,
.nv-sections-slider > .custom-prev.nv-prev::before {
    font-family: bootstrap-icons;
    font-size: 34px;
    line-height: 1;
}
.nv-sections-slider > .custom-next.nv-next::before {
    content: "\f285";
}
.nv-sections-slider > .custom-prev.nv-prev::before {
    content: "\f284";
}
.nv-sections-slider .owl-carousel {
    width: calc(100% - 144px);
}
.product-details .offer-img {
    width: var(--offer-badge-width, 100px);
    height: var(--offer-badge-height, 100px);
    aspect-ratio: var(--offer-badge-ratio, 1);
    top: var(--offer-badge-top, -50px);
    left: 10px;
    border: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
@media (width < 992px) {
    .storefront-home-intro .nv-mobile-navbar {
        height: 100px;
        margin-bottom: 0 !important;
    }
    .storefront-home-intro .nv-mobile-navbar .navbar {
        position: fixed;
        background-color: var(--home-header-color, var(--main-color-bg-3));
        background-image: var(--home-header-background, none);
    }
    .nv-sections-slider > .custom-next.nv-next,
    .nv-sections-slider > .custom-prev.nv-prev {
        width: 44px;
        height: 44px;
    }
    .nv-sections-slider .owl-carousel {
        width: calc(100% - 112px);
    }
    /* Match the badge inset without changing either control’s dimensions. */
    .product-details .add-to-cart {
        right: 10px;
    }
    .product-details .offer-img {
        width: var(--offer-badge-mobile-width, 80px);
        height: var(--offer-badge-mobile-height, 80px);
        top: var(--offer-badge-mobile-top, -40px);
    }
}

footer.mt-3 {
    margin-top: 0 !important;
    padding-top: 25px;
}

.nv-single-banner-image {
    display: block;
    width: 100%;
    height: auto;
    padding: 8px;
    border-radius: 50px;
}

/* Keep two cards on narrow phones while reserving a 4px control gap. */
@media (width < 380px) {
    .product-details .add-to-cart {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
    }
    .product-details .add-to-cart svg {
        width: 24px;
        height: 24px;
    }
    .product-details .offer-img {
        width: min(80px, calc(100% - 68px));
        height: auto;
        aspect-ratio: 1;
    }
}

/* Equal card-edge insets at desktop and mobile sizes. */
.product-details .add-to-cart {
    right: 10px;
}
/* Internal pages need an opaque header above each theme's body artwork. */
body:not(.page_home) .nv-head,
body:not(.page_home) .nv-head .nv-navbar,
body:not(.page_home) .nv-mobile-navbar .navbar {
    background-color: var(--home-header-color, var(--main-color-bg-3));
    background-image: var(--home-header-background, none);
}

.nv-sections-slider .nv-sections:focus-visible {
    outline: none;
}
.nv-sections-slider .nv-sections:focus-visible .nv-icon {
    outline: 2px solid var(--main-color-primary);
    outline-offset: 3px;
}
/* The icon lifts as a unit while its parts animate; captions stay fixed. */
.nv-sections-slider .nv-sections .nv-icon {
    transform: translateY(0) scale(1);
}
.nv-sections-slider .category-part {
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
    transform-box: fill-box;
    transform-origin: center;
}
.category-part--tile { --part-animation: category-tile; --part-duration: 4200ms; }
.tile--top-left { --step-one: 25px 0; --step-two: 25px 25px; --step-three: 0 25px; }
.tile--top-right { --step-one: 0 25px; --step-two: -25px 25px; --step-three: -25px 0; }
.tile--bottom-right { --step-one: -25px 0; --step-two: -25px -25px; --step-three: 0 -25px; }
.tile--bottom-left { --step-one: 0 -25px; --step-two: 25px -25px; --step-three: 25px 0; }
.category-part--lid { --part-animation: category-lid; }
.nv-sections-slider .category-part--gift-lid {
    --part-animation: category-gift-lid;
    transform-box: view-box;
    transform-origin: 19.1px 32.92px;
    direction: ltr;
}
.nv-sections-slider .category-part--badge { --part-animation: category-badge; transform-origin: 50px 50px; transform-box: view-box; }
.category-part--hair { --part-animation: category-hair; --part-duration: 3600ms; }
.category-part--face-star {
    --part-animation: category-face-star;
    --part-duration: 3s;
}
.category-part--cheek-glint {
    --part-animation: category-cheek-glint;
    --part-duration: 3s;
    stroke: color-mix(in srgb, currentColor 75%, white);
}
.nv-sections-slider .category-part--bulb {
    --part-animation: category-bulb;
    transform-origin: left center;
}
.nv-sections-slider .category-part--cream-top {
    --part-animation: category-cream;
    --part-duration: 3s;
    transform-origin: center bottom;
}
.category-part--cream-spoon { --part-animation: category-cream-spoon; --part-duration: 3s; }
.category-part--cream-scoop { --part-animation: category-cream-scoop; --part-duration: 3s; }
.category-part--bath-bubble {
    --part-animation: category-bath-bubble;
    --part-duration: 3s;
}
.category-part--mist {
    --part-animation: category-mist;
    opacity: 0;
}
.nv-sections-slider .category-part--gathering-drop {
    --part-animation: category-gathering-drop;
    --part-duration: 3s;
    transform-box: view-box;
    transform-origin: 29.06px 15.19px;
}
.category-part--oil-reflection {
    --part-animation: category-oil-reflection;
    --part-duration: 3s;
    stroke-dasharray: 5 12;
}
@keyframes category-oil-reflection {
    0%, 14% { opacity: 0; stroke-dashoffset: 5; }
    40% { opacity: .85; stroke-dashoffset: 0; }
    76% { opacity: .95; stroke-dashoffset: -4; }
    86%, 100% { opacity: 0; stroke-dashoffset: -10; }
}
@keyframes category-gathering-drop {
    0%, 100% { transform: scale(.18, .1); opacity: 0; }
    9% { transform: scale(.30, .17); opacity: 1; }
    45% { transform: scale(.94, .82); opacity: 1; }
    59% { transform: scale(1, 1); opacity: 1; }
    66% { transform: scale(.96, 1.08); opacity: 1; animation-timing-function: ease-in; }
    77% { transform: translateY(12px) scale(.96, 1.03); opacity: 1; }
    86%, 99% { transform: translateY(39px) scale(.95, 1); opacity: 0; }
}
.category-part--drop { --part-animation: category-drop; }
.category-part--wave { --part-animation: category-wave; }
.category-part--eye { --part-animation: category-blink; --part-duration: 4000ms; }
.nv-sections-slider .category-part--smile {
    --part-animation: category-smile;
    --part-duration: 4000ms;
    transform-origin: center bottom;
}
.category-part--curl { --part-animation: category-curl; }
.category-part--spray { --part-animation: category-spray; }
.nv-sections-slider .flower-petal {
    --part-animation: category-bloom;
    transform-box: view-box;
    transform-origin: 36.75px 57px;
    direction: ltr;
}
.flower-petal--center { --petal-height: 1.055; }
.flower-petal--outer-left { --petal-angle: -14deg; }
.flower-petal--outer-right { --petal-angle: 14deg; }
.flower-petal--inner-left { --petal-angle: -8deg; --part-delay: 100ms; }
.flower-petal--inner-right { --petal-angle: 8deg; --part-delay: 100ms; }
@media (prefers-reduced-motion: no-preference) {
    .nv-sections-slider .category-part--cream-top > :first-child,
    .nv-sections-slider .category-part--cream-scoop {
        transition: fill 220ms;
    }
    .nv-sections-slider .nv-sections .nv-icon {
        transform: var(--category-lift, translateY(0) scale(1));
        box-shadow: 0 0 0 var(--category-halo, 0px) color-mix(in srgb, var(--main-color-primary) 16%, transparent);
        transition: transform 320ms cubic-bezier(.2, .85, .25, 1.18),
                    box-shadow 260ms ease-out, background-color 220ms, color 220ms;
    }
    .nv-sections-slider .category-part {
        animation: var(--category-motion, none) var(--part-duration, 2800ms) ease-in-out var(--part-delay, 0ms) infinite both;
    }
    .nv-sections-slider .nv-sections:focus-visible {
        --category-lift: translateY(-3px) scale(1.07);
        --category-halo: 3px;
    }
    .nv-sections-slider .nv-sections:focus-visible .category-part {
        --category-motion: var(--part-animation);
    }
    @media (hover: hover) and (pointer: fine) {
        .nv-sections-slider .nv-sections:hover {
            --category-lift: translateY(-3px) scale(1.07);
            --category-halo: 3px;
        }
        .nv-sections-slider .nv-sections:hover .category-part {
            --category-motion: var(--part-animation);
        }
    }
    .nv-sections-slider .nv-icon:has(.category-part--gathering-drop, .category-part--gift-lid, .category-part--hair, .category-part--cheek-glint, .category-part--bulb, .category-part--bath-bubble, .category-part--cream-top) {
        --category-lift: none;
    }
    .nv-sections-slider .nv-sections:active .nv-icon {
        transform: scale(.97);
        transition-duration: 100ms;
    }
}
@keyframes category-tile {
    0%, 6%, 100% { translate: 0 0; }
    25%, 31% { translate: var(--step-one); }
    50%, 56% { translate: var(--step-two); }
    75%, 81% { translate: var(--step-three); }
    0%, 6%, 25%, 31%, 50%, 56%, 75%, 81%, 100% { scale: 1; }
    15.5%, 40.5%, 65.5%, 90.5% { scale: .70; }
}
@keyframes category-cream {
    0%, 72%, 100% { transform: none; }
    25% { transform: skewX(-4deg) scaleY(1.12); }
    41% { transform: skewX(5deg) scaleY(.94); }
}
@keyframes category-cream-spoon {
    0%, 10%, 76%, 100% { opacity: 0; translate: 10px -5px; }
    24% { opacity: 1; translate: 5px -2px; }
    40% { opacity: 1; translate: -2px 1px; }
    60% { opacity: 1; translate: 5px -5px; }
}
@keyframes category-cream-scoop {
    0%, 35% { opacity: 0; }
    42%, 100% { opacity: 1; }
}
@keyframes category-lid {
    15% { translate: 0 .6px; }
    34%, 43% { translate: 0 -3.5px; }
    60% { translate: 0 .4px; }
    72%, 100% { translate: 0 0; }
}
@keyframes category-gift-lid {
    0%, 12%, 86%, 100% { transform: rotate(0deg); }
    44%, 56% { transform: rotate(-36deg); }
}
@keyframes category-badge {
    23% { rotate: -10deg; }
    45% { rotate: 5deg; }
    61% { rotate: -2deg; }
    78%, 100% { rotate: 0deg; }
}
/* Bend the two ends of the silhouette while its hairline stays anchored. */
@keyframes category-hair {
    30% { d: path("M32.4515 29.5383C32.4515 29.5383 35.2 41.1 46.7 42.6C58.2 44.1 58 52.8 58 52.8C58 52.8 70.2 33.6 51.3031 21.088C51.3031 21.088 48.0528 11.5 38.4645 11.5C28.8762 11.5 24.1633 21.088 24.1633 21.088C24.1633 21.088 14.25 21.9005 14.25 32.626C14.6 42.9 24.5 44.1 24.5 44.1C24.5 44.1 21.8 32.4 32.4515 29.5383Z"); }
    74% { d: path("M32.4515 29.5383C32.4515 29.5383 33.9 42 44.7 43.7C55.1 45.2 53.6 54.3 53.6 54.3C53.6 54.3 69.1 34.1 51.3031 21.088C51.3031 21.088 48.0528 11.5 38.4645 11.5C28.8762 11.5 24.1633 21.088 24.1633 21.088C24.1633 21.088 14.25 21.9005 14.25 32.626C13.9 43.8 22 45.1 22 45.1C22 45.1 20.9 32.7 32.4515 29.5383Z"); }
}
@keyframes category-face-star {
    0%, 35%, 100% { opacity: 0; scale: .45; }
    16% { opacity: .95; scale: 1; }
}
@keyframes category-cheek-glint {
    0% { opacity: 0; stroke-dashoffset: 18; }
    9% { opacity: .95; }
    33%, 100% { opacity: 0; stroke-dashoffset: -85; }
}
@keyframes category-bulb {
    0% { scale: 1; }
    18%, 24% { scale: .84 1.08; }
    42%, 100% { scale: 1; }
}
@keyframes category-bath-bubble {
    0% { opacity: 0; translate: 0 0; scale: .4; }
    12% { opacity: .9; }
    37% { opacity: .8; }
    58%, 100% { opacity: 0; translate: var(--bubble-drift, 5px) var(--bubble-rise, -17px); scale: 1.12; }
}
@keyframes category-mist {
    0%, 19% { translate: 0 0; scale: .55; opacity: 0; }
    28% { opacity: .95; }
    59%, 100% { translate: var(--mist-x, -16px) var(--mist-y, 0px); scale: 1.25; opacity: 0; }
}
@keyframes category-drop {
    22% { translate: 0 -1px; }
    44% { translate: 0 3px; }
    62% { translate: 0 -.4px; }
    78%, 100% { translate: 0 0; }
}
@keyframes category-wave {
    25% { translate: 0 0; }
    48% { translate: 1px 1.2px; scale: 1.04 1; }
    68% { translate: -.5px -.5px; }
    84%, 100% { translate: 0 0; scale: 1; }
}
@keyframes category-blink {
    0%, 64%, 70%, 100% { scale: 1; }
    67% { scale: 1 .18; }
}
@keyframes category-smile {
    0%, 8%, 60%, 100% { scale: 1; }
    28%, 37% { scale: 1.04 1.18; }
}
@keyframes category-curl {
    26% { rotate: -6deg; }
    50% { rotate: 3deg; }
    70%, 100% { rotate: 0deg; }
}
@keyframes category-spray {
    18% { translate: -.5px 0; }
    45% { translate: 4px -1px; opacity: .25; }
    70%, 100% { translate: 0 0; opacity: 1; }
}
@keyframes category-bloom {
    0%, 10%, 90%, 100% { transform: rotate(0deg) scaleY(1); }
    46%, 58% { transform: rotate(var(--petal-angle, 0deg)) scaleY(var(--petal-height, 1)); }
}

/* One SVG drawing per support icon, colored by the active theme. */
.trademark .trademark-icon {
    background-color: var(--support-icon-background, var(--main-color-bg-2)) !important;
    flex-shrink: 0;
}
.trademark-icon .support-icon {
    width: 45px;
    height: 45px;
    color: var(--support-icon-color, var(--main-color-second));
    transform: scale(1);
    transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
    .trademark-icon .support-icon {
        transition: transform 200ms ease-in-out;
    }
    .trademark-icon a:focus-visible .support-icon {
        transform: scale(1.08);
    }
    @media (hover: hover) and (pointer: fine) {
        .trademark-icon:hover .support-icon {
            transform: scale(1.08);
        }
    }
}
