@import url("global.css");
@import url("header.css");
@import url("footer.css");

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 60px 0;
    display: flex;
    align-items: end;
    background-size: cover;
    overflow: hidden;
}

.hero .hero_img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform-origin: center;
    will-change: transform;
    z-index: -1;

    & img {
        height: 100%;
        width: 100%;
        object-fit: cover;

        &.blur_img {
            filter: blur(10px);
        }
    }

    &:before {
        content: "";
        background: linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, rgb(19, 19, 19) 100%);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }
}

.hero_content {
    position: relative;

    & h1 {
        font-family: var(--heading-font);
        font-size: 88px;
        font-style: normal;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 72px;
        letter-spacing: -1px;
        text-wrap-style: balance;
        color: var(--contrast-color);
    }

    & p {
        font-family: var(--body-font);
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        text-wrap-style: balance;
        color: color-mix(in hsl, var(--contrast-color) 70%, transparent);
    }
}

.hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 60px;
        line-height: 56px;
    }

    .hero p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.inner-page .hero {
    height: 50vh;
    min-height: 460px;

    & .hero_img {
        height: 160%;

        &:before {
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgb(0, 0, 0) 100%);
        }
    }

    & .hero_content {

        & h1 {
            font-size: 52px;
            line-height: 60px;
            margin-bottom: 20px;
        }

        & .accreditations {
            display: flex;
            align-items: center;
            gap: 24px;

            & img {
                height: 50px;
                width: auto;
            }
        }
    }
}

.product_page .hero {
    height: auto;
    padding: 190px 0 10px;

    & .hero_img {
        height: 160%;

        &:before {
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgb(0, 0, 0) 100%);
        }
    }

    & .hero_content {
        /*position: relative;*/
        /*background: #fcf7f2;*/
        /*padding: 10px;*/
        /*border-radius: 10px;*/

        & h1 {
            font-family: var(--deafult-font);
            font-size: 28px;
            line-height: normal;
            text-transform: capitalize;
            font-weight: 600;
            text-wrap-style: balance;
            letter-spacing: normal;
            color: var(--default-color);
        }

        & .accreditations {
            display: flex;
            align-items: center;
            gap: 24px;

            & img {
                height: 50px;
                width: auto;
            }
        }
    }
}

@media (max-width: 768px) {
    .product_page .hero {
        padding: 120px 0 10px;

        & .hero_content {
            height: auto;

            & h1 {
                font-size: 24px;
                line-height: normal;
                margin-bottom: 10px;
            }

            & .right_box {
                width: 100%;
                display: grid;
                gap: 24px;
                align-items: start;
                justify-items: start;
                margin-top: 30px;

                & .accreditations {
                    display: flex;
                    align-items: start;
                    gap: 20px;

                    & img {
                        height: 34px;
                        width: auto;
                    }
                }
            }
        }
    }
}

/*--------------------------------------------------------------
# Cta Section
--------------------------------------------------------------*/

