span.validation_error {
    font-size: 13px;
    color: red;
    margin-top: 5px;
    display: inline-block;
}


h3.variations_price {
    font-size: 18px;
    color: var(--color-heading);
    margin-top: 5px;
}

.productItem .productThumb img,
.productlistItem .productThumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.productItem .productThumb-wrapper,
.productlistItem .productThumb-wrapper {
    background: #fff !important;
}

/* --- Modern Custom Animations & Interactions --- */

/* Scroll Reveal using Keyframe Animation for reliable transitions */
.scroll-reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 1. Main Navigation Hover Effects */
header .headerBottom-wrapper .header-menu ul.main-menu>li>span>a {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.6s ease;
}

header .headerBottom-wrapper .header-menu ul.main-menu>li>span>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary, #5aba47);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.6s cubic-bezier(0.86, 0, 0.07, 1);
}

header .headerBottom-wrapper .header-menu ul.main-menu>li>span>a:hover::after,
header .headerBottom-wrapper .header-menu ul.main-menu>li>span>a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Smooth Dropdown Transitions */
header .headerBottom-wrapper .header-menu ul.main-menu>li.has-dropdown {
    position: relative;
}

header .headerBottom-wrapper .header-menu ul.main-menu>li .sub-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.6s;
    pointer-events: none;
}

header .headerBottom-wrapper .header-menu ul.main-menu>li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 2. Product Card Modern Styling & 3D Hover Effects (Smoothed Transitions) */
.productItem {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 1.2s cubic-bezier(0.23, 1, 0.32, 1), border-color 1.0s ease !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.productItem:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(var(--color-primary-rgb, 90, 186, 71), 0.2) !important;
}

/* Glassmorphism details for Product Image Wrapper */
.productItem .productThumb-wrapper {
    position: relative;
    overflow: hidden !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #f8f9fa !important;
    transition: background 1.0s ease;
}

/* Product image 3D scale and tilt transition (Smoothed) */
.productItem .productThumb img {
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.productItem:hover .productThumb img {
    transform: scale(1.08) rotate(1deg) !important;
}

/* Add to Cart Button Hover micro-interaction */
.productItem .cart-btn {
    background-color: #333333 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: all 1.0s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.productItem .cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-primary, #5aba47);
    transition: width 1.0s ease;
    z-index: -1;
}

.productItem .cart-btn:hover::before {
    width: 100%;
}

.productItem .cart-btn:hover {
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 90, 186, 71), 0.3) !important;
}

