﻿

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    /* margin: 0 auto; */
}

:root {
    --primary-color: #305eff;
    --secondary-color: #305dffef;
    --base-font-size: 16px;
}

.nav_items1 .left .logo img {
    width: 100px;
    height: auto;
}

nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    background-color: #fff;
    padding: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap;
    gap: 10px;
    position: fixed;
    top: 0;
    width: 100vw;
    /*overflow:hidden;*/
    z-index: 99;
}

.nav_items1 {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 5px;
}

.nav_items2 {
    width: 100%;
    padding: 0px 15px;
}

.nav_list {
    width: 100%;
    color: #333;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    list-style: none;
    gap: 20px;
    position: relative;
}

    .nav_list :hover {
        color: #007BFF;
    }

.nav_li a {
    text-decoration: none;
    color: #333;
}

.nav_li {
    position: relative;
    padding: 6px 12px;
    cursor: pointer;
}

.right {
    display: flex;
    justify-content: space-evenly;
}


.search-bar {
    flex: 1;
    margin: 0 20px;
    max-width: 400px;
}
/*
    .search-bar i {
        display: none;
    }*/
.inside{
    display:flex;
}
.inside button {
    border:none;
    outline:none;
}
.inside button i{
    margin-left:-50px;
}

.search-bar input {
    width: clamp(150px, 40vw, 400px);
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

        .search-bar input::placeholder {
            color: #888;
        }

.link_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .link_container i {
        display: none;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .nav-links a {
        text-decoration: none;
        font-size: 0.80em;
        padding: 6px 18px;
    }
/* Login_button */
.Login {
    border: 1px solid rgba(48, 94, 255, 1);
    color: rgba(48, 94, 255, 1);
    border-radius: 5px;
    font-weight: 500;
}
.Login:hover{
    color:white;
    background-color:rgba(48, 94, 255, 1);
    border-radius: 5px;
    font-weight: 500;
}


/* SignUp_button */

.signUp_button i {
    width: 20px;
}

.signUp {
    background-color: rgba(48, 94, 255, 1);
    color: #f0f0f0;
    border-radius: 5px;
    font-weight: 500;
    width: 102px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.signUp svg {
    width: 16px;
}

.signUp:hover{
    background-color: white;
    color: rgba(48, 94, 255, 1);
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    border: 0.5px solid rgba(48, 94, 255, 1);
}
a.signUp:hover svg path {
    fill: rgba(48, 94, 255, 1);
}
.nav-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    align-items: center;
}

.space {
    width: 0.5px;
    height: 1.5rem;
    background-color: #555;
}

.cart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nav-icons a {
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
}
    /* .nav-links a:hover, */
    .nav-icons a:hover {
        color: #77d477; /* A nice blue for interactivity */
    }

/* Hide submenu by default */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .submenu li {
        margin: 0;
    }

        .submenu li a {
            display: block;
            padding: 8px 16px;
            color: #333;
            text-decoration: none;
        }

            .submenu li a:hover {
                background-color: #f0f0f0;
            }

.dropdown:hover .submenu {
    display: block;
    opacity: 1;
}

.menu-btn {
    display: none;
    background: #fff;
    color: #0056b3;
    border: 1px solid #0056b3;
    padding: 5px 8px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

    .menu-btn:hover {
        background-color: #0056b3;
        color: white;
        transition: background 0.3s;
    }



/* Main Section */
main {
    margin-top: 130px;
}
.main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}




.carousel-item img {
    width: 100vw;
    height: 50vh;
    /*object-fit: cover;*/
    display: block;
    justify-content: center;
    align-items: center;
}

.ma-right {
    text-decoration: none;
    color:rgb(51, 51, 51);
}
/* Trending Product */
.Card_Section {
    display: flex;
    flex-direction: column;
    /* width: 100vw; */
    padding: 10px;
    margin: auto;
    width: 90%;
    margin-top: 50px;
}
/* Trending Product */
/*.Card_Section {
    display: flex;
    flex-direction: column;
    width: 90%;
    padding: 10px;
    margin: auto;
}*/

.card_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
/* width: 100vw; */
}

.Trending_Product_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Trending_Product_heading a {
    color: rgb(48, 217, 59);
    text-decoration: none;
}

.product-card {
    width: 250px;
    height: 410px;
    padding-top: 5px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s;
    align-content: center;
    justify-self: center;
}
.product-card {
    width: 200px;
    height: 420px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s;
    align-content: center;
    justify-self: center;
}

.product_title {
    font-size: 1rem;
}

.product-image {
    /*position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;*/
    position: relative;
    width: 190px;
    height: 240px;
    align-items: center;
    justify-self: center;
    padding:10px;
    place-content:center;
    text-align:center;
}
.product-image a{
    text-decoration:none;
    color:#fff;
}

.product-image img {
    align-items: center;
    width: 100%;
    height:230px;
    justify-content: center;
    justify-items: center;
    justify-self: center;
}
.product_title {
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    align-content: center;
    padding: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.41em;
    height: 3.5em;
}

.Product-Container {
    padding-top: 4rem;
    gap: 8px;
    padding: 10px;
    width: 90%;
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top:30px;
}
.product-card:hover .hover-img {
    opacity: 1;
}

.product-image .hover-img {
    opacity: 1;
}

.product-card:hover .hover-img {
    opacity: 1;
}

.product-card:hover .default-img {
    opacity: 1;
}

.product-info {
    width: 190px;
    align-items: center;
    justify-self: center;
    padding: 10px;
    place-content: center;
    text-align: center;
}
.quantityy {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 20%;
    padding: 0px 10px;
    border: 2px solid #2f60ff;
    border-radius: 25px;
    background-color: #FFFACD;
}
.product-info p {
    margin: 0 0 5px;
}

.product-info p {
    font-weight: bold;
    color: #333;
}
.Product-name {
    width:30%;
}
.Product-price{
    width:24%;
}
.product-info button {
    width: 135px;
    margin-top: 5px;
    padding: 8px 16px;
    background-color: rgba(48, 94, 255, 1);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-info button:hover {
    background-color: rgba(48, 93, 255, 0.938);
}
.footer {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 35px;
}
.footer_container {
    display: flex;
    flex-direction: column;
    width: 90%;
    padding:10px;
}
.footer1 {
    display: flex;
    justify-content: space-around;
    /*gap: 20px;*/
    width: 100%;
}
.filters {
    max-width: 1280px;
    width: 100%
}

.first_div {
    width: 30%;
}
.first_div .column-sec{
    column-count: 2;
}
.first_div .column-sec a{
    text-decoration:none;
    display:block;
}
.second_div {
    display: inline;
    width: 30%;
}
.second_div p{
    font-size:14px;
}
.f-logo {
    width: 100%;
    margin-bottom: 10px;
}
.f-logo img{
    width:55%;
}
.third_div {
    display: inline;
    width: 19%;
}
.third_div a{
    text-decoration:none;
    display:block;
}
.fourth_div {
    width: 19%;
}
.fourth_div a{
    text-decoration:none;
    display: block;
}
.Fifth_div {
    width: 28%;
}
.footer2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    background-color: #399cdf;
    padding: 5px;
}


@media screen and (max-width: 992px) {
    .search-bar {
        margin: 0 10px;
        max-width: 300px;
    }

    .search-bar input {
        width: 280px;
        padding: 5px 12px
    }

    .nav-links a {
        font-size: 0.85em;
        padding: 0px 15px;
    }

    .nav_list {
        font-size: 16px;
    }

    .Login {
        font-weight: 450;
        font-size: 14px;
    }

    .signUp {
        font-weight: 450;
        width: 100px;
        font-size: 13px;
    }

    .signUp svg {
        width: 15px;
    }

    .card_container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 6px;
    }

    .product-card {
        width: 180px;
        height: 390px;
    }

    .product-image {
        height: 210px;
    }

    .product-image img {
        width: 75%;
        height: 180px;
        left: 15px;
    }

    .product-info {
        padding: 0;
    }

    .product_title {
        font-size: 13px;
    }

    .product-info button {
        font-size: 13px;
        font-weight: 450;
    }

    .Product-Container {
        padding-top: 4rem;
        gap: 8px;
        padding: 10px;
        width: 90%;
        display: flex;
        flex-direction: column;
        margin: auto;
    }

    .Zoom {
        gap: 30px !important;
    }

    .product-thumbnails img {
        width: 50px !important;
        height: 50px !important;
        border: 1px solid transparent !important;
    }

    .product-IMAGE {
        width: 300px !important;
        height: 300px !important;
        border-radius: 9px !important;
    }
    .product-IMAGE img {
        width: 280px !important;
        height: 280px !important;
    }

    .Product-Details h2 {
        margin: 0 0 8px !important;
        font-size: 21px !important;
    }

    .Product-Details p {
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
        font-size: 13px !important;
    }

    .SocialIcon_container div {
        width: 25px !important;
        height: 25px !important;
    }

    .price {
        font-size: 18px !important;
    }

    .quantity-selector {
        width: 110px !important;
        padding: 3px 7px !important;
    }

    .buy-btn button {
        width: 180px !important;
        padding: 10px 17px !important;
        font-size: 15px !important;
    }

    .img_btn {
        left: 65px !important;
        bottom: 7px !important;
        width: 100px !important;
        height: 25px !important;
        font-size: 13px !important;
    }

    .image_Section {
        gap: 8px !important;
        padding: 7px !important;
    }
    .books-banner {
        height: 234px;
    }
    .Email_field {
        display: flex;
    }
    .second_div p {
        font-size: 12px;
    }
}
.Featured_heading{
    display:flex;
    justify-content:space-between;
}
.Featured_heading a{
    display: flex;
    text-decoration: none;
    font-size: 14px;
    width: 200px;
    justify-content: center;
    align-items: center;
    gap:20px;
}
.Featured_heading a svg{
    width:25px
}
.Product_Categories{
    width:90%;
}
.Product_Category {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items:center;
    margin-top: 50px;
}
.Product_Category a{
    text-decoration: none;
    color: rgb(48, 217, 59);
}
.image_Section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-around;
    width:90%;
    gap:20px;
}
.img_Container {
    display: block;
    align-items: center;
    justify-items: center;
    width: 30%;
}
.image_Section img {
    width: 80%;
    transition: transform 2.5s ease-in;
}
.img_Container img {
    width: 100%;
    height: 250px;
    object-fit: fill;
    /*height: auto;
    object-fit: cover;*/ /* maintain aspect ratio and fill container */
    transition: transform 2.5s ease-in;
}
.img_Container:hover img {
    transform: scale(1.15);
}

