/* Hide header search bar on homepage as requested */
.sticky-search-container {
    display: none !important;
}

/* Merge Header with Hero Section - Navy Blue Header */
.header {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2137 100%) !important;
    border-bottom: none !important;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.4) !important;
    position: sticky !important;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.hero-section {
    margin-top: 0 !important;
    padding-top: 10px !important;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%) !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}


/* --- Visual Enhancements --- */

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    /* Hidden initially */
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger delays for smoother entrance */
.animate-fade-in:nth-child(1) {
    animation-delay: 0.05s;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.15s;
}

.animate-fade-in:nth-child(4) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(5) {
    animation-delay: 0.25s;
}

.animate-fade-in:nth-child(6) {
    animation-delay: 0.3s;
}

.animate-fade-in:nth-child(7) {
    animation-delay: 0.35s;
}

.animate-fade-in:nth-child(8) {
    animation-delay: 0.4s;
}

/* Global Button Click Effect */
button:active {
    transform: scale(0.96) !important;
}

/* === Promo Slider CSS (Moved from index.php) === */
.promo-slider-section {
    position: relative;
}

.promo-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-decoration: none;
    display: block;
}

/* Dark overlay for better text readability and "simple" look */
.promo-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.promo-slide.active {
    opacity: 1;
    z-index: 1;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 24px 32px;
    position: relative;
    z-index: 2;
    /* Ensure content is above overlay */
}

.promo-text {
    flex: 1;
    color: white;
}

.promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.promo-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
}

.promo-text p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
}

.promo-css-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Slider AC Icon === */
.slider-ac {
    position: relative;
    width: 70px;
    height: 45px;
}

.sac-body {
    width: 70px;
    height: 28px;
    background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
    border-radius: 4px 4px 8px 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.sac-flap {
    position: absolute;
    top: 26px;
    left: 5px;
    right: 5px;
    height: 10px;
    background: linear-gradient(180deg, #f5f5f5 0%, #ddd 100%);
    border-radius: 0 0 6px 6px;
    transform: rotateX(-35deg);
}

.sac-air {
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
}

.sac-air span {
    width: 5px;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    border-radius: 50%;
    animation: sliderAir 1.5s ease-in-out infinite;
}

.sac-air span:nth-child(2) {
    animation-delay: 0.3s;
}

.sac-air span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes sliderAir {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(5px);
    }
}

/* === Slider Geyser Icon === */
.slider-geyser {
    position: relative;
    width: 50px;
    height: 65px;
}

.geyser-body {
    width: 50px;
    height: 55px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 50%, #ddd 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.geyser-display {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 12px;
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(255, 100, 0, 0.5) inset;
}

.geyser-dial {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e65100 0%, #bf360c 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.geyser-pipes {
    position: absolute;
    bottom: -5px;
    left: 10px;
    width: 8px;
    height: 10px;
    background: #999;
    border-radius: 0 0 3px 3px;
    box-shadow: 22px 0 0 #999;
}

/* === Slider Electrician Icon === */
.slider-elec {
    position: relative;
    width: 50px;
    height: 70px;
}

.elec-bulb {
    position: relative;
    width: 40px;
    margin: 0 auto;
}

.bulb-glass {
    width: 40px;
    height: 45px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 200, 0.9) 0%, rgba(255, 255, 150, 0.6) 50%, rgba(255, 255, 100, 0.3) 100%);
    border-radius: 50% 50% 45% 45%;
    box-shadow: 0 0 20px rgba(255, 230, 0, 0.6), 0 0 40px rgba(255, 200, 0, 0.3);
    animation: bulbGlow 2s ease-in-out infinite;
}

@keyframes bulbGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 230, 0, 0.6), 0 0 40px rgba(255, 200, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 230, 0, 0.9), 0 0 60px rgba(255, 200, 0, 0.5);
    }
}

.bulb-filament {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 15px;
    border: 2px solid rgba(255, 200, 0, 0.8);
    border-radius: 50%;
    background: transparent;
}

.bulb-base {
    width: 20px;
    height: 15px;
    background: linear-gradient(180deg, #888 0%, #555 100%);
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
    position: relative;
}

.bulb-base::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: #333;
    box-shadow: 0 4px 0 #333, 0 8px 0 #333;
}

