@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
@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');

body {
    font-family: Poppins;
    margin: 0;
    font-size: 16px;
    background-color: #FEFAE0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* navbar */
.navbar {
    background: linear-gradient(to right, #052D25, #02201a);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.container-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    margin-bottom: 0;
    margin-top: 0;
}


.nav-links {
    display: flex;
    gap: 20px;
}
.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #DDA15E;
}
.nav-link svg {
    margin-right: 5px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #02201a;
    margin: 4px 0;
    transition: all 0.3s;
}

.fa-shopping-cart {
    font-size: 1.5em;
    color: #ddd;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #333;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-item {
        text-align: center;
        padding: 10px 0;
        width: 100%;
    }
}

/* Similar Products Section */
.similar-products {
    width: 100%;
    max-width: 1000px;
    color: #000;
    margin-bottom: 30px;
    margin: auto;
}

.similar-products h1 {
    margin-bottom: 30px;
    font-size: 50px;
    color: #000;
    text-align: center;
    margin-top: 50px;
}

.similar-products h1 span {
    color: #DDA15E;
}

.similar-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
        /* justify-items: center/; */
}

.similar-product-card {
    background-color: #cab890;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.similar-product-card:hover {
    transform: scale(1.05);
}

.similar-product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.similar-product-info h4 {
    font-size: 20px;
    margin: 10px 0;
}

.similar-product-info .price {
    font-size: 16px;
    color: #000;
    font-weight: bold;
    margin-bottom: 10px;
}

.buy-button {
    background-color: #052D25;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
    max-width: 150px;
    text-align: center;
}

.buy-button:hover {
    background-color: #FEFAE0;
    color: #052D25;
}

/* pagination */
#pagination {
    text-align: center;
}

#pagination a {
    text-decoration: none;
    background-color: #052D25;
    color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: 600;
}

#pagination .next-page {
    font-size: 16px;
    font-weight: 600;
}

/* Subscription section */
.subscribe {
    background: #052D25;
    padding: 4rem 0;
    margin-top: 4rem;
}

.subscribe :is(h2, p) {
    color: #cab890;
    text-transform: capitalize;
    text-align: center;
}

.subscribe h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.subscribe form {
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    margin-top: 10px;
}

.subscribe form>* {
    flex: 1 1 15rem;
}

.subscribe input {
    font-weight: 500;
    font-size: 1rem;
    text-transform: lowercase;
    color: #000;
    width: 100%;
    border: 1px solid var(#cab890);
    outline: 0;
    padding: 12px;
    border-radius: 5px;
}

.subscribe input::placeholder {
    text-transform: uppercase;
}

.subscribe .page-btn {
    max-width: max-content;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    margin: 10px auto;
    color: #052D25;
    background-color: #DDA15E;
    border: none;
    border-radius: 5px;
}

.subscribe .page-btn:hover {
    background-color: #052D25;
    color: #DDA15E;
}

/* footer */
.footer {
    background-color: #cab890;
    color: #000;
    padding-top: 40px;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 250px;
    margin: 20px;
}

.footer-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #052D25;
}

.footer-section p,
.footer-section ul,
.footer-section form {
    color: #000;
    font-size: 14px;
}

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

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #052D25;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #052D25;
    color: #cab890;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #DDA15E;
    color: #052D25;
}

.footer-section .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-section .social-icons a {
    color: #000;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-section .social-icons a:hover {
    color: #052D25;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 12px;
    background-color: #cab890;
    border-top: 1px solid #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

/* live chat */
.chat-widget {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 300px;
    max-width: 100%;
    display: none;
    flex-direction: column;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background-color: #FEFAE0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    transform: translateY(20px);
    opacity: 0;
}

.chat-widget.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    padding: 10px;
    background-color: #052D25;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
}

.chat-header i {
    margin-right: 10px;
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: 330px;
    border-top: 1px solid #ddd;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
}

.chat-messages p {
    margin: 5px 0;
}

.chat-input-container {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-input-container input {
    flex: 1;
    padding: 8px;
    border: none;
    outline: none;
}

.chat-input-container button {
    background-color: #052D25;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px;
    background-color: #052D25;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: bounce 1s infinite;
    transition: background-color 0.3s;
}

.chat-toggle-button:hover {
    background-color: #052D25;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* add to cart */
.cart-quantity {
    margin-right: 6px;
    font-weight: bold;
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    /* Initially hidden off-screen */
    width: 320px;
    height: auto;
    background-color: #f9f8f1;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

/* Visible Cart Sidebar */
.cart-sidebar.show {
    right: 0;
}

/* Cart Header Styles */
.cart-sidebar h3 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    color: #333;
}

/* Cart Items Section */
.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 5px;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #555;
}

.delete-icon {
    cursor: pointer;
    color: #4f040a;
    font-size: 18px;
}

/* Cart Total Price Section */
.cart-total {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    text-align: right;
    color: #333;
}

/* Cart Sidebar Footer */
.cart-sidebar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin-bottom: 20px;
    border-top: 1px solid #ddd;
}

/* Button Styles */
.close-btn,
.checkout-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.close-btn {
    background-color: #f0f0f0;
    color: #555;
}

.close-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

.checkout-btn {
    background-color: #052D25;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.checkout-btn:hover {
    background-color: #052D25;
    transform: scale(1.05);
}

/* Add to Cart Button Styles */
.add-to-cart-btn {
    background-color: #052D25;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
    max-width: 150px;
    text-align: center;
}

.add-to-cart-btn:hover {
    background-color: #FEFAE0;
    color: #052D25;
}


/* product detail button */
.slider-container .slider .product-card .buy-button {
    .buy-button {
        background-color: #052D25;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        flex: 1;
        max-width: 150px;
        text-align: center;
    }

    .slider-container .slider .product-card .buy-button:hover {
        background-color: #FEFAE0;
        color: #052D25;
    }
}





/* nil
/* nil */
/* nil





/* */
/*  */
