:root {
    --header-bg: #FFD180;               /* Bright Amber */
    --navbar-bg: #FFB74D;               /* Strong Orange */
    --footer-bg: #FFAB40;               /* Deeper footer contrast */
    --nav-link-color: #1B1B1B;          /* Dark Blackish Gray */
    --nav-link-hover: #FF6D00;          /* Deep Saturated Orange */
    --fixed-box-bg: #FF8F00;            /* Vibrant Orange Box */
    --body-bg: #FFF3E0;                 /* Pale Orange for contrast */
    --text-color: #212121;              /* Near black for clean typography */
    --blue-primary: #1E88E5;            /* Bold Blue for buttons/accents */
    --blue-dark: #0D47A1;
    --red-danger: #D32F2F;              /* Bold red */
    --red-dark-danger: #B71C1C;
    --green-success: #388E3C;           /* Rich Green */
    --green-dark-success: #1B5E20;
    --product-price-color: #2E7D32;     /* Dark Green for Price */
    --product-amount-color: #C62828;    /* Deep Red for Amount */
    --category-border-color: #FF9800;   /* Strong Orange Border */
    --search-bg: #FFE082;               /* Bright Yellow/Amber BG */
    --search-border: #FF6F00;  
    --text-color-white:rgb(255, 255, 255);  
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



/* Header Section */
.header-bg {
    background-color: var(--header-bg);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo-title {
    display: grid;
    grid-template-columns: 1fr 10fr;
    justify-content: center;
    align-items: center;
    margin-left: 35%;
    color: var(--text-color);
}

.site-logo{
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}


.logo-title h1 {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-color);
}
.heading-logo{
    width: 300px;
    height: 50px;
}

@media (max-width: 768px) {
    .logo-title {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .logo-title h1 {
        font-size: 25px;
    }

    .logo-title {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Navbar Section */
.navbar-bg {
    background-color: var(--navbar-bg);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--nav-link-color);
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--nav-link-hover);
    color: var(--text-color-white);
}

.toggle-button {
    display: none;
    background-color: var(--navbar-bg);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
    display: none;
}

.mobile-menu-backdrop.active {
    display: block;
}

@media (max-width: 768px) {
    .navbar-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 250px;
        background-color: var(--navbar-bg);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 200;
        padding-top: 70px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }

    .navbar-links.active {
        transform: translateX(0);
    }

    .toggle-button {
        display: block;
        position: fixed;
        top: 40px;
    }

    .nav-link {
        width: 80%;
        margin: 10px auto;
    }
}

/* Footer Section */
.footer-bg {
    background-color: var(--footer-bg);
    padding: 2rem;
    color: var(--text-color);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-bg .container>div {
        text-align: center;
    }

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

    .footer-bg ul li {
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .footer-bg address p {
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .footer-bg .map-placeholder {
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
    }
}

/* General Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fixed Elements */
.fixed-box {
    background-color: var(--fixed-box-bg);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: fixed;
    z-index: 50;
}

.shop-box {
    position: fixed;
    text-decoration: none;
    bottom: 200px;
    left: -35px;
    background-color: var(--green-success);
    color: var(--text-color);
    padding: 15px 10px;
    border-radius: 0 30px 30px 0;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: left 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
    opacity: 0.4;
    line-height: 1.5;
    height: auto;
    max-height: none;
    overflow: visible;
}

.shop-box span {
    transform: translateX(0px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: var(--text-color-white);
}

.shop-box.show {
    left: 0px;
    opacity: 1;
}

.shop-box.show span:nth-child(1),
.shop-box.show span:nth-child(2),
.shop-box.show span:nth-child(3),
.shop-box.show span:nth-child(4) {
    transition-delay: 0.1s;
    transform: translateX(0);
    opacity: 1;
}

.claim-offer {
    position: fixed;
    text-decoration: none;
    bottom: 150px;
    right: -80px;
    background-color: var(--nav-link-hover);
    color: var(--text-color-white);
    padding: 15px 25px;
    border-radius: 30px 0 0 30px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: right 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
    opacity: 0.4;
}

.claim-offer.show {
    right: 0px;
    opacity: 1;
}

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 60px;
    border-radius: 10px;
    background-color: var(--text-color);
    color:var(--text-color-white);
    padding: 0.4rem;
    display: flex;
    margin-left: 15%;
    justify-content: space-around;
    align-items: center;
    z-index: 40;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.fixed-bottom-bar-div {
    gap: 3rem;
}

@media (min-width: 769px) {
    .fixed-box.right-4.bottom-24 {
        right: 2.5rem;
        bottom: 6rem;
    }

    .fixed-box.left-4.bottom-24 {
        left: 2.5rem;
        bottom: 6rem;
    }
}

@media (max-width: 768px) {
    .fixed-bottom-bar {
        position: fixed;
        bottom: 0px;
        left: 0;
        margin-left: 0;
        width: 100%;
        flex-direction: row;
        height: 50px;
    }

    .fixed-bottom-bar>div {
        gap: 20px;
        font-size: small;
    }

    .fixed-bottom-bar .cart-button {
        width: 50px;
        border: none;
    }

    .fixed-box.left-4.bottom-4,
    .fixed-box.right-4.bottom-4 {
        display: none;
    }

    .claim-offer {
        right: -80px;
        bottom: 150px;  
        padding: 8px 10px;
    }

    .claim-offer.show {
        right: 0px;
        bottom: 300px;
    }

    .shop-box {
        left: -35px;
        bottom: 150px;
        padding: 8px 6px;
    }
}

/* Animations */
@keyframes blink {
    0% {
        opacity: 1;
        background-color: var(--red-danger);
    }

    50% {
        opacity: 0.2;
        background-color: var(--red-dark-danger);
    }

    100% {
        opacity: 1;
        background-color: var(--red-danger);
    }
}

.animate-blink {
    animation: blink 1.5s ease-in-out infinite;
}

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

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

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Buttons */
.download-button {
    background-color: var(--blue-primary);
    color: var(--text-color-white);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    justify-content: center;
    animation: blink 1.5s ease-in-out infinite;
}

.download-button:hover {
    background-color: var(--blue-dark);
}

.cart-button {
    background-color: var(--blue-primary);
    color: var(--text-color-white);
    font-weight: bold;
    padding: 5px 20px;
    border: none;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.cart-button:hover {
    background-color: var(--blue-dark);
}

@media (min-width: 769px) {
    .download-button.md-hidden {
        display: none;
    }

    .download-button.md-flex {
        display: grid;
        grid-template-columns: 30px 1fr;
        position: fixed;
        right: 1rem;
        top: 1rem;
        z-index: 50;
    }
}

@media (max-width: 768px) {
    .download-button.md-hidden {
        display: grid;
        grid-template-columns: 30px 1fr;
        width: 200px;
        font-size: medium;
        
        margin: auto;
        margin-top: 20px;
    }

    .download-button.md-flex {
        display: none;
    }
}

/* Home page */
#home {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Carousel Styles */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.carousel-slides {
    display: inline-flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-color);
}

.carousel-caption h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.carousel-caption .nav-link {
    background-color: var(--nav-link-hover);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.carousel-caption .nav-link:hover {
    background-color: var(--category-border-color);
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--text-color);
}

/* Categories Section Styles */
.categories-section {
    text-align: center;
}

.categories-section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.categories-container {
    overflow: hidden;
    position: relative;
}

.categories-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.category-card {
    flex: 0 0 auto;
    width: 200px;
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.category-card h3 {
    font-weight: 600;
    color: var(--green-success);
    margin-bottom: 0.25rem;
}

.category-card p {
    color: var(--text-color);
    font-size: 0.875rem;
    margin-top: 0px;
}

.feature-section {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-section .feature-image img {
    width: 90%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.feature-section .feature-content {
    flex: 1;
    text-align: center;
}

.feature-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.feature-section p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-color);
}

.feature-section .page-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--category-border-color);
    color: var(--text-color-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.feature-section .page-link:hover {
    background-color: var(--nav-link-hover);
}


@media screen and (max-width: 1024px) {
    .feature-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .feature-section .feature-image img {
        width: 100%;
        height: 300px;
    }

    .feature-section .feature-content {
        text-align: center;
    }

    .feature-section h3 {
        font-size: 1.3rem;
    }

    .feature-section p {
        font-size: 0.95rem;
    }

    .feature-section .page-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* For screens up to 768px */
@media screen and (max-width: 768px) {
    .feature-section {
        grid-template-columns: 1fr;
        padding: 0.8rem;
    }

    .feature-section .feature-image img {
        height: 250px;
        border-radius: 12px;
    }

    .feature-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .feature-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .feature-section .page-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* For screens up to 476px */
@media screen and (max-width: 476px) {
    .feature-section {
        padding: 0.5rem;
        gap: 0.8rem;
    }

    .feature-section .feature-image img {
        height: 200px;
        border-radius: 8px;
    }

    .feature-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .feature-section p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .feature-section .page-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Infinite Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-slide img {
        height: auto;
    }

    .category-card {
        width: 100px;
    }
    .category-card img {
        margin-bottom: 0.2rem;
            height: 100px;
    }
    .category-card h3 {
        font-weight: 700;
        font-size: 15px;
        color: var(--green-success);
        margin-bottom: 0.25rem;
    }
    .category-card p {
        color: var(--text-color);
        font-size: 10px;
    }
}

/* About */
#about {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

#about h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--blue-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--green-success);
}

.about-intro {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.intro-image {
    flex: 1;
    width: 100%;
}

.intro-image img {
    width: 100%;
    object-fit: cover;
    height: auto;
    border-radius: 20px;
}

.intro-text {
    flex: 2;
}

.intro-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-success);
    margin-bottom: 0.5rem;
}

.intro-text p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.about-row {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.values-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.value-item img {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
}

.value-item h4 {
    font-weight: 600;
    color: var(--green-success);
    margin-bottom: 0.25rem;
}

.value-item p {
    color: var(--text-color);
    font-size: 0.875rem;
}

.feature-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 20px;
}

.cta {
    text-align: center;
}

.cta .nav-link {
    background-color: var(--nav-link-hover);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta .nav-link:hover {
    background-color: var(--category-border-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-intro {
        flex-direction: column;
        text-align: center;
    }

    .intro-image {
        max-width: 200px;
    }

    .about-row {
        flex-direction: column;
    }

    .feature-image img {
        width: 100%;
    }

    .intro-text p,
    .value-item p {
        font-size: 0.9rem;
    }

    .value-item img {
        width: 60px;
        height: 60px;
    }
}

/* Contact */
#contact {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    color: var(--text-color);
}

#contact h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 1rem;
    position: relative;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--nav-link-hover);
}

.intro-text {
    text-align: center;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form-section,
.contact-info-section {
    flex: 1;
    background-color: var(--body-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3,
.contact-info-section h3,
.social-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-bottom: 1rem;
}

.contact-info-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem 0.3rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--search-border);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-color);
    background-color: var(--body-bg);
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

.send-button {
    background-color: var(--blue-primary);
    color: var(--text-color-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.send-button:hover {
    background-color: var(--blue-dark);
}

.contact-info-section p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.icon {
    font-size: 1rem;
}

.social-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--nav-link-hover);
}

.map-section {
    width: 100%;
    margin-top: 1.5rem;
}

.map-section iframe {
    border-radius: 8px;
    border: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .send-button {
        width: auto;
    }

    .map-section iframe {
        height: 200px;
    }
}

/* Product and Cart */
.product-image-wrapper {
    width: 100px;
    height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 250px 1fr;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--search-border);
    border-radius: 8px;
    background-color: var(--body-bg);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 1rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-controls button {
    background-color: var(--blue-primary);
    color: var(--text-color-white);
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-item-controls button:hover {
    background-color: var(--blue-dark);
}

.cart-item-controls input {
    width: 40px;
    text-align: center;
    border: 1px solid var(--search-border);
    border-radius: 4px;
    padding: 0.3rem;
}

.cart-item-delete {
    background-color: var(--red-danger) !important;
    margin-left: 1rem;
}

.cart-item-delete:hover {
    background-color: var(--red-dark-danger) !important;
}

.cart-badge {
    background-color: var(--red-danger);
    color: var(--text-color-white);
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 9999px;
    padding: 0.1rem 0.5rem;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    text-align: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.quantity-control button {
    background-color: var(--blue-primary);
    color: var(--text-color);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-control button:hover {
    background-color: var(--blue-dark);
}

.quantity-control input {
    width: 3rem;
    text-align: center;
    border: 1px solid var(--search-border);
    border-radius: 4px;
    padding: 0.3rem;
}

@media (max-width: 768px) {
    .cart-item-delete {
        display: none;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 1fr 1fr 120px;
        padding: 0.40rem;
        margin-bottom: 0.4rem;
    }

    .cart-item-controls input {
        width: 25px;
    }

    .cart-item-details p {
        font-size: small;
    }
}

/* Footer Contact */
.contact-info {
    font-style: normal;
}

.grid-container {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 10px;
}

.contact-info .icon {
    justify-self: start;
    display: flex;
    align-items: center;
}

.contact-info .text-content {
    justify-self: center;
    text-align: center;
}

.contact-info .email-link,
.contact-info .toll-link,
.contact-info .phone-link {
    text-decoration: none;
    color: var(--nav-link-color);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--body-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 0.5rem;
        max-width: 400px;
        max-height: 80%;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--search-border);
    padding-bottom: 0.75rem;
}

.modal-body {
    flex-grow: 1;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.modal-footer {
    border-top: 1px solid var(--search-border);
    padding-top: 0.75rem;
    text-align: center;
}

#cart-items-container {
    overflow-y: auto;
    padding: 10px;
}

.image-modal-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Search and Category */
.search-filter-bar {
    background-color: var(--search-bg);
    border: 1px solid var(--search-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 93%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.search-filter-bar input,
.search-filter-bar select {
    background-color: var(--body-bg);
    border: 1px solid var(--search-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s;
    width: 100%;
    max-width: 23%;
    box-sizing: border-box;
}

.search-filter-bar input:focus,
.search-filter-bar select:focus {
    outline: none;
    border-color: var(--nav-link-hover);
}

@media (max-width: 768px) {
    .search-filter-bar {
        flex-direction: column;
        padding: 5px;
        max-width: 90%;
    }

    .search-filter-bar input,
    .search-filter-bar select {
        max-width: 100%;
    }
}

.category-tab {
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.category-tab.active {
    border-color: var(--nav-link-hover);
    color: var(--nav-link-hover);
    font-weight: 600;
}

.category-tab:hover {
    color: var(--nav-link-hover);
}

/* Product Table */
.product-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.product-table thead,
.product-table tbody,
.product-table tr {
    text-align: center;
    width: 100%;
}

.product-table th,
.product-table td {
    display: table-cell;
    text-align: center;
    padding: 12px 16px;
}

.product-table thead th {
    background-color: var(--category-border-color);
    color: var(--text-color);
    padding: 12px 16px;
    text-align: center;
}
#product-sction h2 , #about-heading ,#contact-heading{
    font-size: 30px;
    color: var(--text-color);
}

/* .product-table tbody tr {
    /* border-bottom: 1px solid var(--search-border); 
} */

.category-row {
    background-color: var(--search-bg);
    font-weight: bold;
    color: var(--text-color);
    padding: 0.75rem 1rem;
    /* border-bottom: 2px solid var(--search-border); */
    width: 100%;
}

.category-row td {
    padding: 0.75rem 1rem !important;
    width: 100%;
}

@media (max-width: 768px) {
    .product-table thead th {
        display: none;
    }

    .product-table,
    .product-table thead,
    .product-table tbody,
    .product-table th,
    .product-table tr,
    .product-table td {
        display: block;
        width: 99%;
        padding: 0px;
    }

    .product-table thead {
        display: none;
    }

    .category-row {
        padding: 0px;
    }

    .product-table .product-row {
        display: grid;
        grid-template-columns: 2fr 40px 1fr;
        gap: 10px;
        background-color: var(--body-bg);
        border-radius: 10px;
        margin-bottom: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .product-table td:nth-child(1) {
        /* Image */
        grid-column: 1 / 2;
        grid-row: 1 / span 3;
        place-content: center;
    }

    .product-table td .product-image-wrapper {
        width: 100%;
        height: 100%;
        justify-content: center;
        place-content: center;
        align-items: center;
    }

    .product-table td:nth-child(1) img {
        width: 70px;
        height: 70px;
        padding: 10px;
        border-radius: 6px;
    }

    .product-table td:nth-child(2) {
        /* English Name */
        grid-column: 2 / span 2;
        grid-row: 1 / 2;
        font-weight: bold;
        font-size: 1.4rem;
        color: var(--text-color);
    }

    .product-table td:nth-child(3) {
        /* Tamil Name */
        grid-column: 2 / 2;
        grid-row: 2 / 3;
        font-style: italic;
        font-size: 0.9rem;
        color: var(--text-color);
    }

    .product-table td:nth-child(4) {
        /* Price */
        grid-column: 2 / 2;
        grid-row: 3 / 4;
    }

    .product-table td:nth-child(5) {
        /* Quantity */
        grid-column: 3 / 3;
        grid-row: 2 / 3;
        place-content: center;
    }

    .product-table td:nth-child(6) {
        /* Amount */
        grid-column: 3 / 3;
        grid-row: 3 / 4;
        place-content: center;
        font-weight: bold;
        font-size: 1rem;
        color: var(--product-amount-color);
    }

    .table-cont {
        padding: 0px;
    }
}

@media (max-width: 480px) {
    .product-table tr {
        grid-template-columns: 10px 2fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.4rem;
        padding: 10px 15px 10px 0px;
    }

    .product-table td:nth-child(2) {
        font-size: 1rem;
    }

    .product-table td:nth-child(3),
    .product-table td:nth-child(4),
    .product-table td:nth-child(5),
    .product-table td:nth-child(6) {
        font-size: clamp(0.75rem, 1.5vw, 1.1rem);
    }

    .product-table td:nth-child(1) img {
        width: 60%;
        height: 70px;
    }

    .quantity-control button {
        width: 1.7rem;
        height: 1.7rem;
        font-size: clamp(0.75rem, 1.2vw, 1rem);
    }

    .quantity-control input {
        width: 2.5rem;
        font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    }

    .product-table td:nth-child(6) {
        color: var(--product-amount-color);
        font-weight: bold;
    }
}

.page-scroll-link {
    transition: color 0.3s;
}

.page-scroll-link:hover {
    color: var(--nav-link-hover);
}

/* FAQ */
#faq {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

#faq h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 1.5rem;
    position: relative;
}

#faq h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--nav-link-hover);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faq-item {
        padding: 0.75rem;
    }
}

/* Privacy */
#privacy-policy {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

#privacy-policy h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 1.5rem;
    position: relative;
}

#privacy-policy h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--nav-link-hover);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-item {
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-bottom: 0.5rem;
}

.policy-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .policy-item {
        padding: 0.75rem;
    }
}

/* Shipping */
#shipping-delivery {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

#shipping-delivery h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 1.5rem;
    position: relative;
}

#shipping-delivery h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--nav-link-hover);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-item {
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-bottom: 0.5rem;
}

.policy-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .policy-item {
        padding: 0.75rem;
    }
}

