:root {
    --white: #ffffff;
    --bg-dark: #212529;
    --bg-light: #f8f9fa;
    --bg-grey: #e9ecef;
    --bg-disabled: #a9adb1;
    --font-color: #212529;
    --font-color-light: #7b7f84;
    --font-color-hover: #b3b3b3;
    --font-color-white: #f8f9fa;
    --primary-color: #7fffd4;
    --primary-color-hover: #4ecaa1;
    --secondary-color: #f8f9fa;
    --secondary-color-hover: #d3d4d5;
    --border-radius: 30px;
    --border-color-light: #dee2e6;
    --border-color-hover: #b3b3b3;
    --light-color: #dee2e6;
    --bg-danger: #f8d7da;
    --border-danger: #f1aeb5;
    --fa-primary-color: var(--bg-dark);
    --fa-secondary-color: var(--bg-dark);
    --fa-secondary-opacity: 0.3;
}

body {
    position: relative;
    -ms-overflow-style: none;
}
html {
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-padding-top: 73px;
}
@media only screen and (max-width: 991px) {
    html {
        scroll-padding-top: 60px;
    }
}
html::-webkit-scrollbar {
    display: none;
}

.main-container {
    min-height: calc(100vh - 56px - 100px - 356px);
    margin-top: 56px;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* FONTS */
@font-face {
    font-family: 'ExoRegular';
    src: url(../fonts/Exo/Exo-Regular.ttf);
}

@font-face {
    font-family: 'ExoMedium';
    src: url(../fonts/Exo/Exo-Medium.ttf);
}
@font-face {
    font-family: 'ExoLight';
    src: url(../fonts/Exo/Exo-Light.ttf);
}

/* MISC */
h1, h2, h3, h4, h5, a, p, button, button.btn, span, label {
    font-family: 'ExoMedium';
}
    .btn.btn-sm {
        padding: 0.3rem 1.1rem;
        border-radius: 30px;
    }
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}
a {
    text-decoration: none;
}
.transition {
    transition: all 200ms ease-in-out;
}
.container-y-padding {
    padding-top: 150px;
    padding-bottom: 150px;
}
.nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
}
#loginButton {
    margin-left: 10px;
}

/* BUTTONS */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
}
.btn.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border: 2px solid var(--primary-color);
    transition: all 250ms ease-in-out;
    border-radius: var(--border-radius);
}
    .btn.btn-primary:hover {
        background-color: var(--primary-color-hover);
        border: 2px solid var(--primary-color-hover);
    }

.btn.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    border: 2px solid var(--secondary-color);
    transition: all 250ms ease-in-out;
    border-radius: var(--border-radius);
}
    .btn.btn-secondary:hover {
        background-color: var(--secondary-color-hover);
        border: 2px solid var(--secondary-color-hover);
    }

.btn.btn-outline-secondary{
    background-color: none;
    color: var(--font-color);
    border: 1px solid var(--bg-dark);
    transition: all 250ms ease-in-out;
    border-radius: var(--border-radius);
}
    .btn.btn-outline-secondary:hover {
        color: var(--font-color-white);
        background-color: var(--bg-dark);
    }

/* FORM CONTROL */
input.form-control {
    border-color: var(--border-color-light);
}
    input.form-control:focus {
        box-shadow: none;
        border-color: var(--border-color-hover);
        background-color: var(--secondary-color);
    }

.input-error {
    background-color: var(--bg-danger)!important;
    border-color: var(--border-danger)!important;
}

/* PRETTY CHECKBOX */
.pretty.p-switch div.state:before {
    border-color: var(--font-color-light);
}
.pretty.p-default div.state label {
    display: flex;
    text-wrap: wrap;
    line-height: 1.2rem;
    text-indent: 0;
    margin-left: 30px;
}
    .pretty.p-default div.state label::before {
        top: 0;
        border-color: var(--font-color-light);
    }
    .pretty.p-default div.state label::after {
        top: 0;
    }
    div.pretty.p-default input:checked~div.state label::after {
        border-color: var(--font-color);
        background-color: var(--font-color)!important;
    }

/* TEXT */
a {
    text-decoration: none;
}
a.link-light {
    color: var(--white);
    text-decoration-color: var(--white);
    transition: all 200ms ease-in-out;
}
    a.link-light:hover {
        color: var(--primary-color);
        text-decoration-color: var(--primary-color);
    }
a.link-dark {
    color: var(--font-color);
    text-decoration-color: var(--font-color);
    transition: all 200ms ease-in-out;
}
    a.link-dark:hover {
        color: var(--font-color-hover);
        text-decoration-color: var(--font-color-hover);
    }