.elec-sparks {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.elec-sparks span {
    width: 8px;
    height: 15px;
    background: linear-gradient(180deg, #FFD700 0%, transparent 100%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: spark 0.5s ease-in-out infinite alternate;
}

.elec-sparks span:last-child {
    animation-delay: 0.25s;
}

@keyframes spark {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.promo-dot.active {
    background: #1976D2;
    width: 20px;
    border-radius: 10px;
}

/* === Categories V2 CSS (Moved from index.php) === */
.categories-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Full-bleed image card with text overlay */
.cat-card-v2 {
    display: block;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 100px;
    background: #F0F0F0;
}

.cat-card-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cat-card-v2:active {
    transform: scale(0.98);
}

/* Background image - covers full card */
.cat-card-v2 .cat-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 1;
}

/* Text overlay on left side */
.cat-left {
    position: relative;
    z-index: 2;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    max-width: 55%;
}

.cat-left h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.cat-left p {
    font-size: 13px;
    margin: 6px 0 0;
    color: #444444;
}

.cat-arrow {
    margin-top: 8px;
    font-size: 18px;
    color: #000000 !important;
    /* Force Black */
    opacity: 1 !important;
    background: transparent !important;
    /* Remove any circle bg */
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* Hide old cat-right div */
.cat-right {
    display: none;
}

.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-img-mini {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== Gree City Model AC Indoor Unit ===== */
.cat-ac {
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 50%, #c5dff0 100%) !important;
}

.ac-container {
    position: relative;
    width: 115px;
    height: 90px;
    margin-left: 5px;
    margin-top: 15px;
}

/* Particle Grid Overlay */
.ac-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.ac-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(33, 150, 243, 0.6);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.ac-container.dispersing .ac-particle {
    opacity: 1;
}

.ac-container.dispersing .gree-ac {
    filter: blur(2px);
    opacity: 0.3;
}

/* Gree AC Main Unit */
.gree-ac {
    position: relative;
    width: 110px;
    height: 55px;
    transition: filter 0.3s, opacity 0.3s;
}

/* Wall Mount Shadow */
.gree-shadow {
    position: absolute;
    bottom: -8px;
    left: 5px;
    right: 5px;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
    filter: blur(4px);
}

/* Curved Body */
.gree-body {
    position: relative;
    width: 110px;
    height: 50px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            #fafafa 30%,
            #f5f5f5 60%,
            #eeeeee 100%);
    border-radius: 8px 8px 20px 20px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15),
        0 2px 0 rgba(255, 255, 255, 0.9) inset,
        0 -3px 6px rgba(0, 0, 0, 0.05) inset;
    overflow: visible;
}

/* Top Curved Edge */
.gree-top-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.8) inset;
}

/* Front Panel */
.gree-front {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Air Intake Vents */
.gree-vents {
    display: flex;
    gap: 2px;
    padding: 0 6px;
    margin-bottom: 4px;
}

.gree-vents span {
    flex: 1;
    height: 8px;
    background: linear-gradient(180deg, #d0d0d0 0%, #c0c0c0 50%, #d5d5d5 100%);
    border-radius: 1px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}

/* Simple Small Temperature Display */
.simple-temp {
    position: absolute;
    top: 14px;
    right: 8px;
    font-size: 8px;
    font-weight: 700;
    color: #1976D2;
    font-family: 'Segoe UI', sans-serif;
}

/* Power LED */
.power-led {
    position: absolute;
    top: 16px;
    left: 8px;
    width: 4px;
    height: 4px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 3px #4CAF50;
}

/* Open Louver */
.gree-louver {
    position: absolute;
    bottom: -12px;
    left: 5px;
    right: 5px;
    height: 18px;
    perspective: 150px;
}

.louver-blade {
    width: 100%;
    height: 14px;
    background: linear-gradient(180deg,
            #f0f0f0 0%,
            #e5e5e5 50%,
            #ddd 100%);
    border-radius: 0 0 10px 10px;
    transform: rotateX(-70deg);
    transform-origin: top center;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.2),
        0 2px 0 rgba(255, 255, 255, 0.8) inset;
    animation: louverSwing 5s ease-in-out infinite;
}

.louver-inner {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 6px;
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    border-radius: 0 0 4px 4px;
}

@keyframes louverSwing {

    0%,
    100% {
        transform: rotateX(-70deg);
    }

    50% {
        transform: rotateX(-65deg);
    }
}

/* Visible Cooling Air Flow */
.gree-cooling {
    position: absolute;
    bottom: -35px;
    left: 10px;
    right: 10px;
    height: 40px;
}

.air-flow {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.air-flow span {
    width: 6px;
    height: 30px;
    background: linear-gradient(180deg,
            rgba(100, 200, 255, 0.8) 0%,
            rgba(100, 200, 255, 0.5) 30%,
            rgba(100, 200, 255, 0.2) 60%,
            transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: airFlow 1.2s ease-in-out infinite;
}

.air-flow span:nth-child(1) {
    height: 24px;
    animation-delay: 0s;
}

.air-flow span:nth-child(2) {
    height: 28px;
    animation-delay: 0.1s;
}

.air-flow span:nth-child(3) {
    height: 32px;
    animation-delay: 0.2s;
}

.air-flow span:nth-child(4) {
    height: 35px;
    animation-delay: 0.3s;
}

.air-flow span:nth-child(5) {
    height: 38px;
    animation-delay: 0.4s;
}

.air-flow span:nth-child(6) {
    height: 35px;
    animation-delay: 0.5s;
}

.air-flow span:nth-child(7) {
    height: 32px;
    animation-delay: 0.6s;
}

.air-flow span:nth-child(8) {
    height: 28px;
    animation-delay: 0.7s;
}

.air-flow span:nth-child(9) {
    height: 24px;
    animation-delay: 0.8s;
}

@keyframes airFlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translateY(0) scaleY(0.9);
    }

    50% {
        opacity: 1;
        transform: translateY(10px) scaleY(1.15);
    }
}

/* Cold Mist Effect */
.cold-mist {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(180deg,
            rgba(200, 230, 255, 0.5) 0%,
            rgba(200, 230, 255, 0.2) 50%,
            transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: mistPulse 2s ease-in-out infinite;
    filter: blur(3px);
}

@keyframes mistPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleX(0.8) scaleY(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scaleX(1.1) scaleY(1.2);
    }
}

/* 3D Body Container */
.ac-body-3d {
    position: relative;
    width: 95px;
    height: 50px;
    transform-style: preserve-3d;
    perspective: 300px;
}

/* Top Surface */
.ac-top-surface {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, #fafafa 0%, #e0e0e0 100%);
    border-radius: 8px 8px 0 0;
    transform: rotateX(-50deg);
    transform-origin: bottom center;
    box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.8) inset;
}

.ac-top-shine {
    position: absolute;
    top: 1px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
    border-radius: 50%;
}

/* Front Panel - Cleaner White */
.ac-front-panel {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            #fcfcfc 15%,
            #f8f8f8 40%,
            #f2f2f2 70%,
            #ececec 90%,
            #e6e6e6 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px 4px 10px 10px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.9) inset,
        0 -2px 4px rgba(0, 0, 0, 0.08) inset,
        2px 0 4px rgba(0, 0, 0, 0.05) inset,
        -2px 0 4px rgba(0, 0, 0, 0.05) inset,
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.ac-panel-shine {
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, transparent 100%);
    border-radius: 0 0 50% 50%;
}

/* Big Temperature Display */
.ac-big-temp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: flex-start;
    gap: 1px;
}

.temp-num {
    font-size: 14px;
    font-weight: 800;
    color: #1565C0;
    font-family: 'Segoe UI', sans-serif;
    text-shadow: 0 0 8px rgba(21, 101, 192, 0.4);
    animation: tempGlow 2s ease-in-out infinite;
}

.temp-deg {
    font-size: 8px;
    font-weight: 700;
    color: #42A5F5;
    margin-top: 2px;
}

@keyframes tempGlow {

    0%,
    100% {
        text-shadow: 0 0 8px rgba(21, 101, 192, 0.4);
    }

    50% {
        text-shadow: 0 0 15px rgba(21, 101, 192, 0.7);
    }
}

/* Mode Icon (Snowflake) */
.ac-mode-icon {
    position: absolute;
    bottom: 4px;
    left: 8px;
    font-size: 10px;
    animation: snowFlake 3s linear infinite;
}

@keyframes snowFlake {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Brand Logo */
.ac-brand-logo {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 7px;
    font-weight: 800;
    color: #bbb;
}

/* Open Swing Louver */
.ac-swing-open {
    position: absolute;
    top: 42px;
    left: 5px;
    right: 5px;
    height: 18px;
    perspective: 100px;
}

.swing-blade {
    width: 100%;
    height: 15px;
    background: linear-gradient(180deg,
            #f5f5f5 0%,
            #e8e8e8 30%,
            #ddd 100%);
    border-radius: 0 0 8px 8px;
    transform: rotateX(-60deg);
    transform-origin: top center;
    box-shadow:
        0 5px 10px rgba(0, 0, 0, 0.2),
        0 2px 0 rgba(255, 255, 255, 0.7) inset;
    animation: swingMotion 4s ease-in-out infinite;
}

@keyframes swingMotion {

    0%,
    100% {
        transform: rotateX(-60deg);
    }

    50% {
        transform: rotateX(-70deg);
    }
}

/* Enhanced Cooling Blast */
.ac-cooling-blast {
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 35px;
}

.cool-wave {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg,
            rgba(100, 181, 246, 0.4) 0%,
            rgba(100, 181, 246, 0.1) 50%,
            transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: waveFlow 1.5s ease-in-out infinite;
}

@keyframes waveFlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.cool-stream {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.cool-stream span {
    width: 5px;
    height: 25px;
    background: linear-gradient(180deg,
            rgba(100, 181, 246, 0.7) 0%,
            rgba(100, 181, 246, 0.4) 40%,
            rgba(100, 181, 246, 0.1) 70%,
            transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: streamFlow 1.8s ease-in-out infinite;
}

.cool-stream span:nth-child(1) {
    animation-delay: 0s;
    height: 22px;
}

.cool-stream span:nth-child(2) {
    animation-delay: 0.2s;
    height: 28px;
}

.cool-stream span:nth-child(3) {
    animation-delay: 0.4s;
    height: 30px;
}

.cool-stream span:nth-child(4) {
    animation-delay: 0.6s;
    height: 32px;
}

.cool-stream span:nth-child(5) {
    animation-delay: 0.8s;
    height: 30px;
}

.cool-stream span:nth-child(6) {
    animation-delay: 1.0s;
    height: 28px;
}

.cool-stream span:nth-child(7) {
    animation-delay: 1.2s;
    height: 22px;
}

@keyframes streamFlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0) scaleY(0.8);
    }

    50% {
        opacity: 1;
        transform: translateY(8px) scaleY(1.2);
    }
}

/* Frost Particles */
.frost-particles {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 25px;
    pointer-events: none;
}

.frost-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(100, 181, 246, 0.8);
    animation: frostFall 2s ease-in-out infinite;
}

.frost-particles span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.frost-particles span:nth-child(2) {
    left: 30%;
    animation-delay: 0.4s;
}

.frost-particles span:nth-child(3) {
    left: 50%;
    animation-delay: 0.8s;
}

.frost-particles span:nth-child(4) {
    left: 70%;
    animation-delay: 1.2s;
}

.frost-particles span:nth-child(5) {
    left: 90%;
    animation-delay: 1.6s;
}

@keyframes frostFall {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

/* Cool Air Stream */
.ac-cool-stream {
    position: absolute;
    bottom: 2px;
    left: 15px;
    right: 15px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 3px;
}

.ac-cool-stream span {
    width: 6px;
    height: 18px;
    background: linear-gradient(180deg,
            rgba(100, 181, 246, 0.5) 0%,
            rgba(100, 181, 246, 0.2) 40%,
            rgba(100, 181, 246, 0.05) 70%,
            transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: coolStream 2s ease-in-out infinite;
    filter: blur(0.5px);
}

.ac-cool-stream span:nth-child(1) {
    animation-delay: 0s;
}

.ac-cool-stream span:nth-child(2) {
    animation-delay: 0.3s;
    height: 22px;
}

.ac-cool-stream span:nth-child(3) {
    animation-delay: 0.6s;
    height: 20px;
}

.ac-cool-stream span:nth-child(4) {
    animation-delay: 0.9s;
    height: 22px;
}

.ac-cool-stream span:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes coolStream {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0) scaleY(0.9);
    }

    50% {
        opacity: 0.9;
        transform: translateY(5px) scaleY(1.15);
    }
}

/* Dark mode */
body.dark-mode .ac-front-panel {
    background: linear-gradient(180deg, #4a4a6a 0%, #3a3a5a 50%, #2a2a4a 100%);
}

body.dark-mode .ac-top-surface {
    background: linear-gradient(180deg, #4a4a6a 0%, #3a3a5a 100%);
}

body.dark-mode .ac-louver-3d {
    background: linear-gradient(180deg, #3a3a5a 0%, #2a2a4a 100%);
}

body.dark-mode .ac-air-grille span {
    background: linear-gradient(180deg, #5a5a7a 0%, #4a4a6a 50%, #5a5a7a 100%);
}

body.dark-mode .ac-particle {
    background: rgba(100, 181, 246, 0.7);
}

/* ===== Dual Cards Row (Electrician & Plumber) ===== */
.dual-cards-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.cat-card-mini {
    flex: 1;
    display: block;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 160px;
    /* Force height for square-ish look */
    background: #F0F0F0;
}

.cat-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cat-card-mini:active {
    transform: scale(0.98);
}

/* Mini Card Background Image (Full Cover) */
.cat-card-mini .cat-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Mini Card Content Overlay (Bottom) */
.cat-mini-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    z-index: 2;
    text-align: center;
    /* Background gradient fade for text legibility if needed, 
       but user said bottom empty so probably fine without heavy bg */
}

.cat-mini-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #333;
    /* Dark text on silver bg */
}

.cat-mini-content p {
    font-size: 12px;
    margin: 4px 0 0;
    color: #666;
}

/* Beautician Card Pink Background */
.cat-beauty {
    background: #FFE4EC !important;
}

.cat-beauty .cat-left h3 {
    color: #880E4F;
}

/* Dark Pink Text */
.cat-beauty .cat-left p {
    color: #AD1457;
}

/* ===== Sticker Icon Styles ===== */
.sticker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sticker-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Mini card sticker sizing */
.mini-icon.sticker-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
}

/* Large card sticker sizing */
.cat-right .sticker-icon {
    width: 70px;
    height: 70px;
}

/* Gradient backgrounds - matching card colors fading to white */
.elec-sticker {
    background: radial-gradient(circle at center, rgba(0, 131, 143, 0.3) 0%, rgba(0, 131, 143, 0.15) 40%, rgba(255, 255, 255, 0.5) 70%, transparent 100%) !important;
}

.plumber-sticker {
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.3) 0%, rgba(33, 150, 243, 0.15) 40%, rgba(255, 255, 255, 0.5) 70%, transparent 100%) !important;
}

