/* Ultra Modern Pharmacy Website Styles - HIGHEST PRIORITY */
/* This file has maximum CSS priority and overrides all other stylesheets */

/* Global FontAwesome Fix */
.fas, .far, .fab, .fa, i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.far, i[class*="far"] {
    font-weight: 400 !important;
}

.fab, i[class*="fab"] {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}
:root {
    /* Brand Colors - Corrected */
    --primary: #063e7f;
    --secondary: #6ac8c6;
    --accent: #6ac8c6;
    --success: #10B981;
    --warning: #1b5a7a;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
  /* Typography */
--font-primary: 'Overpass', -apple-system, BlinkMacSystemFont, sans-serif;
--font-heading: 'Overpass', -apple-system, BlinkMacSystemFont, sans-serif;

    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles - Scoped to avoid Bootstrap conflicts */
.ufarm-content * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global box-sizing for better compatibility */
*, *::before, *::after {
    box-sizing: border-box;
}



body {
    font-family: "Overpass", sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Revolutionary Hero Section */
.revolutionary-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.hero-3d-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.geometric-shapes {
    position: absolute;
    inset: 0;
    background: transparent;
    animation: geometricFloat 25s ease-in-out infinite !important;
    animation-play-state: running !important;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.dynamic-particles {
    position: absolute;
    inset: 0;
    background: transparent;
    animation: particleMesh 30s linear infinite !important;
    animation-play-state: running !important;
    will-change: transform;
    transform: translateZ(0);
}

.gradient-mesh {
    position: absolute;
    inset: 0;
    background: transparent;
    animation: meshRotate 40s linear infinite !important;
    animation-play-state: running !important;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes meshRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes geometricFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-10px) rotate(1deg) scale(1.02);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(0deg) scale(1.05);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-10px) rotate(-1deg) scale(1.02);
        opacity: 1;
    }
}

@keyframes particleMesh {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    25% { transform: translateX(10px) translateY(-5px) rotate(90deg); }
    50% { transform: translateX(0px) translateY(-10px) rotate(180deg); }
    75% { transform: translateX(-10px) translateY(-5px) rotate(270deg); }
    100% { transform: translateX(0px) translateY(0px) rotate(360deg); }
}

