@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap");

* {
    font-family: 'Poppins', sans-serif;
    margin:0 ;
    padding: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color:#f3f3f5;
}

/* Header Styles */
.navbar {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e0f2f1, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

/* Navbar Styling */
.navbar {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #e0f2f1, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    position: relative;
}

/* Back Button */
.back-btn {
    background: none;
    border: 2px solid #248277;
    color: #248277;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.back-btn:hover {
    background: #248277;
    color: #fff;
    box-shadow: 0 4px 10px rgba(36, 130, 119, 0.3);
}

a {
    text-decoration: none; /* Removes any underline */
    display: flex; /* Helps align elements properly */
    align-items: center;
}

/* Logo */
.logo {
    height: 70px;
    transition: 0.3s;
}

/* Centering the Logo */
.navbar .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* Home Button */
.home-btn {
    background: none;
    border: 2px solid #248277;
    color: #248277;
    font-size: 14px;
    padding: 6px 14px;
    margin-left: auto; /* Push to the right */
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.home-btn:hover {
    background: #248277;
    color: #fff;
    box-shadow: 0 3px 8px rgba(36, 130, 119, 0.3);
}

.product-btn {
    background: none;
    border: 2px solid #248277;
    color: #248277;
    font-size: 14px;
    padding: 6px 14px;
    margin-left: 10px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.product-btn:hover {
    background: #248277;
    color: #fff;
    box-shadow: 0 3px 8px rgba(36, 130, 119, 0.3);
}


/* Shopping Cart Main Title */
.shopping-cart-title {
    text-align: center;
    margin: 12px 0;
    font-size: 3rem;
    color: #2c3e50;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.shopping-cart-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #248277;
}
@media (max-width: 768px) {
    .shopping-cart-title {
        margin-top: 5px; /* Reduce top margin */
        font-size: 2rem; /* Slightly smaller font for mobile */
    }


}

/* Cart Content Styles */
.cart-section {
    margin-top: 20px;
    padding: 2rem;
    background:#f3f3f5;
    min-height: calc(100vh - 260px);
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
}

.cart-items {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cart-items:hover {
    transform: translateY(-5px);
}

.cart-item {
    display: grid;
    grid-template-columns: auto 2fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cart-item img:hover {
    transform: scale(1.05);
}

.item-details h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
}

.item-details p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 8px;
}

.quantity-btn {
    background: #fff;
    border: 1px solid #248277;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #248277;
    font-size: 1.1rem;
}

.quantity-btn:hover {
    background: #248277;
    color: #fff;
}

.item-price {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.2rem;
}

.remove-item {
    color: #e74c3c;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

.remove-item:hover {
    transform: scale(1.1);
    background: #fff5f5;
}

.cart-summary {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.cart-summary h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #248277;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    color: #666;
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.summary-item.total {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    border-top: 2px solid #eee;
    padding-top: 1.2rem;
    margin-top: 1.2rem;
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.contact-info p {
    margin: 0 0 1.2rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.contact-btndrop{    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 10px;

}
.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn.phone {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.contact-btndrop.phone {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}


.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart i {
    margin-bottom: 1rem;
    font-size: 4rem;
    color: #bdc3c7;
}

.empty-cart p {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.empty-cart .contact-btn {
    display: inline-flex;
    padding: 1rem 2rem;
    background: #248277;
    margin: 0 auto;
}

.proceed-to-checkout-btn {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 5px 10px; /* Reduced padding */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 14px; /* Reduced font size */
    transition: background-color 0.3s; /* Smooth transition */
    z-index: 10; /* Ensure button is on top */
    position: relative; /* Required for z-index to take effect */
}

.proceed-to-checkout-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

.confirm-order-btn {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 5px 10px; /* Reduced padding */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 14px; /* Reduced font size */
    transition: background-color 0.3s; /* Smooth transition */
    z-index: 10; /* Ensure button is on top */
    position: relative; /* Required for z-index to take effect */
}

.confirm-order-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

.confirm-order {
    display: flex;
    justify-content: flex-end; /* Aligns the button to the right */
    margin-top: 10px; /* Adds some space above the button */
}

.dropdown-form {
    background-color: #fff; /* White background */
    border: 1px solid #ccc; /* Light gray border */
    border-radius: 5px; /* Rounded corners */
    padding: 15px; /* Padding inside the form */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative; /* Position it relative to the parent */
    z-index: 100; /* Ensure it is on top */
    width: 350px;
    padding-bottom: 50px; /* Set a width */
}

.dropdown-form .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.dropdown-form #sendNowButton {
    background-color: black;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.dropdown-form #contactPhoneNumber {
    border: 1px solid black; /* Black border for input box */
    border-radius: 5px;
    padding: 10px;
}

.dropdown-form #callNowButton {
    background-color: black; /* Black background */
    color: white; /* White icon */
    border: none; /* No border */
    padding: 5px; /* Smaller padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 18px; /* Adjust font size if needed */
}

.dropdown-form #sendNowButton {
    background-color: black; /* Black background */
    color: white; /* White icon */
    border: none; /* No border */
    padding: 5px; /* Smaller padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 18px; /* Adjust font size if needed */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .cart-header {
        height: 70px;
    }

    .header-content {
        grid-template-columns: auto auto;
        padding: 1rem;
        justify-content: space-between;
    }

    .logo i {
        font-size: 2rem;
    }

    .logo h2 {
        font-size: 1.6rem;
    }

    .shopping-cart-title {
        font-size: 2.5rem;
        margin: 100px auto 30px;
    }

    .cart-section {
        padding: 1rem;
        margin-top: 15px;
        min-height: calc(100vh - 220px);
    }

    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.8rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    .logo h2 {
        font-size: 1.4rem;
    }

    .header-actions .icons a {
        font-size: 1.4rem;
    }

    .header-actions .icons .count {
        font-size: 1rem;
        width: 18px;
        height: 18px;
        top: -6px;
        right: -6px;
    }

    .shopping-cart-title {
        font-size: 2rem;
        margin: 90px auto 25px;
    }

    .shopping-cart-title::after {
        width: 50px;
        height: 2px;
    }

    .cart-container {
        gap: 1rem;
    }

    .cart-item {
        grid-template-columns: auto 1fr auto auto;
    }

    .cart-item img {
        width: 100px;
        height: 100px;
    }

    .cart-items {
        border-radius: 10px;
    }

    .cart-section {
        padding: 0.8rem;
        margin-top: 10px;
    }
}

#notification-container {
    pointer-events: none;
}

.notification {
    pointer-events: auto;
    min-width: 300px;
    max-width: 500px;
    margin-bottom: 1rem;
    animation: slide-in 0.3s ease-out;
}

@keyframes slide-in {
    from {
        transform: translateX(120%);
    }
    to {
        transform: translateX(0);
    }
}