/* ========================================================
   KAATHAL BRAND STYLES & COMPONENT CUSTOMIZATIONS
   ======================================================== */

site-header,
site-footer {
    display: block;
    width: 100%;
}

/* Active navigation link styling */
.main-menu .navbar-nav .nav-item.active > .nav-link,
.main-menu .navbar-nav .nav-item .nav-link.active {
    color: var(--accent-color, #d49b58) !important;
    font-weight: 600;
    position: relative;
}

.main-menu .navbar-nav .nav-item.active > .nav-link::after,
.main-menu .navbar-nav .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color, #d49b58);
    border-radius: 2px;
}

/* Search modal enhancements */
.modal-search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.modal-search-form .form-control {
    padding-right: 50px;
}

.modal-search-form .modal-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--accent-color, #d49b58);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-search-form .modal-search-btn:hover {
    color: #ffffff;
}

/* Header icon hover effects */
.header-action-details ul li a img,
.header-action-details ul li button img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-action-details ul li a:hover img,
.header-action-details ul li button:hover img {
    transform: scale(1.1);
}

/* Footer social icon hover transitions */
.footer-social-links ul li a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-links ul li a:hover {
    transform: translateY(-3px);
}

/* Footer newsletter adjustments without input form */
.footer-newsletter-content {
    margin-bottom: 0;
}

/* Disable Preloader */
.preloader {
    display: none !important;
}

/* ========================================================
   WHATSAPP FLOATING CHATBOT ICON (BOTTOM-LEFT)
   ======================================================== */
.whatsapp-chat-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99999;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-chat-btn:hover {
    transform: scale(1.1);
    background-color: #20ba59;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.whatsapp-chat-btn i {
    color: #ffffff;
    line-height: 1;
}

/* Subtle gentle pulse ring animation */
.whatsapp-chat-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.7;
    z-index: -1;
    animation: wa-pulse 2s infinite ease-out;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Tooltip on hover */
.whatsapp-chat-btn .whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: #1f1f1f;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.whatsapp-chat-btn .whatsapp-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #1f1f1f transparent transparent;
}

.whatsapp-chat-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 576px) {
    .whatsapp-chat-btn {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
    .whatsapp-chat-btn .whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================================================
   Header Actions - Temporarily Hide Cart & User/Account Links
   ========================================================================== */
.header-action-details ul li:has(img[src*="icon-cart-primary"]),
.header-action-details ul li:has(img[src*="icon-user-primary"]),
.header-action-details ul li:has(a[title*="Shopping Cart"]),
.header-action-details ul li:has(a[title*="Account"]),
.header-action-details ul li.header-cart-item,
.header-action-details ul li.header-user-item {
    display: none !important;
}

/* Fallback for browsers without :has() support */
.header-action-details ul li a[title*="Shopping Cart"],
.header-action-details ul li a[title*="Account"] {
    display: none !important;
}

/* ==========================================================================
   Footer - Center Copyright & Remove Payment Options
   ========================================================================== */
.footer-copyright-box {
    justify-content: center !important;
    text-align: center !important;
}

.footer-copyright-text {
    width: 100% !important;
    text-align: center !important;
}

.footer-copyright-text p {
    text-align: center !important;
    margin: 0 auto !important;
}

.footer-payment-options {
    display: none !important;
}


