@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}


/* //........top text ........// */

     :root{
            --primary-color:#ff3c78;
            --light-black:rgba(0,0,0,0.89);
            --black:#000;
            --white:#fff;
            --grey:#aaa;
       }

/* //........top text ........// */



.top-txt {
    background-color: var(--black);
}

.head {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.945);
    padding: 10px 0;
    font-size: 14px;
}

.head a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.945);
    margin: 0 10px;
}


/* //........ Navbar ........// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.navbar {
    box-shadow: 0 5px 4px rgb(146 161 176 / 15%);
    position: sticky;
    top: 0;
    background: var(--white);
    color: var(--black);
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 63px;
}

.navbar img {
    margin-left: 10rem;   
}

.menu-items {
    order: 2;
    display: flex;
    margin-right: 3rem;
}

.menu-items li {
    list-style: none;
    margin-left: 1.5rem;
    font-size: 1.2rem;
}

.navbar-container ul a {
    text-decoration: none;
    color: var(--black);
    font-size: 18px;
    position: relative;
}

.navbar-container ul a:after {
    content: "";
    position: absolute;
    background: var(--primary-color);
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.navbar-container ul a:hover:after {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        opacity: 0.95;
    }
    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }
    .navbar-container {
        display: block;
        position: relative;
        height: 64px;
    }
    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }
    .navbar-container .hamburger-lines {
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .navbar-container .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }
    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }
    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }
    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }
    .navbar .menu-items {
        padding-top: 100px;
        background: #fff;
        height: 100vh;
        max-width: 100%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        /* margin-left: -40px;
        padding-left: 40px; */
        text-align: center;
        transition: transform 0.5s ease-in-out;
        /* box-shadow: 5px 0px 10px 0px #aaa; */
        overflow: scroll;
    }
    .navbar .menu-items li {
        margin-bottom: 2rem;
        font-size: 1.1rem;
        font-weight: 500;
    }
    .menu-items li,
    .navbar img {
        margin: 0;
    }
    .navbar .menu-items li:nth-child(1) {
        margin-top: 1.5rem;
    }
    .navbar-container .logo img {
        position: absolute;
        top: 10px;
        right: 15px;
        margin-top: 8px;
    }
    .navbar-container input[type="checkbox"]:checked~.menu-items {
        transform: translateX(0);
    }
    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
    }
    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }
    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
    .navbar-container input[type="checkbox"]:checked~.home_page img {
        display: none;
        background: #fff;
    }
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu-items {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .menu-items li {
        margin: 10px 0;
    }
    .home_txt {
        position: static;
        text-align: center;
        margin-top: 20px;
    }
    .home_txt h2 {
        font-size: 1.5rem;
    }
    .home_txt p {
        font-size: 1rem;
    }
    .home_txt button {
        width: 100%;
        padding: 10px;
    }
    .collections {
        flex-direction: column;
        align-items: center;
    }
    .content, .content2, .content3 {
        width: 90%;
        margin: 20px 0; /* Increase margin for gap */
    }
    .products-grid {
        flex-direction: column;
        align-items: center;
    }
    .product-image {
        width: 90%;
        margin: 20px 0; /* Increase margin for gap */
    }
    .contact .form {
        flex-direction: column;
        align-items: center;
    }
    .form-txt, .form-details {
        width: 90%;
        margin: 10px 0;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-container .content_1, .footer-container .content_2, .footer-container .content_3, .footer-container .content_4 {
        display: none;
    }
    .navbar-container {
        padding: 0 20px;
    }

    .logo h1 {
        font-size: 1.2rem !important;
    }


    
   
    /* Home Section */
    .home_page {
        flex-direction: column;
    }

    .home_img img {
        width: 100%;
        height: auto;
    }

    .home_txt {
        position: relative;
        padding: 20px;
        text-align: center;
        top: 0;
        left: 0;
    }

    .home_txt h2 {
        font-size: 1.8rem;
        line-height: normal;
    }

    /* Collections Section */
    .collections {
        padding: 20px;
        gap: 20px;
    }

    .content, .content2, .content3 {
        width: 100%;
        margin: 10px 0;
    }

    /* Products Section */
    .section-sales {
        padding: 20px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        padding: 10px;
    }

    .product-image {
        width: 100% !important;
        height: auto !important;
        margin: 10px 0;
    }

    .product-image img {
        width: 100% !important;
        height: auto !important;
    }

    /* Contact Section */
    .contact .form {
        flex-direction: column;
        padding: 20px;
    }

    .form .form-txt,
    .form .form-details {
        width: 100%;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }

    /* Cart Modal */
    .checkout-modal .checkout-content {
        width: 95%;
        margin: 10px;
        padding: 15px;
    }

    /* Product Modal */
    .modal-content-wrapper {
        width: 95%;
        margin: 10px;
    }

    .close {
        right: 20px;
    }
}

@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked~.navbar-container img {
        display: none;
    }
    .product-image {
        width: 100% !important;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .navbar-container .logo {
        margin-left: 50px;
    }

    .menu-items {
        width: 100%;
        padding: 20px;
    }

    .menu-items li {
        margin: 10px 0;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
}


/* //........ Home ........// */

.home_page img {
    height: auto;
    width: 100%;
    background-position: center;
    position: relative;
    background-size: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.home_txt {
    position: absolute;
    top: 37%;
    left: 5%;
}

.home_txt p {
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 20px;
    letter-spacing: 1.5px;
}

.home_txt h2 {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 53px;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--light-black);
}

.home_txt .home_label p {
    color: grey;
    font-size: 14px;
    padding-top: 10px;
}

.home_txt a {
    text-decoration: none;
    color: var(--white);
}

.home_txt button {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    cursor: pointer;
}

.home_txt .bx-right-arrow-alt {
    font-size: 25px;
    padding-left: 5px;
}

.home_txt .home_social_icons a {
    text-decoration: none;
    color: var(--light-black);
    margin-right: 15px;
    font-size: 18px;
}


/* //........ Collections ........// */

.collections {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 65px;
}

.content {
    width: 330px;
    margin: 20px;
    position: relative;
    
}

.content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.871);
    z-index: 2;
    opacity: 0;
}

