/* ========================================
   SWAWLAMBAN - PREMIUM HEALTHCARE UI
   Glassmorphism & Professional Design System
   ======================================== */

/* ========== GLASSMORPHISM EFFECTS ========== */
.glass-effect {
    background: rgba(255, 254, 251, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(122, 74, 46, 0.1);
}

.glass-effect-deep {
    background: rgba(255, 254, 251, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(122, 74, 46, 0.15);
}

.glass-effect-light {
    background: rgba(255, 254, 251, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(122, 74, 46, 0.08);
}

/* ========== ENHANCED ANIMATIONS ========== */
@keyframes fadeInDelayed {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpStagger {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatGently {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotateSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: rotateSpinner 0.8s linear infinite;
    vertical-align: middle;
    margin: 0 4px;
}

/* Show spinner when button is loading or htmx is requesting */
.btn-loading .btn-spinner,
.htmx-request .btn-spinner,
.htmx-request.btn-spinner,
.btn-loading.btn-spinner {
    display: inline-block !important;
}

/* 1. Spinner for YELLOW buttons (e.g., Buy Now on cards) - Needs Brown Spinner */
.btn-buy-now .btn-spinner,
.btn-yellow .btn-spinner {
    border-color: rgba(122, 74, 46, 0.15) !important;
    border-top-color: var(--gau-brown) !important;
}

/* 2. Spinner for BROWN buttons (e.g., Add to Cart on cards) - Needs Yellow/Gold Spinner */
.add-to-cart-btn .btn-spinner,
.btn-brown .btn-spinner,
.btn-primary .btn-spinner {
    border-color: rgba(230, 179, 37, 0.2) !important;
    border-top-color: var(--haldi-yellow) !important;
}

/* 3. Spinner for LIGHT/TRANSPARENT buttons (e.g., Outline buttons in details) - Needs Dark Spinner */
.btn-minimal-cart .btn-spinner,
.btn-outline .btn-spinner,
.btn-light .btn-spinner {
    border-color: rgba(0, 0, 0, 0.1) !important;
    border-top-color: #333 !important;
}

.htmx-request.co-btn-primary i,
.htmx-request.co-btn-primary span.txt {
    display: none;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Animation Utility Classes */
.animate-fade-in {
    animation: fadeInDelayed 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUpStagger 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInFromRight 0.6s ease-out;
}

.animate-float {
    animation: floatGently 3s ease-in-out infinite;
}

.animate-scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-pop-in {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered Animations for Elements */
.animate-stagger > * {
    opacity: 0;
    animation: slideUpStagger 0.6s ease-out forwards;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.6s; }
.animate-stagger > *:nth-child(7) { animation-delay: 0.7s; }
.animate-stagger > *:nth-child(8) { animation-delay: 0.8s; }

/* ========== HOVER EFFECTS ========== */
.hover-lift {
    transition: all var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.03);
}

.hover-glow {
    transition: all var(--transition-normal);
    position: relative;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(122, 74, 46, 0.3);
}

.hover-color-shift {
    transition: all var(--transition-normal);
}

.hover-color-shift:hover {
    color: var(--gau-brown);
}

.hover-text-lift {
    transition: all var(--transition-normal);
}

.hover-text-lift:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========== MODERN CATEGORY CARD ========== */
.hero-description{
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem !important; margin-bottom: 12px; }
    .hero-description { font-size: 0.95rem !important; }
    .hero-subtitle { padding: 6px 18px; font-size: 0.8rem; margin-bottom: 20px; }
}

.modern-category-card {
    background: var(--milk-white-pure);
    border: 1px solid rgba(196, 154, 108, 0.15);
    border-radius: var(--radius-lg);
    padding: 10px 8px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.modern-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--haldi-yellow), var(--gau-brown));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.modern-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 179, 37, 0.08) 0%, rgba(79, 111, 82, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.modern-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -5px rgba(122, 74, 46, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.06);
    border-color: rgba(196, 154, 108, 0.4);
}

.modern-category-card:hover::before {
    opacity: 1;
}

.modern-category-card:hover::after {
    opacity: 1;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

@media (max-width: 575px) {
    .category-icon-wrapper { width: 45px; height: 45px; margin-bottom: 8px; font-size: 1.2rem !important; }
    .modern-category-card h5 { font-size: 0.8rem !important; margin-bottom: 2px !important; }
    .modern-category-card small { font-size: 0.65rem !important; }
}

.modern-category-card:hover .category-icon-wrapper {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.modern-category-card h5 {
    position: relative;
    z-index: 1;
}

.modern-category-card small {
    position: relative;
    z-index: 1;
}

/* ========== ENHANCED PRODUCT CARD ========== */
.pc {
    position: relative;
    background: var(--milk-white-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(196, 154, 108, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pc:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(122, 74, 46, 0.15);
    border-color: rgba(196, 154, 108, 0.3);
}

.pc .pc-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--desi-milk-white) 0%, rgba(230, 179, 37, 0.05) 100%);
    display: block;
}

.pc .pc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc:hover .pc-img-wrap img {
    transform: scale(1.08);
}

.pc .pc-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.pc .pc-badge {
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pc .pc-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.pc:hover .pc-overlay {
    opacity: 1;
}

.pc .action-btn {
    width: 38px;
    height: 38px;
    background: var(--milk-white-pure);
    border: none;
    border-radius: var(--radius-md);
    color: var(--ash-grey);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pc .action-btn:hover {
    background: var(--gau-brown);
    color: white;
    transform: scale(1.1);
}

.pc .pc-body {
    padding: 18px 20px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pc .pc-name {
    flex-grow: 1;
}

.pc .add-to-cart-btn {
    width: 100%;
    height: 48px;
    padding: 0 10px;
    background: linear-gradient(135deg, var(--gau-brown) 0%, var(--gau-brown-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(122, 74, 46, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc .add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--cow-hide-light) 0%, var(--gau-brown) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 74, 46, 0.3);
}

.pc .btn-buy-now {
    width: 100%;
    height: 48px;
    padding: 0 10px;
    background: linear-gradient(135deg, var(--haldi-yellow) 0%, #d4a017 100%);
    color: var(--gau-brown-dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.pc .btn-buy-now:hover {
    background: linear-gradient(135deg, #f0b41a 0%, var(--haldi-yellow) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
    color: var(--gau-brown-dark);
}

.pc .card-buttons-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

/* ========== ENHANCED BUTTONS ========== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gau-brown) 0%, var(--gau-brown-dark) 100%);
    box-shadow: 0 4px 15px rgba(122, 74, 46, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(122, 74, 46, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--cow-hide-light) 0%, var(--haldi-yellow) 100%);
    box-shadow: 0 4px 15px rgba(196, 154, 108, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 154, 108, 0.3);
}

@media (max-width: 768px) {
    .back-to-top { display: none !important; }
}
.testimonial-card {
    background: var(--milk-white-pure);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 4px 12px rgba(122, 74, 46, 0.08);
    border: 1px solid rgba(196, 154, 108, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    right: 20px;
    font-size: 8rem;
    color: rgba(230, 179, 37, 0.1);
    font-weight: 900;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(122, 74, 46, 0.15);
    border-color: rgba(196, 154, 108, 0.25);
}

.testimonial-rating {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    position: relative;
    z-index: 1;
}

/* ========== TRUST BADGES ENHANCED ========== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
}

@media (max-width: 991px) {
    .trust-badges { gap: 20px; }
}

@media (max-width: 575px) {
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.3s ease;
}

@media (max-width: 575px) {
    .trust-badge { gap: 6px; }
}

.trust-badge-icon {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 575px) {
    .trust-badge-icon { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 8px; }
    .trust-badge-text { font-size: 0.55rem; line-height: 1.1; font-weight: 600; }
}

/* Specific Badge Colors */
.b-deliv .trust-badge-icon { color: #4361ee; background: rgba(67, 97, 238, 0.1); }
.b-auth  .trust-badge-icon { color: #ffb703; background: rgba(255, 183, 3, 0.1); }
.b-doc   .trust-badge-icon { color: #4f6f52; background: rgba(79, 111, 82, 0.1); }
.b-ret   .trust-badge-icon { color: #e63946; background: rgba(230, 57, 70, 0.1); }
.b-pay   .trust-badge-icon { color: #7209b7; background: rgba(114, 9, 183, 0.1); }

/* Hover effects */
.trust-badge:hover .trust-badge-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.b-deliv:hover .trust-badge-icon { background: #4361ee; color: white; }
.b-auth:hover  .trust-badge-icon { background: #ffb703; color: white; }
.b-doc:hover   .trust-badge-icon { background: #4f6f52; color: white; }
.b-ret:hover   .trust-badge-icon { background: #e63946; color: white; }
.b-pay:hover   .trust-badge-icon { background: #7209b7; color: white; }

.trust-badge-text {    box-shadow: 0 4px 12px rgba(122, 74, 46, 0.08);
}

.trust-badge:hover .trust-badge-icon {
    background: linear-gradient(135deg, var(--gau-brown) 0%, var(--gau-brown-dark) 100%);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(122, 74, 46, 0.2);
}

/* ========== MOBILE BOTTOM NAV BADGES & CENTRAL BUTTON ========== */
.bottom-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.bottom-nav-item-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1.2;
    text-decoration: none;
    margin-top: -30px; /* Protrude from the bar */
}

.consult-circle-main {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--gau-brown) 0%, var(--gau-brown-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(122, 74, 46, 0.3);
    border: 4px solid #fff;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.bottom-nav-item-center.active .consult-circle-main {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(122, 74, 46, 0.4);
}

.bottom-nav-item-center span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gau-brown);
}

.cart-badge-num {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #111;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    z-index: 10;
}

/* ========== MOBILE HEADER ACTIONS (MODERN BURGER) ========== */
.mobile-action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.burger-bar {
    width: 24px;
    height: 2px;
    background: var(--gau-brown-dark);
    display: block;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state for burger (transform into cross) */
body.menu-open #mobileMenuBtn .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
body.menu-open #mobileMenuBtn .burger-bar:nth-child(2) {
    opacity: 0;
}
body.menu-open #mobileMenuBtn .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-main.scrolled .burger-bar {
    background: var(--gau-brown);
}

/* ========== FAQ ENHANCEMENT (Attractive) ========== */
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(122, 74, 46, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(122, 74, 46, 0.2);
}

.faq-item.active {
    border-color: var(--haldi-yellow);
    box-shadow: 0 10px 35px rgba(122, 74, 46, 0.12);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gau-brown-dark);
    transition: all 0.3s ease;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--haldi-yellow);
    transition: transform 0.4s ease;
}

.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 28px 24px;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

/* ========== HERO SECTION ENHANCEMENT ========== */
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    margin-bottom: 25px;
    animation: slideUpStagger 0.7s ease-out 0.2s both;
}

.hero-title {
    animation: slideUpStagger 0.7s ease-out 0.3s both;
}

.hero-description {
    animation: slideUpStagger 0.7s ease-out 0.4s both;
}

.hero-buttons {
    animation: slideUpStagger 0.7s ease-out 0.5s both;
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 35px;
    animation: slideUpStagger 0.7s ease-out 0.6s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-stat i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--haldi-yellow);
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 575px) {
    .hero-stats { 
        gap: 8px; 
        justify-content: space-between;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 25px;
        width: 100%;
    }
    .hero-stat i { font-size: 1.25rem; margin-bottom: 4px; }
    .hero-stat-number { font-size: 1.15rem; }
    .hero-stat-label { font-size: 0.6rem; line-height: 1.2; }
}

/* ========== DOCTOR CONSULTATION CTA ========== */
.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.doctor-cta {
    background: linear-gradient(135deg, var(--neem-green) 0%, var(--neem-green-light) 100%);
    border-radius: var(--radius-xl);
    padding: 70px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(79, 111, 82, 0.2);
}

@media (max-width: 991px) {
    .doctor-cta { padding: 40px; border-radius: var(--radius-lg); }
    .doctor-cta-title { font-size: 1.75rem !important; }
    .doctor-cta-description { font-size: 1rem !important; }
}

@media (max-width: 575px) {
    .doctor-cta { padding: 30px 20px; }
    .doctor-cta-features { gap: 15px; margin-bottom: 20px; }
    .doctor-cta-feature { font-size: 0.85rem; }
}

.doctor-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: floatGently 6s ease-in-out infinite;
}

.doctor-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: floatGently 8s ease-in-out infinite 0.5s;
}

.doctor-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    margin-bottom: 22px;
    animation: slideUpStagger 0.7s ease-out 0.2s both;
}

/* ========== SECTION HEADERS ========== */
.section-subtitle {
    animation: slideUpStagger 0.6s ease-out;
}

.section-title {
    animation: slideUpStagger 0.6s ease-out 0.1s both;
}

.section-description {
    animation: slideUpStagger 0.6s ease-out 0.2s both;
}

/* ========== CARD EFFECTS ========== */
.card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(122, 74, 46, 0.15);
}

/* ========== RESPONSIVE ENHANCEMENTS ========== */
@media (max-width: 768px) {
    .doctor-cta {
        padding: 40px 25px;
    }

    .doctor-cta::before {
        width: 300px;
        height: 300px;
    }

    .doctor-cta::after {
        width: 250px;
        height: 250px;
    }

    .modern-category-card {
        padding: 25px 18px;
    }

    .category-icon-wrapper {
        width: 75px;
        height: 75px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .trust-badges {
        gap: 20px;
    }

    .animate-stagger > * {
        animation: slideUpStagger 0.5s ease-out forwards;
    }
}

@media (max-width: 576px) {
    .glass-effect,
    .glass-effect-deep,
    .glass-effect-light {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .modern-category-card {
        padding: 20px 15px;
    }

    .category-icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }

    .product-card .product-actions {
        gap: 6px;
    }

    .product-card .action-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card::before {
        font-size: 5rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .glass-effect,
    .glass-effect-deep,
    .glass-effect-light {
        background: white;
        backdrop-filter: none;
    }

    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ========== MOBILE BOTTOM NAVIGATION ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 5px 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 1001;
    border-top: 1px solid rgba(122, 74, 46, 0.08);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8a8a8a !important;
    font-size: 0.65rem;
    font-weight: 500;
    flex: 1;
    transition: all 0.3s ease;
}

.bottom-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.bottom-nav-item.active {
    color: var(--gau-brown) !important;
}

.consult-badge-nav {
    width: 44px;
    height: 44px;
    background: var(--gau-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    border: 5px solid #fff;
    box-shadow: 0 4px 12px rgba(122, 74, 46, 0.3);
}

.consult-badge-nav i {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.cart-badge-num {
    position: absolute;
    top: -5px;
    right: -10px;
    padding: 2px 5px;
    font-size: 0.6rem;
    background: var(--natural-red);
}

.navbar-main {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar-main.scrolled {
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(122, 74, 46, 0.12);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-search-container {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    width: 100%;
}

.mobile-search-container.active {
    max-height: 80px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 5px;
}

/* ========== CATEGORY V2 DESIGN (Inspired by Service Grids) ========== */
.categories-v2-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
}

.category-v2-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
    width: 100px;
}

.category-v2-item:hover {
    transform: translateY(-5px);
}

.category-v2-card {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background: #f0f7f6; /* Default soft teal */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 15px;
}

.category-v2-item:hover .category-v2-card {
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.category-v2-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-v2-item:hover .category-v2-img {
    transform: scale(1.1);
}

.category-v2-icon {
    font-size: 2.5rem;
    color: var(--gau-brown);
}

.category-v2-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ash-grey-dark);
    text-align: center;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.category-v2-item:hover .category-v2-label {
    color: var(--gau-brown);
}

@media (max-width: 575px) {
    .categories-v2-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px 10px;
        padding: 15px 8px;
        justify-content: center;
    }
    
    .category-v2-item { 
        width: 100% !important; 
        flex: 0 0 100%;
        margin-bottom: 0 !important;
    }
    .category-v2-card { 
        width: 100% !important; 
        aspect-ratio: 1/1;
        height: auto !important;
        border-radius: 12px; 
        padding: 10px; 
        margin-bottom: 6px;
    }
    .category-v2-label { 
        font-size: 0.65rem; 
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .h-grid-category {
        padding: 10px;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Ensure horizontal scroll still exists for others */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding: 10px 5px 20px;
    /* Removed scroll-snap-type for smooth JS auto-scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
    cursor: grab;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.horizontal-scroll-container > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* Minimalist Testimonial Card */
.testimonial-minimal {
    width: 320px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(122, 74, 46, 0.08);
    display: flex;
    flex-direction: column;
}

@media (max-width: 575px) {
    .h-item-category { width: 100px; }
    .testimonial-minimal { 
        width: 250px !important; 
        padding: 15px !important; 
        border-radius: 10px;
    }
    .testimonial-minimal .testimonial-text {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    .testimonial-minimal .testimonial-author {
        gap: 8px !important;
    }
    .testimonial-minimal .testimonial-name {
        font-size: 0.75rem !important;
    }
    .testimonial-minimal .testimonial-location {
        font-size: 0.65rem !important;
    }
    .h-item-product { width: 160px; }
    
    body { padding-bottom: 75px !important; } /* Space for bottom nav */
}

/* Search bar styling inside mobile container */
.mobile-search-container .search-box {
    margin: 0;
    max-width: 100%;
}


/* ========== PROFESSIONAL SEARCH UI ========== */

.search-form-wrapper {
    display: flex;
    align-items: center;
    background: #fdfbf8;
    border: 1.5px solid #e8ddd1;
    border-radius: 50px;
    padding: 4px 6px 4px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 320px;
    position: relative;
}

.search-form-wrapper.active {
    width: 480px;
    border-color: var(--gau-brown);
    background: white;
    box-shadow: 0 10px 30px rgba(122, 74, 46, 0.12);
}

.header-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    outline: none !important;
}

.header-search-input::placeholder {
    color: #a0a0a0;
    font-weight: 400;
}

.search-icon {
    color: var(--gau-brown);
    font-size: 16px;
    opacity: 0.7;
}

.search-btn {
    background: linear-gradient(135deg, var(--gau-brown) 0%, var(--gau-brown-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(122, 74, 46, 0.25);
}

/* Redesigned Dropdown V2 */
.search-results-dropdown-v2 {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

.search-form-wrapper.active .search-results-dropdown-v2:not(:empty) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-results-dropdown-v2 .search-section {
    padding: 15px 20px;
}

.search-results-dropdown-v2 .search-section:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.search-results-dropdown-v2 .search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.search-results-dropdown-v2 .search-result-item:hover {
    background: rgba(122, 74, 46, 0.05);
    transform: translateX(5px);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.search-result-item-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #2a2a2a;
}

.search-result-item-info span {
    font-size: 12px;
    color: #7a7a7a;
}

@media (max-width: 991px) {
    .search-form-wrapper {
        width: 100%;
        max-width: none !important;
    }
}

/* ========== PROFESSIONAL EMPTY STATE & DISCOVERY ========== */

.professional-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid rgba(122, 74, 46, 0.08);
    box-shadow: 0 20px 60px rgba(122, 74, 46, 0.04);
}

.empty-state-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-visual i {
    font-size: 50px;
    color: var(--gau-brown);
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(122, 74, 46, 0.1);
    animation: ringPulse 2s infinite alternate;
}

@keyframes ringPulse {
    from { transform: scale(0.8); opacity: 0.5; }
    to { transform: scale(1.2); opacity: 0.1; }
}

.professional-empty-state h3 {
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.professional-empty-state p {
    color: #666;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.empty-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.empty-btn.primary {
    background: var(--gau-brown);
    color: white;
}

.empty-btn.secondary {
    background: #fdfbf8;
    color: var(--gau-brown);
    border: 1.5px solid rgba(122, 74, 46, 0.2);
}

.empty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(122, 74, 46, 0.15);
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.discovery-card {
    background: #fdfbf8;
    border: 1px solid rgba(122, 74, 46, 0.05);
    padding: 24px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.discovery-card i {
    font-size: 24px;
    color: var(--gau-brown);
}

.discovery-card span {
    font-weight: 700;
    font-size: 14px;
}

.discovery-card:hover {
    background: white;
    border-color: var(--gau-brown);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(122, 74, 46, 0.1);
}

/* ========== PERFECTED SEARCH & VOICE UI - EMERGENCY FIX ========== */
.search-box {
    position: relative;
    width: 100%;
    max-width: 550px !important;
}

.search-form-wrapper {
    display: flex !important;
    align-items: center !important;
    background: white !important;
    border: 1.5px solid rgba(122, 74, 46, 0.2) !important;
    border-radius: 50px !important;
    padding: 0 !important;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(122, 74, 46, 0.05) !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 52px !important;
}

.search-form-wrapper.active {
    border-color: var(--gau-brown) !important;
    box-shadow: 0 8px 25px rgba(122, 74, 46, 0.12) !important;
}

.search-input-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-grow: 1 !important;
    height: 100% !important;
}

.header-search-input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 15px 0 50px !important;
    font-size: 0.95rem !important;
    color: var(--ash-grey-dark) !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.search-icon {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--gau-brown) !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
}

.voice-search-btn {
    background: transparent !important;
    border: none !important;
    color: var(--gau-brown) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    margin-right: 5px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}

.voice-search-btn:hover {
    background: rgba(122, 74, 46, 0.08) !important;
}

.voice-search-btn.listening {
    color: var(--natural-red) !important;
    background: rgba(155, 61, 61, 0.1) !important;
}

.voice-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--natural-red);
    opacity: 0;
    pointer-events: none;
}

.voice-search-btn.listening .voice-pulse {
    animation: voice-pulse-anim 1.5s infinite;
}

@keyframes voice-pulse-anim {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Voice language selector — centered modal overlay on all devices */
.voice-lang-selector {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
}

.voice-lang-selector.active {
    display: flex;
    animation: langOverlayIn 0.25s ease;
}

@keyframes langOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.voice-lang-selector-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    padding: 28px 24px 20px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: langCardIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(122, 74, 46, 0.1);
}

@keyframes langCardIn {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.voice-lang-selector-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gau-brown-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ash-grey-dark);
    border: 1.5px solid rgba(122, 74, 46, 0.1);
    background: var(--desi-milk-white);
}

.lang-option:hover, .lang-option:active {
    background: var(--gau-brown);
    color: white;
    border-color: var(--gau-brown);
    transform: scale(1.02);
}

.lang-option:hover span, .lang-option:active span {
    color: rgba(255,255,255,0.8);
}

.lang-option span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ash-grey-light);
    margin-left: auto;
}

.search-form-wrapper.active .search-icon {
    color: var(--neem-green) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.search-btn {
    position: static !important; /* Override absolute from styles.css */
    transform: none !important;
    height: 100% !important;
    border-radius: 0 50px 50px 0 !important;
    padding: 0 25px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, var(--gau-brown) 0%, var(--gau-brown-dark) 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* Account Button Enhancement */
.nav-links .nav-link-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.nav-links .nav-link-item:hover {
    background: white;
    border-color: rgba(122, 74, 46, 0.1);
    box-shadow: 0 4px 12px rgba(122, 74, 46, 0.08);
    transform: translateY(-2px);
}

.nav-links .nav-link-item i {
    font-size: 1.5rem;
    color: var(--gau-brown);
    transition: transform 0.3s ease;
}

.nav-links .nav-link-item:hover i {
    transform: scale(1.1);
    color: var(--gau-brown-dark);
}
.search-results-dropdown-v2 {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 320px;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-form-wrapper.active #search-results:not(:empty) {
    display: flex;
}

.search-dropdown-scrollable {
    max-height: 450px;
    overflow-y: auto;
    padding: 15px 0;
}

/* Custom Scrollbar for Dropdown */
.search-dropdown-scrollable::-webkit-scrollbar { width: 5px; }
.search-dropdown-scrollable::-webkit-scrollbar-track { background: transparent; }
.search-dropdown-scrollable::-webkit-scrollbar-thumb { background: rgba(122, 74, 46, 0.2); border-radius: 10px; }

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--ash-grey-dark);
    transition: all 0.2s ease;
    gap: 15px;
}

.search-result-item:hover {
    background: rgba(122, 74, 46, 0.05);
}

.result-img-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.img-placeholder, .cat-icon {
    font-size: 1.2rem;
    color: var(--gau-brown);
}

.cat-icon {
    background: rgba(122, 74, 46, 0.08);
}

.search-result-item-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--gau-brown-dark);
}

.result-category {
    font-size: 0.75rem;
    color: var(--ash-grey-light);
}

.result-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neem-green);
}

.search-footer {
    padding: 12px 20px;
    background: rgba(122, 74, 46, 0.03);
    border-top: 1px solid rgba(122, 74, 46, 0.05);
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--gau-brown);
    font-weight: 700;
    font-size: 0.85rem;
    transition: gap 0.2s ease;
}

.view-all-link:hover {
    gap: 12px;
}

/* Empty Search State */
.empty-search-icon {
    width: 60px;
    height: 60px;
    background: rgba(122, 74, 46, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: var(--ash-grey-light);
    opacity: 0.5;
}

/* Responsive Search Dropdown */
@media (max-width: 991px) {
    .search-results-dropdown-v2 {
        position: fixed;
        top: calc(var(--nav-height, 70px) + 10px);
        left: 15px;
        right: 15px;
        width: auto;
        min-width: 0;
        max-height: 70vh;
    }
}

@media (max-width: 575px) {
    .search-dropdown-scrollable {
        max-height: 60vh;
    }
    .search-result-item {
        padding: 10px 15px;
    }
}

/* --- Premium Placeholders --- */
.pc-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fdfbf8 0%, #f7f1e9 100%) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pc-img-placeholder i {
    font-size: 3.5rem !important;
    color: var(--gau-brown);
    opacity: 0.15;
    transition: all 0.5s ease;
    display: block;
}

.pc:hover .pc-img-placeholder i {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.25;
}

.pc-img-placeholder .placeholder-label {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.8;
    text-align: center;
    margin-top: 12px;
    padding: 0 15px;
    line-height: 1.3;
    color: var(--gau-brown);
    z-index: 2;
}

.pc-img-placeholder::before {
    content: 'IMAGE COMING SOON';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--haldi-yellow);
    color: var(--gau-brown);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 35px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 3;
}
