﻿@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");

:root {
    --orange: #90e0ef;
    --black: #130f40;
    --light-color: #666;
    --box-shadow: 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --border: 0.2rem solid rgba(0, 0, 0, 0.1);
    --outline: 0.1rem solid rgba(0, 0, 0, 0.1);
    --outline-hover: 0.2rem solid var(--black);
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    background: #eee;
}

section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    padding: 2rem 0;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--black);
}

    .heading span {
        background: var(--orange);
        color: #fff;
        display: inline-block;
        padding: 0.5rem 3rem;
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 50% 100%, 0% 50%, 50% 0%);
    }

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.8rem 3rem;
    font-size: 1.7rem;
    border-radius: 0.5rem;
    border: 0.2rem solid var(--black);
    color: var(--black);
    cursor: pointer;
    background: none;
}

    .btn:hover {
        background: var(--orange);
        color: #fff;
    }

/* Start Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    background: #fff;
    box-shadow: var(--box-shadow);
}

    .header .logo {
        font-size: 2.5rem;
        font-weight: bolder;
        color: var(--black);
    }

        .header .logo i {
            color: var(--orange);
        }

    .header .navbar a {
        font-size: 1.7rem;
        margin: 0 1rem;
        color: var(--black);
    }

        .header .navbar a:hover {
            color: var(--orange);
        }

    .header .icons {
        display: flex;
    }

        .header .icons div {
            height: 4.5rem;
            width: 4.5rem;
            line-height: 4.5rem;
            border-radius: 0.5rem;
            background: #eee;
            color: var(--black);
            font-size: 2rem;
            margin-left: 0.3rem;
            text-align: center;
        }

            .header .icons div:hover {
                background: var(--orange);
                color: #fff;
            }

.icons a {
    color: black
}

    .icons a:hover {
        background: var(--orange);
        color: #fff;
    }

.header .search-form {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 50rem;
    height: 5rem;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
}

    .header .search-form.active {
        right: 2rem;
        transition: 0.4s linear;
    }

    .header .search-form input {
        height: 100%;
        width: 100%;
        background: none;
        text-transform: none;
        font-size: 1.6rem;
        color: var(--black);
        padding: 0 1.5rem;
    }

    .header .search-form label {
        font-size: 2.2rem;
        padding-right: 1.5rem;
        color: var(--black);
        cursor: pointer;
    }

        .header .search-form label:hover {
            color: var(--orange);
        }

.header .shopping-cart {
    position: absolute;
    top: 110%;
    right: -110%;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    width: 35rem;
    background: #fff;
}

    .header .shopping-cart .box {
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
        margin: 1rem 0;
    }

        .header .shopping-cart .box img {
            height: 10rem;
        }

        .header .shopping-cart .box .bx-trash {
            font-size: 2rem;
            position: absolute;
            top: 50%;
            right: 2rem;
            cursor: pointer;
            color: var(--light-color);
            transform: translateY(-50%);
        }

            .header .shopping-cart .box .bx-trash:hover {
                color: var(--orange);
            }

        .header .shopping-cart .box .content h3 {
            color: var(--black);
            font-size: 1.7rem;
            padding-bottom: 1rem;
        }

        .header .shopping-cart .box .content span {
            color: var(--light-color);
            font-size: 1.6rem;
        }

        .header .shopping-cart .box .content .quantity {
            padding-left: 1rem;
        }

    .header .shopping-cart .total {
        font-size: 2.5rem;
        padding: 1rem 0;
        text-align: center;
        color: var(--black);
    }

    .header .shopping-cart .btn {
        display: block;
        text-align: center;
        margin: 1rem;
    }

    .header .shopping-cart.active {
        right: 2rem;
        transition: 0.4s linear;
    }

.header .login-form {
    position: absolute;
    top: 115%;
    right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    border-radius: 0.5rem;
    background: #fff;
    text-align: center;
}

    .header .login-form h3 {
        font-size: 2.5rem;
        text-transform: uppercase;
        color: var(--black);
    }

    .header .login-form .box {
        width: 100%;
        margin: 0.7rem 0;
        background: #eee;
        border-radius: 0.5rem;
        padding: 1rem;
        font-size: 1.6rem;
        color: var(--black);
        text-transform: none;
    }

    .header .login-form p {
        font-size: 1.4rem;
        padding: 0.5rem 0;
        color: var(--light-color);
    }

        .header .login-form p a {
            color: var(--orange);
            text-decoration: underline;
        }

    .header .login-form.active {
        right: 2rem;
        transition: 0.4s linear;
    }
/* End Header*/





