:root {

    --color-primary: #FD6878;
    --color-primary-detail: #FFF4F3;
    --color-secondary: #84E8BD;
    --color-secondary-detail: #EEFBF6;
    --color-secondary-text: #52D19B;
    --color-accent: #F5C2BD;
    --color-detail: #FFF4F3;
    --text-color-dark: #8B6F6C;

    --font-display: 'SuperSense', sans-serif;
    --font-body: 'Inter', sans-serif;

    /*--text-color-dark: var(--color-primary);*/

    --font-size-h1: clamp(1.5rem, calc(1rem + 7vw), 4rem);
    --font-size-h2: clamp(1.35rem, calc(.8rem + 6vw), 3rem);
    --font-size-h3: clamp(1.2rem, calc(.6rem + 5vw), 2rem);

    --border-radius: 24px;
}

@font-face {
    font-family: 'SuperSense';
    src: url('/library/fonts/SuperSense.woff2') format('woff2'),
    url('/library/fonts/SuperSense.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* improves performance */
}

body {
    background: var(--color-primary);
}

nav a {
    color: var(--text-color-light);
    padding: 0 var(--padding-small);
    font-size: .9rem;
    text-transform: none;
    font-weight: 600;
}

main {
    background: var(--color-background);
    padding-bottom: var(--padding-mega);
}

main:has(.hero-banner:first-child) {
    margin-top: 0;
}

.hero-banner {
    padding-top: calc(var(--header-size) + var(--padding-mega));
    padding-bottom: var(--padding-mega);
}

.hero-banner-content {
    max-width: var(--fixed-max-width-small);
}

.hero-banner h1 {
    color: var(--text-color-light);
}

main:not(:has(*:is(#home-banner, .hero-banner):first-child)) {
    margin-top: 0;
    padding-top: calc(var(--header-size) + var(--padding-large));
}

footer {
    margin-top: 0;
    background: var(--color-primary);
}

footer .mini-heading {
    color: var(--text-color-light);
}

.panel {
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius-mega);
    padding: var(--padding-large);
}

h1, h2, h3 {
    font-weight: normal;
    color: var(--color-primary-text);
}

h4 {
    font-family: var(--font-body);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--color-primary-text);
}

#home-banner h1, .dec-step h3 {
    color: var(--text-color-light);
}

p, ul {
    font-size: 1.2rem;
    font-weight: 200;
}

.tag {
    font-weight: 900;
    text-transform: uppercase;
}

strong {
    font-weight: 700;
}

.style-1 {
    background: var(--color-primary-detail);
    color: #AB5963;
}

.style-1 *:is(h1, h2, h3, h4, h5, h6) {
    color: var(--color-primary);
}

.style-2 {
    background: var(--color-secondary-detail);
    color: #155B3D;
}

.style-2 *:is(h1, h2, h3, h4, h5, h6) {
    color: var(--color-secondary-text);
}

.full-width.style-1,
.full-width.style-2 {
    padding: var(--padding-large) 0;
}

.button-secondary {
    --button-background-color: var(--color-secondary-text);
}

.itb-content.vertical-list {
    padding: var(--padding-large);
    border-radius: var(--border-radius-large);
}

.itb-blank {
    background: var(--color-primary);
}

.tag:has(+ h1) {
    font-size: 1.3rem;
}

.p1 {
    font-size: 1.1rem;
    font-weight: 200;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--padding-small);
    list-style-type: none;
    padding:0;
}

.feature-list li {

}

.button-tertiary:not(.inverted) {
    color: var(--color-primary);
}

#home-banner {
    min-height: clamp(600px, 80vh, 800px);
    background: var(--color-primary);
    display: grid;
    grid-template-columns: 35% 65%;
    width: 100vw;
    justify-items: center;
    color: var(--text-color-light);
}

.home-banner-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-column: 1 / 3;
    grid-row: 1;
    width: var(--fixed-width);
    max-width: var(--fixed-max-width-large);
    padding: var(--padding-mega) 0;
}

.home-banner-content {
    z-index:1;
}

.home-banner-content > * {
    max-width: 35%;
}

.home-banner-content > h1 {
    max-width: 800px;
}

.home-banner-content h1 {
    text-shadow: 5px 5px #00000030;
}

/*<editor-fold desc="dec-image">*/
.dec-image-svg {
    max-width: 500px;
}

.dec-image-border {
    stroke: var(--color-primary);
}

.dec-image-detail-1 {
    fill: var(--color-primary);
}

.dec-image-detail-2 {
    fill: var(--color-secondary);
}
/*</editor-fold>*/

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    60% {
        opacity: 1;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dec-pop-item {
    opacity: 0;
}

.dec-image-svg.in-view .dec-pop-item {
    animation: popIn var(--duration, 800ms) cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0ms) forwards;
}

.hotmask-shape {
    opacity: 1;
    transform: scale(0);
    transform-origin: center;
    transform-box: fill-box;
}

.hotmask-wrapper {
    position: relative;
    min-height: 600px;
    min-width: 800px;
    width: 100%;
    grid-column: 2;
    grid-row: 1;
}

.hotmask-svg {
    position: absolute;
    bottom: 0;
    right: 0;
    max-height: 100%;
    height: 100%;
}

