/* Container for boxed layout */
.container {
    max-width: 1350px; /* Adjust this width to control the boxed width */
    margin: 0 auto;    /* Center the container */
    padding: 0 20px;   /* Add some padding on the sides for breathing room */
}
/* Import font and general reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #ebebef;
    color: #1C2930;
    font-size: 19.2px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    /* background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 49px;
    margin-right: 10px;
    width: 60px;

}

.desktop-nav {
    display: flex;
}

.desktop-nav a {
    margin: 0 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.cart-icon {
    font-size: 20px;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Sidebar Styles */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    color: #fff;
    z-index: 9;
}

.sidebar a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #575757;
}

.sidebar .closebtn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: #fff;
}

.sidebar.active {
    width: 250px;
}

/* Main Content */
main {
    text-align: left;
    padding: 50px 20px;
}

.static-text{
    text-align: left;
    /* max-width: 620px; */
    padding: 0 5%;
    font-size: 19.2px;
}

main h1{
    text-align: center;
}

.products {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-card {
    /* background-color: #fff; */
    padding: 15px;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    text-align: center;
    width: 30%;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h2 {
    font-size: 1.1em;
    margin: 10px 0;
}

.product-card p {
    font-size: 17px;
    color: #1C2930;
    margin-top: 5px;
}


.btn {
    background-color: #37505d;
    color: #fff;
    padding: 16px 35px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.1rem;
    line-height: inherit;
    padding-top: 1rem;
    padding-right: 2.2rem;
    padding-bottom: 1rem;
    padding-left: 2.2rem;
    text-decoration: none;
    text-transform: uppercase;    
}

.btn:hover {
    background-color: #1c2930;
}

.btn-long{
    width: 100%;
}

a{
    color: #1C2930;
    text-decoration: none;
}

a:hover{
    color: #1C2930;
    text-decoration: underline;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    /* background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); */
    margin-top: 50px;
    font-size: 1rem;
}

.footer-logo, .footer-links, .footer-social {
    text-align: center;
    text-align: left;
    width: 50%;
}

.footer-logo img {
    height: 50px;
}

.footer-links a, .footer-social a {
    display: block;
    text-decoration: none;
    color: #333;
    margin: 5px 0;
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 10px;
}

.footer-logo p {
    padding: 10px 5px;
}
.footer-links a {
    padding-top: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 100%;
        max-width: 300px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-links, .footer-social, .footer-logo {
        margin-bottom: 20px;
        text-align: left;
        width: 50%;
    }
}
img.emoji {
    width: 1em;
}


/* Breadcrumb */
.breadcrumb {
    font-size: 0.9em;
    margin-bottom: 20px;
    margin-top: 20px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb span {
    color: #666;
}

/* Product Section */
.product-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.product-image {
    /* flex: 1; */
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 512px;
    /* border-radius: 8px; */
}

.product-details {
    flex: 1;
}

.product-details h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.price {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.description {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.stock-status {
    color: #28a745;
    margin-bottom: 20px;
}

.add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.add-to-cart label {
    font-size: 1em;
}

.add-to-cart input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 1em;
    height: 50px;
    margin-top: 10px;
}


.sku {
    font-size: 0.9em;
    color: #666;
}

/* Description Section */
.product-description {
    margin-bottom: 40px;
}

.product-description h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.product-description ul {
    list-style-type: none;
    font-size: 1em;
    color: #555;
}

.product-description li {
    margin-bottom: 8px;
}

/* Related Products Section */
.related-products {
    text-align: center;
    margin-bottom: 20px;
}

.related-products h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.related-product-card {
    display: inline-block;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    width: 200px;
    margin-top: 10px;
}

.related-product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.related-product-card h3 {
    font-size: 1.1em;
    margin: 10px 0;
}

.related-product-card p {
    font-size: 1em;
    color: #333;
}

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

    .product-details {
        text-align: center;
    }
}


/* Cart Title */
.cart-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

/* Cart Layout */
.cart-layout {
    display: flex;
    gap: 30px;
}

.cart-items {
    flex: 2;
}

.cart-totals {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Cart Items Header */
.cart-item-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Cart Item */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.cart-item-info {
    display: flex;
    gap: 20px;
}

.cart-item-info img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.item-details {
    display: flex;
    flex-direction: column;
}

.item-details h2 {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.price {
    font-size: 1em;
    color: #555;
    margin-bottom: 5px;
}

.quantity {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.quantity button {
    padding: 5px 10px;
    font-size: 1em;
    cursor: pointer;
    border-radius: unset;
}

.quantity input {
    width: 50px;
    text-align: center;
    height: 36px;
    /* margin: 0 5px; */
    border-right: unset;
    border-left: unset;
    /* border-top: 1px solid; */
    border-width: 1px;
}

.remove-item {
    color: #e63946;
    text-decoration: none;
    font-size: 0.9em;
}

.total-price {
    font-weight: bold;
    font-size: 1.2em;
}

/* Cart Totals Section */
.cart-totals h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.coupon-section {
    margin-bottom: 20px;
}

.coupon-section label {
    font-weight: bold;
    font-size: 1em;
    display: block;
    margin-bottom: 5px;
}

.coupon-section input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.totals-section {
    margin-bottom: 20px;
}

.totals-item {
    display: flex;
    justify-content: space-between;
    font-size: 1em;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.totals-item span {
    font-weight: bold;
}

.coupon-code {
    display: flex;
    align-items: center;
}

.remove-coupon {
    background: none;
    border: none;
    color: #e63946;
    font-size: 1em;
    cursor: pointer;
    margin-left: 5px;
}

.shipping-details {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.shipping-details a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9em;
}

.shipping-options {
    margin-top: 10px;
}

.shipping-options label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 5px;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .cart-layout {
        flex-direction: column;
    }

    .cart-totals {
        margin-top: 20px;
    }
}


/* Checkout Title */
.checkout-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

/* Checkout Layout */
.checkout-layout {
    display: flex;
    gap: 30px;
    margin: 20px 10px;
}

/* Checkout Form */
.checkout-form {
    flex: 2;
}

.section {
    margin-bottom: 20px;
}

.section h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.section p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

input[type="email"], 
input[type="text"],
input[type="password"], 
input[type="contact_number"], 
input[type="tel"], 
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.name-fields, .location-fields {
    display: flex;
    gap: 10px;
}

.name-fields input, .location-fields input {
    flex: 1;
}

label {
    display: block;
    margin: 10px 0;
}

input[type="checkbox"] {
    margin-right: 5px;
}

/* Order Summary */
.order-summary {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-summary h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.summary-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 15px;
}

.summary-details {
    margin-top: 20px;
}

.totals-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}


.terms p {
    font-size: 0.9em;
    color: #666;
}

.terms a {
    color: #007bff;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .checkout-layout {
        flex-direction: column;
    }

    .order-summary {
        margin-top: 20px;
    }

    .name-fields, .location-fields {
        flex-direction: column;
    }
}

.summary-product {
    width: 90%; 
    display: flex;
}

span.summary-price {
    font-weight: bold;
}


/* Order Complete Message */
.order-complete {
    margin-bottom: 40px;
}

.order-complete h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.order-complete p {
    font-size: 1em;
    color: #666;
}

/* Order Summary */
.order-summary {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.order-summary h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.summary-details {
    text-align: left;
    margin: 0 auto;
    max-width: 400px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1em;
    border-bottom: 1px solid #ddd;
}

/* Ordered Products */
.ordered-products {
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.ordered-products h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 15px;
}

.product-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 15px;
}

.product-item p {
    margin: 5px 0;
    font-size: 1em;
    color: #333;
}

/* Shipping Address */
.shipping-address {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.shipping-address h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.shipping-address p {
    font-size: 1em;
    color: #555;
    margin-bottom: 5px;
}

/* Back to Home Button */
.back-home {
    margin-top: 20px;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .summary-details, .shipping-address {
        max-width: 100%;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-item img {
        margin-bottom: 10px;
    }
}

/* Orders Title */
.orders-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Order Item */
.order-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.order-details {
    text-align: left;
    max-width: 70%;
}

.order-details p {
    font-size: 1em;
    margin: 5px 0;
}

.view-details-button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 10px;
}

.view-details-button:hover {
    background-color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .order-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-details {
        max-width: 100%;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    flex-direction: column;
    z-index: 9;
}

.dropdown-menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f3f3f3;
}

.dropdown:hover > .dropdown-menu {
    display: flex;
}

/* Second-Level Dropdown */
.dropdown .dropdown {
    position: relative;
}

.dropdown .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dropdown .dropdown-menu .dropdown:hover > .dropdown-menu {
    display: flex;
}


.center-model {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 20px;
    width: 100%;
    position: relative;
}

.razorpay-payment-button{
    background-color: #37505d;
    color: #fff;
    padding: 16px 35px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.1rem;
    line-height: inherit;
    padding-top: 1rem;
    padding-right: 2.2rem;
    padding-bottom: 1rem;
    padding-left: 2.2rem;
    text-decoration: none;
    text-transform: uppercase;  
}

.modal-header {
    text-align: center;
    font-size: 25px;
    border-bottom: 1px solid;
    padding: 5px 0;
}