/* Start Feature */
.features .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

    .features .box-container .box {
        padding: 3rem 2rem;
        background: #fff;
        outline: var(--outline);
        outline-offset: -1rem;
        text-align: center;
        box-shadow: var(--box-shadow);
    }

        .features .box-container .box:hover {
            outline: var(--outline-hover);
            outline-offset: 0rem;
        }

        .features .box-container .box img {
            margin: 1rem 0;
            height: 15rem;
        }

        .features .box-container .box h3 {
            font-size: 2.5rem;
            line-height: 1.8;
            color: var(--black);
        }

        .features .box-container .box p {
            font-size: 1.5rem;
            line-height: 1.8;
            color: var(--light-color);
            padding: 1rem 0;
        }
/* End Feature */


/* Start Back To Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6600;
    color: black;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 999;
    display: none;
}

    .back-to-top:hover {
        background-color: #e65c00;
    }

/* End Back To Top */


/* === Responsive === */
@media (max-width: 768px) {
    body {
        background-color: #f5f5f5;
    }

    .checkout-container {
        padding: 1rem;
    }

    .customer-info,
    .order-summary {
        background: #fff;
        border-radius: 0.8rem;
        padding: 1.2rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

        .customer-info input {
            width: 100%;
            margin-bottom: 0.9rem;
            padding: 0.8rem;
            font-size: 0.95rem;
            border-radius: 0.4rem;
            border: 1px solid #ddd;
        }

        .order-summary h2 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

    .order-item {
        display: flex;
        justify-content: space-between;
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

        .order-item.total {
            font-weight: bold;
            border-top: 1px solid #eee;
            padding-top: 0.6rem;
            margin-top: 0.6rem;
        }

    .payment-method {
        margin-top: 1rem;
        font-size: 0.95rem;
    }

        .payment-method label {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
            gap: 0.4rem;
        }

    .complete-btn {
        width: 100%;
        background: #ff6a00;
        color: #fff;
        padding: 0.9rem;
        border: none;
        border-radius: 0.4rem;
        font-size: 1rem;
        font-weight: bold;
        margin-top: 1.2rem;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .complete-btn:hover {
            background: #e55d00;
        }
}




/* End Check Out */

/* Start Footer */
.footer {
    background: #fff;
}

    .footer .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
        gap: 1.5rem;
    }

        .footer .box-container .box h3 {
            font-size: 2.5rem;
            color: var(--black);
            padding: 1rem 0;
        }

            .footer .box-container .box h3 i {
                color: var(--orange);
            }

        .footer .box-container .box a {
            display: block;
            font-size: 1.5rem;
            color: var(--light-color);
            padding: 1rem 0;
        }

            .footer .box-container .box a i {
                color: var(--orange);
                padding-right: 0.5rem;
            }

            .footer .box-container .box a:hover i {
                padding-right: 2rem;
            }

        .footer .box-container .box p {
            line-height: 1.8;
            font-size: 1.5rem;
            color: var(--light-color);
            padding: 1rem 0;
        }

        .footer .box-container .box .share {
            display: flex;
        }

            .footer .box-container .box .share a {
                height: 4rem;
                width: 4rem;
                border-radius: 0.5rem;
                font-size: 1.5rem;
                color: var(--black);
                margin-left: 0.2rem;
                background: #eee;
                text-align: center;
            }

        .footer .box-container .box .email {
            width: 100%;
            margin: 0.7rem 0;
            padding: 1rem;
            border-radius: 0.5rem;
            background: #eee;
            font-size: 1.6rem;
            color: var(--black);
            text-transform: none;
        }

        .footer .box-container .box .payment-img {
            margin-top: 2rem;
            height: 3rem;
        }

    .footer .credit {
        text-align: center;
        margin: 15px;
        font-size: 16px;
        font-weight: 500;
    }

        .footer .credit:hover {
            color: var(--orange);
        }

.email-text {
    text-transform: none;
}

/* End Footer */
#menu-btn {
    display: none;
}
/* Common Responsive Styles */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header,
    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    #menu-btn {
        display: inline-block;
    }

    .header .search-form {
        width: 90%;
    }

    .header .navbar {
        position: absolute;
        top: 115%;
        right: -110%;
        width: 30rem;
        padding: 2rem 0;
        background: #fff;
        border-radius: 0.5rem;
        box-shadow: var(--box-shadow);
        transition: right 0.4s linear;
    }

        .header .navbar.active {
            right: 2rem;
        }

        .header .navbar a {
            display: block;
            font-size: 2rem;
            margin: 2rem 2.5rem;
        }

    .products,
    .blogs,
    .about,
    .contact {
        margin-top: 10%;
        overflow-x: hidden;
    }

        .products .product-carousel {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }

            .products .product-carousel .wrapper {
                display: grid;
                grid-auto-flow: column;
                grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
                grid-template-rows: repeat(2, auto);
                gap: 1rem;
                width: max-content;
                padding: 1rem 0;
                scroll-snap-align: start;
            }

            .products .product-carousel .box {
                width: 260px;
                scroll-snap-align: start;
            }

                .products .product-carousel .box img {
                    height: 12rem;
                }

                .products .product-carousel .box h3 {
                    font-size: 2rem;
                }

                .products .product-carousel .box .price,
                .products .product-carousel .box .stars i {
                    font-size: 1.5rem;
                }
}

