@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Gilroy', sans-serif;
    background-image: url("./images/card/cart-background.png");
    background-repeat: no-repeat;
    background-position: center center;
    /* horizontal center, vertical center */
    background-attachment: fixed;
    background-size: cover;
}

/* nav section start */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    background:
        linear-gradient(rgba(0, 0, 0, 0.797)),
        url(./images/jorgen-hendriksen-_-nX3P8xI9E-unsplash.png);
    background-size: cover;
    background-position: center;

    @media (max-width: 768px) {
        width: 100%;
        margin: 0 auto;
        background:
            linear-gradient(rgba(0, 0, 0, 0.879), rgba(0, 0, 0, 0.913)),
            url(./images/jorgen-hendriksen-_-nX3P8xI9E-unsplash.png);
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 100%;
        margin: 0 auto;
        background:
            linear-gradient(rgba(0, 0, 0, 0.879), rgba(0, 0, 0, 0.913)),
            url(./images/jorgen-hendriksen-_-nX3P8xI9E-unsplash.png);
    }
}

.nav_container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;

    @media (max-width: 768px) {
        width: 90%;
        margin: 0 auto;
        overflow-x: hidden;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 90%;
        margin: 0 auto;
        overflow-x: hidden;
    }
}

.logo {
    width: 10%;

    @media (max-width: 768px) {
        width: 30%;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 20%;
    }
}

.logo img {
    width: 100%;
}

.link {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;

    @media (max-width: 768px) {
        display: none;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        display: none;
    }
}

.link li a {
    text-decoration: none;
    color: #BABABA;
    font-size: 16px;
    cursor: pointer;
}

.login_cart {
    display: flex;
    align-items: center;
    gap: 30px;

    @media (max-width: 768px) {
        display: none;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        display: none;
    }
}

.login_wrapper {
    position: relative;
    display: inline-block;
}