.info-header {
    font-size: 18px;
    color: var(--font-color);
}
.info-text {
    color: var(--font-color-light);
}

/* MODAL */
@media (min-width: 576px) {
    .modal .modal-sm {
        --bs-modal-width: 360px;
    }
}

/* NAVBAR */
ul.navbar-center li.nav-item a.nav-link {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: var(--gray-dark);
}
div.ww-container, footer.ww-container, section.ww-container {
    width: 80%;
    margin: 0 auto;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x)*.5);
    padding-left: calc(var(--bs-gutter-x)*.5);
}
.navbar .ww-container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}
@media only screen and (max-width: 1199px) {
    div.ww-container {
        width: 90%;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 991px) {
    div.ww-container {
        width: 100%;
        margin: 0;
    }
}
.mobile-navbar-icons {
    position: absolute;
    top: 0px;
    right: 30px;
}
.mobile-navbar-icons .nav {
    flex-direction: row;
    width: 150px;
    justify-content: space-between;
}
.nav #order-count {
    position: absolute;
    bottom: -2px;
    right: -7px;
    background-color: black;
    color: white;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 12px;
}

/* Modal */
.modal .modal-content {
    background-color: var(--bg-dark)
}
.modal .modal-header {
    border-bottom: 1px solid var(--bg-dark);
}
.modal .modal-footer {
    border-top: 1px solid var(--bg-dark);
}

/* LOGIN MODAL */
#modal-login[type="login"] .register-label,
#modal-login[type="login"] .login-link,
#modal-login[type="login"] .repeat-password,
#modal-login[type="login"] .register-button,
#modal-login[type="login"] .reset-label,
#modal-login[type="login"] .reset-button,
#modal-login[type="login"] .password-forgotten > a:last-child  {
    display: none !important;
}

#modal-login[type="register"] .login-label,
#modal-login[type="register"] .login-button,
#modal-login[type="register"] .register-link,
#modal-login[type="register"] .password-forgotten,
#modal-login[type="register"] .reset-label,
#modal-login[type="register"] .reset-button {
    display: none !important;
}

#modal-login[type="reset-password"] .login-label,
#modal-login[type="reset-password"] .register-label,
#modal-login[type="reset-password"] .login-link,
#modal-login[type="reset-password"] .register-link,
#modal-login[type="reset-password"] .password,
#modal-login[type="reset-password"] .repeat-password,
#modal-login[type="reset-password"] .login-button,
#modal-login[type="reset-password"] .register-button,
#modal-login[type="reset-password"] .password-forgotten > a:first-child {
    display: none !important;
}

/* Cookie Banner */
.cookie-banner {
    box-shadow:
        0px -0.4px 2.1px rgba(0, 0, 0, 0.065),
        0px -0.9px 5.4px rgba(0, 0, 0, 0.091),
        0px -1.8px 11px rgba(0, 0, 0, 0.115),
        0px -3.2px 22.6px rgba(0, 0, 0, 0.146),
        0px -7px 62px rgba(0, 0, 0, 0.19)
    ;
}

/* HEADER */
.video-header {
    margin-top: 73px;
    position: relative;
    width: 100vw;
    height: calc(100vh - 72px);
    overflow: hidden;
    background-image: url(../img/startimg.jpg);
    background-size: cover;
    background-position: center;
}

    .video-header video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        z-index: 1;
        object-fit: fill;
    }

    .video-header .video-header-content {
        position: absolute;
        top: calc(50% + 100px);
        left: 50%;
        transform: translate(-50%, -50px);
        color: white;
        text-align: center;
        z-index: 2;
    }

    .video-header .mute-button {
        all: unset;
        cursor: pointer;
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 2;
    }

    .video-header .scroll-down {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        bottom: 5px;
        font-size: 50px;
        color: #212529;
        animation: bounce 2s infinite;
        z-index: 2;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translate(-50%, 0);
        }
        40% {
            transform: translate(-50%, -30px);
        }
        60% {
            transform: translate(-50%, -15px);
        }
    }