.appliance-sticker {
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.25) 0%, rgba(76, 175, 80, 0.12) 40%, rgba(255, 255, 255, 0.5) 70%, transparent 100%) !important;
}

.beauty-sticker {
    background: radial-gradient(circle at center, rgba(233, 30, 99, 0.25) 0%, rgba(233, 30, 99, 0.12) 40%, rgba(255, 255, 255, 0.5) 70%, transparent 100%) !important;
}

/* Dark mode backgrounds - fade to black */
body.dark-mode .elec-sticker {
    background: radial-gradient(circle at center, rgba(0, 131, 143, 0.4) 0%, rgba(0, 131, 143, 0.2) 40%, rgba(0, 0, 0, 0.4) 70%, transparent 100%) !important;
}

body.dark-mode .plumber-sticker {
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.35) 0%, rgba(33, 150, 243, 0.15) 40%, rgba(0, 0, 0, 0.4) 70%, transparent 100%) !important;
}

body.dark-mode .appliance-sticker {
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.15) 40%, rgba(0, 0, 0, 0.4) 70%, transparent 100%) !important;
}

body.dark-mode .beauty-sticker {
    background: radial-gradient(circle at center, rgba(233, 30, 99, 0.3) 0%, rgba(233, 30, 99, 0.15) 40%, rgba(0, 0, 0, 0.4) 70%, transparent 100%) !important;
}

