/* ==============================================================================
   ADUWATATOOLS.LK - UNIVERSAL DESIGN SYSTEM & COMPONENT STYLES
   Curvature, Apple/iOS Liquid Glass, Frosted Translucency, Specular Highlights
   ============================================================================== */

/* ========================================================
           APPLE / iOS 27 LIQUID GLASS STYLES (Curvature, Sheen & Depth)
           ======================================================== */
        body {
            background-color: #ffffff;
            background-image: none;
            color: #0f172a;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }

        .liquid-glass-base {
            background: rgba(255, 255, 255, 0.70) !important;
            backdrop-filter: blur(18px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05), 
                        inset 0 1px 1.5px 0 rgba(255, 255, 255, 1) !important;
            transform: translateZ(0);
        }

        .liquid-glass-card {
            background: rgba(255, 255, 255, 0.70) !important;
            backdrop-filter: blur(16px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.92) !important;
            box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05),
                        inset 0 1px 1.5px 0 rgba(255, 255, 255, 1) !important;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                        background 0.25s ease,
                        box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                        border-color 0.25s ease !important;
            transform: translateZ(0);
            position: relative;
        }
        .liquid-glass-card:hover {
            transform: translateY(-4px) translateZ(0);
            z-index: 30 !important;
            background: rgba(255, 255, 255, 0.94) !important;
            border-color: rgba(203, 213, 225, 0.95) !important;
            box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12),
                        0 6px 14px -2px rgba(15, 23, 42, 0.06),
                        inset 0 1px 1px 0 rgba(255, 255, 255, 1) !important;
        }

        /* Accent Liquid Glass for #e2e6e9 Header Bars & Action Elements */
        .liquid-glass-accent {
            background: linear-gradient(135deg, rgba(226, 230, 233, 0.85) 0%, rgba(215, 221, 226, 0.68) 100%) !important;
            backdrop-filter: blur(18px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 4px 16px -1px rgba(15, 23, 42, 0.04),
                        inset 0 1px 2px 0 rgba(255, 255, 255, 1) !important;
            transform: translateZ(0);
        }

        /* Tactile Liquid Glass Pill Button (iOS / macOS Depth & Specular Curvature) */
        .liquid-pill-btn {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 247, 250, 0.82) 100%) !important;
            backdrop-filter: blur(16px) saturate(190%) !important;
            -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 3px 12px -1px rgba(15, 23, 42, 0.06),
                        inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
                        inset 0 -1px 1.5px 0 rgba(226, 230, 233, 0.6) !important;
            transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                        background 0.2s ease,
                        border-color 0.2s ease !important;
            transform: translateZ(0);
        }
        .liquid-pill-btn:hover {
            background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.94) 100%) !important;
            border-color: rgba(203, 213, 225, 0.95) !important;
            box-shadow: 0 8px 22px -2px rgba(15, 23, 42, 0.11),
                        inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
                        inset 0 -1px 1.5px 0 rgba(226, 230, 233, 0.8) !important;
            transform: translateY(-1.5px) translateZ(0);
        }
        .liquid-pill-btn:active {
            transform: translateY(0px) scale(0.98) translateZ(0);
            box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.06),
                        inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
        }

        /* Tactile Liquid Glass Accent Pill (Add to Cart buttons) */
        .liquid-pill-accent {
            background: linear-gradient(180deg, rgba(235, 239, 242, 0.96) 0%, rgba(215, 221, 226, 0.84) 100%) !important;
            backdrop-filter: blur(14px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.05),
                        inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
                        inset 0 -1px 1px 0 rgba(195, 205, 217, 0.6) !important;
            color: #0f172a !important;
            transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
            transform: translateZ(0);
        }
        .liquid-pill-accent:hover {
            background: linear-gradient(180deg, rgba(215, 221, 226, 1) 0%, rgba(200, 208, 215, 0.95) 100%) !important;
            border-color: rgba(180, 192, 204, 1) !important;
            box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.09),
                        inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1) !important;
            transform: translateY(-1px) translateZ(0);
        }

        /* Sleek Solid Black Liquid Pill (View All & Write Review buttons) */
        .liquid-pill-black {
            background: linear-gradient(180deg, #1e293b 0%, #090d16 100%) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            box-shadow: 0 3px 12px -1px rgba(0, 0, 0, 0.28),
                        inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.4) !important;
            color: #ffffff !important;
            transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
            transform: translateZ(0);
        }
        .liquid-pill-black:hover {
            background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
            border-color: rgba(255, 255, 255, 0.35) !important;
            box-shadow: 0 6px 18px -2px rgba(0, 0, 0, 0.38),
                        inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.55) !important;
            transform: translateY(-1px) translateZ(0);
        }

        /* WhatsApp Liquid Pill */
        .liquid-pill-whatsapp {
            background: linear-gradient(180deg, #28e06c 0%, #1eb956 100%) !important;
            border: 1px solid rgba(255, 255, 255, 0.45) !important;
            box-shadow: 0 3px 12px -1px rgba(37, 211, 102, 0.35),
                        inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.65) !important;
            color: #ffffff !important;
            transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
            transform: translateZ(0);
        }
        .liquid-pill-whatsapp:hover {
            background: linear-gradient(180deg, #2df075 0%, #1da850 100%) !important;
            box-shadow: 0 6px 18px -2px rgba(37, 211, 102, 0.48),
                inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.8) !important;
            transform: translateY(-1px) translateZ(0);
        }

        /* Search Button: Zero Hover Animation, Zero Movement, Clean Instant Focus */
        .liquid-search-btn {
            background: #e2e6e9 !important;
            border: 1px solid #cbd5e1 !important;
            color: #0f172a !important;
            transform: translateY(-50%) !important;
            transition: background-color 0.15s ease, border-color 0.15s ease !important;
            box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
            animation: none !important;
        }
        .liquid-search-btn:hover {
            background: #cbd5e1 !important;
            border-color: #94a3b8 !important;
            transform: translateY(-50%) !important;
            box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
            animation: none !important;
        }
        .liquid-search-btn:active {
            transform: translateY(-50%) scale(0.98) !important;
        }

        /* Liquid Search Bar with Glass Glow */
        .liquid-search-bar {
            background: rgba(255, 255, 255, 0.72) !important;
            backdrop-filter: blur(14px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
            border: 1px solid rgba(203, 213, 225, 0.9) !important;
            box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.03),
                        inset 0 1px 2px 0 rgba(255, 255, 255, 0.9) !important;
            transform: translateZ(0);
        }
        .liquid-search-bar:focus-within {
            background: rgba(255, 255, 255, 0.95) !important;
            border-color: #94a3b8 !important;
            box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.07),
                        0 0 0 4px rgba(148, 163, 184, 0.16) !important;
        }

        /* Liquid Glass Floating Header */
        .liquid-glass-nav {
    --header-glass-bg: rgba(226, 230, 233, 0.82);
    --header-glass-border: rgba(203, 213, 225, 0.95);
    --header-glass-shadow: 0 4px 22px -2px rgba(15, 23, 42, 0.06), inset 0 -1px 0 0 rgba(255, 255, 255, 0.9);
    background: var(--header-glass-bg) !important;
    backdrop-filter: blur(22px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(190%) !important;
    border-bottom: 1px solid var(--header-glass-border) !important;
    box-shadow: var(--header-glass-shadow) !important;
    transform: translateZ(0);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

        /* Popups, Modals & Flyouts (70% opacity, 28px blur, ultra-crystal) */
        .liquid-glass-popup {
            background: rgba(255, 255, 255, 0.70) !important;
            backdrop-filter: blur(28px) saturate(190%) !important;
            -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
            border: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.16),
                        0 10px 25px -5px rgba(15, 23, 42, 0.08),
                        inset 0 1px 2px 0 rgba(255, 255, 255, 1) !important;
            transform: translateZ(0);
        }

        /* Slide-over Drawer (72% opacity, 32px blur) */
        .liquid-glass-drawer {
            background: rgba(255, 255, 255, 0.72) !important;
            backdrop-filter: blur(32px) saturate(190%) !important;
            -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
            border-left: 1px solid rgba(255, 255, 255, 0.95) !important;
            box-shadow: -15px 0 50px -5px rgba(15, 23, 42, 0.16),
                        inset 1px 0 2px 0 rgba(255, 255, 255, 1) !important;
            transform: translateZ(0);
        }

        /* Category Grid Tiles */
        .liquid-glass-tile {
            background: rgba(248, 250, 252, 0.65) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            border: 1px solid rgba(255, 255, 255, 0.9) !important;
            box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 1) !important;
            transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
            transform: translateZ(0);
        }
        .liquid-glass-tile:hover {
            background: rgba(255, 255, 255, 0.92) !important;
            border-color: rgba(203, 213, 225, 1) !important;
            box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.06),
                        inset 0 1px 1.5px 0 rgba(255, 255, 255, 1) !important;
            transform: translateY(-2px) translateZ(0);
        }

        /* Flash Deals Glowing Translucent Capsules */
        .liquid-glass-countdown {
            background: rgba(255, 237, 213, 0.60) !important;
            backdrop-filter: blur(14px) !important;
            -webkit-backdrop-filter: blur(14px) !important;
            border: 1px solid rgba(254, 215, 170, 0.9) !important;
            box-shadow: 0 2px 10px 0 rgba(249, 115, 22, 0.12),
                        inset 0 1px 1.5px 0 rgba(255, 255, 255, 1) !important;
            transform: translateZ(0);
        }

        @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

        :root {
            --lime-accent: #e2e6e9;
            --lime-dark: #0f172a;
            --peach-accent: #ffedd5;
            --peach-header: #fed7aa;
            --blue-card: #e0f2fe;
            --pink-card: #fce7f3;
        }

        * {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            letter-spacing: -0.015em;
        }

        body {
            background-color: #ffffff;
            color: #0f172a;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }

        /* Modern subtle card elevations */
        .featured-cat-tile {
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .featured-cat-tile:hover {
            border-color: #cbd5e1;
            transform: translateY(-2.5px);
            box-shadow: 0 10px 20px -4px rgba(0,0,0,0.06), 0 3px 6px -1px rgba(0,0,0,0.04);
        }

        .cat-item {
            transition: all 0.2s ease;
        }
        .cat-item:hover {
            color: #0f172a;
            background-color: #f1f5f9;
            padding-left: 0.85rem;
        }

        /* Modern search bar focus */
        #liveSearchInput {
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }
        #liveSearchInput:focus {
            border-color: #94a3b8;
            box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.15), 0 4px 12px rgba(0,0,0,0.04);
            transform: translateY(-0.5px);
        }

        /* Smooth button clicks */
        button, a, .cursor-pointer {
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }
        button:active, .cursor-pointer:active {
            transform: scale(0.98);
        }

        /* Sleek modern scrollbars */
        ::-webkit-scrollbar {
            width: 7px;
            height: 7px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 9999px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

/* Active Category Filter Pill */
.filter-active-pill {
    background: #0078D4 !important;
    color: #ffffff !important;
    border-color: #0078D4 !important;
}

/* Universal Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.6);
}
::-webkit-scrollbar-thumb {
    background: rgba(203, 213, 225, 0.8);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.9);
}

/* Show only the logo image in the header (no ADUWATA TOOLS text) */
#siteLogoText { display: none !important; }