.top-header {
    margin-top: 61px;
    height: 60vh;
    background-image: url(../img/magicpuff/Banner4.jpg?version=1.0);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top-header-content {
    text-align: center;
}
#category-1 {
    height: 30vh;
    background-image: url(../img/magicpuff/Banner5.jpg?version=1.0);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
#category-row-1 > div > div {
    position: relative;
    display: flex;
    background-image: url(../img/Overlay.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 30vh;
}
#category-row-1 > div > div .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    z-index: 1;
}
#category-row-1 > div > div:hover .overlay {
    opacity: .6;
}
#category-row-1 h1 {
    position: absolute;
    left: 40px;
    bottom: 40px;
    margin: 0;
    z-index: 1;
}
#category-row-1 img {
    position: absolute;
    height: 100%;
    right: 40px;
}
#cta-1 {
    height: 30vh;
}
#product-row-1 > div {
    grid-template-columns: repeat(6, 1fr);
    column-gap: 10px;
    row-gap: 10px;
}
@media only screen and (max-width: 1199px) {
    #product-row-1 > div {
        grid-template-columns: repeat(2, 1fr);
    }
    #product-row-1 > div img {
        max-width: 100%;
    }
}
#product-row-1 a {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
}
#product-row-1 a:hover {
    opacity: .8;
}
#product-row-1 img {
    margin-bottom: 30px;
    width: auto;
    max-height: 200px;
    margin-inline: auto;
}
p.product-title,
p.product-price {
    color: black;
    margin-bottom: 5px;
}
.sale-price {
    display: flex;
    flex-direction: row;
}
    .sale-price p:first-child,
    .sale-price h5:first-child {
        margin-right: 5px;
        color: var(--font-color-light);
        position: relative;
    }
    .sale-price p:first-child::before,
    .sale-price h5:first-child::before {
        content: '';
        position: absolute;
        top: 25%;
        left: 50%;
        width: 45px;
        height: 2px;
        background-color: #21252980;
        transform: rotate(-19deg) translate(-50%, -50%);
    }
p.product-style {
    color: #6c6c6c;
    margin-bottom: 5px;
}
#accordionFAQ .accordion-item {
    border-bottom: 1px solid #4f5153;
}
#accordionFAQ .accordion-button {
    background-color: var(--bs-dark-rgb);
    padding-left: 0;
}
#accordionFAQ .accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}
.accordion-body {
    padding-left: 0;
}
.accordion-button:not(.collapsed) {
    background-color: var(--bs-dark-rgb);
}
button.accordion-button:focus {
    border: none;
    box-shadow: none;
}


/* FOOTER */
.payment-methods > div > div {
    filter: grayscale(100%);
    opacity: .7;
    text-align: center;
}
.payment-methods img {
    height: 5rem;
    width: 5rem;
}
footer {
    padding: 80px 0;
}
footer > div > div {
    display: flex;
    flex-direction: column;
}
footer a {
    color: var(--light);
    text-decoration: none;
    padding-bottom: 4px;
}
footer a:nth-child(1) {
    font-size: 35px;
}
footer > div > div:last-child a:nth-child(2) {
    font-size: 30px;
    padding-top: 3px;
    padding-left: 20px;
}
footer img {
    width: 70%;
}
#cartModal {
    width: 500px;
}
#cartModal .cart-products {
    list-style-type: none;
    padding: 0;
    overflow-y: scroll;
    margin-top: 20px;
}

    #cartModal .cart-products::-webkit-scrollbar {
        width: 8px;
        cursor: pointer;
    }
    #cartModal .cart-products::-webkit-scrollbar-track {
        width: 8px;
        background-color: var(--bg-grey);
        cursor: pointer;
    }
    #cartModal .cart-products::-webkit-scrollbar-thumb {
        width: 8px;
        background-color: var(--bg-dark);
        border-radius: 10px;
        cursor: pointer;
    }

    #cartModal .cart-products li figure {
        position: relative;
        display: block;
        margin: 0 20px 0 0;
        padding: 0;
        width: 120px;
        height: 160px;
    }
        #cartModal .cart-products li figure a {
            display: block;
            height: 160px;
            overflow: hidden;
            padding-bottom: 100%;
            position: relative;
            width: 120px;
        }
        #cartModal .cart-products li figure img {
            height: 140px;
            width: 120px;
            left: 0;
            top: 0;
            object-fit: cover;
            position: absolute;
        }
    #cartModal .cart-products li div p:nth-of-type(2) {
        font-family: 'ExoLight';
        font-size: 15px;
        margin-bottom: 7px;
    }
    #cartModal .cart-products div.add-remove-to-cart a:not(.trash-icon):before {
        content: '';
        position: absolute;
        width: 22px;
        height: 22px;
        border: 1px solid #212529;
        border-radius: 30px;
        top: 0px;
        left: -4px;
    }
    #cartModal .cart-buttons button {
        width: 100%;
        max-width: calc(100% - 1rem);
    }
@media only screen and (max-width: 991px) {
    #cartModal {
        width: 100vw;
    }   
}

#free-delivery-label[free_delivery="False"] > p:first-child,
#free-delivery-label[free_delivery="false"] > p:first-child {
    display: none;
}
#free-delivery-label[free_delivery="True"] > p:last-child,
#free-delivery-label[free_delivery="true"] > p:last-child {
    display: none;
}