.cta {
    & .section_bg {
        &:before {
            content: "";
            background: linear-gradient(180deg, rgb(19 19 19 / 35%) 0%, rgb(0 0 0) 100%);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
    }

    & .section-title {
        & span {
            font-family: var(--heading-span);
            background: linear-gradient(90deg, var(--contrast-color) 25%, #d1d1d1 75%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact {
    & .section-title {
        & h2 {
            font-family: var(--heading-font);
            font-size: 56px;
            line-height: normal;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }

        & p {
            color: #454545;
            text-wrap-style: auto;
            margin: revert;
        }
    }
}

.contact .info-wrap {
    background-color: var(--accent-light);
    padding: 30px;
    border-radius: 16px;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 24px;
}

.contact .info-item i {
    font-size: 20px;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .email-form {
    background-color: var(--accent-light);
    padding: 30px;
    border-radius: 16px;
    height: 100%;
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .email-form {
        padding: 20px;
    }
}

.contact .email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Product item box
--------------------------------------------------------------*/

& .product {
    position: relative;

    & .image {
        margin-bottom: 20px;
        border-radius: 10px;
        overflow: clip;
        transition: all .3s ease;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    & .title {
        font-size: 18px;
        color: #747474;
        text-align: center;
    }

    & .price {
        font-size: 18px;
        color: var(--heading-color);
        text-align: center;
    }

    &:hover {
        & .image {
            /*transform: scale(1.02);*/
            /*box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);*/
        }

        & .title {
            color: #FE9900;
        }
    }
}

/*--------------------------------------------------------------
# Content page
--------------------------------------------------------------*/
.section {
    .content {
        .banner {
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 24px;
        }

        .privacy_header_bg p {
            font-size: 24px;
            font-weight: 600;
            color: #454545;
        }

        p,
        ul,
        li {
            font-size: 18px;
            color: #454545;
        }
    }
}


/*--------------------------------------------------------------
# Category
--------------------------------------------------------------*/

.category {

    & .section-title {
        & h2 {
            font-family: var(--heading-font);
            font-size: 56px;
            line-height: normal;
            margin-bottom: 16px;
            letter-spacing: -1px;
            text-transform: uppercase;
        }

        & p {
            color: #454545;
        }
    }

    & .cat_grid {
        display: grid;
        row-gap: 20px;
        column-gap: 20px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;

        & .item {
            position: relative;
            display: flex;
            align-items: end;
            align-self: stretch;
            border-radius: 16px;
            overflow: clip;
            background: #c7c7c7;
            padding: 30px;
            gap: 10px;
            min-height: 280px;

            & .image {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: all .3s ease;
                }
            }

            &:nth-child(1) {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
            }

            &:nth-child(2) {
                grid-column: 2 / 3;
                grid-row: 1;
            }

            &:nth-child(3) {
                grid-column: 3 / 4;
                grid-row: 1;
            }

            &:nth-child(4) {
                grid-column: 2 / 4;
                grid-row: 2;
            }

            &:nth-child(5) {
                grid-column: 1 / 3;
                grid-row: 3;
            }

            &:nth-child(6) {
                grid-column: 3;
                grid-row: 3;
            }

            & .content {
                z-index: 1;

                & h3 {
                    font-family: var(--heading-font);
                    font-size: 48px;
                    color: var(--contrast-color);
                    margin-bottom: -12px;
                    transition: all .3s ease;
                }

                & p {
                    position: relative;
                    font-size: 16px;
                    margin: 0;
                    opacity: 0 !important;
                }
            }

            & .btn-default {
                top: 100px;
                opacity: 0;
                padding: 0;
                height: 0;
            }

            &:hover {
                & .image img {
                    transform: scale(1.03);
                }

                & .btn-default {
                    top: 0;
                    height: 48px;
                    opacity: 1;
                    padding: 16px 20px;
                }
                
                 & h3 {
                    margin-bottom: 4px;
                }
            }

            &:before {
                content: "";
                background: linear-gradient(180deg, rgb(19 19 19 / 0%) 0%, rgb(19 19 19 / 60%) 100%);
                position: absolute;
                bottom: 0;
                top: 0;
                left: 0;
                right: 0;
                z-index: 1;
            }
        }
    }
}

@media (max-width: 1024px) {
    .cat_grid {
        grid-template-columns: repeat(2, 1fr) !important;

        & .item {
            grid-column: auto !important;
            grid-row: auto !important;
        }
    }
}


@media (max-width: 768px) {
    .category {
        & .cat_grid {
            & .item {
                & .content {
                    & h3 {
                        font-size: 20px;
                        color: var(--contrast-color);
                    }
                }
            }
        }
    }
}

@media (max-width: 600px) {
    .cat_grid {
        grid-template-columns: 1fr !important;

        & .item {
            min-height: 220px !important;
        }
    }
}


/*--------------------------------------------------------------
# About page content
--------------------------------------------------------------*/

.about {
    & .section-title {
        & h2 {
            font-family: var(--heading-font);
            font-size: 56px;
            line-height: normal;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }

        & p {
            color: #454545;
            text-wrap-style: auto;
            margin: revert;
        }
    }
}

/*--------------------------------------------------------------
# About page content
--------------------------------------------------------------*/

.cart {
    & h2 {
        font-size: 26px;
        font-weight: 600;
        color: var(--black);
        margin-bottom: 16px;
    }

    & .section-list {
        border-radius: 16px;

        & .item {
            display: flex;
            justify-content: space-between;
            background-color: var(--accent-light);
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;

            & .image {
                max-width: 140px;
                height: 140px;
                aspect-ratio: 1/1;
                display: flex;
                align-items: center;
                justify-content: center;
                background: var(--contrast-color);
                overflow: clip;
                border-radius: 8px;

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            & .details {
                width: 100%;
                padding: 10px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                & .title {
                    font-size: 18px;
                    color: var(--black);
                    font-weight: 600;
                    margin-bottom: 8px;
                }

                & .price {
                    font-size: 16px;
                }

                & .btn-danger {
                    display: flex;
                    align-items: center;
                    min-width: 32px;
                    width: fit-content;
                    height: 32px;
                    display: flex;
                    align-items: center;
                    gap: 4px;
                    background: #ff0000b5;
                    color: var(--contrast-color);

                    &:hover {
                        background: #f00;
                    }
                }
            }

            & .final {
                padding: 10px;

                & .total {
                    text-align: right;
                    font-size: 28px;
                    font-weight: 600;
                    margin-bottom: 10px;
                }

                & .quantity {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;

                    & .minus,
                    & .plus {
                        background: var(--default-color);
                        color: var(--contrast-color);
                        border-radius: 100%;
                        width: 28px;
                        height: 28px;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        &:hover {
                            background: var(--accent-color);
                            color: var(--default-color);
                        }
                    }

                    & input {
                        text-align: center;
                        width: 46px;
                        border: none;
                        background: transparent;
                    }
                }
            }
        }

        & .no-item {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--accent-light);
            font-weight: 600;
            font-size: 20px;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
            min-height: 100px;
        }
    }

    & .order-detail {
        border-radius: 16px;
        padding: 30px;
        box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 8%) !important;

        & h3 {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: -1px;
        }

        .col-form-label {
            font-weight: 600;
            white-space: nowrap;
        }

        & .form-control-plaintext {
            font-size: 20px;
        }
    }

    & .btn-white {
        color: var(--default-color);
        background: var(--contrast-color);
        border-color: var(--default-color);

        &:hover {
            color: var(--default-color);
            background: var(--accent-color);
            border-color: var(--accent-color);
        }
    }
}

@media (max-width: 768px) {
    .cart {
        & h2 {
            font-size: 20px;
        }

        & .section-list {
            & .item {
                & .image {
                    height: 80px;
                }

                & .details {
                    & .title {
                        font-size: 14px;
                    }

                    & .price {
                        font-size: 14px;
                    }
                }

                & .final {
                    & .total {
                        font-size: 18px;
                    }

                    & .quantity {
                        & input {
                            width: 32px;
                            font-size: 14px;
                        }

                        & .minus,
                        & .plus {
                            width: 18px !important;
                            height: 18px;
                            font-size: 14px;
                            padding: 4px;
                            line-height: 0;
                        }
                    }
                }
            }
        }

        & .order-detail {
            padding: 16px;
        }
    }
}

/*--------------------------------------------------------------
# Checkout Page
--------------------------------------------------------------*/

.checkout {
    & .accordion-button {
        border-radius: 5px !important;
        font-size: 22px;
        font-weight: 600;
        background: var(--accent-color);
        color: var(--default-color);
    }

    & .accordion-flush>.accordion-item {
        margin-bottom: 5px;
    }

    & .section-list.right {
        border-radius: 16px;

        & .item {
            flex-direction: column;
            margin-bottom: 5px;

            & .title-box {
                display: flex;
                justify-content: space-between;

                & .title {
                    font-size: 16px;
                    color: var(--black);
                    font-weight: 600;
                    margin-bottom: 8px;
                }

                & .btn-danger {
                    min-width: 32px;
                    width: fit-content;
                    height: 32px;
                    display: flex;
                    align-items: center;
                }
            }

            & .details {
                flex-direction: row;
                justify-content: left;
                gap: 10px;
                padding: 0;

                & .image {
                    height: 76px;
                }
            }
        }
    }

    & .order-detail {
        & .col-form-label {
            font-size: 16px;
            padding-top: 0;
        }

        & .form-control-plaintext {
            font-size: 16px;
            padding: 0;
        }
    }
}

@media (max-width: 768px) {
    .checkout {
        & .accordion-button {
            font-size: 16px;
            padding: 14px;
        }
    }
}

/*--------------------------------------------------------------
# Product Page
--------------------------------------------------------------*/

.product_images .swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.product_images .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.product_images .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_images .mainSwiper {
    height: 80%;
    width: 100%;
}

.product_images .thumbSwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.product_images .thumbSwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.product_images .thumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.product_images .swiper-slide-thumb-active {
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    overflow: clip;
}

.p-details {
    & h1 {
        font-size: 34px;
        margin-bottom: 20px;
    }

    & h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    & p {
        font-size: 16px;
        color: var(--black);
        margin-bottom: 10px;
    }

    & .price {
        font-size: 34px;
    }

    & .quantity {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .p-details {
        & h1 {
            font-size: 24px;
        }

        & h2 {
            font-size: 16px;
        }

        & p {
            font-size: 16px;
            color: var(--black);
            margin-bottom: 10px;
        }
    }
}


/*--------------------------------------------------------------
# Hero Slider
--------------------------------------------------------------*/
:root {
--slide-count: 3;
--slide-hold: 3s;
--fade-duration: 1.2s;
}
.hero-slider {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform-origin: center;
    will-change: transform;
    z-index: -1;
    &:before {
        content: "";
        background: linear-gradient(180deg, rgba(19, 19, 19, 0) 0%, rgb(19, 19, 19) 100%);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }
    & .slides {
        position: absolute;
        inset: 0;
        & .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            animation-name: dissolve;
            animation-duration: calc((var(--slide-hold) + var(--fade-duration)) * var(--slide-count));
            animation-timing-function: ease-in-out;
            animation-iteration-count: infinite;
            /* replaces all the nth-child(n) rules */
            animation-delay: calc((var(--slide-hold) + var(--fade-duration)) * var(--i) * -1);
            & img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

@keyframes dissolve {
    0% {opacity: 0;}
    4% {opacity: 1;}
    30% {opacity: 1;}
    37% {opacity: 0;}
    100% {opacity: 0;}
}

@media (prefers-reduced-motion: reduce) {

    .slide {
        animation: none;
    }

    .slide:first-child {
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# Login Page
--------------------------------------------------------------*/

.login-box {
    background: #00000021;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;

    & h1 {
        color: var(--contrast-color);
        font-size: 42px;
    }

    & p {
        color: var(--contrast-color);
    }

    & ul {
        list-style: none;
        padding: 0;
        color: var(--contrast-color);
        opacity: .7;
    }
}


.select_color {
    padding: 5px 5px 5px 16px;
    background: #f9f9f9;
    border-radius: 5px;
    width: fit-content;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.select_color:hover {
    background: #ededed;
}

.select_color img {
    mix-blend-mode: multiply;
}

.signup-sec {
    text-align: center;
    margin-top: 24px;
}

.or-sec {
    position: relative;
    margin-bottom: 10px;
    color: #696969;
}

.or-sec::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background: #696969;
    left: 0;
    top: 12px;
    width: 46%;
}

.or-sec::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background: #696969;
    right: 0;
    top: 12px;
    width: 46%;
}