/* Returns and Refund */
#returns-refunds {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

#returns-refunds h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 1.5rem;
    position: relative;
}

#returns-refunds h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--nav-link-hover);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-item {
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-bottom: 0.5rem;
}

.policy-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .policy-item {
        padding: 0.75rem;
    }
}

/* Terms and Conditions */
#terms-conditions {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--body-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

#terms-conditions h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 1.5rem;
    position: relative;
}

#terms-conditions h2::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--nav-link-hover);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-item {
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nav-link-hover);
    margin-bottom: 0.5rem;
}

.policy-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .policy-item {
        padding: 0.75rem;
    }
}

.discount-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--red-danger);
    color: var(--text-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.product-image-wrapper {
    position: relative;
    display: inline-block;
}

.product-image-wrapper img {
    width: 90%;
    height: 100%;
    display: block;
}

@media (max-width: 600px) {
    .discount-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
}

#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 20px;
    background-color: var(--nav-link-hover);
    color: var(--text-color-white);
    border: none;
    outline: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#goTopBtn:hover {
    background-color: var(--footer-bg);
    color: var(--text-color);
    transform: scale(1.1);
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    #goTopBtn {
        bottom: 70px;
        right: 20px;
        font-size: 16px;
        padding: 10px 14px;
    }
}

@media (max-width: 476px) {
    #goTopBtn {
        bottom: 70px;
        right: 15px;
        font-size: 20px;
        padding: 8px 12px;
    }
}

