:root {
    --blue-primary: #0a6fb6;
    --green-primary: #4caf50;
    --blue-light: #e6f2fa;
    --green-light: #e8f5e9;
    --text-dark: #1f2933;
    --text-muted: #4b5563;
    --white: #ffffff;
    --border: #d1d5db;
    --grey-bg: #f5f7fa;
    --success: #2e7d32;
}

body {
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    background: #f8fafc;
    margin: 0;
    color: var(--text-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= GLOBAL LINK RESET ================= */
a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: "Poppins", sans-serif;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--blue-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Advanced Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(10, 111, 182, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo {
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--blue-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg,
            var(--blue-primary),
            var(--green-primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 22px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Header Icons Section */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.icon-link {
    position: relative;
    color: var(--text-dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.icon-link:hover {
    color: var(--blue-primary);
    background: var(--blue-light);
    transform: translateY(-2px);
}

.icon-link svg {
    width: 22px;
    height: 22px;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg,
            var(--green-primary),
            var(--success));
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-menu-custom a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-menu-custom a:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-menu-custom a:hover {
    background: var(--blue-light);
    color: var(--blue-primary);
    padding-left: 25px;
}

.dropdown-menu-custom svg {
    width: 18px;
    height: 18px;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

nav a::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            var(--blue-primary),
            var(--green-primary));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

nav a:hover {
    color: var(--blue-primary);
}

nav a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* ================= UTILITIES ================= */
.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary), #0858a0);
    color: white;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    /* transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 15px 35px rgba(10, 111, 182, 0.4); */
    box-shadow: 0 12px 30px rgba(10, 111, 182, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg,
            var(--green-primary),
            var(--success));
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.4);
}

/* Hero Section with Advanced Animation */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg,
            #e6f2fa 0%,
            #f0f9ff 50%,
            #ffffff 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: floatAdvanced 25s infinite ease-in-out;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg,
            var(--blue-primary),
            var(--green-primary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(225deg,
            var(--green-primary),
            var(--blue-primary));
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    top: 55%;
    right: 12%;
    animation-delay: 3s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(315deg,
            var(--blue-primary),
            var(--green-primary));
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    bottom: 15%;
    left: 15%;
    animation-delay: 6s;
}

.shape-4 {
    width: 90px;
    height: 90px;
    background: linear-gradient(180deg,
            var(--green-primary),
            var(--blue-primary));
    border-radius: 50%;
    top: 35%;
    right: 25%;
    animation-delay: 9s;
}

@keyframes floatAdvanced {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translate(-20px, -80px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translate(-40px, -40px) rotate(270deg) scale(1.05);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    opacity: 0;
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }

    from {
        opacity: 0;
        transform: translateX(-60px);
    }
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg,
            var(--blue-primary),
            var(--green-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(20deg);
    }
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    opacity: 0;
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.6s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }

    from {
        opacity: 0;
        transform: translateX(60px);
    }
}

.medical-illustration {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(10, 111, 182, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ================================
   WhatsApp QR inside Plus Circle
================================ */
/*
.medical-illustration {
    position: relative;
    width: 220px;
    height: 220px;
} */

.whatsapp-qr {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 50%;
    padding: 0px;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.35s ease;
}

.whatsapp-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    image-rendering: crisp-edges;
}

/* Optional subtle pulse glow */
.whatsapp-qr::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 80, 0.35);
    animation: qrPulse 2.5s infinite;
}

/* Hover animation */
.whatsapp-qr:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 18px 45px rgba(76, 175, 80, 0.45);
}

/* Tooltip */
.qr-tooltip {
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

/* Tooltip arrow */
.qr-tooltip::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #111827;
}

/* Show tooltip on hover */
.whatsapp-qr:hover .qr-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

/* Extra pulse glow on hover */
.whatsapp-qr:hover::after {
    border-color: rgba(76, 175, 80, 0.55);
}

/* ================================
   Mobile Behavior
================================ */
@media (max-width: 768px) {

    /* Hide QR visually */
    .whatsapp-qr {
        width: 0;
        height: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes qrPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.6; }
}

.medical-illustration::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(76, 175, 80, 0.1),
            transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.pulse-ring {
    position: absolute;
    border: 3px solid var(--green-primary);
    border-radius: 50%;
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ring-1 {
    width: 250px;
    height: 250px;
    animation-delay: 0s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    animation-delay: 0.3s;
}

.ring-3 {
    width: 350px;
    height: 350px;
    animation-delay: 0.6s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Trust Indicators with Advanced Animation */
.trust-section {
    padding: 80px 40px;
    background: linear-gradient(180deg,
            white 0%,
            var(--blue-light) 100%);
    position: relative;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.trust-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: white;
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.trust-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.trust-card:nth-child(1).visible {
    transition-delay: 0.1s;
}

.trust-card:nth-child(2).visible {
    transition-delay: 0.2s;
}

.trust-card:nth-child(3).visible {
    transition-delay: 0.3s;
}

.trust-card:nth-child(4).visible {
    transition-delay: 0.4s;
}

.trust-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(10, 111, 182, 0.25);
    border: 2px solid var(--blue-primary);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg,
            var(--blue-primary),
            var(--green-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.trust-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            var(--green-primary),
            var(--blue-primary));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
}

.trust-card:hover .trust-icon {
    transform: rotateY(360deg) scale(1.1);
}

.trust-card:hover .trust-icon::before {
    opacity: 1;
}

.trust-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.trust-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Categories Section with Wave Animation */
.categories-section {
    padding: 100px 40px;
    background: linear-gradient(180deg,
            var(--blue-light) 0%,
            white 100%);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff' fill-opacity='0.5'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    opacity: 0.6;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg,
            var(--blue-primary),
            var(--green-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    position: relative;
    z-index: 1;
}

.category-card {
    background: white;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) rotateX(20deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(76, 175, 80, 0.1),
            transparent);
    transition: left 0.6s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.category-card:nth-child(1).visible {
    transition-delay: 0.1s;
}

.category-card:nth-child(2).visible {
    transition-delay: 0.2s;
}

.category-card:nth-child(3).visible {
    transition-delay: 0.3s;
}

.category-card:nth-child(4).visible {
    transition-delay: 0.4s;
}

.category-card:nth-child(5).visible {
    transition-delay: 0.5s;
}

.category-card:nth-child(6).visible {
    transition-delay: 0.6s;
}

.category-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 70px rgba(10, 111, 182, 0.3);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg,
            var(--green-light),
            var(--blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-icon::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg,
            var(--green-primary),
            var(--blue-primary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(360deg);
    color: white;
}

.category-card:hover .category-icon::after {
    opacity: 1;
    transform: scale(1);
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.category-card:hover h3 {
    color: var(--blue-primary);
}

.category-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Services Section with Parallax Effect */
.services-section {
    padding: 100px 40px;
    background: linear-gradient(135deg,
            var(--blue-primary),
            #0858a0);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(76, 175, 80, 0.3),
            transparent);
    top: -100px;
    right: -100px;
    animation: rotate 20s linear infinite;
}

.services-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.1),
            transparent);
    bottom: -50px;
    left: -50px;
    animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-title {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.services-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1).visible {
    transition-delay: 0.1s;
}

.service-card:nth-child(2).visible {
    transition-delay: 0.2s;
}

.service-card:nth-child(3).visible {
    transition-delay: 0.3s;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-15px);
    border-color: var(--green-primary);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.service-card:hover .service-icon {
    animation: spin 0.8s ease-in-out;
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* CTA Section with Particle Effect */
.cta-section {
    background: linear-gradient(135deg,
            var(--green-primary),
            var(--success));
    padding: 100px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 40%;
    top: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    right: 30%;
    top: 60%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    right: 10%;
    top: 30%;
    animation-delay: 8s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.5);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.8);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--green-primary);
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(180deg,
            var(--blue-primary),
            #064a82);
    color: white;
    padding: 80px 40px 30px;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,
            var(--green-primary),
            var(--blue-primary),
            var(--green-primary));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--green-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
    transform: translateX(0);
    transition: transform 0.3s;
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-column a::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s;
}

.footer-column a:hover {
    color: white;
    padding-left: 20px;
}

.footer-column a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .header-icons {
        gap: 15px;
    }

    .icon-link {
        width: 35px;
        height: 35px;
    }

    .icon-link svg {
        width: 20px;
        height: 20px;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-visual {
        display: none;
    }

    .categories-container {
        grid-template-columns: 1fr;
    }

    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .dropdown-menu-custom {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .dropdown:hover .dropdown-menu-custom {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .header-icons {
        gap: 10px;
    }

    .icon-link {
        width: 32px;
        height: 32px;
    }

    .icon-link svg {
        width: 18px;
        height: 18px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .trust-container {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

/* ===== Enhanced Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
    color: white;
    min-height: 220px;
    padding-top: 80px;
    /* padding: 40px 20px 20px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
    animation: fadeDown 0.8s ease forwards;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    animation: fadeUp 0.9s ease forwards;
    color: var(--text-muted, #6b7280);
}

.page-header::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent);
    top: -100px;
    right: -100px;
    animation: headerFloat 10s linear infinite;
}

@keyframes headerFloat {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.shop-container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: flex-start;
}


/* Sidebar */
.sidebar {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    align-self: start; /* ⬅ stops sidebar stretching */
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-muted);
}

.filter-group input {
    margin-right: 10px;
}

/* Product Grid */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.products-header span {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(10, 111, 182, 0.3);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--green-primary);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}

.product-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    font-size: 18px;
    font-weight: 600;
    color: var(--blue-primary);
    margin-bottom: 20px;
}
/* .price {
    font-size: 28px;
    font-weight: 700;
    color: #0a6fb6;
    margin-bottom: 20px;
} */

.btn {
    background: linear-gradient(135deg, var(--blue-primary), #0858a0);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: linear-gradient(135deg, var(--green-primary), var(--success));
}

/* Responsive */
@media(max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 30px;
    }
}

@media(max-width: 768px) {
    .page-header {
        min-height: 180px;
        padding-top: 70px;
    }

    .page-header h1 {
        font-size: 30px;
    }
}

.results-count {
    font-size: 15px;
    color: var(--text-muted);
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    /* border: 1px solid var(--border); */
    border-radius: 10px;
    overflow: hidden;
}

.view-btn {
    /* background: white; */
    padding: 10px 14px;
    font-size: 14px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: var(--blue-light);
    color: var(--blue-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--blue-primary);
    color: white;
}

/* Sort Box */
.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-box select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-weight: 500;
}

.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 10px;
    padding: 0;
}

/* Pagination links - remove underline & default blue */
.pagination a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* Hover state */
.pagination a:hover {
    text-decoration: none;
    color: var(--blue-primary);
}

.page-item {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    background: white;
}

.page-item.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.product-detail-container {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

/* .product-image {
    background: linear-gradient(135deg, #e6f2fa, #e8f5e9);
    border-radius: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    margin-bottom: 20px;
} */

.product-image {
    height: 160px;
    background: linear-gradient(135deg, var(--blue-light), var(--green-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}

h1 {
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    margin-bottom: 15px;
}

.meta {
    color: #6b7280;
    margin-bottom: 20px;
}

.description {
    line-height: 1.8;
    margin-bottom: 30px;
    color: #4b5563;
}

.info-list {
    margin-bottom: 30px;
}

.info-list li {
    margin-bottom: 10px;
}

.actions {
    display: flex;
    gap: 15px;
}

.btn-outline {
    border: 2px solid #0a6fb6;
    background: transparent;
    color: #0a6fb6;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

@media(max-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
}

/* SVG ICON ANIMATION */
.service-svg {
    color: var(--blue-primary);
    animation: svgFloat 3s ease-in-out infinite;
}

@keyframes svgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* KPI */
.kpi-card h3 {
    font-size: 34px;
    color: var(--blue-primary);
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* ================= ABOUT ================= */
.about-intro {
    margin-bottom: 40px;
}

/* ================= CONTACT ================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.contact-info ul li {
    margin-bottom: 12px;
    font-size: 15px;
}

/* FORM */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    background: white;
    padding: 0 6px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group textarea + label {
    top: 20px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -8px;
    font-size: 12px;
    color: var(--blue-primary);
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===== Continue Shopping Button ===== */
.continue-btn {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    border: 2px solid var(--blue-primary);
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.continue-btn:hover {
    background: var(--blue-primary);
    color: white;
    transform: translateX(-5px);
}

/* ================= CART PAGE ================= */
.cart-page {
    padding: 60px 20px 80px; /* ONLY content spacing */
    background: #f8fafc;
}

.cart-header {
    text-align: center;
    margin-bottom: 50px;
}

.cart-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.cart-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Layout */
.cart-layout {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* ================= CART ITEMS ================= */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cart-item {
    background: white;
    border-radius: 18px;
    padding: 25px;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-4px);
}

/* Product Icon */
.item-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--blue-light),var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* Details */
.item-details h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.item-tag {
    font-size: 13px;
    color: var(--text-muted);
}

/* Price & Qty */
.item-controls {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.unit-price {
    font-weight: 600;
    color: var(--blue-primary);
}

.qty-control {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.qty-control button {
    border: none;
    background: transparent;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 18px;
}

.qty-control span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

/* Total */
.item-total {
    text-align: right;
}

.item-total strong {
    display: block;
    font-size: 18px;
}

/* Remove */
.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 18px;
    cursor: pointer;
    margin-top: 6px;
    transition: transform 0.3s ease;
}

.remove-btn:hover {
    transform: scale(1.2) rotate(-10deg);
}

/* Remove animation */
.cart-item.removing {
    animation: slideOut 0.4s forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(-50px);
        height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Continue */
.continue-btn {
    margin-top: 30px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    border: 2px solid var(--blue-primary);
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
}

.continue-btn:hover {
    background: var(--blue-primary);
    color: white;
    transform: translateX(-5px);
}

/* ================= ORDER SUMMARY ================= */

.order-summary {
    background: linear-gradient(180deg,var(--blue-primary),#064a82);
    color: white;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(10,111,182,0.35);
}

.order-summary h3 {
    margin-bottom: 25px;
}

.order-summary ul {
    list-style: none;
    margin-bottom: 20px;
}

.order-summary ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order-summary input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-bottom: 12px;
}

.apply-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    margin-bottom: 20px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    margin-bottom: 25px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: var(--green-primary);
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

/* ================= FLY IMAGE ================= */

.flying-img {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(.22,.61,.36,1), opacity 0.8s ease;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

/* Responsive */
@media(max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* ================= WISHLIST PAGE ================= */
.wishlist-page {
    padding: 60px 20px 80px; /* ONLY content spacing */
    background: #f8fafc;
}

.wishlist-wrapper {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Row */
.wishlist-row {
    background: white;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.wishlist-row:hover {
    transform: translateY(-4px);
}

/* Product */
.wishlist-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wishlist-img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--blue-light),var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

/* Info */
.wishlist-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.wishlist-tag {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.wishlist-price {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--blue-primary);
    margin-top: 6px;
}

/* Actions */
.wishlist-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wishlist-remove {
    background: none;
    border: none;
    font-size: 18px;
    color: #ef4444;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wishlist-remove:hover {
    transform: scale(1.2) rotate(-10deg);
}

/* Remove animation */
.wishlist-row.removing {
    animation: slideOutWishlist 0.4s forwards;
}

@keyframes slideOutWishlist {
    to {
        opacity: 0;
        transform: translateX(-40px);
        height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Responsive */
@media(max-width: 768px) {
    .wishlist-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .wishlist-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ================= AUTH PAGES ================= */
.auth-page {
    padding: 80px 20px 100px;
    background: #f8fafc;
}

.auth-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ===== LEFT VISUAL ===== */

.auth-visual {
    background: linear-gradient(135deg,var(--blue-primary),var(--green-primary));
    color: white;
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideLeft 0.8s ease forwards;
}

.auth-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: bounceIcon 2s infinite;
}

.auth-visual h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.auth-visual p {
    opacity: 0.95;
}

/* Pulse */
.pulse-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    top: -60px;
    right: -60px;
    animation: pulse 3s infinite;
}

/* ===== CARD ===== */

.auth-card {
    background: white;
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: 0 30px 70px rgba(10,111,182,0.2);
    animation: slideRight 0.8s ease forwards;
}

.auth-card h2 {
    font-size: 32px;
    margin-bottom: 6px;
}

.auth-sub {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ===== FORM ===== */

.auth-card .form-group {
    position: relative;
    margin-bottom: 30px;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
    width: 100%;
    padding: 14px 44px 14px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus,
.auth-card input[type="text"]:focus {
    border-color: var(--blue-primary);
}

.auth-card .form-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 0 6px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.auth-card input:focus + label,
.auth-card input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: var(--blue-primary);
}

/* ===== PASSWORD FIELD ===== */

.password-group {
    position: relative;
}

.password-group input {
    padding-right: 46px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    user-select: none;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--blue-primary);
}

/* ===== AUTH META ROW ===== */
.auth-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 28px;
    min-height: 32px;
}

/* Remember me */
.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--blue-primary);
}

/* Forgot password */
.forgot {
    font-size: 14px;
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.forgot:hover {
    text-decoration: underline;
    color: var(--blue-dark);
}

/* ===== BUTTON ===== */

.auth-btn {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    margin: auto;
}

.auth-btn.loading .btn-text {
    display: none;
}

.auth-btn.loading .btn-loader {
    display: block;
}

.auth-btn.loading {
    cursor: not-allowed;
    opacity: 0.8;
}

/* Footer */
.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ===== Animations ===== */

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIcon {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Responsive ===== */

@media(max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    .auth-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 40px 24px;
    }

    .auth-meta {
        gap: 12px;
    }

    .remember {
        font-size: 13px;
    }

    .forgot {
        font-size: 13px;
    }
}

/* ================= ACCOUNT LAYOUT ================= */

.account-page {
    padding: 60px 20px 90px;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
}

.account-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

/* ================= SIDEBAR ================= */

.account-sidebar {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: sticky;
    top: 90px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark, #1f2937);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.sidebar-link:hover {
    background: var(--blue-light, #e0f2fe);
    color: var(--blue-primary, #0a6fb6);
    transform: translateX(4px);
}

.sidebar-link.active {
    background: linear-gradient(135deg, var(--blue-primary, #0a6fb6), #0858a0);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 111, 182, 0.3);
}

.sidebar-link.logout {
    color: #ef4444;
    margin-top: 8px;
}

.sidebar-link.logout:hover {
    background: #fee2e2;
    color: #dc2626;
}

.sidebar-divider {
    height: 1px;
    background: var(--border, #e5e7eb);
    margin: 12px 0;
}

/* ================= ACCOUNT CONTENT CARDS ================= */

.account-content,
.card,
.settings-card,
.address-card,
.notify-card,
.orders-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(10, 111, 182, 0.1);
}

.card h2,
.settings-card h2,
.address-card h2,
.notify-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark, #1f2937);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border, #e5e7eb);
}

/* ================= SETTINGS PAGE ================= */

.settings-form {
    max-width: 520px;
}

.settings-form .form-group {
    margin-bottom: 28px;
    position: relative;
}

.settings-form .form-group input,
.settings-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border, #e5e7eb);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.settings-form .form-group input:focus,
.settings-form .form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary, #0a6fb6);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 111, 182, 0.1);
}

.settings-form .form-group label {
    position: absolute;
    left: 16px;
    top: 15px;
    color: var(--text-muted, #6b7280);
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 6px;
}

.settings-form .form-group input:focus ~ label,
.settings-form .form-group input:valid ~ label,
.settings-form .form-group textarea:focus ~ label,
.settings-form .form-group textarea:valid ~ label {
    top: -10px;
    font-size: 12px;
    color: var(--blue-primary, #0a6fb6);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary, #0a6fb6), #0858a0);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 111, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 111, 182, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ================= NOTIFICATION PAGE ================= */
.notify-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 15px;
    font-weight: 500;
}

.notify-row:last-child {
    border-bottom: none;
}

.switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 26px;
    cursor: pointer;
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
    background: var(--blue-primary, #0a6fb6);
}

.switch input:checked + .slider::before {
    transform: translateX(24px);
}

/* ================= ADDRESS PAGE ================= */

.address-card {
    max-width: 720px;
}

.address-box {
    background: #f8fafc;
    border: 2px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 18px;
    position: relative;
    transition: all 0.3s ease;
}

.address-box:hover {
    border-color: var(--blue-primary, #0a6fb6);
    box-shadow: 0 4px 12px rgba(10, 111, 182, 0.15);
}

.address-box strong {
    font-size: 17px;
    color: var(--text-dark, #1f2937);
    display: block;
    margin-bottom: 8px;
}

.address-box p {
    margin: 0;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
}

.address-box button {
    margin-top: 12px;
    padding: 8px 18px;
    border: 2px solid var(--blue-primary, #0a6fb6);
    background: transparent;
    color: var(--blue-primary, #0a6fb6);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-box button:hover {
    background: var(--blue-primary, #0a6fb6);
    color: #fff;
}

.default-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--green-primary, #10b981);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ================= ORDERS PAGE ================= */
.orders-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 24px;
    border: 2px solid var(--border, #e5e7eb);
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--blue-primary, #0a6fb6);
    color: var(--blue-primary, #0a6fb6);
}

.filter-btn.active {
    background: var(--blue-primary, #0a6fb6);
    color: #fff;
    border-color: var(--blue-primary, #0a6fb6);
}

.orders-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(10, 111, 182, 0.1);
    overflow: hidden;
}

.orders-table {
    display: flex;
    flex-direction: column;
}

.orders-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr 0.8fr 1.2fr 1fr 0.5fr;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 14px;
    transition: background 0.2s ease;
}

.orders-row:hover {
    background: #f8fafc;
}

.orders-head {
    font-weight: 700;
    color: var(--text-muted, #6b7280);
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-cell img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.product-cell strong {
    display: block;
    font-weight: 600;
    color: var(--text-dark, #1f2937);
}

.product-cell small {
    display: block;
    color: var(--text-muted, #6b7280);
    font-size: 12px;
}

.status {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.status.processing {
    background: #fef3c7;
    color: #92400e;
}

.status.completed {
    background: #d1fae5;
    color: #065f46;
}

.status.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.order-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.view-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--blue-light, #e0f2fe);
    color: var(--blue-primary, #0a6fb6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: var(--blue-primary, #0a6fb6);
    color: #fff;
    transform: scale(1.1);
}

/* ================= SKELETON LOADER ================= */

.skeleton-wrapper {
    padding: 24px;
}

.skeleton-row {
    height: 70px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
    margin-bottom: 12px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hidden {
    display: none !important;
}

/* ================= ORDER DRAWER ================= */

.order-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
}

.order-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border, #e5e7eb);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.drawer-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.close-drawer {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted, #6b7280);
    transition: color 0.3s ease;
}

.close-drawer:hover {
    color: var(--text-dark, #1f2937);
}

.drawer-body {
    padding: 24px;
}

.order-summary-card,
.invoice-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-summary-card h4,
.invoice-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.summary-row:last-child {
    border-bottom: none;
}

.invoice-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.invoice-icon {
    font-size: 32px;
}

.invoice-preview strong {
    display: block;
    font-weight: 600;
}

.invoice-preview small {
    display: block;
    color: var(--text-muted, #6b7280);
    font-size: 12px;
}

.invoice-actions {
    display: flex;
    gap: 10px;
}

.btn-outline {
    padding: 10px 20px;
    border: 2px solid var(--blue-primary, #0a6fb6);
    background: transparent;
    color: var(--blue-primary, #0a6fb6);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--blue-primary, #0a6fb6);
    color: #fff;
}

/* ================= MODAL ================= */

.modal,
#globalModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal.active,
#globalModal.active {
    display: flex;
}

.modal-content,
#modalBody {
    background: white;
    width: 90%;
    max-width: 540px;
    border-radius: 20px;
    padding: 30px;
    animation: modal-pop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted, #6b7280);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark, #1f2937);
}

@keyframes modal-pop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================= TOAST ================= */

.toast,
#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--green-primary, #10b981);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.toast.show,
#toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= INVOICE PREVIEW ================= */

.invoice-preview-frame {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    border: 2px solid var(--border, #e5e7eb);
    background: #f9fafb;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 900px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        width: 260px;
        z-index: 9999;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
    }

    .account-sidebar.active {
        left: 0;
    }

    .mobile-overlay,
    #mobileOverlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        display: none;
        backdrop-filter: blur(2px);
    }

    .mobile-overlay.active,
    #mobileOverlay.active {
        display: block;
    }

    .mobile-toggle {
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--blue-primary, #0a6fb6);
        color: #fff;
        border: none;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(10, 111, 182, 0.4);
        z-index: 9997;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .orders-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .orders-head {
        display: none;
    }

    .orders-row > span:before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-dark, #1f2937);
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
    }

    .order-drawer {
        width: 100%;
        right: -100%;
    }

    .card,
    .settings-card,
    .address-card,
    .notify-card,
    .orders-card {
        padding: 20px;
    }

    .toast,
    #toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .account-page {
        padding: 40px 12px 70px;
    }

    .orders-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .product-cell img {
        width: 40px;
        height: 40px;
    }
}

/* ================= ANIMATIONS ================= */

.reveal {
    animation: reveal 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= MOBILE SHOP FIXES ================= */

/* Small devices */
@media (max-width: 768px) {

    /* Page Header */
    .page-header {
        min-height: 160px;
        padding-top: 90px;
    }

    .page-header h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Shop Layout */
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Sidebar */
    .sidebar {
        position: relative;
        top: auto;
        padding: 20px;
    }

    .sidebar h3 {
        font-size: 16px;
    }

    /* Products Header */
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .products-controls {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* View Toggle */
    .view-toggle {
        order: 1;
    }

    /* Sort Box */
    .sort-box {
        width: 100%;
    }

    .sort-box select {
        width: 100%;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Product Card */
    .product-card {
        padding: 20px;
    }

    .product-card h4 {
        font-size: 16px;
    }

    .product-card p {
        font-size: 13px;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .price {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-item {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {

    .page-header h1 {
        font-size: 22px;
    }

    .products-header span {
        font-size: 13px;
    }

    .view-btn {
        width: 32px;
        height: 32px;
        padding: 8px;
    }

    .product-image {
        height: 140px;
        font-size: 40px;
    }

    .pagination-wrapper {
        margin-top: 40px;
    }
}

/* ================= FILTER ACTIVE STATE ================= */

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-label:hover {
    background: var(--blue-light);
}

.filter-label.active {
    background: var(--blue-light);
    color: var(--blue-primary);
    font-weight: 600;
}

.filter-label input {
    cursor: pointer;
}

.product-card h4 a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.product-card h4 a:hover {
    color: var(--blue-primary);
}

/* ================= LIST VIEW ================= */
.product-grid.list-view {
    grid-template-columns: 1fr;
}

.product-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 22px;
}

.product-grid.list-view .product-image {
    height: 110px;
    margin-bottom: 0;
}

.product-grid.list-view .product-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.product-grid.list-view .product-info p {
    margin-bottom: 4px;
}

.product-grid.list-view .product-actions {
    text-align: right;
}

.product-grid.list-view .price {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Mobile list view */
@media (max-width: 768px) {
    .product-grid.list-view .product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-grid.list-view .product-actions {
        text-align: center;
    }
}

/* ================= ALPHABET FILTER ================= */

.alphabet-filter {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 👈 perfect sidebar fit */
    gap: 6px;
    margin-top: 10px;
}

.alphabet-link {
    width: 100%;
    aspect-ratio: 1 / 1; /* 👈 perfect square */
    border: 1px solid #d1d5db;
    background: #f9fafb;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;
    color: #374151;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.2s ease;
}

.alphabet-link:hover {
    background: #e6f2fa;
    border-color: #0a6fb6;
    color: #0a6fb6;
}

.alphabet-link.active {
    background: #0a6fb6;
    border-color: #0a6fb6;
    color: #ffffff;
}

@media (max-width: 768px) {
    .alphabet-filter {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 480px) {
    .alphabet-filter {
        grid-template-columns: repeat(8, 1fr);
    }
}