/* Hover animations */
.cat-card-mini:hover .sticker-icon img,
.cat-card-v2:hover .sticker-icon img {
    transform: scale(1.1);
}

/* Electrician - Spark flash */
.elec-sticker {
    animation: sparkFlash 2s ease-in-out infinite;
}

@keyframes sparkFlash {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.15) drop-shadow(0 0 3px rgba(255, 193, 7, 0.5));
    }
}

/* Plumber - Water pulse */
.plumber-sticker {
    animation: waterPulse 2s ease-in-out infinite;
}

@keyframes waterPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 3px rgba(33, 150, 243, 0.4));
    }
}

/* Home Appliances - Gentle vibrate */
.appliance-sticker {
    animation: washVibrate 0.15s linear infinite;
}

@keyframes washVibrate {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-0.5px);
    }

    75% {
        transform: translateX(0.5px);
    }
}

/* Beautician - Shimmer */
.beauty-sticker {
    animation: beautyShimmer 3s ease-in-out infinite;
}

@keyframes beautyShimmer {

    0%,
    100% {
        filter: brightness(1) saturate(1);
    }

    50% {
        filter: brightness(1.1) saturate(1.15);
    }
}

/* Dark mode for sticker icons */
body.dark-mode .sticker-icon img {
    filter: brightness(0.85) saturate(1.2);
}

body.dark-mode .elec-sticker {
    animation: sparkFlashDark 2s ease-in-out infinite;
}

body.dark-mode .plumber-sticker {
    animation: waterPulseDark 2s ease-in-out infinite;
}

body.dark-mode .beauty-sticker {
    animation: beautyShimmerDark 3s ease-in-out infinite;
}

@keyframes sparkFlashDark {

    0%,
    100% {
        filter: brightness(0.85) saturate(1.2);
    }

    50% {
        filter: brightness(1) saturate(1.3) drop-shadow(0 0 4px rgba(255, 193, 7, 0.6));
    }
}

@keyframes waterPulseDark {

    0%,
    100% {
        filter: brightness(0.85) saturate(1.2);
    }

    50% {
        filter: brightness(1) saturate(1.3) drop-shadow(0 0 4px rgba(33, 150, 243, 0.5));
    }
}

@keyframes beautyShimmerDark {

    0%,
    100% {
        filter: brightness(0.85) saturate(1.2);
    }

    50% {
        filter: brightness(1) saturate(1.4);
    }
}