.product-detail-main {
    flex-grow: 1;
    padding: 1rem 2rem;
    background-color: var(--body-bg);
}

.product-detail-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-detail-back-btn {
    display: flex;
    align-items: center;
    background-color: var(--blue-primary);
    color: var(--text-color-white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.product-detail-back-btn span {
    margin-left: 0.5rem;
}

.product-detail-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    height: auto;
    flex-wrap: wrap;
    column-gap: 100px;
    row-gap: 40px;
    align-items: stretch;
}

.product-detail-image-wrapper {
    flex: 0 0 auto;
    width: 400px;
    height: 450px;
    position: relative;
}

.product-detail-image-wrapper img {
    width: 400px;
    height: 450px;
    border-radius: 8px;
    object-fit: cover;
}

.product-detail-discount-badge {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--red-danger);
    color: var(--text-color-white);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-detail-info {
    flex: 1;
    min-width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-detail-name {
    font-weight: 600;
    color: var(--blue-primary);
    font-size: 30px;
    margin: 0;
}

.product-detail-tamil-name {
    color: var(--text-color);
    font-size: 0.875rem;
    margin: 0;
}

.product-detail-original-price {
    color: var(--text-color);
    text-decoration: line-through;
    margin: 0;
}

.product-detail-discount-price {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--product-price-color);
    margin: 0;
}

.product-detail-quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-quantity-btn {
    background-color: var(--blue-primary);
    color: var(--text-color-white);
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
}

.product-detail-quantity-input {
    width: 3rem;
    text-align: center;
    border: 1px solid var(--search-border);
    border-radius: 4px;
    padding: 0.3rem;
}

.product-detail-amount {
    font-weight: bold;
    font-size: 1.125rem;
    color: var(--product-amount-color);
    margin: 0;
}

.related-products-section {
    margin-top: 2rem;
}

.related-products-heading {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.related-products-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.product-detail-description{
    border: 1px solid black;
    padding: 5px 20px;
    border-radius: 20px;
    height: auto;
    width: 90%;
    background-color: rgb(255, 245, 227);
}
.product-detail-description p {
    width: 100%;
}

.product-section-big-description {
    border: 1px solid black;
    padding: 5px 30px;
    border-radius: 20px;
    height: auto;
    width: 100%;
    background-color: rgb(255, 245, 227);
}
.product-section-big-description div {
    width: 100%;
}

.watch-demo-btn {
  display: inline-flex;
  align-items: center;
  width: 20%;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--fixed-box-bg);
  color: var(--text-color-white);
  border: 2px solid var(--category-border-color);
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  animation: colorPulse 4s ease-in-out infinite;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

@keyframes colorPulse {
  0% {
    background: var(--fixed-box-bg);
    border-color: var(--category-border-color);
  }
  50% {
    background: var(--nav-link-hover);
    border-color: var(--search-bg);
  }
  100% {
    background: var(--fixed-box-bg);
    border-color: var(--category-border-color);
  }
}

.watch-demo-btn:hover {
  background: var(--nav-link-hover);
  border-color: var(--category-border-color);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: none; /* Stop idle animation on hover */
}

.watch-demo-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: none; /* Stop idle animation on click */
}

.watch-icon {
  width: 20px;
  height: 20px;
  animation: iconPulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

.watch-demo-btn:hover .watch-icon {
  transform: scale(1.2);
  animation: none; /* Stop idle animation on hover */
}

.watch-demo-btn:active .watch-icon {
  transform: scale(0.9);
}

/* Responsive Design for 768px */
@media (max-width: 768px) {
  .watch-demo-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  .watch-icon {
    width: 18px;
    height: 18px;
  }
  .product-section-big-description{
    padding: 5px 15px;
  }
  .product-detail-description{
    padding: 5px 15px;
  }
}

/* Responsive Design for 476px */
@media (max-width: 476px) {
  .watch-demo-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: 40%;
  }

  .watch-icon {
    width: 16px;
    height: 16px;
  }
  .product-section-big-description {
    width: 90%;
  }
}

.related-products-card {
    border: 1px solid var(--category-border-color);
    border-radius: 8px;
    padding: 1rem;
    background-color: var(--body-bg);
    text-align: center;
}

.related-products-card a {
    text-decoration: none;
    color: inherit;
}

.related-products-card img {
    width: 150px;
    height: 170px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto;
}

.related-products-card p {
    margin: 0.5rem 0;
}

.related-products-card p:nth-child(2) {
    font-weight: 600;
    color: var(--blue-primary);
}

.related-products-card p:nth-child(3) {
    font-weight: bold;
    color: var(--product-price-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .related-products-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
    }
    .product-detail-image-wrapper {
        width: 100%;
        height: auto;
    }
    .product-detail-image-wrapper img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    .product-detail-info {
        height: auto;
        justify-content: flex-start;
    }
    .related-products-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 476px) {
    .product-detail-main {
        padding: 1rem;
    }
    .product-detail-section {
        padding: 1rem;
    }
    .product-detail-container {
        gap: 20px;
    }
    .product-detail-image-wrapper img {
        max-height: 300px;
    }
    .related-products-container {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    .related-products-card img {
        width: 120px;
        height: 135px;
    }
}

/* Blog */

.carousel-section {
  background: var(--body-bg);
  position: relative;
}

.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  visibility: visible;
}

.carousel-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border: 3px solid var(--category-border-color);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.carousel-image:hover {
  transform: scale(1.02);
}

.carousel-link {
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue-dark);
  border: none;
  padding: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  border-radius: 50%;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.carousel-control:hover {
  opacity: 1;
  background: var(--nav-link-hover);
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

.carousel-control-icon {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-size: cover;
}

.prev-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23FFFFFF" viewBox="0 0 24 24"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>');
}

.next-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23FFFFFF" viewBox="0 0 24 24"><path d="M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z"/></svg>');
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.blog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: var(--body-bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--fixed-box-bg);
  margin: 0.5rem auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--text-color-white);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--category-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image {
  opacity: 0.9;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.blog-date {
  font-size: 0.95rem;
  color: var(--product-price-color);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.card-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.btn-read-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--fixed-box-bg);
  color: var(--text-color-white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-read-more:hover {
  background: var(--nav-link-hover);
  transform: scale(1.05);
}

/* Responsive Design for 768px */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .carousel-image {
    height: 300px;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.95rem;
  }

  .blog-image {
    height: 180px;
  }

  .carousel-control {
    padding: 1rem;
  }

  .carousel-control-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* Responsive Design for 476px */
@media (max-width: 476px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .carousel-image {
    height: 160px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .blog-image {
    height: 160px;
  }

  .carousel-control {
    padding: 0.75rem;
  }

  .carousel-control-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .btn-read-more {
    padding: 0.5rem 1rem;
  }
}

/* Blog 1 */

.blog-post-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  background: var(--body-bg);
}

.post-card {
  background: var(--text-color-white);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--category-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.post-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.post-card:hover .post-image {
  opacity: 0.9;
}

.post-content {
  padding: 2rem;
}

.post-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  position: relative;
}

.post-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--fixed-box-bg);
  margin: 0.5rem 0;
}

