@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

header {
    height: auto;
    width: 80%;
    background: linear-gradient(to top, #daa520, #fabb1b);
    border-radius: 3px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 15px;
}

header .right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .left {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .dropdown-menu {
    background: linear-gradient(to top, #daa520d6, #fabb1bda) !important;
}

nav .dropdown-item {
    background: transparent;
    width: max-content;
    color: #fff !important;
    padding-left: 10px;
    padding-right: 10px;
}

nav .dropdown-menu .dropdown-item {
    text-transform: capitalize;
}

nav .dropdown-menu li:focus,
nav .dropdown-menu li:hover {
    background: linear-gradient(to top, #daa520, #fabb1b) !important;
}

nav .dropdown-menu li:focus .dropdown-item,
nav .dropdown-menu li:hover .dropdown-item {
    background: transparent;
    color: #fff !important;
    transition: 0.3s;
    cursor: pointer;
}

.dropdown-item:focus {
    color: #daa520 !important;
}

nav .nav-item .nav-link {
    color: #fff;
}

nav .nav-link:focus,
.nav-item.active {
    color: #fff !important;
    background: linear-gradient(to right, #daa520aa, #fabb1baa) !important;
    transition: 0.2s;
}

.search-btn,
.close-btn {
    width: 40px;
    height: 40px;
    outline: none;
    border: none;
    background: transparent;
    color: #fff;
}

.search-btn i,
.close-btn i {
    font-size: 25px;
}

.search-btn {
    position: relative;
    left: 30px;
    top: 2.5px;
    transition: .5s ease-in-out;
    z-index: 1;
}

.search-btn.active {
    left: 0;
    color: #000;
}

.close-btn {
    color: #ff4000;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    scale: 0;
    z-index: 10;
}

.close-btn.active {
    opacity: 1;
    visibility: visible;
    transition: .5s;
    scale: 1;
}

.search-box {
    position: absolute;
    right: -100%;
    width: 100%;
    height: 100%;
    display: none;
    background: #fff;
    padding: 0 30px;
    align-items: center;
    transition: 0.5s ease-in-out;
}

.search-box.active {
    right: 0;
    display: flex;
}


.search-box input {
    width: 100%;
    border: none;
    outline: none;
    height: 50px;
    font-size: 1.25rem;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.search {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 993px) {
    .dropend .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid transparent;
        border-right: 0;
        border-bottom: 0.3em solid transparent;
        border-left: 0.3em solid;
        transform: rotate(90deg);
    }

    .navbar-toggler {
        left: 90%;
    }
}

@media screen and (min-width: 993px) {



    nav .dropend:hover>.dropdown-menu {
        display: block !important;
    }

    .dropend:hover>.dropdown-menu,
    .submenu:hover>.dropend {
        top: 0;
        left: 100%;
        margin-left: .125rem;
    }

    nav .dropdown:focus>.dropdown-menu,
    nav .dropdown:focus>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .125em;
    }
}


.cart {
    display: flex;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    border-radius: 3px;
    width: 80px;
    padding: 0 10px;
    cursor: pointer;
}



.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #0f1128;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 80%;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, #daa520, #fabb1b);
    bottom: 0;
    left: 20%;
    border-radius: 50rem;
}

/* ------nav-end------------ */

.cart {
    display: flex;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    border-radius: 3px;
    width: 80px;
    padding: 0 10px;
    cursor: pointer;
}


.cart i {
    color: #daa520;
}

.cart p {
    width: 22px;
    height: 22px;
    display: flex;
    margin-top: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(to top, #daa520, #fabb1b);
    color: #fff;
}

.cart-item {
    transition: transform 0.3s ease-in-out;
}

.cart-item:hover {
    transform: scale(1.05);
}


@keyframes cart-item-delete {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cart-item-delete {
    animation-name: cart-item-delete;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.containers {
    display: flex;
    width: 80%;
    margin-bottom: 30px;
}

#root {
    width: 100%;
    display: flex;
}

.sidebar {
    width: 40%;
    border-radius: 5px;
    background-color: #eee;
    padding: 15px;
    text-align: center;
    margin-left: 20px;
    transition: .5s top;
}

.head {
    background-color: #daa520;
    border-radius: 3px;
    height: 40px;
    padding: 10px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: 900;
}

.foot {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    padding: 10px 0;
    border-top: 1px solid #333;
}



#total,
.foot h3 {
    color: #000;
    font-weight: bold;
    font-size: 24px;
}


.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 3px;
    margin: 10px 10px;
}

.row-img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: #daa520 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}


.rowimg {
    max-width: 43px;
    max-height: 45px;
    border-radius: 50%;
}

.fa-trash {
    color: goldenrod;
    transition: .3s;
}

.fa-trash:hover {
    cursor: pointer;
    color: #333;
}


.cart {
    display: flex;
}

.sidebar {
    display: none;
}

.fa-heart-o {
    font-size: 24px;
    transition: .5s;
}

.wish-icon {
    position: relative;
    padding-left: 88%;
    top: 5px;
    z-index: 99;
    cursor: pointer;
    color: #abb0b8;
}

.wish-icon .fa-heart {
    color: #ff6161;
    font-size: 24px;
}


/* single-product-detail */

/* share-btn */
.share-btn {
    position: relative;
    border: none;
    background: transparent;
    color: goldenrod;
    border-radius: 50%;
    font-size: 40px;
    cursor: pointer;
    float: right;
    right: 20px;
    transition: .5s;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.share-btn:hover, .share-btn:focus {
    background: linear-gradient(45deg, #daa520, #fabb1b);
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-options {
    position: absolute;
    top: 24%;
    right: 10%;
    float: right;
    width: 300px;
    height: auto;
    transform-origin: bottom left;
    transform: scale(0);
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    background: linear-gradient(to top, #daa520, #fabb1b);
    color: #fff;
    padding: 20px;
    transition-delay: .2s;
    z-index: 100;
    opacity: 0;
    transition: .5s ease-out;
    backdrop-filter: blur(5px);
}

.share-options.active {
    transform: translate(10px);
    opacity: 1;
    transition: .5s ease-in;

    /* add opacity 1 when active */
}

.share-options .title {
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    font-size: 20px;
    text-transform: capitalize;
    border-bottom: 1px solid #fff;
    width: fit-content;
    color: #fff !important;
    padding: 0 20px 3px 0;
}

.social-media {
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.social-media-btn {
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    line-height: 50px;
    font-size: 25px;
    cursor: pointer;
    margin: 0 5px;
    text-align: center;
}

.social-media-btn:nth-child(1) {
    background: #FFA654;
}

.social-media-btn:nth-child(2) {
    background: #25D366;
}

.social-media-btn:nth-child(3) {
    background: #E4405F;
}

.social-media-btn:nth-child(4) {
    background: #1DA1F2;
}

.social-media-btn:nth-child(5) {
    background: #1877F2;
}

.social-media-btn:nth-child(6) {
    background: #0A66C2;
}

.link-container {
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
    width: 100%;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 40px;
    background-color: #fff;
    overflow: hidden;
    padding: 0 10px;
}

.link {
    width: max-content;
    height: 100%;
    margin-top: 7%;
    line-height: 40px;
    color: #000;
}

.copy-btn {
    position: absolute;
    right: 0;
    cursor: pointer;
    background: #000;
    color: #fff;
    border: none;
    height: 100%;
    width: 19%;
    text-transform: capitalize;
    font-size: 16px;
}

.share-options.active .title,
.share-options.active .social-media,
.share-options.active .link-container {
    opacity: 1;
    transition: .5s;
    transition-delay: .2s;
}

.buttons {
    display: flex;
}

.single-product .col-sm-7 a.add-to-cart {
    text-transform: capitalize;
    font-size: 15px;
    font-weight: 900;
    flex-basis: 50%;
    height: 50px;
    line-height: 45px;
    margin: 30px 0;
    border-radius: 30px;
    border: 3px solid goldenrod;
    display: block;
    text-decoration: none;
    text-align: center;
    color: goldenrod;
    position: relative;
    overflow: hidden;
    background: transparent;
    transition: .5s;
    margin: 5px 10px;
}

.single-product .col-sm-7 a.add-to-cart::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: goldenrod;
    top: -100%;
    right: 0;
    z-index: -1;
    opacity: .5;
    transition: .3s;
}

.single-product .col-sm-7 a.add-to-cart::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: goldenrod;
    top: -100%;
    left: 0;
    z-index: -1;
    transition: .3s;
    transition-delay: .1s;
}

.single-product .col-sm-7 a.add-to-cart:hover {
    color: #fff;
}

.single-product .col-sm-7 a.add-to-cart:hover:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.single-product .col-sm-7 a.add-to-cart:hover::after {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.single-product p {
    color: gray;
}

.single-product h1 {
    font-weight: 900;
    font-size: 35px;
}

.single-product .col-sm-5 img {
    padding: 0;
    margin-top: 30px;
}

.single-product h3 {
    font-weight: 900;
}

.single-product .col-sm-7 {
    padding: 20px;
}

.single-product h4 {
    margin: 20px 0;
    font-size: 25px;
    font-weight: bold;
    float: left;
    display: flex;
    color: goldenrod;
}

.single-product input {
    width: 80px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 2px solid #daa520;
    margin-top: 10px;
    margin-left: 50px;
    margin-bottom: 20px;
}

.single-product input:focus {
    outline: none;
}

.single-product .fa {
    color: #daa520;
    margin-top: 10px;
    font-size: 25px;
}

@media only screen and (max-width:600px) {
    .row {
        text-align: center;
    }

    .col-sm-4,
    .col-sm-8 {
        flex-basis: 100%;
    }

    .single-product .row {
        text-align: left;
    }
}

/* product card */

.box {
    display: flex;
    background-color: #ffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid goldenrod;
    border-radius: 5px;
    padding: 15px;
}

.description {
    font-size: 12px;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 36px;
    top: 20px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: start;
}

.img-box {
    width: 100%;
    height: 150px;
    color: white;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
}

.box .images {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
    color: #000;
}

.bottom {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.box .title {
    color: #000;
    font-weight: 700;
    text-transform: capitalize;
    height: 58px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.box h2 {
    font-size: 20px;
    color: red;
    margin-bottom: 20px;
}

.box button {
    width: 100%;
    position: relative;
    border: none;
    border-radius: 5px;
    background-color: #daa520;
    padding: 7px 25px;
    cursor: pointer;
    color: #fff;
    transition: 0.5s;
    margin-bottom: 10px;
}
.box button a{
    color: #fff;
    text-decoration: none;
}
.box button:hover {
    background-color: #daa520c5;
}


.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 3px;
    margin: 10px 10px;
}

.row-img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: #daa520 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}


.rowimg {
    max-width: 43px;
    max-height: 45px;
    border-radius: 50%;
}

.fa-trash {
    color: goldenrod;
    transition: .3s;
}

.fa-trash:hover {
    cursor: pointer;
    color: #333;
}


.cart {
    display: flex;
}

.sidebar {
    display: none;
}

.box .rating {
    color: #daa520;
    margin-bottom: 20px;
}

.fa-heart-o {
    font-size: 24px;
    transition: .5s;
}

.wish-icon {
    position: relative;
    padding-left: 88%;
    top: 5px;
    z-index: 99;
    cursor: pointer;
    color: #abb0b8;
}

.wish-icon .fa-heart {
    color: #ff6161;
    font-size: 24px;
}

@media only screen and (max-width:1007px) {
    .box .title {
        height: 58px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

}


@media only screen and (max-width: 600px) {
    header {
        width: 100%;
    }


    #total,
    .foot h3 {
        color: #fff;
    }

    .container {
        width: 100%;
    }

    .sidebar {
        width: 90%;
        border-radius: 5px;
        background-color: goldenrod;
        top: 125px;
        padding: 15px;
        position: absolute;
        right: 20px;
        z-index: 100;
    }

    #root {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
    }

    .head {
        background-color: #fff;
        border-radius: 3px;
        height: 40px;
        padding: 10px;
        margin-bottom: 20px;
        color: goldenrod;
        font-weight: 900;
        display: flex;
        align-items: center;
    }

    #cartItem {
        font-size: 15px;
        color: #fff;
    }

    p,
    h2 {
        color: #000;
    }

    .foot {
        border-top: 1px solid #ffff;
        color: #fff;
    }

    .box {
        flex-direction: column;
    }

    .box button {
        font-size: 15px;
    }
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    background: linear-gradient(to top, #daa520, #fabb1b);
    padding: 20px;
    color: #fff;
    border-radius: 10px;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(to top, #daa520, #fabb1b) !important;
}

.swiper-scrollbar-drag {
    background: linear-gradient(to right, #daa520, #fabb1b) !important;
}








#scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 50px;
    border-radius: 2px;
    background: linear-gradient(to top, #daa520, #fabb1b);
    color: #fff;
    border: none;
    width: 50px;
    padding: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Show the button when the user scrolls */
#scroll-to-top-btn.show {
    opacity: 1;
}

#scroll-to-top-btn:hover {
    background: linear-gradient(to top, #daa520ce, #fabb1bce);
}



#preloader {
    background: linear-gradient(to top, #daa520, #fabb1b);
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw;
    font-weight: 800;
    color: #fff;
    mix-blend-mode: difference;
    width: 550px;
    text-align: center;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #000;
}

.loader-logo {
    opacity: 1;
}

/* scroll-Bar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to top, #daa520, #fabb1b);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to top, #daa520db, #fabb1bcc);
    border-radius: 8px;
}

.footer .containerss {
    width: 100%;
    margin: auto;
    border: none;
    box-shadow: none;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
}

.footer ul {
    list-style: none;
}

.footer {
    background: linear-gradient(to right, #daa520, #fabb1b);
    padding: 70px 0;
    margin-top: 100px;
    width: 100%;
}

.footer-col {
    width: 25% !important;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
    left: 35px;
}

.footer-col h4::before {
    content: '';
    text-align: center;
    position: absolute;
    bottom: -10px;
    background-color: #fff;
    height: 3px;
    border-radius: 50rem;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    color: #fff;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: linear-gradient(90deg, #daa520cb, #fabb1bcc);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #daa200;
    background-color: #fff;
    border: 2px solid #daa200;
}

/* /responsive/ */
@media(max-width: 767px) {
    .footer-col {
        width: 50% !important;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100% !important;
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 2px solid #daa200;
    }

    .footer-col ul li a:hover {
        color: #fff;
        padding-left: 0px;
        transform: scale(1.1);
        transition: transform 0.4s;
    }
}

