﻿/* ========================================
   MASTER CSS - Smooth & Modern
   KaashtKart - Professional Styling
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

/* ========================================
   GLOBAL STYLES
======================================== */
* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, a {
    font-family: "Montserrat", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

:root {
    --color-primary: #177e3f;
    --color-primary-dark: #125c2e;
    --color-primary-light: #1a9447;
    --color-secondary: #66bb2a;
    --color-text: #222;
    --color-text-light: #74787C;
    --color-border: #E2E2E2;
    --color-bg: #f5f5f5;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}
.bg-light-green {
    background-color: #efe !important;
    padding:40px 10px;
}
.fs-14{
    font-size:14px;
}
.sub-title {
    width: fit-content !important;
    font-weight: 600;
    font-size: 14px;
}
/* ========================================
   HEADER TOP AREA
======================================== */
.header-top-area {
    background: var(--color-primary);
    padding: 10px 0;
    transition: var(--transition-smooth);
}

.bwtween-area-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-number-area p {
    color: white;
    margin: 0;
    font-size: 14px;
}

.contact-number-area a {
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

    .contact-number-area a:hover {
        opacity: 0.85;
        text-decoration: underline;
    }

.discount-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .discount-area p {
        margin: 0;
        color: white;
    }

    .discount-area a {
        color: white;
        text-decoration: none;
        transition: var(--transition-smooth);
    }

        .discount-area a:hover {
            opacity: 0.9;
        }

/* ========================================
   LANGUAGE SELECTOR
======================================== */
.language-selector {
    position: relative;
}

.language-hover {
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

    .language-hover:hover {
        background:#fff !important;
    }

/* ========================================
   HEADER NAVIGATION
======================================== */
.rts-header-nav-area-one {
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header--sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   LOGO
======================================== */
.logo-area {
    display: inline-block;
    transition: var(--transition-smooth);
}

    .logo-area:hover {
        transform: scale(1.02);
    }

.logo {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* ========================================
   SEARCH AREA
======================================== */
.search-header-area-main {
    padding: 10px 0;
    border-top: 1px solid var(--color-border);
}

.search-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .search-header input {
        padding: 12px 18px;
        border: 2px solid var(--color-border);
        border-radius: 8px;
        font-size: 15px;
        transition: var(--transition-smooth);
        width: 100%;
    }

        .search-header input:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(23, 126, 63, 0.1);
        }

        .search-header input::placeholder {
            color: #999;
        }

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    .logo-search-category-wrapper .category-search-wrapper .search-header input {
        width: 600px;
    }
}

/* ========================================
   BUTTONS
======================================== */
.rts-btn.btn-primary {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .rts-btn.btn-primary:hover {
        background: var(--color-primary-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(23, 126, 63, 0.3);
    }

    .rts-btn.btn-primary:active {
        transform: translateY(0);
    }

/* ========================================
   ACCOUNT MENU DROPDOWN
======================================== */
.account-menu {
    position: relative;
    cursor: pointer;
}
    .account-menu > a:hover{
        color:#ffffff !important;
        transition:none !important;
    }
    .btn-border-only {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        /*    border: 2px solid var(--color-border);*/
        border-radius: 8px;
        background: white;
        color: var(--color-text);
        cursor: pointer;
        transition: none !important;
    }

    .btn-border-only:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
        background: rgba(23, 126, 63, 0.05);
        transition:none !important;
    }

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    width: 200px;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 99999;
}

.account-menu:hover .account-dropdown,
.category-hover-header:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

    .account-dropdown a:hover {
        background: #f0fdf4;
        color: var(--color-primary);
        border-left-color: var(--color-primary);
        padding-left: 20px;
    }

.login-btn {
    background: var(--color-primary);
    color: white !important;
    text-align: center;
    margin: 8px 12px;
    border-radius: 8px;
    padding: 10px 0;
    font-weight: 600;
    transition: var(--transition-smooth);
}

    .login-btn:hover {
        background: var(--color-primary-light);
        transform: scale(1.02);
    }


/*    Breadcrumb Style */

.rts-breadcrumb-area {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.bg_image {
        background-image: url(../images/breadcrumb-img.jpg);
        height: 250px;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
    }
    .rts-breadcrumb-area::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4); /* overlay strength */
        z-index: -1;
    }

.breadcrumb-inner .title {
    color: #fff;
    font-size: 46px;
    font-weight: 700;
}

.breadcrumb-item a {
    color: #c8f7c5;
}

.breadcrumb-item.active {
    color: #ffffff;
}

/* ========================================
   CATEGORY MENU
======================================== */
.category-hover-header {
    position: relative;
}

.category-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    width: 600px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 99999;
}


.category-hover-header:hover .category-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}


.category-sub-menu li {
    list-style: none;
    background: transparent;
}

    .category-sub-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        background: white;
        color: var(--color-text);
        text-decoration: none;
        border-radius: 6px;
        transition: var(--transition-smooth);
    }

        .category-sub-menu li a:hover {
            background: var(--color-primary);
            color: white;
/*            transform: translateX(5px);*/
        }