.post-date {
  font-size: 1rem;
  color: var(--product-price-color);
  margin-bottom: 1rem;
  font-style: italic;
}

.post-summary {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.post-text {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.btn-back {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--fixed-box-bg);
  color: var(--text-color-white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-back:hover {
  background: var(--nav-link-hover);
  transform: scale(1.05);
}

/* Responsive Design for 768px */
@media (max-width: 768px) {
  .blog-post-section {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .post-image {
    height: 300px;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-summary {
    font-size: 1rem;
  }

  .post-text {
    font-size: 0.95rem;
  }

  .post-content {
    padding: 1.5rem;
  }

  .btn-back {
    padding: 0.6rem 1.2rem;
  }
}

/* Responsive Design for 476px */
@media (max-width: 476px) {
  .blog-post-section {
    margin: 1.5rem auto;
    padding: 0 0.5rem;
  }

  .post-image {
    height: 200px;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .post-summary {
    font-size: 0.9rem;
  }

  .post-text {
    font-size: 0.85rem;
  }

  .post-content {
    padding: 1rem;
  }

  .btn-back {
    padding: 0.5rem 1rem;
  }
}

/* Toast container */
#toast {
  visibility: hidden;
  max-width: 90%; /* responsive: max 90% of screen */
  width: auto;
  background-color: #28a745; /* green for success */
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 12px 20px;
  position: fixed;
  z-index: 9999;
  right: 20px;
  top: 20px;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Start hidden */
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Show state */
#toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #toast {
    left: 50%; /* center horizontally */
    right: auto;
    transform: translate(-50%, -20px);
    font-size: 14px;
    padding: 10px 15px;
  }

  #toast.show {
    transform: translate(-50%, 0); /* slide down from center */
  }
}



/* --- Add these styles to your style.css file --- */

#loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  z-index: 100; /* Make sure it's on top of the form */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.loader-spinner {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid var(--nav-link-hover); /* Your theme color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}