﻿:root {
    --sidebar-width: 200px;/*270px;*/
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    font-family: "Times New Roman", Arial, sans-serif;
    font-size:16px;
}
/*.main, img {
    border: 1px solid red;
}*/
    .main > *:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: white; /*#7d2fa7;linear-gradient(to bottom, #2c3e50, #34495e);*/
    color: #4d0000;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
#sidenav a {
    font-size: 1rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    font-family: "Times New Roman", Times, serif;
    box-sizing: border-box;
    color: #4d0000;
}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:flex-start;  /*flex-end; right align */
    flex-grow: 1;
    gap: 20px;
}
    .nav-links a {
        display: flex;
        align-items: center;
        justify-content:flex-start;/*keeps content left - flex-end;  keeps content to the right */
        gap: 10px;
        color: #4d0000 !important;
        text-decoration: none;
        padding: 12px 16px;
        font-size: 18px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 8px;
        min-width: 0;
    }

        .nav-links a i {
            font-size: 18px;
            color: #f1f1f1;
            min-width: 20px;
        }

        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            color: #ffd700;/*ffcc00;*/
            transform: translateX(-5px);
        }
/* Show text by default (large screens) */
.sidenav a span {
    display: inline;
    margin-left: 10px;
}
.main {
    margin-left: var(--sidebar-width);
     /*padding: 20px;*/ 
    box-sizing: border-box;
    flex: 1;
    /*border:2px dashed red;*/ 
    margin-top:0;
    padding-top:0;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    top:0;
}

.logo {
    /*max-width: 130px;*/
    width: 100%;
    max-width: 250px;
    /*width: 100%;*/
    height: auto;
    border-radius: 10px;
}

/*.welcome-section {
    font-family: 'Dancing Script', cursive;
    font-size: 2.3rem;
    line-height: 2.6rem;
    color: #e3e30c;
    padding: 40px 10%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    position: relative;
}

    .welcome-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/spice-bg.jpg') no-repeat center center;
        background-size: cover;
        filter: blur(2px);
        z-index: -1;
    }

    .welcome-section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }*/

.cart-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 10px;
    border-radius: 8px;
    gap: 10px;
    transition: background 0.3s;
}

.cart-icon-wrap {
    position: relative;
    display: inline-block;
    font-size: 24px;
}

.cart-icon {
    font-size: 24px;
}

#cartSummary {
    font-size: 16px;
    color: #f1c40f;
}

.badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: red;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
}

.product-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    font-family:"Times New Roman", sans-serif;
}

.product-card {
    flex: 0 0 calc(33.33% - 40px); /* 3 columns with spacing */
    background: floralwhite;/* #ccb363;*/ /*#f9f9cc;  #f8f8f8; */
    padding: 5px; /*20px;*/
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    border-radius: 8px;
    /*flex: 1 1 300px;
    max-width: 100%;*/
    box-sizing: border-box;
}

.quantity-control {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
    border: none;
    background-color: #9d8d58; /*#007bff;*/
    color:  white;
    border-radius: 5px;
    cursor: pointer;
}

.qty {
    min-width: 20px;
    text-align: center;
    font-size: 18px;
}
.responsive-img {
    /*width: 100%;*/
    max-width: 100%; /* 300px;*/
    height: 300px; /*auto;*/
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}
section * {
    margin-top: 0;
    margin-bottom: 0;
}
section {
    padding: 40px 20px;
    border-bottom: 1px solid #ccc;
}

    section h2, section p {
        margin-top: 0;
    }