#category-active-four {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    column-gap: 20px;
    row-gap: 8px;
    max-height: none;
    overflow: visible;
    padding: 15px;
}

@media (min-width: 1200px) {
    #category-active-four {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

#category-active-four li {
    list-style: none;
    width: 100%;
}

#category-active-four .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

/*    #category-active-four .menu-item:hover {
        background: var(--color-primary);
        color: white;
        border-radius: 6px;
        transform: translateX(4px);
    }*/

.menu-item img {
    width: 40px;
    height: 40px;
    background-color:rgba(23, 126, 63, 0.3);
    padding:5px;
    object-fit: contain;
    border-radius:50%;
    transition: var(--transition-smooth);
}

/*.menu-item:hover img {
    filter: brightness(0) invert(1);
}*/

/* ========================================
   CART
======================================== */
.cart .number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   FOOTER
======================================== */
.rts-footer-area {
    background: #1a1a1a;
    color: white;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: var(--color-text-light);
        text-decoration: none;
        font-size: 14px;
        transition: var(--transition-smooth);
        display: inline-block;
    }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

.shop-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 40px;
}

    .shop-category-list li {
        break-inside: avoid;
        margin-bottom: 10px;
    }

        .shop-category-list li a {
            text-decoration: none;
            font-size: 14px;
            color: var(--color-text-light);
            transition: var(--transition-smooth);
        }

            .shop-category-list li a:hover {
                color: white;
            }

.categoryname:hover {
    color: white;
}

@media (max-width: 768px) {
    .shop-category-list {
        column-count: 1;
    }
}

/* ========================================
   SOCIAL MEDIA
======================================== */
.social-one-wrapper ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .social-one-wrapper ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: var(--transition-smooth);
    }

        .social-one-wrapper ul li a:hover {
            background: var(--color-primary);
            transform: translateY(-3px);
        }

/* ========================================
   PROGRESS BAR
======================================== */
.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-secondary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   COPYRIGHT AREA
======================================== */
.rts-copyright-area {
    background: #111;
    padding: 20px 0;
    color: #999;
}

.copyright-between-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-badge {
    display: inline-block;
    margin-left: 10px;
    transition: var(--transition-smooth);
}

    .store-badge:hover {
        transform: translateY(-3px);
    }

    .store-badge img {
        height: 40px;
        width: auto;
    }

/* ========================================
   MOBILE RESPONSIVENESS
======================================== */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }

    .bwtween-area-header-top {
        flex-direction: column;
        gap: 10px;
    }

    .discount-area {
        flex-wrap: wrap;
        justify-content: center;
    }

    .category-sub-menu {
        width: 100%;
        max-width: 400px;
    }

    #category-active-four {
        grid-template-columns: 1fr;
    }

    .copyright-between-1 {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .search-header input {
        font-size: 14px;
    }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   UTILITIES
======================================== */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.border-primary {
    border-color: var(--color-primary) !important;
}

/* Smooth focus states */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Hover effect for all links */
a {
    transition: var(--transition-smooth);
}

    a:hover {
        text-decoration: none;
    }