.content:hover::after {
    opacity: 1;
}

.content img {
    width: 100%;
    height: 300px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.img-content {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
    color: var(--white);
    text-align: center;
    font-size: 2.2rem;
    font-weight: bolder;
    z-index: 5;
    opacity: 0;
}

.img-content p {
    font-size: 1.6rem;
}

.img-content button {
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 10px;
}

.img-content a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #fff;
    transition: 0.3s;
}

.img-content button:hover {
    background: var(--white);
    color: var(--primary-color);
}

.img-content button:hover~.img-content a {
    color: var(--primary-color);
}

.img-content a:hover {
    color: var(--primary-color);
}

.content:hover .img-content {
    opacity: 1;
    top: 50%;
}


/* //........ Content 2 ........// */

.content2 {
    width: 330px;
    margin: 20px;
    position: relative;
}

.content2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.871);
    z-index: 2;
    opacity: 0;
}

.content2:hover::after {
    opacity: 1;
}

.content2 img {
    width: 100%;
    height: 300px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.img-content2 {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
    color: var(--white);
    text-align: center;
    font-size: 2.2rem;
    font-weight: bolder;
    z-index: 5;
    opacity: 0;
}

.img-content2 p {
    font-size: 1.6rem;
}

.img-content2 a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #fff;
    transition: 0.3s;
}

.img-content2 button {
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 10px;
}

.img-content2 button:hover {
    background: var(--white);
    color: var (--primary-color);
}

.img-content2 button:hover~.img-content2 a {
    color: var(--primary-color);
}

.img-content2 a:hover {
    color: var(--primary-color);
}

.content2:hover .img-content2 {
    opacity: 1;
    top: 50%;
}


/* //........ Content 3 ........// */

.content3 {
    width: 330px;
    margin: 20px;
    position: relative;
}

.content3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.871);
    z-index: 2;
    opacity: 0;
}

.content3:hover::after {
    opacity: 1;
}

.content3 img {
    width: 100%;
    height: 300px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.img-content3 {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
    color: var(--white);
    text-align: center;
    font-size: 2.2rem;
    font-weight: bolder;
    z-index: 5;
    opacity: 0;
}

.img-content3 p {
    font-size: 1.6rem;
}

.img-content3 a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    transition: 0.3s;
}

.img-content3 button {
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 10px;
}