@media (max-width: 999px) {
    #home-banner {
        grid-template-columns: 100vw;
        grid-template-rows: auto auto;
        justify-content: center;
    }

    .home-banner-content-wrapper {
        padding: var(--padding-medium) 0 0;
    }

    .home-banner-content {
        width: var(--fixed-width);
        max-width: var(--fixed-max-width-large);
        grid-column: 1;
    }

    .hotmask-wrapper {
        grid-column: 1;
        grid-row: 2;
    }

    .home-banner-content > * {
        max-width: unset;
    }

    .home-banner-content > h1 {
        max-width: unset;
    }

    #header-swipe .header-top-wrapper {
        border-bottom: 2px solid var(--color-background);
    }

    .nav-wrapper {
        padding: var(--padding-small);
    }

    #header-swipe nav {
        border-radius: var(--border-radius-small);
        border: 2px solid var(--color-background);
        flex-grow: 0;
    }
}

/* Only animate after SVG is in-view */
.hotmask-svg.in-view .hotmask-shape {
    animation: hotmaskPopIn 600ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--hotdelay, 0ms) forwards;
}

@keyframes hotmaskPopIn {
    0% {
        transform: scale(0);
    }
    60% {
        transform: scale(var(--hotscale-max));
    }
    100% {
        transform: scale(1);
    }
}

.dec-steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--padding-mega);
    width: var(--fixed-width);
    max-width: 500px;
    align-items: center;
}

.dec-step {
    background: var(--color-primary);
    color: var(--text-color-light);
    padding: var(--padding-medium);
    border-radius: var(--border-radius-large);
    display: flex;
    flex-direction: row;
    max-width: 300px;
}

.dec-step:nth-child(1) {
    align-self: flex-start;
}

.dec-step:nth-child(2) {
    align-self: flex-end;
}

.dec-step-number {
    margin-left: -50px;
    margin-top: -30px;
    height: 80px;
    width: 80px;
    flex-shrink: 0;
}

.dec-step-content h3 {
    font-weight: normal;
}

@media (min-width: 1000px) {
    .dec-steps-wrapper {
        flex-direction: row;
        min-height: 300px;
        max-width: var(--fixed-max-width-medium);
    }

    header#header-swipe {
        /* border-bottom: 2px solid var(--color-background); */
        background: transparent;
        padding: var(--padding-small) 0;
        height: var(--header-size);
    }

    #header-swipe .header-wrapper {
        background: var(--color-primary);
        border-radius: var(--border-radius-mega);
        /* box-shadow: 0 2px 2px 0 #00000050; */
        border: 2px solid var(--color-background);
    }

    #header-swipe .nav-wrapper {
        padding: var(--padding-small) 0;
    }

    #header-swipe .header-top-wrapper {
        padding: 5px;
    }
}

.dec-step.will-animate {
    opacity: 0;
}

.dec-step.animate {
    animation: pop-in 400ms cubic-bezier(0.68, -0.6, 0.32, 2);
    animation-fill-mode: both;
    animation-delay: 0ms;
}

.dec-step.animate .dec-step-number {
    animation: pop-in 400ms cubic-bezier(0.68, -0.6, 0.32, 2);
    animation-fill-mode: both;
    animation-delay: 50ms;
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-text {
    display: flex;
    flex-direction: column;
    gap: var(--padding-medium);
    align-items: center;
}

.image-text > * {
    flex-basis: 0;
}

.image-text-image {
    flex-basis: 300px;
    /* width: 100%; */
    max-width: 500px;
    width: 100%;
}

@media (min-width: 1000px) {
    .dec-step.animate {
        animation-delay: var(--animation-delay, 0ms);
    }

    .dec-step.animate .dec-step-number {
        animation-delay: var(--animation-delay, 50ms);
    }

    .image-text {
        flex-direction: row;
        align-items: center;
    }

    .image-text.reverse {
        flex-direction: row-reverse;
    }

    .image-text-content {
        flex-grow: 3;
    }

    .image-text-image {
        flex-grow: 2;
    }
}

/*<editor-fold desc="Booqable">*/
.booqable-datepicker [class*="Container-"] {
    border-color: var(--color-accent)!important;
    flex-wrap: wrap!important;
    flex-direction: row!important;
    min-width: unset!important;
    border-radius: var(--border-radius-small);
}

.booqable-datepicker [class*="DateTime-"] {
    font-size: 1rem!important;
}

.booqable-product-button .bq-actions {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;

}

.booqable-datepicker [class*="DateTimeContainer-"] {
    width: unset!important;
    flex-basis: 0!important;
    flex-grow: 1!important;
}

.booqable-product-button .bq-control [class*="InputField-"]:has(.bq-quantity) {
    display: none!important;
}

.bq-actions span:has(>.bq-available) {
    display: none!important;
}

.booqable-component .booqable-product-button-wrapper {
    width: 100%!important;
}

.booqable-component .booqable-product-button-wrapper .bq-price-details {
    margin-bottom: 0 !important;
    width: unset !important;
    flex-grow: 1;
    flex-basis: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}

.booqable-component .booqable-product-button-wrapper .bq-button {
    border-radius: var(--border-radius)!important;
    min-height: 44px!important;
    font-size: 1rem!important;
}

.booqable-component .booqable-product-button-wrapper .bq-control {
    width: unset!important;
    flex-grow: 1;
    flex-basis: 0;
}

.booqable-wrapper {
    max-width: 500px;
    align-self: center;
    width: 100%;
    background: var(--color-detail);
    padding: var(--padding-medium);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: var(--padding-small);
}
/*</editor-fold>*/