.shipping-banner {
    width: 100%;
    overflow: hidden;
    /*background-color: #f44336;*/ /* or your preferred color */
    color: #5444f4;/*white;*/
    padding: 10px 0;
    position: relative;
    z-index: 10;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
    padding-left: 100%;
}
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}
/*text fstyle for welcome footer*/
.styled-text {
    background-color:white;/* #FBEDC3;*/ /* Warm cream background */
    border-left: 5px solid firebrick; /* Elegant accent border */
    padding: 20px;
    margin: 20px auto;
    max-width: 100%;
    font-family: 'Times New Roman', serif; /* Classic and readable font */
    font-size: 18px;
    line-height: 1.6; /* Better readability */
    text-align: left;
    color: #5C4033; /* Deep brown text color */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/*text welcome footer ends here*/
/* about us */
/* Legacy Line container */
.legacy-line {
    padding: 0;
    margin: 0;
    background-color: #C27E35;
    color: #f5ec22;
}

    /* Section styling */
    .legacy-line .section-block {
        padding: 5px 5px;
        background-size: cover;
        background-position: center;
    }

/* Individual background colors */
.section-1 {
    background-color: #76290b;/*#fff8e1;*/
}

.section-2 {
    background-color: #76290b; /*#f3e5ab;*/
}

.section-3 {
    background-color:#1E3226;/* #e1f5fe;*/
}

.section-4 {
    background-color: #1E3226; /* #fce4ec;*/
}

.section-intro {
    background-color: #C27E35;/*#fdfdfd;*/
}

/* Section headings colors */
.section-heading.color-1 {
    color: #f5ec22;/*  " #c94d3f;*/
}

.section-heading.color-2 {
    color: #f5ec22; /*#9c4e14;*/
}

.section-heading.color-3 {
    color: #f5ec22; /*#6a3f9c;*/
}

.section-heading.color-4 {
    color: #f5ec22; /*#b22222;*/
}

/* Image + text layout */
    .legacy-line .image-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.legacy-line .row-left img {
    order: 0;
}

.legacy-line .row-right .text {
    order: 0;
}

.legacy-line .row-right img {
    order: 1;
}

/* Image styles */
.legacy-line .image-text img {
    width: 260px;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Text */
.legacy-line .image-text .text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Members Gallery */
.team-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 10px;
    background-color: #C27E35; /*#f2f2f2;*/
    color: #f5ec22; 
}

    .team-gallery .member {
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .team-gallery .member img {
            width: 120px;
            height: 160px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .team-gallery .member:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

.member .name {
    font-weight: bold;
}

.member .role {
    font-size: 0.9rem;
    color: #f5ec22; /* #555;*/
}

/* Headings */
    .main-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.tagline {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.description {
    text-align: center;
    font-size: 1.1rem;
    margin: 0 auto;
    max-width: 800px;
}
/* newly added for about us section*/
.section-block.combined {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

    .section-block.combined img {
        width: 40%;
        max-width: 180px;
        height: auto;
        margin-top:20px;
    }

    .section-block.combined .section-heading {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 1.5em;
    }
/*section combined ends here */

/* swal styles for image description*/
/* Force wide SweetAlert popup */

.imgdesc-table {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    /*border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 1rem;*/
}
.imgdesc-table td {
    flex: 1 1 45%;
    box-sizing: border-box;
    min-width: 300px;
}

/* Stack vertically on smaller screens */
@media screen and (max-width: 768px) {
    /*.swal-img-col, .swal-desc-col {
        flex: 1 1 100%;
    }*/
    .imgdesc-table, .imgdesc-table td {
        display: block;
        width: 100%;
    }
}

/*swal style ends here*/
@media (max-width: 768px) {
    .section-block.combined {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

        .section-block.combined img {
            width: 60% !important;
            max-width: 200px !important;
            margin: 20px auto !important;
            display: block !important;
        }

        .section-block.combined div {
            order: 2;
            width: 100%;
            text-align: center;
        }

        .section-block.combined img:first-child {
            order: 1;
        }

        .section-block.combined img:last-child {
            order: 3;
        }
}

/* about us ends here*/

/* Responsive */
@media (max-width: 768px) {
    .image-text {
        flex-direction: column;
        text-align: center;
    }

        .image-text img {
            width: 80%;
            height: auto;
        }
}

@media (max-width: 768px) {
    .team-gallery {
        flex-direction: column;
        align-items: center;
    }

        .team-gallery .member {
            max-width: 90%;
        }
}

/*about us end here*/


@media (max-width: 600px) {
    .shipping-banner {
        font-size: 14px;
    }
}
/*@media (max-width: 768px) {
    :root {
        --sidebar-width: 180px;
    }

    #sidenav a {
        font-size: 0.85rem !important;        
    }

        #sidenav a i {
            font-size: 16px;*/ /* Make icon smaller for small screens */
        /*}
}*/
@media (max-width: 768px) {
    :root {
        --sidebar-width: 70px;
    }

    #sidenav {
        width: var(--sidebar-width);
    }

        .sidenav a {
            font-size: 0.85rem !important;
            justify-content: center; /* Center icons horizontally */
            padding: 12px 0;
        }

            .sidenav a span {
                display: none; /* Hide text on small screen */
            }

            .sidenav a i {
                font-size: 18px;
            }
}

/*product card media*/
@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 600px) {
    .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}