/* Hover Quick view effect */
.productItem .quickBtn {
    transition: all 1.0s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.productItem:hover .quickBtn {
    color: var(--color-primary, #5aba47) !important;
    transform: scale(1.05);
}

/* Wishlist Action Buttons Hover pop */
.productItem .action-btn {
    transition: transform 1.0s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.0s ease !important;
}

.productItem .action-btn:hover {
    transform: scale(1.15) !important;
    background-color: var(--color-primary, #5aba47) !important;
    color: #ffffff !important;
}

/* 3. Category Items Hover Zoom & Lift */
.categoriesItem {
    border-radius: 12px !important;
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 1.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.categoriesItem:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.categoriesItem img {
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.categoriesItem:hover img {
    transform: scale(1.06) !important;
}

/* 4. Banner/Slider Hover Zoom & Shine */
.heroAds-single {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 1.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.heroAds-single:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.heroAds-single img {
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.heroAds-single:hover img {
    transform: scale(1.04) !important;
}

/* Modern Shine Overlay Effect for Banners */
.heroAds-single-item {
    position: relative;
}

.heroAds-single-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.heroAds-single:hover .heroAds-single-item::after {
    left: 125%;
    transition: all 1.4s ease-in-out;
}

/* Meta list icons background pulse */
.meta-list .meta-item i {
    transition: transform 1.0s cubic-bezier(0.23, 1, 0.32, 1);
}

.meta-list .meta-item:hover i {
    transform: scale(1.2) rotate(-5deg);
}

/* 5. Smooth Transition for General Buttons */
.btn-primary {
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 90, 186, 71), 0.35) !important;
}

.btn-primary:active {
    transform: translateY(0);
}

/* --- Expanded Interactive Styling --- */

/* A. Benefits / Feature Summary Columns */
.featureItem {
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 1.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 1.0s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    background: #ffffff !important;
}

.featureItem:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(var(--color-primary-rgb, 90, 186, 71), 0.2) !important;
}

.featureItem i {
    transition: transform 1.0s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.featureItem:hover i {
    transform: scale(1.15) !important;
}

/* B. Homepage main Hero Slider */
.banner__card {
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.banner__card img {
    transition: transform 1.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.banner__card:hover img {
    transform: scale(1.03) !important;
}

/* C. Product Details Image Gallery (Details page) */
.productThumb-wrapper {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    transition: box-shadow 0.8s ease, transform 0.8s ease !important;
}

.productThumb-wrapper:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07) !important;
}

/* Product Detail Thumbnails slider indicator */
.product-thumb {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: border-color 0.6s ease, transform 0.6s ease !important;
}

.product-thumb:hover,
.product-thumb.swiper-slide-thumb-active {
    border-color: var(--color-primary, #5aba47) !important;
    transform: scale(1.02);
}

/* D. Interactive Scale-up on product details attributes & quantity selector */
.product-attr li label,
.quantity span {
    transition: background-color 0.6s ease, border-color 0.6s ease, transform 0.5s ease !important;
}

.product-attr li label:hover,
.quantity span:hover {
    transform: scale(1.05) !important;
    border-color: var(--color-primary, #5aba47) !important;
}

/* E. Quick View modal content scale-in spring bounce transition */
#productPopup.show .modal-content {
    animation: modalScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* F. Staggered entrance animations for Details & Quick View columns */
.productThumb-wrapper.revealed {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.1s;
}

.productDetail-wrapper.revealed {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.25s;
}

/* Stagger inner items of details wrapper */
.productDetail-wrapper.revealed .productDetail-title {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.35s;
}

.productDetail-wrapper.revealed .productDetail-meta {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.42s;
}

.productDetail-wrapper.revealed .productDetail-price,
.productDetail-wrapper.revealed .total-price {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.5s;
}

.productDetail-wrapper.revealed .product-attr {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.58s;
}

.productDetail-wrapper.revealed .product-group,
.productDetail-wrapper.revealed .product-btn-group,
.productDetail-wrapper.revealed .product-group-detail {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.65s;
}

/* --- Floating Chatbot & WhatsApp CSS --- */

/* Floating Buttons Container */
.floating-chat-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

/* Base style for floating action buttons */
.floating-action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: #ffffff !important;
    font-size: 26px;
    cursor: pointer;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.7s ease, background-color 0.6s ease;
}

.floating-action-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.floating-action-btn:active {
    transform: scale(0.95);
}

/* WhatsApp floating button */
.whatsapp-floating-btn {
    background-color: #25d366;
}

.whatsapp-floating-btn:hover {
    background-color: #20ba5a;
}

/* Embedded Chatbot floating button */
.chatbot-floating-btn {
    background-color: var(--color-primary, #5aba47);
}

.chatbot-floating-btn:hover {
    background-color: rgba(var(--color-primary-rgb, 90, 186, 71), 0.9);
}

/* Interactive Chatbot Window */
.chatbot-window {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 360px;
    max-width: 90vw;
    height: 480px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999999;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s;
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Chatbot Header */
.chatbot-header {
    background-color: var(--color-primary, #5aba47);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-bot-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chatbot-name-wrapper {
    display: flex;
    flex-direction: column;
}

.chatbot-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
}

.chatbot-status {
    font-size: 11px;
    opacity: 0.85;
}

.chatbot-close-btn {
    cursor: pointer;
    font-size: 20px;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Chatbot Messages Area */
.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #f8f9fa;
}

/* Message Bubbles */
.chatbot-msg-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.4;
    word-break: break-word;
}

.chatbot-msg-bot {
    background-color: #ffffff;
    color: #333333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.chatbot-msg-user {
    background-color: var(--color-primary, #5aba47);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* FAQ Quick Actions */
.chatbot-faq-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.chatbot-faq-btn {
    background-color: #ffffff;
    border: 1px solid var(--color-primary, #5aba47);
    color: var(--color-primary, #5aba47);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.chatbot-faq-btn:hover {
    background-color: var(--color-primary, #5aba47);
    color: #ffffff;
}

/* Bot Typing Animation */
.chatbot-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px !important;
}

.chatbot-dot {
    width: 6px;
    height: 6px;
    background-color: #999999;
    border-radius: 50%;
    animation: bounceDot 1.4s infinite ease-in-out both;
}

.chatbot-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.chatbot-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounceDot {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Chatbot Input Box */
.chatbot-input-wrapper {
    border-top: 1px solid #e9ecef;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
}

.chatbot-input-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13.5px;
    padding: 8px 10px;
    background: #f1f3f5;
    border-radius: 20px;
}

.chatbot-send-btn {
    border: none;
    background: none;
    color: var(--color-primary, #5aba47);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chatbot-send-btn:hover {
    transform: scale(1.1) translateX(2px);
}