/* Start Product */
.products .product-slider {
    padding: 1rem;
}

    .products .product-slider:first-child {
        margin-bottom: 2rem;
    }

    .products .product-slider .box {
        background: #fff;
        border-radius: 0.5rem;
        text-align: center;
        padding: 2rem 1rem;
        outline-offset: -1rem;
        outline: var(--outline);
        box-shadow: var(--box-shadow);
        transition: 0.2s linear;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

        .products .product-slider .box:hover {
            outline-offset: 0rem;
            outline: var(--outline-hover);
        }

        .products .product-slider .box img {
            height: 15rem;
        }

        .products .product-slider .box h3 {
            font-size: 2.5rem;
            color: var(--black);
        }

        .products .product-slider .box .price {
            font-size: 2rem;
            color: var(--light-color);
            padding: 0.5rem 0;
        }

        .products .product-slider .box .stars i {
            font-size: 1.7rem;
            color: var(--orange);
            padding: 0.5rem 0;
        }

.product-slider .wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.product-detail {
    padding: 3rem 1rem;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    margin-top: 5%;
}

    .product-detail .container {
        max-width: 1200px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
        align-items: flex-start;
    }

.product-images,
.product-info {
    flex: 1 1 48%;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

    .product-images .main-image {
        width: 100%;
        border-radius: 0.5rem;
        object-fit: cover;
        margin-bottom: 1rem;
    }

    .product-images .thumbnails {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }

        .product-images .thumbnails img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 0.4rem;
            cursor: pointer;
            border: 1px solid #ddd;
            transition: 0.3s;
        }

            .product-images .thumbnails img:hover {
                border: 2px solid #ff6600;
            }

.product-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-price {
    font-size: 1.5rem;
    color: #ff6600;
    margin-bottom: 0.5rem;
}

    .product-price .old-price {
        text-decoration: line-through;
        color: #aaa;
        font-size: 1rem;
        margin-left: 0.5rem;
    }

.product-rating {
    color: #ffa500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

    .product-rating span {
        color: #555;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

.product-description {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-options {
    margin-bottom: 1rem;
}

    .product-options label {
        font-weight: 500;
        margin-right: 0.5rem;
        font-size: 16px;
    }

    .product-options .quantity {
        width: 60px;
        padding: 0.3rem 0.5rem;
        font-size: 1rem;
    }

.btn-add-cart {
    background-color: var(--orange);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

    .btn-add-cart:hover {
        background-color: var(--black);
    }

.product-meta p {
    color: #666;
    font-size: 0.95rem;
    margin: 0.2rem 0;
}

.filter-bar {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 1000px;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0 1rem;
}

    .filter-bar select {
        padding: 0.6rem 1rem;
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        font-size: 1rem;
        cursor: pointer;
        min-width: 180px;
    }

@media (max-width: 768px) {
    .product-detail .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-images,
    .product-info {
        flex: 1 1 100%;
        padding: 1rem;
    }

        .product-images .thumbnails img {
            width: 60px;
            height: 60px;
        }

    .product-title {
        font-size: 1.6rem;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .product-slider .wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products .product-slider .box {
        max-width: 95%;
        padding: 1.5rem 1rem;
    }

        .products .product-slider .box img {
            height: 12rem;
        }

        .products .product-slider .box h3 {
            font-size: 2rem;
        }

        .products .product-slider .box .price {
            font-size: 1.5rem;
        }

        .products .product-slider .box .stars i {
            font-size: 1.5rem;
        }

    .btn {
        font-size: 1.1rem;
        padding: 0.6rem 1.5rem;
    }

    .filter-bar {
        justify-content: flex-end;
        align-items: flex-end;
        margin-right: 20px;
    }

        .filter-bar select {
            width: 50%;
        }
}
/* End Product */
@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .heading {
        font-size: 2.5rem;
    }
}

/* Animation */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