/* Dark mode for cards */
body.dark-mode .cat-card-mini {
    background: linear-gradient(145deg, #2d2d4a 0%, #1a1a2e 100%) !important;
}

body.dark-mode .cat-card-mini h4,
body.dark-mode .cat-card-mini p {
    filter: brightness(1.3);
}

/* === CSS ICON WRAPPER === */
.css-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

/* ============================================
   CSS ELECTRICIAN ICON - Electrical Panel
   ============================================ */
.css-elec-icon {
    position: relative;
    width: 50px;
    height: 55px;
}

/* Main Panel Box */
.panel-box {
    position: absolute;
    width: 42px;
    height: 50px;
    background: linear-gradient(180deg, #546E7A 0%, #455A64 50%, #37474F 100%);
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid #263238;
}

/* Panel Door */
.panel-door {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(180deg, #78909C 0%, #607D8B 100%);
    border-radius: 2px;
    border: 1px solid #455A64;
}

/* Circuit Breakers */
.panel-door::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 6px;
    background: linear-gradient(90deg, #FF5722 0%, #E64A19 100%);
    border-radius: 2px;
    box-shadow: 0 10px 0 #4CAF50, 0 20px 0 #4CAF50, 0 30px 0 #FF5722;
}

/* Circuit Labels */
.panel-door::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 6px;
    width: 4px;
    height: 36px;
    background: repeating-linear-gradient(180deg,
            #FFEB3B 0px,
            #FFEB3B 2px,
            transparent 2px,
            transparent 10px);
}

/* Wires coming out */
.wire {
    position: absolute;
    width: 3px;
    border-radius: 2px;
}

.wire1 {
    height: 12px;
    background: linear-gradient(180deg, #F44336 0%, #D32F2F 100%);
    top: -8px;
    left: 10px;
}

.wire2 {
    height: 10px;
    background: linear-gradient(180deg, #2196F3 0%, #1976D2 100%);
    top: -6px;
    left: 20px;
}

.wire3 {
    height: 14px;
    background: linear-gradient(180deg, #4CAF50 0%, #388E3C 100%);
    top: -10px;
    left: 30px;
}

/* Electric Sparks */
.elec-sparks {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.elec-sparks span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFEB3B;
    border-radius: 50%;
    animation: sparkle 0.8s ease-in-out infinite;
    box-shadow: 0 0 8px #FFEB3B, 0 0 12px #FF9800;
}

.elec-sparks span:nth-child(1) {
    left: -10px;
    animation-delay: 0s;
}

.elec-sparks span:nth-child(2) {
    left: 0;
    animation-delay: 0.3s;
}

.elec-sparks span:nth-child(3) {
    left: 10px;
    animation-delay: 0.6s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Dark mode */
body.dark-mode .panel-box {
    background: linear-gradient(180deg, #37474F 0%, #263238 100%);
}

body.dark-mode .panel-door {
    background: linear-gradient(180deg, #455A64 0%, #37474F 100%);
}

/* ============================================
   CSS PLUMBER ICON - Pipes with Wrench
   ============================================ */
.css-plumb-icon {
    position: relative;
    width: 55px;
    height: 50px;
}

/* Horizontal Pipe */
.pipe-h {
    position: absolute;
    top: 12px;
    left: 0;
    width: 45px;
    height: 12px;
    background: linear-gradient(180deg, #90A4AE 0%, #78909C 40%, #607D8B 100%);
    border-radius: 6px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.pipe-h::before {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 8px;
    height: 16px;
    background: linear-gradient(90deg, #78909C 0%, #607D8B 100%);
    border-radius: 2px;
}

/* Vertical Pipe */
.pipe-v {
    position: absolute;
    top: 18px;
    left: 36px;
    width: 12px;
    height: 32px;
    background: linear-gradient(90deg, #90A4AE 0%, #78909C 40%, #607D8B 100%);
    border-radius: 6px;
    box-shadow: inset 2px 0 4px rgba(255, 255, 255, 0.3), inset -2px 0 4px rgba(0, 0, 0, 0.2);
}

/* Pipe Joint (Elbow) */
.pipe-joint {
    position: absolute;
    top: 10px;
    left: 34px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #B0BEC5 0%, #90A4AE 50%, #78909C 100%);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pipe-joint::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #78909C 0%, #607D8B 100%);
    border-radius: 2px;
}

/* Wrench */
.wrench {
    position: absolute;
    bottom: 2px;
    left: 5px;
    width: 28px;
    height: 8px;
    background: linear-gradient(180deg, #F44336 0%, #D32F2F 100%);
    border-radius: 2px;
    transform: rotate(-30deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wrench::before {
    content: '';
    position: absolute;
    left: -6px;
    top: -4px;
    width: 12px;
    height: 16px;
    background: linear-gradient(180deg, #BDBDBD 0%, #9E9E9E 50%, #757575 100%);
    border-radius: 3px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
}

.wrench::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 1px;
    width: 8px;
    height: 6px;
    background: linear-gradient(180deg, #BDBDBD 0%, #757575 100%);
    border-radius: 1px;
}

/* Water Drops */
.water-drops {
    position: absolute;
    bottom: 0;
    right: 8px;
}

.water-drops span {
    position: absolute;
    width: 6px;
    height: 8px;
    background: linear-gradient(180deg, #4FC3F7 0%, #29B6F6 50%, #03A9F4 100%);
    border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
    animation: dropFall 1.5s ease-in-out infinite;
}

.water-drops span:nth-child(1) {
    right: 0;
    animation-delay: 0s;
}

.water-drops span:nth-child(2) {
    right: 10px;
    animation-delay: 0.5s;
}

@keyframes dropFall {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

/* Dark mode */
body.dark-mode .pipe-h,
body.dark-mode .pipe-v {
    background: linear-gradient(180deg, #546E7A 0%, #455A64 100%);
}

body.dark-mode .pipe-joint {
    background: linear-gradient(135deg, #607D8B 0%, #546E7A 100%);
}

/* ============================================
   CSS BEAUTICIAN ICON - Makeup Tools
   ============================================ */
.css-beauty-icon {
    position: relative;
    width: 70px;
    height: 60px;
}

/* Lipstick */
.lipstick {
    position: absolute;
    left: 0;
    bottom: 5px;
    transform: rotate(-15deg);
}

.lip-cap {
    width: 14px;
    height: 12px;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 3px 3px 0 0;
    margin-bottom: -1px;
}

.lip-body {
    width: 14px;
    height: 22px;
    background: linear-gradient(180deg, #FFD700 0%, #FFC107 50%, #FF9800 100%);
    border-radius: 0 0 2px 2px;
}

.lip-tip {
    width: 10px;
    height: 14px;
    background: linear-gradient(180deg, #FF1744 0%, #E91E63 50%, #C2185B 100%);
    border-radius: 50% 50% 3px 3px;
    margin: -2px auto 0;
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.4);
}

/* Mirror */
.mirror {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.mirror-glass {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 30%, #90CAF9 60%, #64B5F6 100%);
    border-radius: 50%;
    border: 3px solid linear-gradient(180deg, #BDBDBD 0%, #9E9E9E 100%);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.mirror-glass::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.mirror-glass::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.mirror-handle {
    width: 10px;
    height: 18px;
    background: linear-gradient(90deg, #9E9E9E 0%, #BDBDBD 50%, #9E9E9E 100%);
    border-radius: 0 0 3px 3px;
    margin: -2px auto 0;
}

/* Makeup Brush */
.makeup-brush {
    position: absolute;
    right: 0;
    bottom: 8px;
    transform: rotate(20deg);
}

.brush-bristles {
    width: 16px;
    height: 18px;
    background: linear-gradient(180deg, #FFAB91 0%, #FF8A65 30%, #FF7043 100%);
    border-radius: 8px 8px 3px 3px;
    position: relative;
}

.brush-bristles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2px;
    right: 2px;
    height: 10px;
    background: repeating-linear-gradient(90deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 3px);
    border-radius: 5px 5px 0 0;
}

.brush-handle {
    width: 8px;
    height: 28px;
    background: linear-gradient(90deg, #8D6E63 0%, #A1887F 50%, #795548 100%);
    border-radius: 0 0 2px 2px;
    margin: 0 auto;
}

.brush-handle::before {
    content: '';
    display: block;
    width: 12px;
    height: 6px;
    background: linear-gradient(180deg, #FFD700 0%, #FFCA28 100%);
    border-radius: 1px;
    margin: 0 auto;
    transform: translateX(-2px);
}

/* Beauty Sparkles */
.beauty-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.beauty-sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 50%;
    animation: beautySparkle 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px #FFD700;
}

.beauty-sparkles span:nth-child(1) {
    top: 5px;
    left: 20px;
    animation-delay: 0s;
}

.beauty-sparkles span:nth-child(2) {
    top: 10px;
    right: 15px;
    animation-delay: 0.5s;
    width: 4px;
    height: 4px;
}

.beauty-sparkles span:nth-child(3) {
    bottom: 25px;
    left: 35px;
    animation-delay: 1s;
    width: 5px;
    height: 5px;
}

@keyframes beautySparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Dark mode */
body.dark-mode .mirror-glass {
    background: linear-gradient(135deg, #37474F 0%, #455A64 50%, #546E7A 100%);
}

body.dark-mode .mirror-handle {
    background: linear-gradient(90deg, #616161 0%, #757575 50%, #616161 100%);
}

/* === CSS Clean Appliances (Washer + Fridge) === */
.css-appliance-clean {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

/* Clean Washing Machine */
.washer-clean {
    width: 32px;
    height: 40px;
    background: linear-gradient(180deg, #ECEFF1 0%, #CFD8DC 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.washer-panel {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 8px;
    background: linear-gradient(90deg, #90A4AE 0%, #78909C 100%);
    border-radius: 2px;
}

.washer-panel::before {
    content: '';
    position: absolute;
    right: 2px;
    top: 2px;
    width: 4px;
    height: 4px;
    background: #4CAF50;
    border-radius: 50%;
}

.washer-door-clean {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #B3E5FC 0%, #81D4FA 50%, #4FC3F7 100%);
    border-radius: 50%;
    border: 2px solid #90A4AE;
}

.door-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Clean Fridge */
.fridge-clean {
    width: 26px;
    height: 48px;
    background: linear-gradient(180deg, #ECEFF1 0%, #CFD8DC 100%);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.fridge-freezer {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 14px;
    background: linear-gradient(180deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 2px;
    border-bottom: 1px solid #90A4AE;
}

.fridge-main {
    position: absolute;
    top: 19px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(180deg, #F5F5F5 0%, #EEEEEE 100%);
    border-radius: 2px;
}

.fridge-handle {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #BDBDBD 0%, #9E9E9E 100%);
    border-radius: 1px;
}

/* Dark mode for clean appliances */
body.dark-mode .washer-clean,
body.dark-mode .fridge-clean {
    background: linear-gradient(180deg, #424242 0%, #303030 100%);
}

body.dark-mode .washer-door-clean {
    background: linear-gradient(135deg, #37474F 0%, #263238 100%);
}

body.dark-mode .fridge-freezer,
body.dark-mode .fridge-main {
    background: linear-gradient(180deg, #455A64 0%, #37474F 100%);
}

/* === CSS Beautician Silhouette (matches beautician-light.png) === */
.css-beauty-silhouette {
    position: relative;
    width: 60px;
    height: 70px;
}

.beauty-head {
    position: relative;
    width: 45px;
    height: 50px;
}

/* Hair Top */
.hair-top {
    position: absolute;
    top: 0;
    left: 5px;
    width: 32px;
    height: 25px;
    background: linear-gradient(180deg, #6D4C41 0%, #5D4037 50%, #4E342E 100%);
    border-radius: 50% 50% 30% 70%;
    z-index: 2;
}

/* Hair Bun */
.hair-bun {
    position: absolute;
    top: 2px;
    right: 0;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #5D4037 0%, #4E342E 100%);
    border-radius: 50%;
    z-index: 1;
}

/* Face Profile Shape */
.face-profile {
    position: absolute;
    top: 18px;
    left: 8px;
    width: 28px;
    height: 32px;
    background: linear-gradient(180deg, #FFCC80 0%, #FFB74D 50%, #FFA726 100%);
    border-radius: 45% 55% 50% 45%;
    z-index: 3;
    overflow: hidden;
}

/* Forehead curve */
.forehead {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: #FFCC80;
    border-radius: 50% 50% 0 0;
}

/* Nose */
.nose {
    position: absolute;
    top: 14px;
    right: -2px;
    width: 6px;
    height: 8px;
    background: #FFB74D;
    border-radius: 0 50% 50% 0;
}

/* Profile Lip */
.profile-lip {
    position: absolute;
    bottom: 8px;
    right: 2px;
    width: 8px;
    height: 4px;
    background: linear-gradient(90deg, #EC407A 0%, #E91E63 100%);
    border-radius: 0 30% 50% 50%;
}

/* Chin */
.chin {
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 60%;
    height: 8px;
    background: #FFA726;
    border-radius: 0 0 50% 50%;
}

/* Profile Eye */
.profile-eye {
    position: absolute;
    top: 26px;
    left: 16px;
    width: 7px;
    height: 4px;
    background: #3E2723;
    border-radius: 50%;
    z-index: 4;
}

/* Eyelash Line */
.eyelash-line {
    position: absolute;
    top: 24px;
    left: 15px;
    width: 10px;
    height: 2px;
    border-top: 2px solid #3E2723;
    border-radius: 50%;
    z-index: 4;
}

/* Neck */
.neck {
    position: absolute;
    bottom: 0;
    left: 18px;
    width: 14px;
    height: 18px;
    background: linear-gradient(180deg, #FFB74D 0%, #FFA726 100%);
    border-radius: 0 0 40% 40%;
}

/* Beauty Shine Sparkles */
.beauty-shine {
    position: absolute;
    top: 5px;
    right: 0;
}

.beauty-shine span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FFD54F;
    border-radius: 50%;
    animation: shineSparkle 1.5s ease-in-out infinite;
}

.beauty-shine span:nth-child(1) {
    top: 0;
    left: 0;
}

.beauty-shine span:nth-child(2) {
    top: 12px;
    left: 8px;
    animation-delay: 0.5s;
}

@keyframes shineSparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Dark mode for silhouette */
body.dark-mode .face-profile,
body.dark-mode .forehead,
body.dark-mode .chin,
body.dark-mode .neck {
    filter: brightness(0.85);
}

body.dark-mode .hair-top,
body.dark-mode .hair-bun {
    background: linear-gradient(180deg, #37474F 0%, #263238 100%);
}

/* === CSS Light Switch === */
.css-switch {
    position: relative;
    width: 22px;
    height: 32px;
}

.switch-plate {
    width: 22px;
    height: 32px;
    background: linear-gradient(180deg, #fff 0%, #e0e0e0 100%);
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.switch-toggle {
    position: absolute;
    top: 6px;
    left: 5px;
    width: 12px;
    height: 14px;
    background: linear-gradient(180deg, #F57C00 0%, #E65100 100%);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transform: rotateX(-20deg);
}

/* === CSS Water Tap === */
.css-tap {
    position: relative;
    width: 30px;
    height: 35px;
}

.tap-body {
    width: 12px;
    height: 20px;
    background: linear-gradient(90deg, #90CAF9 0%, #64B5F6 50%, #90CAF9 100%);
    border-radius: 0 0 6px 6px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tap-handle {
    width: 20px;
    height: 6px;
    background: linear-gradient(180deg, #42A5F5 0%, #1E88E5 100%);
    border-radius: 3px;
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.tap-drop {
    width: 6px;
    height: 8px;
    background: linear-gradient(180deg, #90CAF9 0%, #42A5F5 100%);
    border-radius: 50% 50% 50% 50%;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    animation: dropFall 1.5s ease-in infinite;
}

@keyframes dropFall {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 1;
        transform: translateX(-50%) translateY(8px);
    }

    90% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* === CSS Washing Machine === */
.css-washer {
    position: relative;
    width: 55px;
    height: 55px;
}

.washer-body {
    width: 50px;
    height: 55px;
    background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}

.washer-door {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%);
    border: 3px solid #ddd;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px #bbb inset;
}

.washer-panel {
    position: absolute;
    top: 4px;
    left: 6px;
    right: 6px;
    height: 10px;
    background: linear-gradient(90deg, #2E7D32 20%, #333 20%, #333 30%, #4CAF50 30%, #4CAF50 50%, #888 50%);
    border-radius: 2px;
}

/* === CSS Makeup Brush === */
.css-makeup {
    position: relative;
    width: 25px;
    height: 55px;
    transform: rotate(-15deg);
}

.brush-bristles {
    width: 20px;
    height: 25px;
    background: linear-gradient(180deg, #FF8A65 0%, #FF7043 100%);
    border-radius: 5px 5px 0 0;
    margin: 0 auto;
}

.brush-handle {
    width: 12px;
    height: 30px;
    background: linear-gradient(90deg, #8D6E63 0%, #6D4C41 100%);
    margin: 0 auto;
    border-radius: 0 0 2px 2px;
}

/* Category Solo Cards (Bottom Row) */
.cat-elec-solo {
    background: linear-gradient(145deg, #E0F2F1 0%, #B2DFDB 100%) !important;
}

.cat-elec-solo h4 {
    color: #00695C !important;
}

.cat-elec-solo p {
    color: #00838F !important;
}

.cat-plumb-solo {
    background: linear-gradient(145deg, #E3F2FD 0%, #BBDEFB 100%) !important;
}

.cat-plumb-solo h4 {
    color: #1565C0 !important;
}

.cat-plumb-solo p {
    color: #1976D2 !important;
}

/* Electrician - Teal theme in dark mode */
body.dark-mode .cat-elec-solo {
    background: linear-gradient(145deg, #E0F2F1 0%, #B2DFDB 100%) !important;
}

body.dark-mode .cat-elec-solo h4 {
    color: #00695C !important;
}

body.dark-mode .cat-elec-solo p {
    color: #00838F !important;
}

/* Plumber - Blue theme in dark mode */
body.dark-mode .cat-plumb-solo {
    background: linear-gradient(145deg, #E3F2FD 0%, #BBDEFB 100%) !important;
}

body.dark-mode .cat-plumb-solo h4 {
    color: #1565C0 !important;
}

body.dark-mode .cat-plumb-solo p {
    color: #1976D2 !important;
}

/* Home Appliances - Green theme in dark mode */
body.dark-mode .cat-appliance {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%) !important;
}

body.dark-mode .cat-appliance .cat-left h3 {
    color: #2E7D32 !important;
}

body.dark-mode .cat-appliance .cat-left p {
    color: #388E3C !important;
}

/* Beautician - Pink theme in dark mode */
body.dark-mode .cat-beauty {
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD9 100%) !important;
}

body.dark-mode .cat-beauty .cat-left h3 {
    color: #C2185B !important;
}

body.dark-mode .cat-beauty .cat-left p {
    color: #D81B60 !important;
}

/* Dark mode right side keeps colored bg */
body.dark-mode .cat-right {
    background: rgba(255, 255, 255, 0.3) !important;
}

body.dark-mode .cat-card-mini {
    border: none;
}

/* === Quick Service CSS === */
.quick-service-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.quick-service-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 16px;
}

.quick-service-info {
    flex: 1;
}

.quick-service-info h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.quick-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}

.feature i {
    color: #4CAF50;
    font-size: 11px;
}

.warranty-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    margin: 0 0 12px;
}

.call-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: transform 0.2s;
}

.call-now-btn:hover {
    transform: scale(1.05);
}

.quick-service-image {
    width: 100px;
    flex-shrink: 0;
}

.technician-placeholder {
    width: 100px;
    height: 120px;
    background: linear-gradient(145deg, #2d2d4a 0%, #1a1a2e 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.technician-placeholder i {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.4);
}

.technician-placeholder span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* If real image exists */
.quick-service-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.quick-service-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Wrap buttons */
.quick-service-info .call-now-btn,
.quick-service-info .whatsapp-btn {
    margin-top: 8px;
    width: 100%;
    /* Full width on mobile preferred? Or just block */
    justify-content: center;
}

/* === Desktop Response Styles === */
@media (min-width: 1024px) {

    /* General Container */
    body {
        background-color: #f4f6f8;
        /* Softer background for desktop */
    }

    .app-header,
    .search-row,
    .section-container,
    .quick-service-section,
    .seo-articles .section-container,
    .faq-section,
    .seo-keywords-section .container,
    .seo-internal-links .container,
    .promo-slider-section {
        max-width: 1200px;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Adjust background colors to look like a centered app */
    .app-header,
    .search-row {
        background-color: #fff;
        padding: 20px !important;
        border-radius: 0 0 16px 16px;
        margin-bottom: 20px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    /* Header Horizontal Layout */
    .app-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px !important;
    }

    .header-left h1 {
        font-size: 28px;
    }

    .header-subtitle {
        font-size: 16px;
    }

    /* Search Bar Refinements */
    .search-row {
        padding: 0 40px 20px !important;
        margin-top: -10px;
        /* Pull closer to header */
        background: #fff;
        /* Match header */
        box-shadow: none;
        /* Already on header container if we want, or separate */
        border-radius: 0;
    }

    /* Promo Slider - Wider and taller */
    .promo-slider {
        height: 380px;
        border-radius: 20px;
    }

    .promo-content {
        padding: 60px 80px;
    }

    .promo-text h3 {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .promo-text p {
        font-size: 18px;
    }

    .promo-css-icon {
        transform: scale(1.5);
        /* Make icons bigger */
        margin-right: 40px;
    }

    /* Categories - GRID LAYOUT */
    .categories-list-v2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    /* Reset any specific mobile overrides if needed */
    .cat-card-v2,
    .cat-card-mini {
        height: 220px;
        /* Taller cards */
    }

    /* Handle the dual-cards-row (Electrician/Plumber) */
    /* We want them to take 1 column each, so we need to break the row structure visually or grid it */
    /* Currently .dual-cards-row is a flex row. We can make it a grid sub-container or contents */
    .dual-cards-row {
        display: contents;
        /* This effectively "unwraps" the div so children partake in the parent grid */
    }

    /* Ensure the mini cards behave like full cards now */
    .cat-card-mini {
        height: 220px;
    }

    /* Quick Service Banner - Horizontal */
    .quick-service-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 40px;
    }

    .quick-service-info {
        max-width: 60%;
    }

    .quick-service-info h3 {
        font-size: 24px;
    }

    .feature {
        font-size: 14px;
        padding: 8px 16px;
    }

    .technician-placeholder,
    .quick-service-image img {
        width: 150px;
        height: 180px;
    }

    /* Button row */
    .quick-service-info .call-now-btn,
    .quick-service-info .whatsapp-btn {
        width: auto;
        margin-right: 12px;
        display: inline-flex;
    }

    /* FAQ Section */
    .faq-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: flex-start;
    }

    .section-header {
        grid-column: 1 / -1;
        /* Header spans full width */
        text-align: center;
        margin-bottom: 40px;
    }

    .faq-item {
        margin-bottom: 0;
        /* Let grid gap handle it */
        height: 100%;
        /* Full height items */
    }

    /* Articles Grid */
    .article-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns */
        gap: 24px;
        overflow-x: visible;
        /* No scrolling */
        padding-bottom: 0;
    }

    .article-card {
        min-width: 0;
        /* flexible width */
        margin-right: 0;
        height: 100%;
    }

    /* Footer/Internal Links */
    .seo-links-grid {
        gap: 12px;
    }

    .seo-links-grid a {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* === Floating Contact CSS === */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatShake 10s ease-in-out infinite;
    touch-action: none;
    /* Prevents browser scroll handling on touch */
    cursor: grab;
}

.floating-contact:active {
    cursor: grabbing;
}

.floating-handle {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    width: 100%;
    cursor: grab;
}

.floating-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.fab-btn:active {
    transform: scale(0.95);
}

.call-fab {
    background: linear-gradient(135deg, #0066FF 0%, #0044AA 100%);
}

.whatsapp-fab {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

@keyframes floatShake {

    0%,
    90% {
        transform: rotate(0deg);
    }

    92% {
        transform: rotate(-10deg);
    }

    94% {
        transform: rotate(10deg);
    }

    96% {
        transform: rotate(-10deg);
    }

    98% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Dark mode */
body.dark-mode .floating-contact {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .floating-handle {
    color: #555;
}