.img-content3 button:hover {
    background: var(--white);
    color: var(--primary-color);
}

.img-content3 button:hover~.img-content3 a {
    color: var(--primary-color);
}

.img-content3 a:hover {
    color: var(--primary-color);
}

.content3:hover .img-content3 {
    opacity: 1;
    top: 50%;
}

.content3:hover .img-content3 {
    opacity: 1;
    top: 50%;
}


/* //........ seller  ........// */

.products-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-grid .red {
    color: var(--primary-color);
    cursor: pointer;
}

.products-grid .blue {
    color: #8989ce;
    cursor: pointer;
}

.products-grid .white {
    color: var(--light-black);
    cursor: pointer;
}

.products-grid .grey {
    color: grey;
    cursor: pointer;
}

.products-grid .brown {
    color: rgb(175, 53, 53);
    cursor: pointer;
}

.products-grid .yellow {
    color: #ffff00;
    cursor: pointer;
}

.products-grid .orange {
    color: #ffa500;
    cursor: pointer;
}

.products-grid .green {
    color: #008000;
    cursor: pointer;
}

.section-sales h3 {
    margin-top: 65px;
    margin-bottom: 20px;
}

.section-sales .product-image {
    width: 250px;
    height: 370px;
    /* border: 2px solid black; */
}

.section-sales .product-image img {
    height: 250px;
    width: 250px;
}

.section-sales .product-image .product-price {
    display: flex;
    justify-content: space-between;
}




.section-sales .product-image .product-price .colors input[type="radio"] {
    color: #000;
    background-color: #000;
}

.products-grid .buy-now a {
    text-decoration: none;
    color: var(--white);
}

.section-sales a:hover {
    color: #f05e8a;
}

.products-grid .buy-now button,
.products-grid .add-cart button {
    padding: 10px 15px;
    margin-top: 5px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    background-color: #f05e8a;
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-weight: 500;
    border: 1px solid #f05e8a;
    transition: 0.5s;
}

.products-grid .buy-now button:hover,
.products-grid .add-cart button:hover {
    background-color: var(--white);
    font-weight: 600;
}

.products-grid .buy-now button:hover a,
.products-grid .add-cart button:hover a {
    color: #f05e8a;
}


/* .products-grid .add-cart button {
    padding: 5px 5px;
    margin-top: 5px;
    font-size: 14px;
    cursor: pointer;
} */


/* //........ deal of week ........// */

.deal_of_week {
    display: flex;
    justify-content: center;
    align-items: center;
}

.deal_of_week .names_of_brand p,
.deal_of_week .names_of_brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.deal_of_week .names_of_brand p {
    color: var(--grey);
}

.deal_of_week .countdown span {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0.8rem 0 0 3rem;
}

.deal_of_week .countdown h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--light-black);
    line-height: 40px;
    margin: 0.8rem 0 0 3rem;
}

.deal_of_week .countdown p {
    margin: 0.8rem 0 0 3rem;
}

.deal_of_week .countdown a {
    text-decoration: none;
    color: var(--white);
    font-weight: 800;
}

.deal_of_week .countdown button {
    margin: 0.8rem 3rem;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 12px;
    transition: 0.4s;
}

.deal_of_week .countdown button:hover {
    background: var(--white);
    color: var(--primary-color);
}

.deal_of_week .countdown button:hover~.countdown a {
    background: var(--white);
    color: var(--primary-color);
}

.countdown a:hover {
    color: var(--primary-color);
}


/* //........ NEWS ........// */

#news {
    margin-bottom: 250px;
}

.news-heading p {
    text-align: center;
    font-size: 18px;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 15px;
    margin-top: 70px;
}

.news-heading h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--light-black);
}

.l-news {
    padding-top: 45px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
}

.l-news img {
    height: 200px;
    width: 300px;
}

.l-news1 {
    position: relative;
    width: 280px;
    height: 230px;
}

.l-news1 .news1-conte {
    position: absolute;
    bottom: -60%;
    left: 7%;
    background: var(--white);
    padding: 25px;
}

.l-news2 {
    position: relative;
    width: 280px;
    height: 230px;
}

.l-news2 .news2-conte {
    position: absolute;
    bottom: -60%;
    left: 7%;
    background: var(--white);
    padding: 25px;
}