.image_Section button {
    outline: none;
    border: none;
    width: 100%;
    margin-top: 10px;
}


@media (max-width: 768px) {
    nav{
        padding:8px !important;
    }
    .search-bar {
        margin: 0px 5px;
        max-width: 230px;
    }
    .search-bar input {
        width: 230px;
        padding: 5px 15px;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-links a {
        font-size: 13px !important;
        padding: 0 5px !important;
        height: 26px;
        font-weight: 500;
        width: auto;
        align-content:center;
    }
    .carousel-item img{
        height:35vh;
    }
    .magnifier {
        width: 300px !important;
        height: 300px !important;
    }
    .nav_li {
        color: white;
    }
    .ma-right {
        color: #fff;
    }
    .nav_li a{
        color: #ffffff;
    }
    .nav-icons {
        gap: 10px;
    }
    .nav-icons a {
        font-size: 16px;
    }
    .nav_items1{
        gap:10px !important;
    }
    .menu-btn {
        display: block;
    }
    .nav_list {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: #333;
        padding: 10px;
    }
    .nav_list.show {
            display: flex;
        }
    .submenu {
        position: static;
    }
    .img_Container {
        width: 49%;
    }
    .image_Section img {
        width: 289px;
    }
    .image_Section button {
        width: 289px;
    }
    .Card_Section {
        padding: 5px;
    }
    .Trending_Product_heading {
        gap: 0px;
        justify-content: space-around;
    }
    .Trending_Product_heading h2 {
        font-size: 22px;
    }
    .Trending_Product_heading a {
        font-size: 16px;
    }
    .card_container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px !important;
        justify-items: center;
    }
    .product-card {
        width: 250px !important;
        height: 335px;
    }
    .product-image {
        height: 200px;
        width: 180px !important;
        justify-self: center !important;
    }
    .product-image img {
        width: 170px !important;
    }
    .product-info{
        justify-self:center !important;
    }
    .Zoom {
        display: block !important;
    }
    .buy-btn {
        display:flex;
        flex-direction: row !important;
    }
    .img_btn {
        left: 47px !important;
        bottom: 5px !important;
        width: 80px !important;
        height: 20px !important;
        font-size: 11px !important;
    }
    .Product-Details h2 {
        font-size: 19px !important;
    }
    .Product-Details p {
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
        font-size: 12px !important;
        width: 300px !important;
    }
    .buy-btn button {
        width: 165px !important;
    }
    .footer1 {
        padding: 40px !important;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .footer2 {
        padding: 8px 30px !important;
        margin-top:0px;
    }
    .first_div{
        width:40%;
    }
    .third_div {
        width: 29%;
    }
    .Fifth_div {
        width: 48%;
    }
    .second_div {
        width: 60%;
        margin-top: 10px;
    }
    .Email_field{
        display:flex;
    }
    .Email_field input {
        width: -webkit-fill-available;
    }
    .books-banner {
        height: 181px !important;
    }
    
}

@media(max-width:576px) {
    .nav_items1 {
        flex-wrap: wrap;
    }
    .carousel-item img {
        height: 25vh;
    }
    .main-container{
        margin-top:200px;
    }
    .img_Container {
        width: 43%;
    }
    .product-card {
        width: 180px !important;
        height: 350px !important;
    }
    .product-image {
        width: 100% !important;
        height: 170px !important;
    }
    .product-image img {
        width: 100% !important;
        height: 150px !important;
    }
    .img_Container img {
        width: 100% !important;
        height: 120px;
    }
    .product-IMAGE {
        width: 255px !important;
        height: 255px !important;
    }
    .product-IMAGE img {
        width: 250px !important;
        height: 250px !important;
    }
    .buy-btn button {
        width: 125px !important;
        font-size: 13px !important;
    }
    .magnifier {
        width: 250px !important;
        height: 250px !important;
    }
    .img_Container button {
        width: 200px !important;
    }

    .footer1 {
        display:block;
    }

    .first_div {
        width: 90% !important;
        margin-bottom:15px
    }
    .second_div{
        width:90%;
    }
    .third_div{
        width:30%;
    }
    .fourth_div{
        width:30%;
    }
    .Fifth_div {
        width: 90%;
        margin-bottom: 15px
    }
    .footer2 {
        flex-wrap: wrap;
    }
    .books-banner {
        height: 136px !important;
    }
    .form-div {
        width: 250px;
    }
}
@media screen and (max-width: 342px) {
    .left {
        width: 70px;
    }

    .nav_items1 .left .logo img {
        width: 70px;
    }
    .signUp svg {
        width: 14px;
    }
    .nav-icons a {
        font-size: 14px;
    }
    .search-bar {
        width: 180px;
        margin-left: 0px;
    }

    .nav-links {
        gap: 6px;
    }

    .nav-icons {
        order: 0;
        gap: 12px;
        flex: 0 0 50%;
    }

    .nav-links a {
        font-size: 11px !important;
        padding: 1px 4px !important;
        height: 24px;
        font-weight: 500;
        width: 60px !important;
        text-align: center;
        align-content: center;
    }

    .main-container {
        margin-top: 180px;
    }

    .carousel-item img {
        height: 15vh;
    }

    .Card_Section {
        margin-top: 20px;
    }

    .Trending_Product_heading h2 {
        font-size: 14px;
    }

    .Trending_Product_heading a {
        font-size: 12px;
    }

    .Featured_heading h2 {
        font-size: 18px;
    }

    .Featured_heading a {
        font-size: 14px;
    }

    .Zoom {
        display: block !important;
        align-items: center !important;
        align-self: center;
    }

    .product-thumbnails img {
        width: 35px !important;
    }

    .Product-Details p {
        width: auto !important;
    }

    .footer1 {
        /*flex-wrap: wrap;*/
        display:block;
    }

    .first_div {
        width: 100%;
    }
    .first_div .column-sec a {
        font-size: 11px;
    }
    .second_div {
        width: 100%;
    }
    .second_div p {
        font-size: 9px;
    }
    .third_div {
        width: 70%;
    }

    .fourth_div {
        width: 70%;
    }

    .Fifth_div {
        width: 100%;
    }
    .Fifth_div span{
        font-size:12px;
    }
    .Email_field {
        display: block;
    }
    .Image {
        align-self: center;
        align-items: center;
        justify-content: center;
    }

    .Zoom {
        width: 100%;
    }
    .Product-Details h2 {
        font-size: 17px !important;
    }
    .rating {
        font-size: 1em !important;
    }
    .offer {
        font-size:12px !important;
    }
    .img_Container {
        width: auto;
    }

    .buy-btn button {
        height: 35px;
        font-size: 12px !important;
    }

    .product-IMAGE {
        width: 190px !important;
        height: 200px !important;
    }

    .product-IMAGE img {
        width: 185px !important;
        height: 195px !important;
    }

    .magnifier {
        width: 200px !important;
        height: 200px !important;
    }

    .books-banner {
        height: 80px !important;
    }
    .menu-btn {
        font-size: 13px;
    }
}
@media screen and (max-width: 295px) {
    .main-container {
        margin-top: 190px !important;
    }

    .carousel-item img {
        height: 14vh !important;
    }
    .card_container {
        gap: 10px;
    }
    .nav-links a {
        font-size: 10px !important;
        padding: 1px 4px !important;
        height: 24px;
        font-weight: 600;
        width: 55px !important;
        text-align: center;
        align-content: center;
    }
}

.Trending_Product_heading {
    display: flex;
    gap: 100px;
}

hr {
    border-color: #ccc;
}



.Product-Details {
    flex: 1;
    position: relative;
}

    .Product-Details p {
        font-size: 14px;
    }

    .Product-Details h2 {
        margin: 0 0 10px;
        font-size: 24px;
        color: #333;
    }

    .Product-Details p {
        margin-bottom: 15px;
        color: #555;
        line-height: 1.6;
    }

.SocialIcon_container {
    width: 250px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

    .SocialIcon_container div {
        width: 30px;
        height: 30px;
        background-color: gray;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.facebook:hover {
    background-color: #0056b3;
}

.pinterest:hover {
    background-color: #e60023;
}

.twitter:hover {
    background-color: #1d9bf0;
}

.envelope:hover {
    background-color: #000000;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.buy-btn {
    display: flex;
    gap: 8px;
}

    .buy-btn button {
        width: 200px;
        background: rgba(48, 94, 255, 1);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .buy-btn button:hover {
            background: #0056b3;
        }

.Image {
    display: flex;
    gap: 10px;
    align-self: center;
}

.Zoom {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .product-thumbnails img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        border-radius: 6px;
        transition: 0.3s;
    }

        .product-thumbnails img:hover {
            border-color: #333;
        }

.Featured_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .Featured_heading a {
        text-decoration: none;
        color: rgb(48, 217, 59);
    }

    .Featured_heading svg {
        width: 20px;
    }

.magnifier {
    display: none;
    position: absolute;
    top: 0;
    right: 10px;
    width: 400px;
    height: 280px;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-size: 200% 200%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-IMAGE:hover + .Product-Details .magnifier {
    display: block;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 120px;
}

/*SignIn ,Submit Button*/

.S-button {
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    width: 120px;
    height: 2.4rem;
    border-radius: 5px;
    position: relative;
    padding-right: 35px;
}

.icon_svg {
    position: absolute;
    right: 10px;
    top: -3px;
    background: #4CAF50;
    height: 2.7rem;
    width: 1.7rem;
    transform: skew(22deg);
}

    .icon_svg svg {
        width: 23px;
        padding-top: 10px;
        padding-left: 3px;
        transform: skew(-22deg);
    }



.card_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px auto;
    padding: 0 15px;
    align-items: start;
    justify-content: center;
}

.Trending_Product_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .Trending_Product_heading a {
        color: rgb(48, 217, 59);
        text-decoration: none;
    }



.product_title {
    font-size: 15px;
}



.product-card:hover .default-img {
    opacity: 1;
}
.product-info {
    padding: 15px;
    text-align: center;
}
.product-info p {
    font-weight: bold;
    color: #333;
    padding: 5px;
}
.discount_price {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    height: 23px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
}
.add-cart {
    width: 135px;
    margin-top: 5px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-info .add-cart:hover {
    background-color: #305dffef;
}

@media screen and (max-width: 991px) {
    .search-bar {
        margin: 0 10px;
        max-width: 300px;
    }

        .search-bar input {
            width: 280px;
            padding: 5px 12px
        }

    .nav-links a {
        font-size: 0.85em;
        padding: 4px 15px;
    }

    .nav_list {
        font-size: 16px;
    }

    .Login {
        font-weight: 450;
        font-size: 14px;
    }

    .signUp {
        font-weight: 450;
        width: 100px;
        font-size: 13px;
    }

        .signUp svg {
            width: 15px;
        }

    .card_container {
        flex-wrap: wrap;
        gap: 18px;
    }

    .product-card {
        width: 180px;
        height: 390px;
    }

    .product-image {
        height: 210px;
    }
}



/******* Customer Sign Up Page *******/

.signup-form{
    width: 100%;
    align-items:center;
    justify-items:center;
}
.signup-form form {
    padding: 20px;
    width: 50%;
}
.form-div{
    width:100%;
}
.form-div label {
    display: block;
}
.form-div input{
    width: 95%;
    margin-bottom: 10px;
    outline: none;
    border: none;
    background: #dddcdc;
    color: black;
    height: 36px;
    padding: 5px 10px;
    border-radius: 3px;
}
.form-div select{
    width: 95%;
    margin-bottom: 10px;
    outline: none;
    border: none;
    background: #dddcdc;
    color: black;
    height: 36px;
    padding: 5px 10px;
    border-radius: 3px;
}
.btn {
    height: 34px;
    font-size: 13px !important;
    width: 74px;
}
.signup-flex{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    width:100%
}
.Subscribe_btn {
    width: auto;
    font-size: 13px;
    border: none;
    outline: none;
    background: #305eff;
    color: white;
    padding: 3px 2px;
    border-radius: 3px;
}











/* Order Master page ..... */
.check-out-container {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 100vw;
}

.contact-details {
    padding: 50px;
    border-right: 1px solid;
    overflow-y: auto;
    height: 100%;
    scrollbar-width: none;
}

.checkout-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    gap:50px;
}

.checkout-logo a {
    text-decoration: none;
    color: #333;
    font-size: 3rem;
    width:200px;
    height:100px;
}
.checkout-logo a img{
    width:190px;
    height:90px;
}
.home-icon {
    font-size: 25px;
}
/* PROFILE */
.Contact-info {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.Contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

.contact-title {
    font-size: 20px;
    color: #333;
}

.news-offer {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

    .news-offer input {
        width: 18px;
    }
/* delivery-address */
.Address-title {
    font-size: 20px;
    color: #333;
}

.Address-form {
    margin-top: 0px;
}

.Address-form input {
    height: 45px;
    font-size: 14px;
    width: -webkit-fill-available;
}

#country {
    margin-bottom: 10px;
    margin-top: 5px;
}

.Delivery-name {
    display: flex;
    margin-bottom: 10px;
    gap: 15px;
}

.house-no {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
.house-no textarea{
    height:150px;
}
.place {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.select-state {
    height: 45px;
    font-size: 14px;
    /* margin-top: 7px; */
}

.Contact-no {
    margin-bottom: 10px;
}
/* SHIPPING */
.Shipping-method {
    margin-bottom: 20px;
}

.Shipping-type {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shipping-options {
    display: flex;
    flex-direction: row;
    padding: 20px;
    gap: 20px;
}

    .shipping-options input {
        width: 15px;
    }

    .shipping-options label {
        margin-bottom: 0;
        font-weight: 600;
        color: #333;
        padding-top: 15px;
    }

.shipping-method-title {
    font-size: 20px;
    color: #333;
}

.Pay-now-btn {
    width: 120px;
    height: 38px;
    font-size: 15px;
    font-weight: 600;
    color: #ffff;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
}

.Pay-now-btn-1 {
    width: 120px;
    height: 38px;
    font-size: 15px;
    font-weight: 600;
    color: #ffff;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    display: none;
}
/* order-summery */
.order-summery-container {
    padding: 40px;
    overflow-y: auto;
}

.order-details {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width:100%;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 0;
    height: 430px;
    overflow-y: auto;
    padding-top: 10px;
}

.order-summery-logo {
    position: relative;
    width:15%;
}

.no-of-items {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #333;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: white;
    text-align: center;
    padding: 6px;
}

.summery-svg {
    width: 70px;
    height: 70px;
    border: 1px solid;
    border-radius: 5px;
    padding: 2px;
}

.gift-card-container {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.apply-btn {
    padding: 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: white;
}

.pricing-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.pricing-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
/* Biling-Address */
.Billing-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    padding: 20px;
    font-family: sans-serif;
    margin-bottom: 20px;
}

.checkbox-row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .checkbox-row input {
        margin-right: 10px;
        height: 20px;
        width: 18px;
    }

.address-summary {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.billing-form {
    display: none;
    margin-top: 10px;
}

.Billing-form-row {
    display: flex;
    gap: 10px;
}

    .Billing-form-row input {
        flex: 1;
    }

.Billing-container label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

.login {
    color: var(--primary-color);
}
.success-message {
    background-color: #fbc042; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb; /* Green border */
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}


@media(max-width:991px) {
    .checkout-logo {
        padding-bottom: 10px;
    }

    .Contact-header {
        padding-bottom: 6px;
    }

    .contact-title {
        font-size: 18px;
    }

    .checkout-logo a {
        font-size: 2.5rem;
    }

    .home-icon {
        font-size: 18px;
    }

    .house-no {
        margin-bottom: 5px;
        gap: 5px;
    }

    .place {
        margin-bottom: 5px;
    }

    .Contact-no {
        margin-bottom: 5px;
    }

    .Address-title {
        font-size: 18px;
    }

    #country {
        margin-bottom: 5px;
    }

    .Delivery-name {
        margin-bottom: 5px;
    }

    .contact-input {
        font-size: 12px;
    }

    .news-offer input {
        width: 12px;
    }

    .news-offer-txt {
        padding-top: 1px;
        font-size: 12px;
    }

    .Address-form input {
        font-size: 11px;
        height: 36px;
    }

    .select-state {
        font-size: 11px;
        height: 36px;
        margin-top: 0px;
    }

    .Pay-now-btn {
        width: 95px;
        height: 30px;
        font-size: 13px;
    }

    .Billing-container {
        padding: 10px;
    }

    .checkbox-row input {
        margin-right: 10px;
        height: 14px;
        width: 14px;
    }

    .Billing-container label {
        font-size: 12px;
    }

    .summery-svg {
        height: 50px;
        width: 50px;
    }

    .no-of-items {
        height: 20px;
        width: 20px;
        font-size: 12px;
        padding: 4px;
        top: -8px;
        right: -8px;
    }

    .Product-name {
        font-size: 15px;
    }

    .Product-price {
        font-size: 15px;
    }

    .gift-card-container {
        margin-top: 5px;
        height: 40px;
    }

    .coupen-code {
        font-size: 15px;
    }

    .apply-btn {
        padding: 12px;
    }

    .pricing-container {
        margin-top: 10px;
    }

    .pricing-details {
        font-size: 13px;
    }
}

@media(max-width:768px) {
    .contact-title {
        font-size: 15px;
    }

    .Contact-info {
        padding-bottom: 15px;
    }

    .Contact-header {
        height: 30px;
    }

    .login {
        font-size: 14px;
    }

    .Address-title {
        font-size: 15px;
    }

    #country {
        font-size: 12px;
    }

    .Address-form input {
        font-size: 10px;
        height: 30px;
    }

    .select-state {
        font-size: 10px;
        height: 30px;
        margin-top: 0px;
    }

    .Pay-now-btn {
        width: 80px;
        font-size: 11px;
    }

    .checkbox-row input {
        margin-right: 6px;
        width: 12px;
    }

    .Billing-container label {
        font-size: 11px;
        margin-top: 4px;
    }

    .Billing-container {
        padding: 8px;
        margin-bottom: 10px;
    }

    .checkbox-row {
        margin-bottom: 10px;
    }

    .summery-svg {
        height: 45px;
        width: 45px;
    }

    .Product-name {
        font-size: 13px;
    }

    .no-of-items {
        height: 15px;
        width: 15px;
        font-size: 8px;
        padding: 4px;
        top: -7px;
        right: -7px;
    }

    .Product-price {
        font-size: 13px;
    }

    .coupen-code {
        font-size: 13px;
        height: 35px;
    }

    .apply-btn {
        padding: 12px;
        font-size: 10px;
        height: 35px;
    }

    .pricing-details {
        font-size: 11px;
    }
    .quantityy {
        padding: 0px 5px;
    }

    .icon-button {
        font-size: 1em !important;
    }

    .quantity {
        font-size: 1em !important;
    }
    .order-details {
        padding: 0px 5px;
    }
}

@media(max-width:576px) {
    .check-out-container {
        display: block;
    }

    .contact-details {
        padding: 30px;
        overflow-y: visible;
        border: none;
        height: auto;
    }
    /* .Billing-container{

  } */
    .order-summery-container {
        padding: 30px;
        margin-top: 0px;
        position: relative;
    }

    .Pay-now-btn {
        display: none;
    }

    .Pay-now-btn-1 {
        display: block;
        margin-top: 25px;
        font-size: 11px;
        width: 80px;
        height: 28px;
    }

    .order-details {
        justify-content: space-between;
    }
}

@media(max-width:342px) {
    .contact-details {
        padding: 15px;
    }

    .checkout-logo a {
        font-size: 30px;
    }

    .contact-title {
        font-size: 14px;
    }

    .login {
        font-size: 12px;
    }

    .contact-input {
        font-size: 10px;
        padding: 8px;
    }

    .Contact-info {
        padding-bottom: 8px;
    }

    .news-offer {
        gap: 5px;
    }

    .news-offer-txt {
        font-size: 10px;
    }

    .news-offer input {
        width: 10px;
    }

    .Address-form {
        margin-top: 5px;
    }

    .Address-title {
        font-size: 14px;
    }

    #country {
        font-size: 10px;
        padding: 8px;
    }

    .Delivery-name {
        flex-direction: column;
        gap: 5px;
    }

    .place {
        margin-bottom: 5px;
        flex-direction: column;
        gap: 5px;
    }

    .order-summery-container {
        padding: 15px;
        margin-top: 35px;
    }

    .coupen-code {
        font-size: 11px;
        height: 30px;
    }

    .apply-btn {
        padding: 8px;
        font-size: 11px;
        height: 30px;
    }

    .gift-card-container {
        height: 30px;
    }
}

/* order master ends here....*/



/*Make Payment starts here...*/
* {
    box-sizing: border-box;
}

.payment-container {
    font-family: Arial, sans-serif;
    /* background-color: lightgray; */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.payment-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.previous_page {
    position: absolute;
    left: 25px;
    top: 35px;
    font-size: 1.5rem;
}

.payment_logo {
    font-size: 1.8rem;
}

.payment_qr {
    width: 500px;
    height: 400px;
    padding: 0px 25px;
}

    .payment_qr img {
        height: 100%;
        width: 100%;
    }

.enquiry {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-submit {
    display: block;
    width: 150px;
    padding: 0.8rem;
    font-size: 1.1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-submit:hover {
        background-color: #0056b3;
    }

@media(max-width:991px) {
    .payment_qr {
        width: 400px;
        height: 350px;
    }

    .payment_logo {
        font-size: 1.5rem;
    }

    .enquiry {
        font-size: 1rem;
        font-weight: 550;
    }

    .btn-submit {
        font-size: 1rem;
        width: 110px;
    }
}

@media(max-width:576px) {
    .previous_page {
        font-size: 1.2rem;
    }

    .payment_logo {
        font-size: 1.4rem;
    }

    .payment_qr {
        width: 320px;
        height: 320px;
    }

    .enquiry {
        font-size: 15px;
        font-weight: 700;
    }

    .btn-submit {
        font-size: 15px;
        width: 90px;
        padding: 0.5rem;
    }
}

@media(max-width:341px) {
    .payment_logo {
        font-size: 1.2rem;
    }

    .payment_qr {
        width: 280px;
        height: 280px;
    }

    .enquiry {
        font-size: 11px;
        font-weight: 600;
    }

    .btn-submit {
        font-size: 13px;
        width: 80px;
        padding: 0.4rem;
    }
}

/*.star-ratings {
    display: flex;
    gap: 5px;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.star-rating .star.selected {
    color: gold;
}

.star-ratings .star:hover,
.star-ratings .star:hover ~ .star {
    color: gold;
}*/
.star-ratings {
    display: flex;
    gap: 5px;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

    .star-ratings .star.selected {
        color: gold;
    }

    /* Hover effect */
    .star-ratings .star:hover,
    .star-ratings .star:hover ~ .star {
        color: #ccc; /* Reset */
    }

    .star-ratings .star:hover {
        color: gold;
    }

        .star-ratings .star:hover ~ .star {
            color: gold;
        }