@keyframes floatingParticles {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    33% { transform: translateY(-15px) translateX(8px) rotate(120deg); }
    66% { transform: translateY(-30px) translateX(-8px) rotate(240deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    color: white;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-title-revolutionary {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line-1,
.title-line-2 {
    display: block;
    animation: titleSlideIn 1s ease-out forwards;
}

.title-line-1 {
    animation-delay: 0.2s;
    opacity: 0;
    transform: translateY(50px);
}

.title-line-2 {
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(50px);
}

.title-highlight-modern {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    animation: titleSlideIn 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(50px);
}

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

.hero-description-modern {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
    color: #ffffff !important;
}

/* Ensure all text in revolutionary-hero is white */
.revolutionary-hero.reveal-section.is-visible,
.revolutionary-hero.reveal-section.is-visible *,
.revolutionary-hero.reveal-section.is-visible .hero-title-revolutionary,
.revolutionary-hero.reveal-section.is-visible .title-line-1,
.revolutionary-hero.reveal-section.is-visible .title-line-2,
.revolutionary-hero.reveal-section.is-visible .title-highlight-modern,
.revolutionary-hero.reveal-section.is-visible .hero-description-modern,
.revolutionary-hero.reveal-section.is-visible .hero-badge-modern,
.revolutionary-hero.reveal-section.is-visible .hero-text-content,
.revolutionary-hero.reveal-section.is-visible .hero-text-content *,
.revolutionary-hero.reveal-section.is-visible span,
.revolutionary-hero.reveal-section.is-visible p,
.revolutionary-hero.reveal-section.is-visible h1,
.revolutionary-hero.reveal-section.is-visible h2,
.revolutionary-hero.reveal-section.is-visible h3,
.revolutionary-hero.reveal-section.is-visible h4,
.revolutionary-hero.reveal-section.is-visible h5,
.revolutionary-hero.reveal-section.is-visible h6 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.revolutionary-hero.reveal-section.is-visible .title-highlight-modern {
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.hero-actions-modern {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Modern Button Styles */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
	justify-content: flex-start;
    width: max-content;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #063e7f 0%, #022d5f 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 45, 95, 0.4);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    gap: 8px;
	justify-content: flex-start;
    width: max-content;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 45, 95, 0.5);
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

.btn-primary-modern .btn-icon svg {
    width: 16px;
    height: 16px;
}

.btn-outline-modern {
    background: white;
    color: #1b5a7a;
    border: 2px solid #1b5a7a;
    backdrop-filter: blur(20px);
	justify-content: flex-start;
    width: max-content;
}

.btn-outline-modern:hover {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(27, 90, 122, 0.4);
}


/* Hero Visual Content */
.hero-visual-content {
    position: relative;
    height: 500px;
}

.hero-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 16px;
    color: white;
    text-align: center;
    animation: cardFloat 8s ease-in-out infinite !important;
    animation-play-state: running !important;
    will-change: transform, opacity;
    transform: translateZ(0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes cardFloat {
    0%, 100% { 
        transform: translateZ(0) translateY(0px) translateX(0px) rotateX(0deg) rotateY(0deg) scale(1);
        opacity: 0.9;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    25% { 
        transform: translateZ(0) translateY(-15px) translateX(5px) rotateX(2deg) rotateY(1deg) scale(1.02);
        opacity: 1;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
    50% { 
        transform: translateZ(0) translateY(-25px) translateX(-5px) rotateX(0deg) rotateY(3deg) scale(1.05);
        opacity: 0.95;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    }
    75% {
        transform: translateZ(0) translateY(-15px) translateX(8px) rotateX(-1deg) rotateY(2deg) scale(1.02);
        opacity: 1;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
}

.card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-text {
    font-size: 12px;
    font-weight: 600;
}

.hero-main-visual {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-3d {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.visual-overlay-effects {
    position: absolute;
    inset: 0;
    background: transparent !important;
    pointer-events: none;
    /* Continuous movement animations */
    animation: visualOverlayFloat 8s ease-in-out infinite;
    z-index: 1;
    /* Ensure animation is not paused */
    animation-play-state: running;
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform, background;
}

/* Continuous movement animation for visual overlay */
@keyframes visualOverlayFloat {
    0%, 100% {
        transform: translateZ(0) translateX(0px) translateY(0px) rotate(0deg);
        background: linear-gradient(45deg, rgba(14, 41, 84, 0.3) 0%, rgba(106, 200, 198, 0.3) 100%);
        opacity: 0.8;
    }
    25% {
        transform: translateZ(0) translateX(15px) translateY(-8px) rotate(2deg);
        background: linear-gradient(135deg, rgba(106, 200, 198, 0.5) 0%, rgba(14, 41, 84, 0.4) 100%);
        opacity: 0.9;
    }
    50% {
        transform: translateZ(0) translateX(-8px) translateY(-15px) rotate(-2deg);
        background: linear-gradient(225deg, rgba(27, 90, 122, 0.4) 0%, rgba(106, 200, 198, 0.5) 100%);
        opacity: 0.7;
    }
    75% {
        transform: translateZ(0) translateX(-15px) translateY(8px) rotate(1deg);
        background: linear-gradient(315deg, rgba(14, 41, 84, 0.5) 0%, rgba(27, 90, 122, 0.4) 100%);
        opacity: 0.8;
    }
}

/* Add additional visual effects with pseudo-elements */
.visual-overlay-effects::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: visualOverlayGlow 12s ease-in-out infinite reverse;
}

.visual-overlay-effects::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(106, 200, 198, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: visualOverlayGlow 15s ease-in-out infinite;
}

@keyframes visualOverlayGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

/* Services Section */
.services-section-modern {
    padding: 2rem 0;
    background: var(--gray-50);
}

/* Font Awesome Icons - Force Display */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* MAHNITËS SERVICES SLIDER SECTION */
.mahnites-services-section {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 50%, #063e7f 100%) !important;
    overflow: hidden;
}

.mahnites-services-section .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(106, 200, 198, 0.1) 0%, rgba(27, 90, 122, 0.1) 100%);
    animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 60px; height: 60px; top: 20%; right: 15%; animation-delay: 2s; }
.shape-3 { width: 100px; height: 100px; bottom: 20%; left: 20%; animation-delay: 4s; }
.shape-4 { width: 70px; height: 70px; bottom: 30%; right: 25%; animation-delay: 1s; }
.shape-5 { width: 90px; height: 90px; top: 50%; left: 50%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(106, 200, 198, 0.05) 100%);
}

.services-header-mahnites {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(106, 200, 198, 0.1) 0%, rgba(27, 90, 122, 0.1) 100%);
    color: #1b5a7a;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.badge-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 200, 198, 0.2);
    border-radius: 50%;
}

.badge-icon-wrapper i {
    font-size: 12px !important;
    color: #6ac8c6 !important;
}

.services-title-mahnites {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line-1, .title-line-2 {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.title-line-2 {
    animation-delay: 0.2s;
}

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

.services-subtitle-mahnites {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease 0.4s forwards;
}

.services-slider-wrapper {
    position: relative;
    z-index: 2;
}

.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    pointer-events: all;
}

.slider-btn:hover {
    background: white !important;
    transform: scale(1.1);
    box-shadow: none;
}

.slider-btn i {
    color: #1b5a7a !important;
    font-size: 16px !important;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.services-slider-mahnites {
    position: relative;
}

/* Fade in animation for services slider */
.services-slider-mahnites .slick-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 10px;
}

.services-slider-mahnites .slick-slide.slick-active {
    opacity: 1;
}

.services-slider-mahnites .slick-slide.slick-current {
    opacity: 1;
}

.service-slide-mahnites {
    padding: 0 15px;
}

.service-card-mahnites {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-mahnites:nth-child(1) { animation-delay: 0.1s; }
.service-card-mahnites:nth-child(2) { animation-delay: 0.2s; }
.service-card-mahnites:nth-child(3) { animation-delay: 0.3s; }
.service-card-mahnites:nth-child(4) { animation-delay: 0.4s; }
.service-card-mahnites:nth-child(5) { animation-delay: 0.5s; }

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

.service-card-mahnites:hover {
    transform: translateY(-10px) !important;
    box-shadow: none !important;
    background: #000000 !important;
    color: #ffffff !important;
}

.service-card-mahnites:hover .service-title-mahnites,
.service-card-mahnites:hover .service-description-mahnites,
.service-card-mahnites:hover .service-content-mahnites h3,
.service-card-mahnites:hover .service-content-mahnites p {
    color: #ffffff !important;
}

.service-card-mahnites:hover * {
    color: #ffffff !important;
}

.service-image-mahnites {
    background-color: white;
}

.service-image-mahnites img {
    display: block;
    height: 100px;
    width: auto;
    margin: auto; 
}

.service-card-mahnites:hover .service-image-mahnites img {
    transform: scale(1.05);
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-placeholder i {
    font-size: 48px !important;
    color: white !important;
}

.service-content-mahnites {
    padding: 30px;
    text-align: center;
}

.service-icon-mahnites {
    display: none !important; /* Hide icons as requested - use main images instead */
}

.service-title-mahnites {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f2330;
    margin-bottom: 15px;
}

.service-description-mahnites {
    color: #6b7a86;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(106, 200, 198, 0.1);
    color: #1b5a7a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.slider-dots-mahnites {
    display: none !important; /* Hide dots as requested */
}

.slider-dots-mahnites .dot {
    display: none !important;
}

.services-cta-mahnites {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.cta-btn-mahnites {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-mahnites:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(106, 200, 198, 0.3);
    color: white;
    text-decoration: none;
}

.btn-icon i {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.cta-btn-mahnites:hover .btn-icon i {
    transform: translateX(5px);
}

/* Services Home Section */
.services-home {
    background: #ffffff !important;
    padding: 1.5rem 0;
    margin: 0 auto;
    max-width: 1200px;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    justify-items: center;
    align-items: start;
}

.service-card-home {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(14, 41, 84, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.service-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(14, 41, 84, 0.15);
}

.service-image-home {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-home:hover .service-image-home img {
    transform: scale(1.05);
}

.service-content-home {
    padding: 30px;
    text-align: center;
}

.service-content-home h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-align: center;
}

.service-content-home p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.service-content-home button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service-content-home button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 41, 84, 0.2);
}

.service-content-home a {
    text-decoration: none;
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Tablet, Mobile, and All Device Support
   ======================================== */

/* Tablet Styles (768px - 1200px) */
@media (max-width: 1199.98px) {
    /* All text elements align left */
    body, p, h1, h2, h3, h4, h5, h6, div, span, a, li, td, th, label, input, textarea, select, button {
        text-align: left !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Header Responsive */
    .ufarm-header .navbar {
        padding: 0.75rem 0;
    }
    
    .ufarm-header .navbar-nav {
        gap: 1.5rem;
        text-align: left !important;
    }
    
    .ufarm-header .navbar-actions {
        gap: 1rem;
    }
    
    /* Services Section */
    .mahnites-services-section {
        padding: 60px 0;
    }
    
    .services-title-mahnites {
        font-size: 2.5rem;
    }
    
    .services-slider-mahnites .slick-slide {
        padding: 0 10px;
    }
    
    /* Hero Section */
    .revolutionary-hero {
        min-height: 80vh;
    }
    
    .hero-title-revolutionary {
        font-size: 3rem;
    }
    
    .hero-description-modern {
        font-size: 1.1rem;
    }
    
    /* Products Grid */
    .products-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    /* Features Grid */
    .features-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Mobile Styles (576px - 768px) */
@media (max-width: 768px) {
    /* All text elements align left - OVERRIDE ALL CENTER ALIGNMENTS */
    * {
        text-align: left !important;
    }
    
    body, p, h1, h2, h3, h4, h5, h6, div, span, a, li, td, th, label, input, textarea, select, button, section, article, header, footer, nav, ul, ol {
        text-align: left !important;
    }
    
    /* Override all flex center alignments */
    [class*="center"], [class*="Center"], [class*="CENTER"] {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    /* Header Mobile */
    .ufarm-header .navbar {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .ufarm-header .logo-img {
        height: 35px;
    }
    
    .ufarm-header .navbar-nav {
        text-align: left !important;
        margin-top: 1rem;
        gap: 0.5rem;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .ufarm-header .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        text-align: left !important;
    }
    
    .ufarm-header .navbar-actions {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    /* Override all section headers */
    .section-header, .section-header-modern, .services-header, .services-header-mahnites {
        text-align: left !important;
    }
    
    /* Override all feature cards */
    .feature-card, .feature-card-modern {
        text-align: left !important;
    }
    
    /* Override footer */
    .footer-content, .footer-column, .footer-social {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    /* Override newsletter */
    .newsletter-content {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .ufarm-header .header-action-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Services Section Mobile */
    .mahnites-services-section {
        padding: 40px 0;
    }
    
    .services-title-mahnites {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .services-subtitle-mahnites {
        font-size: 1rem;
    }
    
    .service-card-mahnites {
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    .service-image-mahnites {
        height: 80px !important;
        width: 80px !important;
    }
    
    .service-image-mahnites img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .service-content-mahnites {
        padding: 20px;
    }
    
    .service-title-mahnites {
        font-size: 1.25rem;
    }
    
    .service-description-mahnites {
        font-size: 0.9rem;
    }
    
    .slider-navigation {
        display: none !important;
    }
    
    /* Hero Section Mobile */
    .revolutionary-hero {
        min-height: 70vh;
        padding: 60px 0;
    }
    
    .hero-title-revolutionary {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description-modern {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions-modern {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-modern {
       justify-content: flex-start;
    width: max-content;
    }
    
    /* Products Grid Mobile */
    .products-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card-modern {
        max-width: 100%;
    }
    
    /* Features Grid Mobile */
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card-modern {
        text-align: center;
    }
    
    /* Newsletter Mobile */
    .newsletter-section-home {
        padding: 40px 0;
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.9rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .btn-subscribe {
        width: 100%;
    }
}

/* Small Mobile Styles (320px - 576px) */
@media (max-width: 576px) {
    /* Header Small Mobile */
    .ufarm-header .container {
        padding: 0 15px;
    }
    
    .ufarm-header .logo-img {
        height: 30px;
    }
    
    .ufarm-header .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    .ufarm-header .header-action-icon {
        width: 35px;
        height: 35px;
    }
    
    .ufarm-header .action-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
        min-width: 16px;
        height: 16px;
    }
    
    /* Services Section Small Mobile */
    .mahnites-services-section {
        padding: 30px 0;
    }
    
    .services-title-mahnites {
        font-size: 1.75rem;
    }
    
    .services-subtitle-mahnites {
        font-size: 0.9rem;
    }
    
    .service-card-mahnites {
        margin: 0 auto 15px;
    }
    
    .service-image-mahnites {
        height: 80px !important;
        width: 80px !important;
    }
    
    .service-image-mahnites img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .service-content-mahnites {
        padding: 15px;
    }
    
    .service-title-mahnites {
        font-size: 1.1rem;
    }
    
    .service-description-mahnites {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    /* Hero Section Small Mobile */
    .revolutionary-hero {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-title-revolutionary {
        font-size: 2rem;
    }
    
    .hero-description-modern {
        font-size: 0.9rem;
    }
    
    .btn-modern {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Products Grid Small Mobile */
    .product-card-modern {
        padding: 15px;
    }
    
    .product-title-modern {
        font-size: 1rem;
    }
    
    .product-price-modern {
        font-size: 1.1rem;
    }
    
    /* Features Grid Small Mobile */
    .feature-card-modern {
        padding: 20px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
    
    /* Newsletter Small Mobile */
    .newsletter-title {
        font-size: 1.25rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.85rem;
    }
}

/* ========================================
   SHOP & SINGLE PRODUCT RESPONSIVE
   ======================================== */



/* Shop Page Responsive */
@media (max-width: 1024px) {
    .shop-hero {
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .shop-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 60px 0;
    }
	
	.newsletter-form .btn-subscribe{
		justify-content: flex-start;
    width: max-content;
	}
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .shop-filters {
        padding: 20px;
    }
    
    .filter-group {
        margin-bottom: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .shop-hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 10px;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

/* Single Product Page Responsive */
@media (max-width: 1024px) {
    .single-prod .row {
        flex-direction: column;
    }
    
    .single-prod .col-lg-5,
    .single-prod .col-lg-7 {
        width: 100%;
        max-width: 100%;
        margin-top: 0px;
    }
    .single-prod {
        margin-top: 5px;
    }
    
    .sp-gallery {
        margin-bottom: 2rem;
    }
    
    .sp-info {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .single-prod {
        padding: 10px 0;
    }
    
    .sp-card {
        padding: 15px !important;
    }
    
    .sp-title {
        font-size: 1.5rem;
    }
    
    .sp-price {
        font-size: 1.5rem;
    }
    
    .sp-description {
        font-size: 0.9rem;
    }
    
    .sp-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sp-actions .btn {
        width: 100%;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

@media (max-width: 576px) {
    .single-prod {
        padding: 15px 0;
    }
    
    .sp-card {
        padding: 10px !important;
    }
    
    .sp-title {
        font-size: 1.25rem;
    }
    
    .sp-price {
        font-size: 1.25rem;
    }
    
    .sp-description {
        font-size: 0.85rem;
    }
    
    .sp-meta {
        font-size: 0.8rem;
    }
    
    .sp-actions .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Cart Page Responsive */
@media (max-width: 768px) {
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 10px 5px;
    }
    
    .cart-table .product-thumbnail {
        width: 60px;
    }
    
    .cart-table .product-name {
        font-size: 0.9rem;
    }
    
    .cart-table .product-price {
        font-size: 1rem;
    }
    
    .cart-table .product-quantity input {
        width: 50px;
        padding: 5px;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cart-table {
        font-size: 0.8rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 8px 3px;
    }
    
    .cart-table .product-thumbnail {
        width: 50px;
    }
    
    .cart-table .product-name {
        font-size: 0.8rem;
    }
    
    .cart-table .product-price {
        font-size: 0.9rem;
    }
}

/* Checkout Page Responsive */
@media (max-width: 768px) {
    .checkout-form {
        flex-direction: column;
    }
    
    .checkout-form .col-md-6 {
        width: 100%;
        max-width: 100%;
    }
    
    .checkout-form .form-group {
        margin-bottom: 1rem;
    }
    
    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        width: 100%;
        padding: 12px;
    }
    
    .checkout-form .btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .checkout-form .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ========================================
   PHARMACY SLIDER DOTS HIDE
   ======================================== */

/* Hide dots from pharmacy slider */
.pharmacy-dots {
    display: none !important;
}

.pharmacy-dots .slick-dots {
    display: none !important;
}

.pharmacy-slider .slick-dots {
    display: none !important;
}

/* ========================================
   SLICK SLIDER RESPONSIVE DESIGN
   ======================================== */

/* Home Slider Responsive */
@media (max-width: 1024px) {
    .pharmacy-hero {
        height: 80vh;
    }
    
    .slide-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .slide-media {
        order: -1;
        max-width: 60%;
        margin: 0 auto;
    }
    
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .pharmacy-dots {
        display: none !important;
    }
    
    .pharmacy-dots .slick-dots {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .pharmacy-hero {
        height: 70vh;
    }
    
    .slide-inner {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .slide-media {
        max-width: 80%;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .slide-cta {
        align-self: center;
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .pharmacy-dots {
        display: none !important;
    }
    
    .pharmacy-dots .slick-dots {
        display: none !important;
    }
    
    .slick-prev,
    .slick-next {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .pharmacy-hero {
        height: 60vh;
    }
    
    .slide-inner {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .slide-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .pharmacy-dots {
        display: none !important;
    }
    
    .pharmacy-dots .slick-dots {
        display: none !important;
    }
}

/* Services Slider Responsive */
@media (max-width: 1024px) {
    .services-slider-mahnites .slick-slide {
        padding: 0 10px;
    }
    
    .service-card-mahnites {
        max-width: 300px;
    }
    
    .service-image-mahnites {
        height: 80px !important;
        width: 80px !important;
    }
    
    .service-image-mahnites img {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 768px) {
    .services-slider-mahnites .slick-slide {
        padding: 0 5px;
    }
    
    .service-card-mahnites {
        max-width: 100%;
    }
    
    .service-image-mahnites {
        height: 80px !important;
        width: 80px !important;
    }
    
    .service-image-mahnites img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .service-content-mahnites {
        padding: 20px;
    }
    
    .service-title-mahnites {
        font-size: 1.2rem;
    }
    
    .service-description-mahnites {
        font-size: 0.85rem;
    }
    
    .slider-navigation {
        display: none !important;
    }
}
.ufarm-header .hamburger-line {
	display:none!important;
}

/* ========================================
   HAMBURGER MENU RESPONSIVE FIXES
   ======================================== */

/* Ensure hamburger menu works on mobile - navbar-collapse specific breakpoint - Lefr scroll */
@media (max-width: 1199.98px) {
    .ufarm-header .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%) !important;
        backdrop-filter: blur(20px);
        border-radius: 0;
        margin: 0;
        padding: 2rem 1.5rem;
        box-shadow: 4px 0 32px rgba(27, 90, 122, 0.2);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1050;
    }
    
    .ufarm-header .navbar-collapse.show {
        left: 0 !important;
        display: block !important;
    }
    
    .ufarm-header .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: left;
    }
    
    .ufarm-header .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white !important;
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: left !important;
    }
    
    .ufarm-header .navbar-collapse.show .navbar-nav .nav-link {
        transform: translateX(0);
        opacity: 1;
        border-bottom: 0;
    }
    
    .ufarm-header .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .ufarm-header .navbar-actions {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 0.75rem;
    }
}

/* Mobile hamburger animation fix */
@media (max-width: 768px) {
    .ufarm-header .navbar-toggler {
        border: 2px solid #6ac8c6;
        padding: 0.5rem;
        border-radius: 8px;
        background: rgba(106, 200, 198, 0.1);
    }
    
    .ufarm-header .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(106, 200, 198, 0.2);
    }
    
    .ufarm-header .navbar-toggler[aria-expanded="true"] {
        background: rgba(106, 200, 198, 0.2);
        border-color: #1b5a7a;
    }
    
    .ufarm-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2827, 90, 122, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-grid-home {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .service-card-home {
        max-width: 100%;
    }
    
    .service-image-home {
        height: 200px;
    }
    
    .service-content-home {
        padding: 20px;
    }
    
    .service-content-home h3 {
        font-size: 20px;
    }
    
    .service-content-home p {
        font-size: 14px;
    }
}

/* ========================================
   PAGES & TEMPLATES RESPONSIVE DESIGN
   ======================================== */

/* About Page Responsive */
@media (max-width: 1024px) {
    .about-hero {
        padding: 1.5rem 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text,
    .about-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 13px 0 !important;
        padding-top: 20px !important;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
    
    .about-image {
        height: 250px;
    }
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-hero {
        padding: 1.5rem 0;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 20px 0px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
    }
    
    .contact-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 40px 0;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-form {
        padding: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Blog Page Responsive */
@media (max-width: 1024px) {
    .blog-hero {
        padding: 1.5rem 0;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 40px 0;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .blog-card {
        padding: 15px;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.85rem;
    }
}

/* Single Post Responsive */
@media (max-width: 1024px) {
    .single-post-hero {
        padding: 1.5rem 0;
    }
    
    .post-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .post-main,
    .post-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .single-post-hero {
        padding: 60px 0;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .single-post-hero {
        padding: 40px 0;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .post-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Services Page Responsive */

.partners-page {
    padding-top: 0px;
}

@media (max-width: 768px) {

    
    .services-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {

    
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}

/* Gallery Page Responsive */
@media (max-width: 1024px) {
    .gallery-hero {
        padding: 1.5rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 60px 0;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        padding: 40px 0;
    }
    
    .gallery-title {
        font-size: 1.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
    }
    
    .gallery-item {
        height: 150px;
    }
}

/* Partners Page Responsive */
@media (max-width: 1024px) {
    .partners-hero {
        padding: 1.5rem 0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .partners-hero {
        padding: 60px 0;
    }
    
    .partners-title {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .partner-card {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .partners-hero {
        padding: 40px 0;
    }
    
    .partners-title {
        font-size: 1.75rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .partner-card {
        padding: 10px;
    }
    
    .partner-logo {
        height: 60px;
    }
}

/* Careers Page Responsive */
@media (max-width: 1024px) {
    .careers-hero {
        padding: 1.5rem 0;
    }
    
    .careers-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .careers-info,
    .careers-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 60px 0;
    }
    
    .careers-title {
        font-size: 2rem;
    }
    
    .careers-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 12px;
    }
    
    .careers-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .careers-hero {
        padding: 40px 0;
    }
    
    .careers-title {
        font-size: 1.75rem;
    }
    
    .careers-form {
        padding: 15px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .careers-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ========================================
   FOOTER RESPONSIVE DESIGN
   ======================================== */

/* Footer Styles */
#footer {
    background: #063e7f;
    color: white;
    padding: 5px 0 1px;
    margin-top: 0px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 0px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 0;
    position: relative;
    z-index: 3;
}

.footer-bottom-content {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .site-footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 48px;
        margin-bottom: 0px;
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .footer-logo .logo-img {
        height: 40px;
    }
    
    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-contact .contact-item {
        margin-bottom: 0.75rem;
    }
    
    .footer-contact .contact-item span {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-column {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo .logo-img {
        height: 35px;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact .contact-item span {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* ========================================
   UTILITY RESPONSIVE CLASSES
   ======================================== */

/* Responsive text alignment */
@media (max-width: 768px) {
    .text-md-center {
        text-align: left !important;
    }
    
    .text-md-left {
        text-align: left !important;
    }
    
    .text-md-right {
        text-align: right !important;
    }
}

@media (max-width: 576px) {
    .text-sm-center {
        text-align: left !important;
    }
    
    .text-sm-left {
        text-align: left !important;
    }
    
    .text-sm-right {
        text-align: right !important;
    }
}

/* Responsive spacing */
@media (max-width: 768px) {
    .py-md-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-md-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-md-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .my-md-3 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .my-md-4 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .my-md-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .py-sm-2 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .py-sm-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-sm-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .my-sm-2 {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .my-sm-3 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .my-sm-4 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Responsive display */
@media (max-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-block {
        display: block !important;
    }
    
    .d-md-flex {
        display: flex !important;
    }
    
    .d-md-grid {
        display: grid !important;
    }
}

@media (max-width: 576px) {
    .d-sm-none {
        display: none !important;
    }
    
    .d-sm-block {
        display: block !important;
    }
    
    .d-sm-flex {
        display: flex !important;
    }
    
    .d-sm-grid {
        display: grid !important;
    }
}

/* Responsive flexbox */
@media (max-width: 768px) {
    .flex-md-column {
        flex-direction: column !important;
    }
    
    .flex-md-row {
        flex-direction: row !important;
    }
    
    .justify-md-center {
        justify-content: flex-start !important;
    }
    
    .align-md-center {
        align-items: flex-start !important;
    }
}

@media (max-width: 576px) {
    .flex-sm-column {
        flex-direction: column !important;
    }
    
    .flex-sm-row {
        flex-direction: row !important;
    }
    
    .justify-sm-center {
        justify-content: flex-start !important;
    }
    
    .align-sm-center {
        align-items: flex-start !important;
    }
}

.section-header-modern {
    text-align: center;
    margin-bottom: 80px;
}

/* ========================================
   SLICK SLIDER RESPONSIVE FIXES
   ======================================== */

/* Ensure all Slick sliders are responsive */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-dotted.slick-slider {
    margin-bottom: 0px!important;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

/* Slick Dots Responsive */
.slick-dots {
    position: absolute;
    bottom: -45px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: 0.25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: 0.75;
    color: black;
}

/* Slick Arrows Responsive */
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
    opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
    opacity: 0.25;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;
    opacity: 0.75;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
    left: -25px;
}

[dir='rtl'] .slick-prev {
    right: -25px;
    left: auto;
}

.slick-prev:before {
    content: '←';
}

[dir='rtl'] .slick-prev:before {
    content: '→';
}

.slick-next {
    right: -25px;
}

[dir='rtl'] .slick-next {
    right: auto;
    left: -25px;
}

.slick-next:before {
    content: '→';
}

[dir='rtl'] .slick-next:before {
    content: '←';
}

/* Mobile Responsive for Slick */
@media (max-width: 768px) {
    .slick-prev,
    .slick-next {
        display: none !important;
    }
    
    .slick-dots {
        bottom: -30px;
    }
    
    .slick-dots li {
        width: 15px;
        height: 15px;
        margin: 0 3px;
    }
    
    .slick-dots li button {
        width: 15px;
        height: 15px;
        padding: 3px;
    }
    
    .slick-dots li button:before {
        font-size: 4px;
        line-height: 15px;
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 576px) {
    .slick-dots {
        bottom: -25px;
    }
    
    .slick-dots li {
        width: 12px;
        height: 12px;
        margin: 0 2px;
    }
    
    .slick-dots li button {
        width: 12px;
        height: 12px;
        padding: 2px;
    }
    
    .slick-dots li button:before {
        font-size: 3px;
        line-height: 12px;
        width: 12px;
        height: 12px;
    }
}

.section-title-modern {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    position: relative;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
}

.section-subtitle-modern {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(14, 41, 84, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(14, 41, 84, 0.15);
}

.service-icon-modern {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.icon-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.service-card-modern:hover .icon-background {
    transform: rotate(45deg) scale(1.1);
}

.icon-emoji {
    position: relative;
    z-index: 2;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.service-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 41, 84, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-card-modern:hover .service-hover-effect {
    left: 100%;
}

/* Products Section */
.products-showcase-modern {
    padding: 2rem 0;
    background: white;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.product-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(14, 41, 84, 0.1);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(14, 41, 84, 0.15);
}

.product-image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-modern:hover .product-image {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-right: 8px;
}

.sale-badge {
    background: linear-gradient(135deg, var(--error) 0%, #DC2626 100%);
}

.product-actions-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    pointer-events: none;
}

.product-card-modern:hover .product-actions-overlay {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.product-actions-overlay .action-btn {
    pointer-events: auto;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gray-700);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 
                0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.action-btn:hover {
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(27, 90, 122, 0.3), 
                0 3px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.action-btn.in-wishlist {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.action-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    flex-shrink: 0;
}

.action-btn:hover svg {
    transform: scale(1.15);
}

.action-btn i {
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.action-btn:hover i {
    transform: scale(1.15);
}

.product-info-modern {
    padding: 24px;
}

.product-title-modern {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-title-modern a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title-modern a:hover {
    color: var(--primary);
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--gray-300);
    font-size: 14px;
}

.star.filled {
    color: var(--warning);
}

.star.half {
    background: linear-gradient(90deg, var(--warning) 50%, var(--gray-300) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-count {
    font-size: 12px;
    color: var(--gray-500);
}

.product-price-modern {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-actions-modern {
    display: flex;
    gap: 8px;
}

.btn-add-to-cart,
.btn-view-options {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 41, 84, 0.3);
}

.btn-view-options {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-view-options:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.products-cta {
    text-align: center;
}

/* Features Section */
.features-section-modern {
    padding: 2rem 0;
    background: var(--gray-50);
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card-modern {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(14, 41, 84, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(14, 41, 84, 0.15);
}

.feature-icon-modern {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    opacity: 0.1;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Category Showcase */
.category-showcase-modern {
    padding: 2rem 0;
    background: white;
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.category-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(14, 41, 84, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(14, 41, 84, 0.15);
}

.category-image-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card-modern:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 41, 84, 0.8) 0%, rgba(106, 200, 198, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card-modern:hover .category-overlay {
    opacity: 1;
}

.category-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-icon {
    opacity: 1;
}

.category-info {
    padding: 24px;
    background: white;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-title a:hover {
    color: var(--primary);
}

.category-count {
    font-size: 14px;
    color: var(--gray-600);
}

/* CTA Section */
.cta-section-modern {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-visual-content {
        height: 400px;
        order: -1; /* Show visual content first */
    }
    
    .hero-text-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content-wrapper {
        gap: 32px;
    }
    
    .hero-visual-content {
        height: 300px;
        order: -1; /* Show visual content first */
    }
    
    .hero-text-content {
        width: 100%;
    }
    
    .hero-actions-modern {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid-modern,
    .products-grid-modern,
    .features-grid-modern,
    .categories-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 660px) {
    .hero-main-visual {
        position: relative;
        width: 100%;
        height: 60%;
    }
    
    .hero-visual-content {
        position: relative;
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero-content-wrapper {
        gap: 24px;
    }

  
    
    .hero-visual-content {
        height: 250px;
        order: -1; /* Show visual content first */
    }
    
    .hero-text-content {
        width: 100%;
    }
    
    .hero-actions-modern {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .service-card-modern,
    .feature-card-modern {
        padding: 24px;
    }
    .service-hero .hero-title {
        margin-bottom: 0px!important;
    }
	
	.service-title-mahnites {
		font-size:18px!important;
	}
	
	.service-description-mahnites {
		font-size:15px!important;
	}
	
	    .service-card-mahnites {
        height: 320px!important;
    }
	
	.product-card-modern {
		padding:4px;
	}
	.product-title-modern a {
		font-size:15px;
	}
	.single_add_to_cart_button, .add_to_cart_button {
		    padding: 0.25rem 0.75rem;
	}
	
	.product-price-modern {
		font-size:15px;
	}
	
	.product-info-modern {
    padding: 5px!important;
    text-align: center;
}
	
	.product-rating-modern {
    display: inline-block!important;
}
    
    .floating-cards {
        display: none;
    }
    
    .hero-visual-content {
        height: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Keep essential animations for floating elements */
    .floating-pills .pill,
    .floating-shapes .shape,
    .floating-cards .floating-card,
    .particle,
    .animated-pill {
        animation-duration: 6s !important;
        animation-iteration-count: infinite !important;
    }
}

/* Floating Elements */
.floating-pills {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-particles {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(106, 200, 198, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px, 70px 70px;
    animation: floatingParticles 25s linear infinite !important;
    animation-play-state: running !important;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    z-index: 1;
}

.floating-pills .pill,
.floating-pills .floating-pill {
    position: absolute;
    background: linear-gradient(135deg, rgba(106, 200, 198, 0.3) 0%, rgba(27, 90, 122, 0.3) 100%);
    border-radius: 50px;
    animation: floatPill 8s ease-in-out infinite;
    /* Ensure pill shape - medicine tablet appearance */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Add pill-like appearance */
    position: relative;
}

.floating-pills .pill::before,
.floating-pills .floating-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.floating-pills .pill::after,
.floating-pills .floating-pill::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.floating-particles .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatParticle 10s linear infinite;
}

@keyframes floatPill {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-30px) translateX(10px) rotate(90deg);
        opacity: 1;
    }
    50% { 
        transform: translateY(-60px) translateX(-5px) rotate(180deg);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-30px) translateX(-10px) rotate(270deg);
        opacity: 1;
    }
}

/* Horizontal movement animation */
@keyframes floatPillHorizontal {
    0%, 100% { 
        transform: translateX(0px) translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translateX(40px) translateY(-15px) rotate(45deg);
        opacity: 1;
    }
    50% { 
        transform: translateX(80px) translateY(0px) rotate(90deg);
        opacity: 0.8;
    }
    75% { 
        transform: translateX(40px) translateY(15px) rotate(135deg);
        opacity: 0.9;
    }
}

/* Circular movement animation */
@keyframes floatPillCircular {
    0% { 
        transform: translateX(0px) translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translateX(30px) translateY(-30px) rotate(90deg);
        opacity: 1;
    }
    50% { 
        transform: translateX(0px) translateY(-60px) rotate(180deg);
        opacity: 0.8;
    }
    75% { 
        transform: translateX(-30px) translateY(-30px) rotate(270deg);
        opacity: 0.9;
    }
    100% { 
        transform: translateX(0px) translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

/* Diagonal movement animation */
@keyframes floatPillDiagonal {
    0%, 100% { 
        transform: translateX(0px) translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translateX(25px) translateY(-35px) rotate(45deg);
        opacity: 1;
    }
    50% { 
        transform: translateX(50px) translateY(-70px) rotate(90deg);
        opacity: 0.8;
    }
    75% { 
        transform: translateX(25px) translateY(-35px) rotate(135deg);
        opacity: 0.9;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --gray-200: #000000;
        --gray-300: #333333;
        --gray-400: #666666;
        --gray-500: #999999;
    }
}

/* Print Styles */
@media print {
    .btn-modern,
    .service-card-modern,
    .product-card-modern,
    .feature-card-modern,
    .category-card-modern {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .floating-cards,
    .dynamic-particles,
    .gradient-mesh {
        display: none !important;
    }
}

/* JavaScript Animation Classes */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================
   WOOCOMMERCE CHECKOUT - LUXURY REDESIGN (MAXIMUM PRIORITY)
   ========================================================== */

/* ====== GLOBAL CHECKOUT STYLES ====== */
html body.woocommerce-checkout {
    background: linear-gradient(135deg, #f5f9fb 0%, #e8f4f8 100%) !important;
    min-height: 100vh !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ====== CHECKOUT PAGE LAYOUT ====== */
html body .checkout-page-modern,
html body.woocommerce-checkout .woocommerce-checkout,
html body.woocommerce-checkout .wc-block-checkout {
    background: linear-gradient(135deg, #f5f9fb 0%, #e8f4f8 100%) !important;
    min-height: 100vh !important;
    padding: 0 !important;
}

html body .checkout-header {
    text-align: left !important;
    margin-bottom: 1rem !important;
    padding: 1rem 1.25rem !important;
}

@media (max-width: 768px) {
    html body .checkout-header {
        padding: 0.75rem 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    .news-grid-section {
        padding: 20px 0 !important;
    }
    .news-content {
    padding-bottom: 0px!important;
}
.news-content p {
    margin-bottom: 0px!important;
}
.news-content h1, .news-content h2, .news-content h3, .news-content h4, .news-content h5, .news-content h6 {
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
}

@media (max-width: 480px) {
    html body .checkout-header {
        padding: 0.5rem 0.25rem !important;
        margin-bottom: 0.5rem !important;
    }
}

html body .checkout-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #0f2330 !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    gap: 1rem !important;
    position: relative !important;
}

html body .checkout-title::before {
    content: "💳" !important;
    font-size: 2rem !important;
    filter: drop-shadow(0 2px 4px rgba(27, 90, 122, 0.2)) !important;
}



html body .checkout-subtitle {
    font-size: 1.1rem !important;
    color: #6b7a86 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-left: 5px !important;
}

/* ====== CHECKOUT CONTENT LAYOUT ====== */
html body .checkout-content {
    display: grid !important;
    grid-template-columns: 7fr 5fr !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

@media (max-width: 991.98px) {
    html body .checkout-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ====== CHECKOUT FORM WRAPPER ====== */
html body .checkout-form-wrapper {
    background: white !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 16px 40px rgba(13, 38, 59, 0.06) !important;
    border: 1px solid rgba(27, 90, 122, 0.12) !important;
    position: relative !important;
    overflow: visible !important;
}

html body .checkout-form-wrapper::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #022d5f 0%, #063e7f 100%) !important;
}

html body .checkout-fields {
    margin-bottom: 2rem !important;
}

/* ====== FORM SECTIONS ====== */
html body .woocommerce-billing-fields,
html body .woocommerce-shipping-fields {
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid rgba(27, 90, 122, 0.08) !important;
    position: relative !important;
}

/* Hide additional fields section completely */
html body .woocommerce-additional-fields {
    display: none !important;
}

/* Fix floating labels for email field */
html body .form-row input[type="email"]:focus + label,
html body .form-row input[type="email"]:not(:placeholder-shown) + label,
html body .form-row input[type="email"]:valid + label,
html body .form-row input[type="email"]:not([value=""]) + label {
    top: 0 !important;
    font-size: 0.8rem !important;
    color: #1b5a7a !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Fix floating labels for password field */
html body .form-row input[type="password"]:focus + label,
html body .form-row input[type="password"]:not(:placeholder-shown) + label,
html body .form-row input[type="password"]:valid + label,
html body .form-row input[type="password"]:not([value=""]) + label {
    top: 0 !important;
    font-size: 0.8rem !important;
    color: #1b5a7a !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* ==========================================================
   SEARCH MODAL CENTERING - Same as Auth Modal
   ========================================================== */

/* Search Modal Centering */
#searchModal {
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    display: none !important;
}

#searchModal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
}

#searchModal .modal-dialog {
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 600px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#searchModal .modal-content {
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

#searchModal .modal-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.5rem !important;
}

#searchModal .modal-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

#searchModal .btn-close {
    filter: brightness(0) invert(1) !important;
}

#searchModal .modal-body {
    padding: 2rem !important;
}

/* Search Form Styling */
#searchModal .search-form {
    margin: 0 !important;
}

#searchModal .input-group {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

#searchModal .search-field {
    border: none !important;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    background: #ffffff !important;
}

#searchModal .search-field:focus {
    box-shadow: none !important;
    border: none !important;
}

#searchModal .search-submit {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%) !important;
    border: none !important;
    padding: 1rem 1.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

#searchModal .search-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #searchModal .modal-dialog {
        max-width: 95% !important;
        margin: 1rem !important;
    }
    
    #searchModal .modal-body {
        padding: 1.5rem !important;
    }
}

html body .woocommerce-billing-fields h3,
html body .woocommerce-shipping-fields h3,
html body .woocommerce-additional-fields h3,
html body .checkout-additional-info h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f2330 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid !important;
    border-image: linear-gradient(90deg, #1b5a7a 0%, #6ac8c6 100%) 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

html body .woocommerce-billing-fields h3::before,
html body .woocommerce-shipping-fields h3::before,
html body .woocommerce-additional-fields h3::before {
    content: "📍" !important;
    font-size: 1.1rem !important;
}

html body .checkout-additional-info h3::before {
    content: "📝" !important;
    font-size: 1.1rem !important;
}

/* ====== FORM ROWS ====== */
html body .form-row {
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

html body .form-row label {
    display: block !important;
    font-weight: 600 !important;
    color: #0f2330 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: color 0.2s ease !important;
}

html body .form-row.woocommerce-invalid label {
    color: #e5484d !important;
}

html body .form-row.woocommerce-validated label {
    color: #10b981 !important;
}

/* ====== INPUT FIELDS ====== */
html body .form-row input[type="text"],
html body .form-row input[type="email"],
html body .form-row input[type="tel"],
html body .form-row input[type="password"],
html body .form-row input[type="number"],
html body .form-row select,
html body .form-row textarea {
    width: 100% !important;
    height: 48px !important;
    padding: 0 1rem !important;
    border: 1px solid rgba(27, 90, 122, 0.25) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #0f2330 !important;
    background: white !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

html body .form-row textarea {
    height: auto !important;
    min-height: 100px !important;
    padding: 1rem !important;
    resize: vertical !important;
    line-height: 1.6 !important;
    text-align: left !important;
    font-family: inherit !important;
}

html body .form-row input:focus,
html body .form-row select:focus,
html body .form-row textarea:focus {
    outline: none !important;
    border-color: #1b5a7a !important;
    box-shadow: 0 0 0 3px rgba(27, 90, 122, 0.15) !important;
    transform: translateY(-1px) !important;
}

html body .form-row input:disabled,
html body .form-row select:disabled,
html body .form-row textarea:disabled {
    background: #f8fafc !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* ====== SELECT2 STYLING ====== */
html body .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid rgba(27, 90, 122, 0.25) !important;
    border-radius: 12px !important;
    background: white !important;
    transition: all 0.2s ease !important;
   
}

html body .alert .woocommerce-error {
    display: none!important;
}
html body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
    padding-left: 1rem !important;
    color: #0f2330 !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}

html body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 1rem !important;
    width: 20px !important;
}

html body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #1b5a7a transparent transparent transparent !important;
    border-width: 6px 6px 0 6px !important;
    margin-top: -3px !important;
}

html body .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #1b5a7a !important;
    box-shadow: 0 0 0 3px rgba(27, 90, 122, 0.15) !important;
}

html body .select2-dropdown {
    border: 1px solid rgba(27, 90, 122, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(13, 38, 59, 0.06) !important;
    margin-top: 4px !important;
}

html body .select2-results__option {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    color: #0f2330 !important;
    transition: background-color 0.2s ease !important;
}

html body .select2-results__option--highlighted {
    background: rgba(27, 90, 122, 0.08) !important;
    color: #1b5a7a !important;
}

/* ====== RADIO & CHECKBOX ====== */
html body .form-row input[type="radio"],
html body .form-row input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: #1b5a7a !important;
    margin-right: 0.75rem !important;
    cursor: pointer !important;
}

html body .form-row .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

html body .form-row .woocommerce-form__label-for-checkbox:hover {
    background: rgba(106, 200, 198, 0.08) !important;
    border-color: rgba(106, 200, 198, 0.2) !important;
}

html body .form-row .woocommerce-form__label-for-checkbox:has(input:checked) {
    background: rgba(27, 90, 122, 0.06) !important;
    border-color: #1b5a7a !important;
}

/* ====== PAYMENT METHODS ====== */
html body #payment {
    background: white !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 16px 40px rgba(13, 38, 59, 0.06) !important;
    border: 1px solid rgba(27, 90, 122, 0.12) !important;
    margin-top: 2rem !important;
    position: relative !important;
    overflow: visible !important;
}

html body #payment::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #022d5f 0%, #063e7f 100%) !important;
}

html body #payment .payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body #payment .payment_methods li {
    margin-bottom: 1rem !important;
    padding: 1.25rem !important;
    border: 1px solid rgba(27, 90, 122, 0.12) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    background: white !important;
}

html body #payment .payment_methods li:hover {
    background: rgba(106, 200, 198, 0.05) !important;
    border-color: #6ac8c6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(27, 90, 122, 0.08) !important;
}

html body #payment .payment_methods li:has(input:checked) {
    background: rgba(27, 90, 122, 0.06) !important;
    border-color: #1b5a7a !important;
    box-shadow: 0 4px 12px rgba(27, 90, 122, 0.12) !important;
}

html body #payment .payment_methods li input[type="radio"] {
    margin-right: 1rem !important;
}

html body #payment .payment_methods li label {
    font-weight: 600 !important;
    color: #0f2330 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: auto !important;
}

/* Payment Method Label - Ensure Single Line */
html body #payment .payment_methods li label {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow: visible !important;
}

/* Payment Gateway Icons - Proper Alignment */
html body #payment .payment_methods li label img {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-left: 0.5rem !important;
    height: auto !important;
    max-height: 24px !important;
    align-self: center !important;
}

/* Fix VPOS SIA payment method - Text on one line, images below */
html body #payment .payment_methods li.payment_method_vpos label {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
    gap: 0.5rem 0 !important;
    white-space: normal !important;
}

/* VPOS Icons - Force to New Line Below Text with flex-basis */
html body #payment .payment_methods li.payment_method_vpos label img {
    display: inline-block !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
    width: auto !important;
}

/* First image starts on new line - force wrap with flex-basis */
html body #payment .payment_methods li.payment_method_vpos label img:first-of-type {
    flex-basis: 100% !important;
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

/* Additional images stay on same line as first */
html body #payment .payment_methods li.payment_method_vpos label img:not(:first-of-type) {
    flex-basis: auto !important;
    margin-left: 0.5rem !important;
}

html body #payment .payment_methods li .payment_box {
    margin-top: 1rem !important;
    padding: 1.25rem !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    border: 1px solid rgba(27, 90, 122, 0.08) !important;
    animation: slideDown 0.2s ease !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== PLACE ORDER BUTTON ====== */
html body .place-order {
    margin-top: 2rem !important;
}

html body #place_order {
    width: 100% !important;
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1.25rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 8px 22px rgba(27, 90, 122, 0.18) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
}

html body #place_order::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

html body #place_order:hover::before {
    left: 100% !important;
}

html body #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(27, 90, 122, 0.25) !important;
    filter: brightness(1.05) !important;
}

html body #place_order:disabled {
    background: #9ca3af !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

html body #place_order:disabled::before {
    display: none !important;
}

/* ====== ORDER REVIEW ====== */
html body .checkout-order-review {
    background: white !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 16px 40px rgba(13, 38, 59, 0.06) !important;
    border: 1px solid rgba(27, 90, 122, 0.12) !important;
    position: sticky !important;
    top: 2rem !important;
    height: auto !important;
    overflow-y: visible !important;
}

html body .checkout-order-review::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #022d5f 0%, #063e7f 100%) !important;
}

html body .order-review-header {
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid !important;
    border-image: linear-gradient(90deg, #1b5a7a 0%, #6ac8c6 100%) 1 !important;
}

html body .order-review-header h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #0f2330 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

html body .order-review-header h3::before {
    content: "📋" !important;
    font-size: 1.2rem !important;
}

/* ====== ORDER REVIEW TABLE ====== */
html body #order_review .shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 1.5rem !important;
}

html body #order_review .shop_table th,
html body #order_review .shop_table td {
    padding: 1rem 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
    vertical-align: top !important;
}

html body #order_review .shop_table th {
    font-weight: 600 !important;
    color: #0f2330 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

html body #order_review .shop_table td {
    font-weight: 500 !important;
    color: #374151 !important;
    font-size: 0.95rem !important;
}

html body #order_review .shop_table .order-total th,
html body #order_review .shop_table .order-total td {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1b5a7a !important;
    border-top: 2px solid #1b5a7a !important;
    padding-top: 1rem !important;
}

/* ====== COUPON SECTION ====== */
html body .woocommerce-form-coupon {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 2px solid rgba(6, 62, 127, 0.15) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    display: none !important;
    animation: slideDown 0.3s ease-out !important;
    box-shadow: 0 8px 24px rgba(6, 62, 127, 0.08) !important;
}

html body .woocommerce-form-coupon.show {
    display: block !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html body .woocommerce-form-coupon::before {
    content: "🏷️" !important;
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    font-size: 1.5rem !important;
    opacity: 0.3 !important;
    filter: drop-shadow(0 2px 4px rgba(6, 62, 127, 0.1)) !important;
}

html body .woocommerce-form-coupon > p {
    color: #475569 !important;
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 500 !important;
}

html body .woocommerce-form-coupon-toggle {
    margin-bottom: 1rem !important;
    padding: 0 !important;
}

html body .woocommerce-form-coupon-toggle .woocommerce-info,
html body .woocommerce-form-coupon-toggle .woocommerce-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
    border: 1px solid #28a745 !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    margin: 0 0 1rem 0 !important;
    color: #155724 !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1) !important;
}

html body .woocommerce-form-coupon-toggle .showcoupon {
    background: white !important;
    border: 2px solid #063e7f !important;
    border-radius: 10px !important;
    padding: 0.875rem 1.5rem !important;
    color: #063e7f !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.625rem !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(6, 62, 127, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
}

html body .woocommerce-form-coupon-toggle .showcoupon::before {
    content: "🎟️";
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

html body .woocommerce-form-coupon-toggle .showcoupon:hover {
    background: linear-gradient(135deg, #063e7f 0%, #1b5a7a 100%) !important;
    border-color: #063e7f !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(6, 62, 127, 0.25) !important;
}

html body .woocommerce-form-coupon-toggle .showcoupon:hover::before {
    transform: scale(1.1) rotate(10deg);
}

html body .woocommerce-form-coupon .form-row {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: stretch !important;
}

html body .woocommerce-form-coupon .form-row input {
    flex: 1 !important;
    padding: 0.875rem 1.25rem !important;
    border: 2px solid rgba(6, 62, 127, 0.2) !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background: white !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(6, 62, 127, 0.05) !important;
}

html body .woocommerce-form-coupon .form-row input:focus {
    outline: none !important;
    border-color: #063e7f !important;
    box-shadow: 0 0 0 4px rgba(6, 62, 127, 0.1) !important;
    transform: translateY(-1px) !important;
}

html body .woocommerce-form-coupon .form-row input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

html body .woocommerce-form-coupon .form-row .button {
    background: linear-gradient(135deg, #063e7f 0%, #1b5a7a 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.875rem 2rem !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(6, 62, 127, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

html body .woocommerce-form-coupon .form-row .button::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

html body .woocommerce-form-coupon .form-row .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(6, 62, 127, 0.3) !important;
    background: linear-gradient(135deg, #1b5a7a 0%, #063e7f 100%) !important;
}

html body .woocommerce-form-coupon .form-row .button:hover::before {
    left: 100% !important;
}

/* ====== NOTICES ====== */
html body .woocommerce-error,
html body .woocommerce-message,
html body .woocommerce-info {
    padding: 1rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 12px !important;
    border-left: 4px solid !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

html body .woocommerce-error {
    background: #fef2f2 !important;
    border-left-color: #e5484d !important;
    color: #dc2626 !important;
     display: none!important;
}

html body .woocommerce-error::before {
    content: "⚠️" !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
}

html body .woocommerce-message {
    background: #f0fdf4 !important;
    border-left-color: #10b981 !important;
    color: #059669 !important;
}

html body .woocommerce-message::before {
    content: "✅" !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
}

html body .woocommerce-info {
    background: #eff6ff !important;
    border-left-color: #1b5a7a !important;
    color: #1e40af !important;
}

html body .woocommerce-info::before {
    content: "ℹ️" !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
}

/* ====== TERMS & CONDITIONS ====== */
html body .woocommerce-terms-and-conditions {
    margin: 1.5rem 0 !important;
    padding: 1.25rem !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    border: 1px solid rgba(27, 90, 122, 0.08) !important;
}

html body .woocommerce-terms-and-conditions label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #374151 !important;
    cursor: pointer !important;
}

html body .woocommerce-terms-and-conditions a {
    color: #1b5a7a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

html body .woocommerce-terms-and-conditions a:hover {
    color: #6ac8c6 !important;
    text-decoration: underline !important;
}

/* ====== PROCESSING STATE ====== */
html body .processing {
    opacity: 0.7 !important;
    pointer-events: auto !important;
}

html body .processing #place_order {
    background: #9ca3af !important;
    cursor: not-allowed !important;
}

html body .processing #place_order::before {
    display: none !important;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 991.98px) {
    html body .checkout-order-review {
        position: static !important;
        max-height: none !important;
        
    }
    
    html body .checkout-title {
        font-size: 2rem !important;
    }
    
    html body .checkout-content {
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    html body .checkout-page-modern,
    html body.woocommerce-checkout .woocommerce-checkout,
    html body.woocommerce-checkout .wc-block-checkout {
        padding: 0.5rem 0 !important;
    }
    
    html body .checkout-content {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
        max-width: 100% !important;
    }
    
    html body .checkout-header {
        padding: 0.75rem 0.5rem !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
    }
    
    html body .checkout-form-wrapper,
    html body .checkout-order-review,
    html body #payment {
        padding: 1rem 0.75rem !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
    }
    
    html body .checkout-title {
        font-size: 1.4rem !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
    }
    
    html body .checkout-title::before {
        font-size: 1.3rem !important;
    }
    
    html body .checkout-title::after {
        display: none !important;
    }
    
    html body .checkout-subtitle {
        font-size: 0.9rem !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }
    
    html body .woocommerce-billing-fields,
    html body .woocommerce-shipping-fields {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    html body .woocommerce-billing-fields h3,
    html body .woocommerce-shipping-fields h3 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    html body .form-row {
        margin-bottom: 0.75rem !important;
    }
    
    html body .form-row input,
    html body .form-row select,
    html body .form-row textarea {
        height: 44px !important;
        font-size: 16px !important;
        padding: 0.75rem 1rem !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    html body .form-row label {
        font-size: 0.875rem !important;
        margin-bottom: 0.375rem !important;
        display: block !important;
    }
    
    html body .form-row-first,
    html body .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }
    
    html body .woocommerce-form-coupon-toggle {
        margin-top: 0.5rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0 !important;
    }
    
    html body .woocommerce-form-coupon {
        margin-bottom: 0.75rem !important;
    }
    
    html body .woocommerce-form-coupon {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    html body .woocommerce-form-coupon .form-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    html body .woocommerce-form-coupon .form-row .button {
        width: 100% !important;
        padding: 0.75rem 1rem !important;
    }
    
    html body .woocommerce-form-coupon-toggle {
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.75rem !important;
        margin-top: 0px !important;
    }
    
    html body .woocommerce-form-coupon-toggle .showcoupon {
        font-size: 0.9rem !important;
        padding: 0.5rem 0.75rem !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    html body #place_order {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        margin-top: 1rem !important;
    }
    
    html body .checkout-order-review {
        position: static !important;
        max-height: none !important;
    }
}

@media (max-width: 480px) {
    html body .checkout-page-modern,
    html body.woocommerce-checkout .woocommerce-checkout,
    html body.woocommerce-checkout .wc-block-checkout {
        padding: 0.25rem 0 !important;
    }
    
    html body .checkout-content {
        padding: 0 0.5rem !important;
        gap: 0.5rem !important;
    }
    
    html body .checkout-header {
        padding: 0.5rem 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    html body .checkout-title {
        font-size: 1.2rem !important;
        gap: 0.375rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    html body .checkout-title::before {
        font-size: 1.1rem !important;
    }
    
    html body .checkout-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    html body .checkout-form-wrapper,
    html body .checkout-order-review,
    html body #payment {
        padding: 0.75rem 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    html body .woocommerce-billing-fields,
    html body .woocommerce-shipping-fields {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    html body .woocommerce-billing-fields h3,
    html body .woocommerce-shipping-fields h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    html body .form-row {
        margin-bottom: 0.5rem !important;
    }
    
    html body .form-row input,
    html body .form-row select,
    html body .form-row textarea {
        height: 42px !important;
        font-size: 16px !important;
        padding: 0.625rem 0.875rem !important;
    }
    
    html body .form-row label {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    html body .woocommerce-form-coupon {
        padding: 0.75rem 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    html body .woocommerce-form-coupon-toggle {
        margin-bottom: 0.5rem !important;
    }
    
    html body #place_order {
        padding: 0.875rem !important;
        font-size: 0.95rem !important;
        margin-top: 0.75rem !important;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.animate-bounce {
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animate-in {
    animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0e2954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f3f3;
    color: #333;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.notification-message {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: #f3f3f3;
    color: #333;
}


/* ====== CART PAGE (layout + UI) ====== */
.woocommerce-cart{ background:var(--bg); }

/* Box i Totals djathtas */
.woocommerce-cart .cart-collaterals .cart_totals{
  background:#fff; border:1px solid rgba(27,90,122,.12); border-radius:16px; padding:18px;
  box-shadow:0 16px 40px rgba(13,38,59,.06);
}
.woocommerce-cart .cart_totals h2, .woocommerce-cart .cart_totals .shop_table th{
  color:var(--ink); font-weight:700;
}
.woocommerce-cart .cart_totals .order-total .amount{ color:var(--brand); font-weight:800; }

/* Tabela e produkteve si “cards” të buta */
.woocommerce-cart table.shop_table{
  background:#fff; border:1px solid rgba(27,90,122,.12); border-radius:16px; overflow:hidden;
}
.woocommerce-cart table.shop_table th{ color:var(--muted); font-weight:700; }
.woocommerce-cart table.shop_table td{ padding-block:18px; }
.woocommerce-cart .product-thumbnail img{ border-radius:10px; }

/* Quantity stepper */
.woocommerce .quantity .qty{
  width:60px; height:38px; text-align:center; border:1px solid rgba(27,90,122,.25); border-radius:10px;
}
.woocommerce .quantity .minus,
.woocommerce .quantity .plus{
  background:#fff; border:1px solid rgba(27,90,122,.25); width:38px; height:38px;
  border-radius:10px; font-weight:700; color:var(--brand);
}
.woocommerce .quantity .minus:hover,
.woocommerce .quantity .plus:hover{ background:rgba(106,200,198,.12); }

/* Remove item (X) */
.woocommerce a.remove{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:999px; border:1px solid rgba(27,90,122,.25) !important;
  color:var(--brand) !important; background:#fff !important;
}
.woocommerce a.remove:hover{ background:rgba(106,200,198,.12) !important; }

/* Buttons (CTA) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
  border-radius:12px; border:0; font-weight:700;
  background:#053a75; color:#fff;
  box-shadow:0 8px 22px rgba(27,90,122,.18);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{
  filter:brightness(1.05);
}

/* Coupon/Shipping UI */
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .woocommerce-shipping-destination{ color:var(--muted); }
.woocommerce-cart .woocommerce-shipping-methods input[type="radio"]{
  accent-color:var(--brand);
}

/* Empty state */
.woocommerce-cart .cart-empty{
  background:#fff; border:1px dashed rgba(27,90,122,.25); border-radius:16px; padding:28px; text-align:center;
}

/* ====== Responsive tweaks ====== */
@media (max-width: 991.98px){
  .site-header .navbar{ box-shadow:0 4px 16px rgba(0,0,0,.06); }
  .site-header .navbar-collapse{ background:#fff; border-radius:16px; padding:10px; }
  .site-header .dropdown-menu{ position:static; box-shadow:none; border:none; padding:0; }
  .site-header .dropdown-item{ padding:.7rem .9rem; }
  .woocommerce-cart table.shop_table{ border-radius:14px; }
}

/* ==========================================================
   CART PAGE - COMPLETE STYLING - OVERRIDE WOOCOMMERCE BLOCKS
   ========================================================== */

/* Cart Page Wrapper - Maximum specificity to override WooCommerce Blocks */


/* Cart Header */
.cart-header {
    text-align: center !important;
    margin-bottom: 1rem !important;
    padding: 2rem 0 !important;
}

.cart-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1b5a7a !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
}

.cart-title i {
    color: #6ac8c6 !important;
    font-size: 2rem !important;
}

.cart-subtitle {
    font-size: 1.1rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Empty Cart State */
.empty-cart-state {
    background: white !important;
    border-radius: 20px !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1rem !important;
}

.empty-cart-icon {
    font-size: 4rem;
    color: #6ac8c6;
    margin-bottom: 1.5rem;
}

.empty-cart-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1b5a7a;
    margin-bottom: 1rem;
}

.empty-cart-message {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(27, 90, 122, 0.3);
}

.continue-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(27, 90, 122, 0.4);
    color: white;
}

/* Recommended Products */
.recommended-products {
    margin-top: 1rem;
}

.recommended-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1b5a7a;
    text-align: center;
    margin-bottom: 2rem;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recommended-product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.recommended-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.recommended-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recommended-product-info {
    padding: 1.5rem;
}

.recommended-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1b5a7a;
    margin-bottom: 0.5rem;
}

.recommended-product-title a {
    color: inherit;
    text-decoration: none;
}

.recommended-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #6ac8c6;
    margin-bottom: 1rem;
}

.recommended-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.recommended-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 90, 122, 0.3);
}

/* Cart Table */
.cart-table-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.cart-table th {
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    color: white;
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.cart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

/* Product Info */
.product-name {
    font-weight: 600;
    color: #1b5a7a;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

/* Quantity Stepper */
.quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity input {
    width: 60px;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem;
    font-weight: 600;
}

.quantity-btn {
    background: #6ac8c6;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #1b5a7a;
    transform: scale(1.1);
}

/* Remove Button */
.cart-remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Cart Totals */
.cart-totals-luxury {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.totals-header-luxury {
    text-align: center;
    margin-bottom: 2rem;
}

.totals-title-luxury {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1b5a7a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.totals-subtitle {
    color: #64748b;
    margin: 0;
}

.totals-table-luxury {
    background: #f8fafc;
    border-radius: 15px;
    padding: 1.5rem;
}

.totals-table-luxury table {
    width: 100%;
    border-collapse: collapse;
}

.totals-table-luxury th,
.totals-table-luxury td {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.totals-table-luxury th {
    font-weight: 600;
    color: #1b5a7a;
}

.totals-table-luxury td {
    font-weight: 700;
    color: #6ac8c6;
    text-align: right;
}

.totals-table-luxury .order-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1b5a7a;
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(27, 90, 122, 0.3);
    margin-top: 1.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(27, 90, 122, 0.4);
}

/* Features Section */
.cart-features {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.features-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1b5a7a;
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1b5a7a;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748b;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-title {
        font-size: 2rem;
    }
    
    .recommended-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 1rem 0.5rem;
    }
}

/* ==========================================================
   SITE.CSS PRIORITY OVERRIDE - MAXIMUM SPECIFICITY
   ========================================================== */
/* This ensures site.css has the highest priority over all other stylesheets */

/* ==========================================================
   WOOCOMMERCE BLOCKS CSS OVERRIDE - MAXIMUM SPECIFICITY
   ========================================================== */

/* Override WooCommerce Blocks CSS with maximum specificity */


/* Override WooCommerce Blocks cart table */
html body .woocommerce-cart table.shop_table,
html body .wc-block-cart table.shop_table,
html body .wp-block-woocommerce-cart table.shop_table {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1rem !important;
}

/* Cart page container – keep centered but let Woo layout handle columns */
html body .wp-block-woocommerce-cart {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 20px;
}
.woocommerce-form-coupon-toggle {
    margin-top: 10px;
}
.woocommerce-terms-and-conditions-wrapper {
    display: none;
}

.woocommerce-checkout-review-order .form-row {
    display: block;
    grid-template-columns: auto;
}
.woocommerce-error li a {
        font-weight: 500 !important;
    color: #374151 !important;
    font-size: 13px;
}
.woocommerce-thankyou-order-received {
    margin-top: 20px;
    text-align: center;
    background: #193d62;
    color: white;
    padding: 10px;
    font-size: 20px;
}
/* Override WooCommerce Blocks cart totals */
html body .woocommerce-cart .cart_totals,
html body .wc-block-cart .cart_totals,
html body .wp-block-woocommerce-cart .cart_totals {
    background: white !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1rem !important;
}

/* Desktop Cart Text Sizes - Professional & Clean */
.wc-block-cart-items .wc-block-components-product-name {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1f2937 !important;
}

.wc-block-cart-items .wc-block-components-product-name a {
    color: inherit !important;
    text-decoration: none !important;
}

.wc-block-cart-items .wc-block-components-product-metadata {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-top: 0.5rem;
    line-height: 1.5 !important;
}

.wc-block-cart-items .wc-block-components-product-price,
.wc-block-cart-items .wc-block-formatted-money-amount {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #059669 !important;
}

/* WooCommerce Blocks Submit Container - Match our button style */
html body .wc-block-cart .wc-block-cart__submit-container,
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container,
.wc-block-cart__submit-container {
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #0e2954 0%, #6ac8c6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s 
ease;
}

.wc-block-cart__submit-container .wc-block-components-button__text {
    color: white;
}

.wc-block-components-product-name {
        color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
        font-size: 0.9rem !important;
    font-weight: 600;
    line-height: 1.4;
}

/* Product description/metadata - smaller font */
.wc-block-cart-items .wc-block-components-product-metadata {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-top: 0.25rem ;
}

/* Product price - slightly smaller */
.wc-block-cart-items .wc-block-components-product-price,
.wc-block-cart-items .wc-block-formatted-money-amount {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

/* Quantity Selector - Professional Design */
.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    background: #fff;
    border: 1px solid rgba(27, 90, 122, .12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 2px;
    overflow: hidden;
	width:auto;
}

/* Quantity input field */
.wc-block-components-quantity-selector input[type="number"] {
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 0.75rem !important;
    min-width: 50px !important;
    width: auto !important;
    outline: none !important;
    margin: 0 !important;
}

/* Quantity buttons - minus and plus */
.wc-block-components-quantity-selector__button {
    background: linear-gradient(135deg, #1b5a7a 0%, #063e7f 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Plus button - specific styling to prevent overlap */
.wc-block-components-quantity-selector__button--plus {
    margin-left: 2px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Minus button */
.wc-block-components-quantity-selector__button--minus {
    margin-right: 2px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Hover effects */
.wc-block-components-quantity-selector__button:hover {
    background: linear-gradient(135deg, #063e7f 0%, #1b5a7a 100%) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(27, 90, 122, 0.3) !important;
}

.wc-block-components-quantity-selector__button:active {
    transform: scale(0.95) !important;
}
/* WooCommerce Blocks Submit Container Buttons - Same style as apply-filters-btn */
html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link,
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link,
.wc-block-cart__submit-container .wp-block-button__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px !important;
    background: linear-gradient(135deg, #0e2954 0%, #6ac8c6 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(14, 41, 84, 0.15) !important;
    margin: 0.5rem 0 !important;
    min-width: auto !important;
}

html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link:hover,
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link:hover,
.wc-block-cart__submit-container .wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(14, 41, 84, 0.25) !important;
    color: white !important;
}

/* WooCommerce Blocks Submit Container - Secondary Button (Cart) */
html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link:not([href*="checkout"]),
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link:not([href*="checkout"]),
.wc-block-cart__submit-container .wp-block-button__link:not([href*="checkout"]) {
    background: linear-gradient(135deg, #6ac8c6 0%, #0e2954 100%) !important;
}

/* WooCommerce Blocks Submit Container - Primary Button (Checkout) */
html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link[href*="checkout"],
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link[href*="checkout"],
.wc-block-cart__submit-container .wp-block-button__link[href*="checkout"] {
    background: linear-gradient(135deg, #0e2954 0%, #6ac8c6 100%) !important;
    font-weight: 700 !important;
}

/* WooCommerce Blocks Submit Container - Button Icons (Same as apply-filters-btn) */
html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link::before,
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link::before,
.wc-block-cart__submit-container .wp-block-button__link::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    margin-right: 0.5rem !important;
    font-size: 16px !important;
}

html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link[href*="cart"]::before,
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link[href*="cart"]::before,
.wc-block-cart__submit-container .wp-block-button__link[href*="cart"]::before {
    content: "\f07a" !important; /* shopping-cart icon */
}

html body .wc-block-cart .wc-block-cart__submit-container .wp-block-button__link[href*="checkout"]::before,
html body .wp-block-woocommerce-cart .wc-block-cart__submit-container .wp-block-button__link[href*="checkout"]::before,
.wc-block-cart__submit-container .wp-block-button__link[href*="checkout"]::before {
    content: "\f09d" !important; /* credit-card icon */
}

/* WooCommerce Blocks Submit Container - Responsive */
@media (max-width: 768px) {
    .wc-block-cart__submit-container .wp-block-button__link {
        width: 100% !important;
        margin: 0.5rem 0 !important;
        min-width: auto !important;
    }
}




/* ====== CART PAGE (layout + UI) ====== */
.woocommerce-cart{ background:var(--bg); }

/* Box i Totals djathtas */
.woocommerce-cart .cart-collaterals .cart_totals, .wc-block-components-product-name{
  background:#fff; border:1px solid rgba(27,90,122,.12); border-radius:16px; padding:18px;
  box-shadow:0 16px 40px rgba(13,38,59,.06);
}
.woocommerce-cart .cart_totals h2, .woocommerce-cart .cart_totals .shop_table th{
  color:var(--ink); font-weight:700;
}
.woocommerce-cart .cart_totals .order-total .amount{ color:var(--brand); font-weight:800; }

/* Tabela e produkteve si “cards” të buta */
.woocommerce-cart table.shop_table{
  background:#fff; border:1px solid rgba(27,90,122,.12); border-radius:16px; overflow:hidden;
}
.woocommerce-cart table.shop_table th{ color:var(--muted); font-weight:700; }
.woocommerce-cart table.shop_table td{ padding-block:18px; }
.woocommerce-cart .product-thumbnail img{ border-radius:10px; }

/* Quantity stepper */
.woocommerce .quantity .qty{
  width:60px; height:38px; text-align:center; border:1px solid rgba(27,90,122,.25); border-radius:10px;
}
.woocommerce .quantity .minus,
.woocommerce .quantity .plus{
  background:#fff; border:1px solid rgba(27,90,122,.25); width:38px; height:38px;
  border-radius:10px; font-weight:700; color:var(--brand);
}
.woocommerce .quantity .minus:hover,
.woocommerce .quantity .plus:hover{ background:rgba(106,200,198,.12); }

/* Remove item (X) */
.woocommerce a.remove{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:999px; border:1px solid rgba(27,90,122,.25) !important;
  color:var(--brand) !important; background:#fff !important;
}
.woocommerce a.remove:hover{ background:rgba(106,200,198,.12) !important; }

/* Buttons (CTA) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: #053a75;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}
.woocommerce-result-count {
    display: none;
}
.woocommerce-ordering select {
    border: none!important;
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
    color: white;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{
  filter:brightness(1.05);
}

/* Coupon/Shipping UI */
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .woocommerce-shipping-destination{ color:var(--muted); }
.woocommerce-cart .woocommerce-shipping-methods input[type="radio"]{
  accent-color:var(--brand);
}

/* Empty state */
.woocommerce-cart .cart-empty{
  background:#fff; border:1px dashed rgba(27,90,122,.25); border-radius:16px; padding:28px; text-align:center;
}

/* ====== Responsive tweaks ====== */
@media (max-width: 991.98px){
  .site-header .navbar{ box-shadow:0 4px 16px rgba(0,0,0,.06); }
  .site-header .navbar-collapse{ background:#fff; border-radius:16px; padding:10px; }
  .site-header .dropdown-menu{ position:static; box-shadow:none; border:none; padding:0; }
  .site-header .dropdown-item{ padding:.7rem .9rem; }
  .woocommerce-cart table.shop_table{ border-radius:14px; }
}

/* ====== About Hero ====== */
.about-hero {
    margin-top: 6px;
}

.about-hero .title-highlight {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero .title-highlight {
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====== Header Badge ====== */
.header-badge {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

/* ====== Title Line 2 ====== */
.title-line-2 {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

/* ====== Title Line 1 ====== */
.title-line-1 {
    background: linear-gradient(135deg, #063e7f 0%, #fff 100%);
}

/* ====== Service Card Mahnites ====== */
.service-card-mahnites {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

/* ====== CTA Button Mahnites ====== */
.cta-btn-mahnites {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

/* ====== Primary Modern Button ====== */
.btn-primary-modern {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

/* ====== Add to Cart Buttons ====== */
.single_add_to_cart_button,
.add_to_cart_button {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
}

/* ====== SLICK SLIDER MARGIN FIX - MAXIMUM PRIORITY ====== */
.slick-dotted.slick-slider,
.slick-dotted.slick-slider.slick-initialized,
.slick-dotted.slick-slider.slick-initialized.slick-slider,
div.slick-dotted.slick-slider,
section .slick-dotted.slick-slider,
.slick-dotted.slick-slider.slick-slider {
    margin-bottom: 0px !important;
    margin: 0 !important;
}

/* Removed empty rule */

/* ====== Stats Grid Responsive ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

/* ==========================================================
 * CHECKOUT COMPREHENSIVE IMPROVEMENTS - MODERN UX
 * Professional, Responsive, User-Friendly Design
 * ========================================================== */

/* ====== CHECKOUT CONTENT - RESPONSIVE GRID ====== */
html body .checkout-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1rem !important;
}

@media (min-width: 992px) {
    html body .checkout-content {
        grid-template-columns: 7fr 5fr !important;
        gap: 2rem !important;
        padding: 0rem 1.5rem !important;
    }
}

/* ====== CHECKOUT FORM WRAPPER - MODERN CARD ====== */
html body .checkout-form-wrapper {
    background: white !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 10px 40px rgba(13, 38, 59, 0.08) !important;
    border: 1px solid rgba(27, 90, 122, 0.1) !important;
    position: relative !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
}

html body .checkout-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(13, 38, 59, 0.12) !important;
}

html body .checkout-form-wrapper::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, #022d5f 0%, #063e7f 50%, #6ac8c6 100%) !important;
    border-radius: 20px 20px 0 0 !important;
}

/* ====== FORM ROWS - IMPROVED LAYOUT ====== */
html body .woocommerce-checkout .form-row {
    margin-bottom: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

html body .woocommerce-checkout .form-row label {
    font-weight: 600 !important;
    color: #0f2330 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

html body .woocommerce-checkout .form-row label .required {
    color: #dc2626 !important;
    margin-left: 3px !important;
}

/* ====== FORM INPUTS - MODERN STYLING ====== */
html body .woocommerce-checkout .form-row input[type="text"],
html body .woocommerce-checkout .form-row input[type="email"],
html body .woocommerce-checkout .form-row input[type="tel"],
html body .woocommerce-checkout .form-row input[type="password"],
html body .woocommerce-checkout .form-row select,
html body .woocommerce-checkout .form-row textarea {
    width: 100% !important;
    padding: 0.875rem 1.25rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    color: #0f2330 !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
}

html body .woocommerce-checkout .form-row input:focus,
html body .woocommerce-checkout .form-row select:focus,
html body .woocommerce-checkout .form-row textarea:focus {
    outline: none !important;
    border-color: #1b5a7a !important;
    box-shadow: 0 0 0 4px rgba(27, 90, 122, 0.1) !important;
    background: #ffffff !important;
}

html body .woocommerce-checkout .form-row input::placeholder,
html body .woocommerce-checkout .form-row textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* ====== FORM SECTIONS - CLEANER DESIGN ====== */
html body .woocommerce-billing-fields,
html body .woocommerce-shipping-fields {
    margin-bottom: 2rem !important;
    padding: 2rem !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid rgba(27, 90, 122, 0.08) !important;
    position: relative !important;
}

html body .woocommerce-billing-fields h3,
html body .woocommerce-shipping-fields h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #0f2330 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid !important;
    border-image: linear-gradient(90deg, #1b5a7a 0%, #6ac8c6 100%) 1 !important;
}

/* ====== ORDER REVIEW - STICKY ON DESKTOP ====== */
@media (min-width: 992px) {
    html body .checkout-order-review {
        position: sticky !important;
        top: 0rem !important;
        align-self: start !important;
    }
}

@media (max-width: 991px) {
    html body .checkout-order-review {
        position: static !important;
        margin-top: 0.3rem !important;
    }
}

/* ====== RESPONSIVE IMPROVEMENTS - MOBILE FIRST ====== */
@media (max-width: 768px) {
    /* Checkout Content */
    html body .checkout-content {
        padding: 1rem 0.75rem !important;
        gap: 1.25rem !important;
    }
    
    /* Form Wrapper */
    html body .checkout-form-wrapper {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }
    
    /* Order Review */
    html body .checkout-order-review {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }
    
    /* Form Sections */
    html body .woocommerce-billing-fields,
    html body .woocommerce-shipping-fields {
        padding: 1.5rem 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Form Inputs */
    html body .woocommerce-checkout .form-row input,
    html body .woocommerce-checkout .form-row select,
    html body .woocommerce-checkout .form-row textarea {
        padding: 0.875rem 1rem !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Payment Methods */
    html body #payment {
        padding: 1.5rem 1.25rem !important;
        margin-top: 1.5rem !important;
    }
    
    html body #payment .payment_methods li {
        padding: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Place Order Button */
    html body #place_order {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    /* Checkout Title */
    html body .checkout-title {
        font-size: 1.75rem !important;
        padding: 0 !important;
    }
}

/* ====== EXTRA SMALL MOBILE ====== */
@media (max-width: 480px) {
    html body .checkout-content {
        padding: 0.75rem 0.5rem !important;
    }
    
    html body .checkout-form-wrapper,
    html body .checkout-order-review,
    html body #payment {
        padding: 1.25rem 1rem !important;
    }
    
    html body .woocommerce-billing-fields,
    html body .woocommerce-shipping-fields {
        padding: 1.25rem 1rem !important;
    }
    
    html body .checkout-title {
        font-size: 1.5rem !important;
    }
    
    html body #place_order {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
}

/* ====== ACCESSIBILITY IMPROVEMENTS ====== */
html body .woocommerce-checkout .form-row input:focus-visible,
html body .woocommerce-checkout .form-row select:focus-visible,
html body .woocommerce-checkout .form-row textarea:focus-visible {
    outline: 3px solid #1b5a7a !important;
    outline-offset: 2px !important;
}

html body .woocommerce-checkout .form-row label {
    cursor: pointer !important;
}

/* ====== LOADING STATES ====== */
html body .woocommerce-checkout.processing {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

html body .woocommerce-checkout.processing #place_order {
    position: relative !important;
}

html body .woocommerce-checkout.processing #place_order::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top-color: white !important;
    border-radius: 50% !important;
    animation: spin 0.8s linear infinite !important;
}

/* ====== ERROR MESSAGES - USER FRIENDLY ====== */
html body .woocommerce-error,
html body .woocommerce-message,
html body .woocommerce-info {
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.5rem !important;
    border-left: 4px solid !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

html body .woocommerce-error {
    background: #fef2f2 !important;
    border-left-color: #dc2626 !important;
    color: #991b1b !important;
}

html body .woocommerce-message {
    background: #f0fdf4 !important;
    border-left-color: #16a34a !important;
    color: #166534 !important;
}

html body .woocommerce-info {
    background: #eff6ff !important;
    border-left-color: #2563eb !important;
    color: #1e40af !important;
}

/* ====== COUPON SECTION - IMPROVED UX ====== */
html body .woocommerce-form-coupon-toggle {
    margin-top: 40px;
    margin-bottom: 0px !important;
}

html body .woocommerce-form-coupon-toggle a {
    color: #1b5a7a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: color 0.2s ease !important;
}

html body .woocommerce-form-coupon-toggle a:hover {
    color: #6ac8c6 !important;
}

html body .woocommerce-form-coupon,
html body .checkout_coupon {
    gap: 0.75rem !important;
    align-items: flex-start !important;
    margin-bottom: 1.5rem !important;
}

/* Fshihet si default - respekton inline style="display:none" */
html body .woocommerce-form-coupon:not(.show),
html body .checkout_coupon:not(.show) {
    display: none !important;
}

/* Hapet vetëm kur ka klasën .show ose inline style="display:block" */
html body .woocommerce-form-coupon.show,
html body .woocommerce-form-coupon[style*="display: block"],
html body .woocommerce-form-coupon[style*="display:block"],
html body .checkout_coupon.show,
html body .checkout_coupon[style*="display: block"],
html body .checkout_coupon[style*="display:block"] {
    display: block !important;
}

html body .woocommerce-form-coupon .form-row {
    flex: 1 !important;
    margin-bottom: 0 !important;
}

html body .woocommerce-form-coupon .button {
    padding: 0.875rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* ====== SMOOTH ANIMATIONS ====== */
html body .checkout-form-wrapper,
html body .checkout-order-review,
html body #payment {
    animation: fadeInUp 0.5s ease-out !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
 * CHECKOUT FORM FIELDS LAYOUT - TWO COLUMN DESIGN
 * According to sketch: Billing fields in two columns
 * ========================================================== */

/* Hide fields not in sketch - they are already removed from functions.php */

.geo-button,
#geo-open-picker,
#geo-use-my-location,
#geo-close-picker {
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    font-size: 1rem !important;
}

.geo-button:hover,
#geo-open-picker:hover,
#geo-use-my-location:hover,
#geo-close-picker:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(27, 90, 122, 0.3) !important;
}

.shipping-geo-map-wrap {
    grid-column: 1 / -1 !important;
    background: #f8fafc !important;
    border: 1px solid rgba(27, 90, 122, 0.1) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-top: 1rem !important;
}

/* Selected Address Field Placeholder */
#shipping_geo_address::placeholder,
#billing_geo_address::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}




/* Hide fields not in sketch - postcode, state, address_2 are removed in functions.php */
#billing_postcode_field,
#billing_state_field,
#billing_address_2_field,
#shipping_postcode_field,
#shipping_state_field,
#shipping_address_2_field,
#shipping_first_name_field,
#shipping_last_name_field,
#shipping_company_field,
#shipping_address_1_field,
#shipping_city_field,
#shipping_country_field,
#shipping_phone_field {
    display: none !important;
}


/* ====== SHIPPING FIELDS - DELIVERY DETAILS ====== */
.woocommerce-shipping-fields h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #0f2330 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid !important;
    border-image: linear-gradient(90deg, #1b5a7a 0%, #6ac8c6 100%) 1 !important;
}

/* Order Comments Field - Shipping Instructions */
.woocommerce-shipping-fields .notes-field,
.woocommerce-shipping-fields textarea[name="order_comments"] {
    width: 100% !important;
    min-height: 100px !important;
    resize: vertical !important;
    margin-bottom: 1.5rem !important;
}

/* ====== GEOLOCATION – USER-FRIENDLY ====== */
.geo-location-block {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    padding: 1.25rem !important;
    background: #f8fafc !important;
    border: 1px solid rgba(27, 90, 122, 0.12) !important;
    border-radius: 14px !important;
}

.geo-block-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f2330 !important;
    margin: 0 0 0.4rem 0 !important;
}

.geo-block-hint {
    font-size: 0.95rem !important;
    color: #5a6c7d !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.45 !important;
}

.geo-buttons-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
}

.geo-buttons-row .button-geo {
    background: linear-gradient(135deg, #1b5a7a 0%, #2d7a9e 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.7rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.geo-buttons-row .button-geo:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(27, 90, 122, 0.25) !important;
}

.geo-buttons-row .button-geo:disabled {
    opacity: 0.8 !important;
    cursor: wait !important;
}

.geo-map-wrap {
    margin-top: 1rem !important;
    padding: 1rem !important;
    background: #fff !important;
    border: 1px solid rgba(27, 90, 122, 0.15) !important;
    border-radius: 12px !important;
}

.geo-map-wrap .geo-map {
    width: 100% !important;
    height: 320px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.geo-map-wrap .geo-hint {
    font-size: 0.9rem !important;
    color: #6b7a86 !important;
    margin: 0.75rem 0 1rem 0 !important;
}

.geo-map-wrap .button-geo-close {
    background: #64748b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

#geo-picker-wrap.geo-map-wrap {
    margin-top: 1rem !important;
}

#geo-map {
    height: 320px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

#shipping_geo_address,
#billing_geo_address {
    background: #f1f5f9 !important;
    border: 1px dashed rgba(27, 90, 122, 0.25) !important;
}

/* Hide wrappers for hidden geo fields */
#shipping_geo_lat_field,
#shipping_geo_lng_field {
    display: none !important;
}

/* Required Field Indicator */
.woocommerce-billing-fields .required,
.woocommerce-shipping-fields .required {
    color: #dc2626 !important;
    margin-left: 3px !important;
    font-weight: bold !important;
}

/* Form Field Labels - Better Spacing */
.woocommerce-billing-fields label,
.woocommerce-shipping-fields label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: #0f2330 !important;
}

/* Auto-fill Indicator for Logged In Users */
body.logged-in .woocommerce-billing-fields__field-wrapper input[value]:not([value=""]),
body.logged-in .woocommerce-billing-fields__field-wrapper select[value]:not([value=""]) {
    background-color: #f0fdf4 !important;
    border-color: #86efac !important;
}

/* ==========================================================
   CHECKOUT MOBILE RESPONSIVE – No scroll, no overlap
   ========================================================== */

/* Prevent horizontal scroll on checkout */
body.woocommerce-checkout {
    overflow-x: hidden !important;
}

body.woocommerce-checkout .checkout-page-modern .container,
body.woocommerce-checkout .container {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

html body .checkout-page-modern,
html body .checkout-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Form rows: force single column on mobile, no float */
@media (max-width: 767.98px) {
    html body .woocommerce-checkout .form-row.form-row-first,
    html body .woocommerce-checkout .form-row.form-row-last {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html body .woocommerce-billing-fields__field-wrapper,
    html body .woocommerce-shipping-fields__field-wrapper {
        display: block !important;
    }
}

/* Order review table: scrollable wrapper, no overflow */
#order_review {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100% !important;
}

#order_review .shop_table {
    min-width: 280px !important;
    width: 100% !important;
    table-layout: auto !important;
}

@media (max-width: 767.98px) {
    html body #order_review .shop_table th,
    html body #order_review .shop_table td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem !important;
    }

    html body #order_review .shop_table .order-total th,
    html body #order_review .shop_table .order-total td {
        font-size: 1.05rem !important;
    }
}

/* Payment methods: no overflow, wrap properly */
@media (max-width: 767.98px) {
    html body #payment {
        padding: 1rem !important;
        overflow: visible !important;
    }

    html body #payment .payment_methods li {
        padding: 1rem !important;
    }

    html body #payment .payment_methods li.payment_method_vpos label {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    html body #payment .payment_methods li.payment_method_vpos label img {
        max-width: 100% !important;
        height: auto !important;
    }

    html body #payment .payment_methods li.payment_method_vpos label img:first-of-type {
        flex-basis: auto !important;
    }
}

/* Geo block mobile */
@media (max-width: 767.98px) {
    .geo-location-block {
        padding: 1rem !important;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .geo-buttons-row {
        flex-direction: column !important;
    }

    .geo-buttons-row .button-geo {
        width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }

    #geo-map,
    .geo-map-wrap .geo-map {
        height: 260px !important;
        max-width: 100% !important;
    }

    .geo-map-wrap {
        padding: 0.75rem !important;
    }
}

/* Checkout layout mobile: single column, tighter padding */
@media (max-width: 767.98px) {
    html body .checkout-content {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 0.5rem 0.5rem !important;

    }

    html body .checkout-form-wrapper,
    html body .checkout-order-review {
        overflow: visible !important;
        position: relative !important;
        width: 100%;
        padding: 0px !important;
        padding-top: 5px !important;
    }

    html body .checkout-order-review {
        position: static !important;
    }

    html body .checkout-header {
        padding: 1rem 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    html body .checkout-title {
        font-size: 1.5rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
    }

    html body .checkout-title::before {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }

    html body .checkout-subtitle {
        font-size: 0.95rem !important;
    }

    html body .woocommerce-billing-fields,
    html body .woocommerce-shipping-fields {
        padding: 1rem !important;
        margin-bottom: 1.25rem !important;
    }

    html body .woocommerce-checkout .form-row input[type="text"],
    html body .woocommerce-checkout .form-row input[type="email"],
    html body .woocommerce-checkout .form-row input[type="tel"],
    html body .woocommerce-checkout .form-row input[type="password"],
    html body .woocommerce-checkout .form-row select,
    html body .woocommerce-checkout .form-row textarea {
        padding: 0.75rem 1rem !important;
        font-size: 16px !important; /* prevents zoom on focus iOS */
    }

    html body .woocommerce-checkout .form-row textarea {
        min-height: 88px !important;
    }

    html body #place_order {
        width: 100% !important;
        padding: 1rem 1.25rem !important;
        font-size: 1rem !important;
    }

    /* Reduce focus transform to avoid overlap */
    html body .woocommerce-checkout .form-row input:focus,
    html body .woocommerce-checkout .form-row select:focus,
    html body .woocommerce-checkout .form-row textarea:focus {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    html body .checkout-content {
        padding: 0.5rem 0.25rem !important;
    }


    html body .checkout-title {
        font-size: 1.35rem !important;
    }

    html body .woocommerce-billing-fields,
    html body .woocommerce-shipping-fields {
        padding: 0.75rem !important;
    }
}