.l-news3 {
    position: relative;
    width: 280px;
    height: 230px;
}

.l-news3 .news3-conte {
    position: absolute;
    bottom: -60%;
    left: 7%;
    background: var(--white);
    padding: 25px;
}

.l-news1 .news1-conte .date-news1 p {
    color: var(--light-black);
    text-align: center;
    padding: 15px 0;
}

.l-news1 .news1-conte .date-news1 h4 {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
}

.l-news1 .news1-conte .date-news1 a {
    text-decoration: none;
    text-align: center;
    padding: 0 50px;
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.l-news1 .news1-conte .date-news1 a::after {
    content: "";
    position: absolute;
    background: #ff3c78;
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.l-news1 .news1-conte .date-news1 a:hover:after {
    width: 0%;
}

.l-news1 .news1-conte .date-news1 a:hover {
    color: var(--black);
}

.l-news2 .news2-conte .date-news2 p {
    color: var(--light-black);
    text-align: center;
    padding: 15px 0;
}

.l-news2 .news2-conte .date-news2 h4 {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
}

.l-news2 .news2-conte .date-news2 a {
    text-decoration: none;
    text-align: center;
    padding: 0 60px;
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.l-news2 .news2-conte .date-news2 a::after {
    content: "";
    position: absolute;
    background: #ff3c78;
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.l-news2 .news2-conte .date-news2 a:hover:after {
    width: 0%;
}

.l-news2 .news2-conte .date-news2 a:hover {
    color: var(--black);
}

.l-news3 .news3-conte .date-news3 p {
    color: var(--light-black);
    text-align: center;
    padding: 15px 0;
}

.l-news3 .news3-conte .date-news3 h4 {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 15px;
}

.l-news3 .news3-conte .date-news3 a {
    text-decoration: none;
    text-align: center;
    padding: 0 60px;
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.l-news3 .news3-conte .date-news3 a::after {
    content: "";
    position: absolute;
    background: #ff3c78;
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.l-news3 .news3-conte .date-news3 a:hover:after {
    width: 0%;
}

.l-news3 .news3-conte .date-news3 a:hover {
    color: var(--black);
}


/* //........ Footer ...... // */

footer {
   display: none;
}

.footer-container .content_1 img {
    height: 25px;
    width: 180px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
}

.footer-container h4 {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-container a {
    display: block;
    text-decoration: none;
    color: var(--grey);
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-container .content_1 p,
.footer-container .content_4 p {
    color: var(--grey);
    margin: 25px 0;
    font-size: 14px;
}

.footer-container .content_4 input[type="email"] {
    background-color: var(--black);
    border: none;
    color: var(--white);
    outline: none;
    padding: 15px 0;
}

.footer-container .content_4 .f-mail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container .content_4 .bx {
    color: var(--white);
}

.f-design {
    width: 100%;
    color: var(--white);
    text-align: center;
}

.f-design .f-design-txt {
    border-top: 1px solid var(--grey);
    padding: 25px 0;
    font-size: 14px;
    color: var(--grey);
}


/* //........ contact ...... // */

.contact {
    margin-top: 45px;
}

iframe {
    height: 72vh;
    width: 100%;
}

.form {
    display: flex;
    justify-content: space-between;
    margin: 80px 0;
}

.form .form-txt {
    flex-basis: 48%;
}

.form .form-txt h4 {
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    font-size: 15px;
    margin-bottom: 15px;
}

.form .form-txt h1 {
    font-weight: 600;
    color: var(--black);
    font-size: 40px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--light-black);
}

.form .form-txt span {
    color: var(--light-black);
    font-size: 14px;
}

.form .form-txt h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0;
    color: var(--light-black);
}

.form .form-txt p {
    color: var(--light-black);
    font-size: 14px;
}

.form .form-details {
    flex-basis: 48%;
}

.form .form-details input[type="text"],
.form .form-details input[type="email"] {
    padding: 15px 20px;
    color: var(--grey);
    outline: none;
    border: 1px solid var(--grey);
    margin: 35px 15px;
    font-size: 14px;
}

.form .form-details textarea {
    padding: 15px 20px;
    margin: 0 15px;
    color: var(--grey);
    outline: none;
    border: 1px solid var(--grey);
    font-size: 14px;
    resize: none;
}

.form .form-details button {
    padding: 15px 25px;
    color: var(--white);
    font-weight: 500;
    background: var(--black);
    outline: none;
    border: none;
    margin: 15px;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
}


/* //....... Media Queries .......// */


/* //....... Media Queries For Contact .......// */




/* Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* Modal Content (image) */
.modal-content-wrapper {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.modal-content {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.modal-info {
    width: 100%;
    padding: 20px;
    text-align: center;
}
  


/* for popup text and button */
#caption {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px; /* Reduce the bottom margin */
    padding: 5px 0; /* Reduce the padding */
}

#description {
    color: #666;
    font-size: 16px;
    margin: 5px 0; /* Reduce the top margin */
    padding: 5px 0; /* Reduce the padding */
}

.modal-buttons {
    margin-top: 20px;
}

.modal-cart-btn {
    padding: 10px 20px;
    background-color: #f05e8a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-cart-btn:hover {
    background-color: #d54d74;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 500%;
  max-width: 700px;
  text-align: center;
  color: #12ce12;
  padding: 10px 0;
  height: 150px;
  font-size: large;
    font-weight: bold;
}

/* The Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 800px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.description {
    margin:auto;
    display: block;
    width: 500%;
    max-width: 700px;
    text-align: center;
    color: #12ce12;
    font-size: large;
    padding: 10px 0;
  height: 150px;
}
/* Add your CSS code here */

/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Global Styles */



:root {
    --primary-color: #ff3c78;
    --black: #000;
    --white: #fff;
    --grey: #aaa;
}



/* Product Section */

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f05e8a;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 2rem 0;
}

.product-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card img {
    width: 100%;
   
    height: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 5px; /* Reduced space between image and text */
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}


.product-details {
    margin-top: -170px; /* Ensure text is just below the image */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 120px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}


.section-title{
    text-align: center;
    margin-top: 2rem;
}

.section-subtitle{
    text-align: center;
    color: #666;
}


/* Animation for the section title and subtitle */
.section-title {
    position: relative;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
  }
  
  .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    animation: fadeInUp 1.2s ease 0.3s forwards;
    opacity: 0;
  }
  
  /* Decorative underline for the section title */
  .section-title::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -10px;
    left: 50%;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    animation: expandWidth 1s ease 0.8s forwards;
  }
  
  /* Text animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes expandWidth {
    from {
      width: 0;
    }
    to {
      width: 80px;
    }
  }
  
  /* Optional hover effect for more interactivity */
  .section-title:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
  
  .section-subtitle:hover {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }


/* Buttons - Buy Now & Add to Cart */
.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-cart, .btn-buy {
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-cart {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
}

.btn-cart:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-buy {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-buy:hover {
    background-color: var(--black);
    border-color: var(--black);
}

/* Footer */
.footer-container {
    text-align: center;
    padding: 2rem 0;
    background: var(--black);
    color: var(--white);
}

/* ...existing code... */

#form-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#form-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

.form-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    transition: opacity 0.3s ease;
    display: none;
}

.form-message.success {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #45a049;
}

.form-message.error {
    background-color: #f44336;
    color: white;
    border: 1px solid #da362b;
}

.form-message-container {
    position: relative;
    width: 100%;
    min-height: 60px;
    margin-bottom: 20px;
}

.success-animation {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #4CAF50;
    animation: popIn 0.5s ease-out;
}

.success-animation.show {
    display: block;
}

.success-animation i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.success-animation span {
    font-size: 16px;
    font-weight: 500;
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/*chakri 45
kaju 35
chatpuri 42
gulabpuri 59
soya sticks 49*/

.success-message, .error-message {
    display: none;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    animation: fadeInOut 0.5s ease-in-out;
}

.success-message {
    background-color: #4CAF50;
    color: white;
}

.error-message {
    background-color: #f44336;
    color: white;
}

.success-message i, .error-message i {
    font-size: 24px;
    margin-bottom: 10px;
}

.success-message.show, .error-message.show {
    display: block;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}







.success-animation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 20px;
    font-size: 20px;
    text-align: center;
    border-radius: 10px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-animation i {
    font-size: 50px;
    margin-bottom: 10px;
    animation: popScale 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popScale {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