.login {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.login h3 {
    color: #BABABA;
    font-weight: 400;
}

.login i {
    color: #FE4806;
    font-size: 20px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(201, 199, 199, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    flex-direction: column;
    gap: 10px;
    min-width: 150px;
    z-index: 999;
}

.dropdown a {
    display: block;
    padding: 5px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.603);
    font-size: 13px;
    color: black;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.dropdown a:hover {
    background: #000000;
    color: white;
}


.login_wrapper:hover .dropdown {
    display: flex;
}

.login_wrapper:hover .login i {
    transform: rotate(180deg);
    transition: 0.3s;
}

.toggle_btn {
    display: none;

    @media (max-width: 768px) {
        width: 8%;
        display: block;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 8%;
        display: block;
    }
}

.toggle_btn img {
    @media (max-width: 768px) {
        width: 100%;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 70%;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    /* initially hidden */
    width: 280px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('./images/mobielandtabvie.jpg') no-repeat center center / cover;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 32px 0 rgba(108, 108, 108, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    transition: all 0.3s ease;
    z-index: 999;
    color: white;

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 580px;
        right: -580px;
        padding: 50px;
    }
}

.sidebar.active {
    right: 0;
    /* Show sidebar */
}

.sidebar .close-btn {
    font-size: 40px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    right: 15px;

    @media (min-width: 768px) and (max-width: 1024px) {
        font-size: 80px;
    }
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    color: #ffffff;
    text-decoration: none;

    @media (min-width: 768px) and (max-width: 1024px) {
        font-size: 30px;
    }
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: white;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.productlink {
    position: relative;
}

.prodcutlink:hover .product_card,
.product_card:hover {
    display: block;
}

.product_card {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
}

.card_overlay {
    display: flex;
    position: relative;
    padding: 30px 40px;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #707070;
    border-radius: 15px;
    justify-content: center;
    gap: 40px;
}

.card_ov {
    width: 200px;
    height: 240px;
    border-radius: 30px;
    background: rgba(60, 60, 60, 0.3);
    /* semi-transparent background */
    border: 4px solid rgba(255, 255, 255, 0.2);
    /* light border */
    box-shadow:
        inset -5px -5px 10px rgba(255, 255, 255, 0.15),
        inset 5px 5px 10px rgba(0, 0, 0, 0.4),
        0 0 0 2px #999,
        0 0 0 4px #0000001f,
        0 5px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(30px);
    /* for Safari */
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.cardinner-white {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 120px;
    background: white;
    border-radius: 30px;
    /* Replace with your own image */
    background-size: cover;
    background-position: center;
}

.card_text {
    position: absolute;
    bottom: 25px;
    width: 100%;
    font-size: 15px;
    letter-spacing: 1px;
    color: #D9D9D9;
}

/* nav section end */


.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px;
}

.main-button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    flex-wrap: nowrap;
    overflow: hidden;

    & button {
        padding: 6px 30px;
        border: none;
        border-radius: 999px;
        background-color: #707070;
        color: white;
        white-space: nowrap;

    }

    & .line {
        width: 100px;
        height: 4px;
        background-color: #707070;
        flex-shrink: 0;
    }

    & .button {
        padding: 6px 30px;
        border: none;
        border-radius: 999px;
        background-color: #FC4D0D;
        color: white;
        font-size: 16px;
    }

    & .line-active {
        width: 100px;
        height: 4px;
        background-color: #707070;
    }
}


/* card */

.body {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.pointer {
    position: absolute;
    left: 65px;
    top: -29px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 30px solid #989898;
}

.card-body {
    text-align: left;
    margin-top: 45px;
    border-radius: 30px;
    overflow: hidden;


    & .card-header {
        padding: 10px 0px;
        background-color: #909090;
        color: white;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

        & ul {
            list-style: none;
            display: flex;
        }

        & .items {
            width: 4%;
        }

        & .items-1 {
            width: 16%;
        }

        & .items-2 {
            width: 50%;
            padding-left: 20px;
        }

        & .items-3 {
            width: 15%;
        }
    }

    & .card-items {
        color: white;
        background-color: #707070;

        & ul {
            list-style: none;
            display: flex;
            align-items: center;
        }

        & .items {
            width: 4%;
            color: #FC4D0D;
            text-align: center;
        }

        & .items-1 {
            width: 16%;
            position: relative;

            & .card-call {
                position: absolute;
                height: 100%;
                width: 100%;
                background-color: #7f7e7eb7;
            }

            & img {
                padding: 10px 0;
                width: 70%;
                display: block;
                margin: 0 auto;
                z-index: 1;
                position: relative;
            }
        }

        & .items-2 {
            width: 50%;
            padding-left: 20px;
        }

        & .items-3 {
            width: 15%;
        }
    }

    & .card-items-empty-1 {
        background-color: #707070ad;

        & ul {
            list-style: none;
            display: flex;
            align-items: center;
        }

        & .items {
            width: 4%;
            color: #FC4D0D;
            text-align: center;
        }

        & .items-1 {
            width: 16%;
            height: 85px;
            background-color: #7f7e7eb7;
        }

        & .items-2 {
            width: 50%;
            padding-left: 15px;
        }

        & .items-3 {
            width: 15%;
        }
    }

    & .card-items-empty-2 {
        background-color: #707070;

        & ul {
            list-style: none;
            display: flex;
            align-items: center;
        }

        & .items {
            width: 4%;
            color: #FC4D0D;
            text-align: center;
        }

        & .items-1 {
            width: 16%;
            height: 85px;
            background-color: #7f7e7eb7;
        }

        & .items-2 {
            width: 50%;
            padding-left: 15px;
        }

        & .items-3 {
            width: 15%;
        }
    }


    & .card-footer {
        padding: 20px 50px;
        background-color: rgba(255, 255, 255, 0.599);
        backdrop-filter: blur(60px);
        -webkit-backdrop-filter: blur(60px);

        display: flex;
        justify-content: space-between;

        & h3 {
            font-weight: 300;
        }
    }
}

.card-count {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #525252;
    width: fit-content;
    padding: 6px 16px;
    border-radius: 98999px;

    & button {
        color: #FC4D0D;
        background-color: #525252;
        border: none;
        display: flex;
        align-items: center;
    }
}


.submit-button-aria {
    text-align: center;
    margin-top: 40px;

    & button {
        font-size: 18px;
        color: white;
        padding: 10px 40px;
        border-radius: 99px;
        background-color: #FC4D0D;
        font-weight: 500;
        border: none;
    }
}

.card-icon {
    text-align: center;
    margin-top: 60px;
    position: relative;

    & img {
        width: 130px;
    }

    & .page-element {
        position: absolute;
        right: 0;
        top: -50%;
        height: 200px;
        opacity: 30%;
    }
}



@media (max-width: 1024px) {
    .main-button-group {

        & .line {
            width: 35px;
        }
    }

    .card-count {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 10px 6px;
        border-radius: 98999px;

        & button {
            color: #FC4D0D;
            background-color: #525252;
            border: none;
            display: flex;
            align-items: center;
        }
    }

}

@media (max-width: 600px) {
    .main-button-group {
        justify-content: left;
        margin-left: 60px;

        & .line {
            width: 65px;
        }
    }

    .pointer {
        position: absolute;
        left: 80px;
        top: -21px;
        width: 0;
        height: 0;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 22px solid #989898;
    }

    .card-body {
        margin-top: 35px;
        border-radius: 20px;
    }

    .card-header {
        padding: 10px 0px;

        & ul {
            list-style: none;
            display: flex;
        }

        & .items {
            width: 4%;
        }

        & .items-1 {
            width: 16%;
        }


        & .items-2 {
            width: 45% !important;
            padding-left: 20px;
        }

        & .items-3 {
            width: 30%;
            font-size: 14px;
        }
    }


    .card-items {
        padding: 6px 0;
        color: white;
        background-color: #707070;

        & ul {
            list-style: none;
            display: flex;
            align-items: center;
        }

        & .items {
            width: 4%;
            color: #FC4D0D;
            text-align: center;
        }

        & .items-1 {
            width: 16%;
            position: relative;

            & .card-call {
                position: absolute;
                height: 100%;
                width: 100%;
                background-color: transparent !important;
            }

            & img {
                padding: 10px 0;
                width: 94% !important;
                display: block;
                margin: 0 auto;
                z-index: 1;
                position: relative;
            }
        }

        & .items-2 {
            width: 45% !important;

        }

        & .items-3 {
            width: 15%;
        }
    }

    .mobile-hidden {
        display: none;
    }


    .card-count {
        gap: 4px;

        padding: 8px 4px;


        & button {
            color: #FC4D0D;
            background-color: #525252;
            border: none;
            display: flex;
            align-items: center;
        }
    }

    .card-items-empty-1 {

        & .items-1 {
            width: 16%;
            height: 75px !important;
            background-color: transparent !important;
        }
    }

    .card-items-empty-2 {

        & .items-1 {
            width: 16%;
            height: 75px !important;
            background-color: transparent !important;
        }

    }

    .card-footer {
        padding: 12px 24px !important;
        display: flex;
        justify-content: space-between;

        & h3 {
            font-weight: 300;
            font-size: 16px !important;
        }
    }

    .page-element {
        display: none;
    }
}


/* footer section starts */

.footer_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;

    @media (max-width: 767px) {
        margin-top: 40px;
        margin-bottom: 0;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        margin-top: 40px;
        margin-bottom: 0;
    }
}

.footer_links {
    width: 1100px;
    margin: 0 auto;
    overflow-x: hidden;
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 70px 10px 0 10px;

    @media (max-width: 767px) {
        width: 90%;
        margin: 0 auto;
        flex-direction: column;
        gap: 50px;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 90%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: auto auto;
        gap: 40px;
    }
}

.footer_links .navigate_link {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #FFFFFF;
}

.navigate_media {
    display: flex;
    justify-content: space-between;
    gap: 150px;

    @media (max-width: 767px) {
        width: 100%;
        justify-content: space-between;
    }
}

.navigate_text h4 {
    font-size: 1.1rem;
}

.footer_navs ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_navs ul li {
    list-style: none;
}

.footer_navs ul li a {
    text-decoration: none;
    color: #CECECE;
    font-size: .8rem;
}

.footer_links .media_links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #FFFFFF;
}

.media_text h4 {
    font-size: 1.1rem;
}

.footer_links .shop_links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #FFFFFF;
}

.shop_text h4 {
    font-size: 1.1rem;
}

.footer_links .address_link {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #FFFFFF;
}

.address_text h4 {
    font-size: 1.1rem;
}

.footer_address {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer_address div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer_address p {
    color: #CECECE;
    font-size: .8rem;
}

.footer_address ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_address ul li {
    list-style: none;
    color: #CECECE;
    font-size: .8rem;
}

.social_links {
    display: none;

    @media (max-width: 767px) {
        display: flex;
        width: 90%;
        margin: 30px auto;
        color: white;
        align-items: center;
        justify-content: space-between;
        font-size: 30px;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        display: flex;
        width: 90%;
        margin: 30px auto;
        color: white;
        align-items: center;
        justify-content: space-between;
        font-size: 50px;
    }
}

.payment {
    width: 1200px;
    margin: 0 auto;

    @media (max-width: 767px) {
        width: 100%;
        margin: 0 auto;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        width: 100%;
        margin: 0 auto;
    }
}

.payment .img1 {
    width: 100%;

    @media (max-width: 767px) {
        display: none;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        display: none;
    }
}

.payment .img2 {
    display: none;
    width: 100%;

    @media (max-width: 767px) {
        display: block;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        display: block;
    }
}

.copyright {
    width: 1100px;
    margin: 0 auto;
    text-align: center;

    @media (max-width: 767px) {
        display: none;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        display: none;
    }
}

.copyright p {
    color: #CBCBCB;
    font-size: .9rem;


}

/* footer section ends */