* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Medical Color Palette */
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary-color: #14b8a6;
    --secondary-dark: #0d9488;
    --accent-color: #06b6d4;
    --medical-teal: #0891b2;
    --medical-blue: #0369a1;
    
    /* Neutral Colors */
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);
    --bg-gradient-dark: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0369a1 100%);
    
    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.03);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.12);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    --shadow-medical: 0 10px 40px -10px rgba(14, 165, 233, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-gradient);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent horizontal scroll on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Smooth scrolling for better UX */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Premium Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
    transition: transform var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.logo:hover {
    transform: scale(1.03);
}

.cart-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all var(--transition-base);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
}

.cart-icon:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cart-text {
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .cart-text {
        display: none;
    }
    
    .cart-icon {
        padding: 6px;
    }
}

.cart-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid white;
}

/* Premium Navigation */
.main-nav {
    background: var(--bg-gradient-dark);
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-menu li {
    flex: 1;
}

.nav-link {
    display: block;
    padding: 20px 28px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-menu li:last-child .nav-link {
    border-right: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
    transition: width var(--transition-base);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(20, 184, 166, 0.15));
    color: #ffffff;
}

.nav-link.active::before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-image: url('Home-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.35) 0%, rgba(8, 145, 178, 0.4) 50%, rgba(2, 132, 199, 0.45) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-section h1 {
    font-family: 'Belanosima', sans-serif;
    font-size: 6em;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.hero-section .hero-subtitle {
    font-size: 2em;
    margin-bottom: 24px;
    font-weight: 400;
    opacity: 0.98;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.hero-section .hero-description {
    font-size: 1.4em;
    line-height: 1.9;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-feature {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-feature-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.hero-feature h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-feature p {
    font-size: 1.05em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.hero-story {
    margin-top: 70px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-story h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
}

.hero-story p {
    font-size: 1.2em;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: justify;
}

.hero-story p:last-child {
    margin-bottom: 0;
}

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

/* Main Content */
.main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px 80px;
}

.content-section {
    background: var(--bg-primary);
    padding: 70px 60px;
    margin-bottom: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.news-card .news-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 18px;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.content-section:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
}

.content-section:hover::before {
    opacity: 1;
}

.content-section h1 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    margin-bottom: 28px;
    font-size: 2.75em;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.content-section p {
    color: var(--text-medium);
    font-size: 1.2em;
    line-height: 1.9;
    max-width: 900px;
    font-weight: 400;
}

/* Premium Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.category-card {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    transition: all var(--transition-slow);
    border: 2px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
    z-index: 1;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-medical);
    border-color: var(--primary-light);
}

.category-image {
    width: 100%;
    height: 320px;
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(14, 165, 233, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.category-card:hover .category-image::after {
    opacity: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-image img {
    transform: scale(1.15);
}

.category-card h3 {
    color: var(--text-dark);
    margin: 32px 32px 16px;
    font-size: 1.75em;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.category-card p {
    color: var(--text-medium);
    font-size: 1.05em;
    line-height: 1.7;
    margin: 0 32px 32px;
    padding: 0;
    font-weight: 400;
}

/* Premium Products Section */
.products-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--border-light);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.product-functions-section {
    border-top: none;
    padding-top: 0;
    margin-top: 60px;
}

.product-functions-section::before {
    display: none;
}

.products-section-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 24px;
    letter-spacing: -1px;
}

.products-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 50px;
    justify-content: flex-start;
    align-items: stretch;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    transition: all var(--transition-slow);
    border: 2px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    flex: 0 0 calc(33.333% - 22px);
    min-width: 280px;
    max-width: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
    z-index: 1;
}

.product-card:hover::before {
    transform: scaleX(1);
}


.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-medical);
    border-color: var(--primary-light);
}

.product-image {
    width: 100%;
    height: 380px;
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px;
    box-sizing: border-box;
}

.product-image::after {
    display: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
    display: block;
    padding: 0;
    box-sizing: border-box;
}

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

/* Exclude product-functions-section from these changes */
.product-functions-section .product-image {
    height: 320px;
    background: #ffffff;
    padding: 15px;
}

.product-functions-section .product-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    object-position: center;
}

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

.product-card h4 {
    color: var(--text-dark);
    font-size: 1.5em;
    margin: 24px 20px 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: 'Playfair Display', serif;
}

.product-description {
    color: var(--text-medium);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 20px 20px;
    padding: 0;
    font-weight: 400;
    text-align: left;
}

.product-price {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 20px 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.add-to-cart-btn {
    width: calc(100% - 40px);
    margin: 0 20px 24px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.add-to-cart-btn.added {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: pulse 0.5s ease;
}

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

/* Premium Footer */
.main-footer {
    background: var(--bg-gradient-dark);
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 60px 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.main-footer p {
    margin: 12px 0;
    font-size: 1.05em;
    font-weight: 400;
}

.footer-credit {
    margin-top: 24px;
    font-size: 0.95em;
    opacity: 0.85;
}

.footer-credit a {
    color: #7dd3fc;
    text-decoration: none;
    transition: all var(--transition-base);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.footer-credit a:hover {
    color: #bae6fd;
    border-bottom-color: #bae6fd;
}

/* Responsive Design - Comprehensive Device Support */

/* Large Desktops and Laptops (1400px and up) */
@media (min-width: 1400px) {
    .main-content {
        max-width: 1600px;
    }
    
    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 28px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - 19px);
        min-width: 260px;
    }
    
    .product-image {
        height: 360px;
    }
    
    .product-image img {
        padding: 5px;
    }
    
    .product-card h4 {
        font-size: 1.4em;
        margin: 20px 16px 12px;
    }
    
    .product-description {
        font-size: 0.9em;
        margin: 0 16px 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Standard Desktops and Laptops (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .hero-section h1 {
        font-size: 4em;
    }
    
    .main-content {
        padding: 0 50px 70px;
    }
    
    .content-section {
        padding: 60px 50px;
    }
}

/* Small Desktops and Large Tablets Landscape (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .hero-section {
        padding: 120px 50px;
        min-height: 85vh;
    }
    
    .hero-section h1 {
        font-size: 5em;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.8em;
    }
    
    .hero-section .hero-description {
        font-size: 1.3em;
        margin-bottom: 50px;
    }
    
    .hero-features {
        gap: 30px;
        margin: 50px 0;
    }
    
    .hero-feature {
        padding: 30px 25px;
    }
    
    .hero-story {
        padding: 40px;
        margin-top: 60px;
    }
    
    .hero-story h2 {
        font-size: 2.2em;
    }
    
    .hero-story p {
        font-size: 1.15em;
    }
    
    .main-content {
        padding: 0 40px 60px;
    }
    
    .content-section {
        padding: 60px 50px;
    }
    
    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 28px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - 19px);
        min-width: 250px;
    }
    
    .product-image {
        height: 340px;
    }
    
    .product-image img {
        padding: 5px;
    }
    
    .product-card h4 {
        font-size: 1.35em;
        margin: 20px 16px 12px;
    }
    
    .product-description {
        font-size: 0.9em;
        margin: 0 16px 20px;
    }
}

/* Tablets Portrait and Small Laptops (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .top-bar {
        padding: 6px 24px;
    }
    
    .main-content {
        padding: 0 30px 50px;
    }
    
    .content-section {
        padding: 50px 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .hero-section {
        padding: 70px 40px;
    }
    
    .hero-section h1 {
        font-size: 3em;
        letter-spacing: 1.5px;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.35em;
    }
    
    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - 16px);
        min-width: 240px;
    }

    .product-image {
        height: 320px;
    }
    
    .product-image img {
        padding: 5px;
    }
    
    .product-card h4 {
        font-size: 1.3em;
        margin: 20px 16px 12px;
    }
    
    .product-description {
        font-size: 0.85em;
        margin: 0 16px 14px;
        line-height: 1.5;
    }
    
    .product-price {
        font-size: 1.2em;
        margin: 0 16px 12px;
    }
    
    .add-to-cart-btn {
        width: calc(100% - 32px);
        margin: 0 16px 18px;
        padding: 12px 18px;
        font-size: 0.9em;
    }
    
    .product-functions-section .product-image {
        height: 300px;
        padding: 12px;
    }
}

/* Tablets Portrait and Large Phones Landscape (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    .top-bar {
        padding: 6px 20px;
    }

    .logo {
        max-height: 38px;
        max-width: 140px;
    }

    .main-nav {
        padding: 0;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nav-link {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        padding: 14px 16px;
        font-size: 13px;
        flex: 1 1 50%;
    }

    .nav-menu li:nth-child(2n) .nav-link {
        border-right: none;
    }

    .nav-menu li:last-child .nav-link {
        border-right: none;
    }

    .hero-section {
        padding: 60px 30px;
    }
    
    .hero-section h1 {
        font-size: 2.75em;
        letter-spacing: 1.5px;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.3em;
    }
    
    .hero-section .hero-description {
        font-size: 1.05em;
    }

    .main-content {
        padding: 0 24px 40px;
    }

    .content-section {
        padding: 40px 32px;
        margin-bottom: 35px;
    }

    .content-section h1 {
        font-size: 2.25em;
    }

    .content-section h2 {
        font-size: 2em;
    }
    
    .content-section p {
        font-size: 1.1em;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 50px;
    }

    .category-image {
        height: 280px;
    }

    .category-card h3 {
        font-size: 1.5em;
        margin: 28px 28px 14px;
    }

    .category-card p {
        margin: 0 28px 28px;
        font-size: 1em;
    }

    .products-section {
        margin-top: 60px;
        padding-top: 50px;
    }

    .products-section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .product-image {
        height: 300px;
    }
    
    .product-image img {
        padding: 5px;
    }
    
    .product-card h4 {
        font-size: 1.25em;
        margin: 18px 14px 12px;
    }
    
    .product-description {
        font-size: 0.85em;
        margin: 0 14px 12px;
        line-height: 1.5;
    }
    
    .product-price {
        font-size: 1.15em;
        margin: 0 14px 12px;
    }
    
    .add-to-cart-btn {
        width: calc(100% - 28px);
        margin: 0 14px 16px;
        padding: 11px 16px;
        font-size: 0.85em;
    }
    
    .product-functions-section .product-image {
        height: 280px;
        padding: 12px;
    }

    .product-card h4 {
        font-size: 1.15em;
        margin: 20px;
    }
}

/* Mobile Phones Portrait (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    .top-bar {
        padding: 6px 16px;
    }

    .logo {
        max-height: 36px;
        max-width: 130px;
    }

    .main-nav {
        padding: 0;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-link {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 16px 20px;
        font-size: 14px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }

    .hero-section {
        padding: 50px 24px;
    }
    
    .hero-section h1 {
        font-size: 2.25em;
        letter-spacing: 1px;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.2em;
    }
    
    .hero-section .hero-description {
        font-size: 1em;
    }

    .main-content {
        padding: 0 20px 40px;
    }

    .content-section {
        padding: 35px 24px;
        margin-bottom: 35px;
    }

    .content-section h1 {
        font-size: 2em;
    }

    .content-section h2 {
        font-size: 1.85em;
    }
    
    .content-section p {
        font-size: 1.05em;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .category-image {
        height: 260px;
    }

    .category-card h3 {
        font-size: 1.4em;
        margin: 24px 24px 12px;
    }

    .category-card p {
        margin: 0 24px 24px;
        font-size: 0.95em;
    }

    .products-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .products-section-title {
        font-size: 1.85em;
        margin-bottom: 35px;
    }

    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .product-image {
        height: 280px;
    }
    
    .product-image img {
        padding: 4px;
    }
    
    .product-card h4 {
        font-size: 1.2em;
        margin: 16px 12px 10px;
    }
    
    .product-description {
        font-size: 0.8em;
        margin: 0 12px 10px;
        line-height: 1.5;
    }
    
    .product-price {
        font-size: 1.1em;
        margin: 0 12px 10px;
    }
    
    .add-to-cart-btn {
        width: calc(100% - 24px);
        margin: 0 12px 14px;
        padding: 10px 14px;
        font-size: 0.8em;
    }
    
    .product-functions-section .product-image {
        height: 260px;
        padding: 12px;
    }

    .product-card h4 {
        font-size: 1.1em;
        margin: 18px;
    }
}

/* Small Mobile Phones (320px - 479px) */
@media (max-width: 479px) {
    .top-bar {
        padding: 6px 16px;
    }

    .logo {
        max-height: 36px;
        max-width: 130px;
    }

    .main-nav {
        padding: 0;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-link {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 18px 24px;
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }

    .hero-section {
        padding: 80px 30px;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 3.5em;
        margin-bottom: 24px;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .hero-section .hero-description {
        font-size: 1.15em;
        margin-bottom: 40px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
        margin: 40px 0;
    }
    
    .hero-feature {
        min-width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }
    
    .hero-feature-icon {
        font-size: 2.5em;
    }
    
    .hero-feature h3 {
        font-size: 1.25em;
    }
    
    .hero-feature p {
        font-size: 0.95em;
    }
    
    .hero-story {
        padding: 30px 25px;
        margin-top: 40px;
    }
    
    .hero-story h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    .hero-story p {
        font-size: 1em;
        text-align: left;
    }

    .main-content {
        padding: 0 20px 40px;
    }

    .content-section {
        padding: 40px 28px;
        margin-bottom: 40px;
    }

    .content-section h1 {
        font-size: 2.5em;
    }

    .content-section h2 {
        font-size: 2em;
    }
    
    .content-section p {
        font-size: 1.1em;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 50px;
    }

    .category-image {
        height: 280px;
    }

    .category-card h3 {
        font-size: 1.5em;
        margin: 28px 28px 14px;
    }

    .category-card p {
        margin: 0 28px 28px;
        font-size: 1em;
    }

    .products-section {
        margin-top: 60px;
        padding-top: 50px;
    }

    .products-section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .product-image {
        height: 260px;
    }
    
    .product-image img {
        padding: 4px;
    }
    
    .product-card h4 {
        font-size: 1.1em;
        margin: 14px 10px 8px;
    }
    
    .product-description {
        font-size: 0.8em;
        margin: 0 10px 8px;
        line-height: 1.4;
    }
    
    .product-price {
        font-size: 1.05em;
        margin: 0 10px 8px;
    }
    
    .add-to-cart-btn {
        width: calc(100% - 20px);
        margin: 0 10px 12px;
        padding: 9px 12px;
        font-size: 0.75em;
    }

    .product-card h4 {
        font-size: 1.15em;
        margin: 20px;
    }
}

/* Force single-column product cards on all phones (portrait & landscape) */
@media (max-width: 767px) {
    .products-section .products-grid,
    .product-functions-section .products-grid {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .products-section .product-card,
    .product-functions-section .product-card {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 100%;
    }
}

    .top-bar {
        padding: 6px 12px;
    }

    .logo {
        max-height: 32px;
        max-width: 120px;
    }
    
    .cart-icon {
        padding: 6px;
    }
    
    .cart-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: 4px;
        right: 4px;
    }
    
    .hero-section {
        padding: 40px 16px;
    }
    
    .hero-section h1 {
        font-size: 1.9em;
        letter-spacing: 1px;
        line-height: 1.15;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .hero-section .hero-description {
        font-size: 0.95em;
        line-height: 1.7;
    }

    .main-content {
        padding: 0 16px 35px;
    }

    .content-section {
        padding: 28px 20px;
        margin-bottom: 30px;
        border-radius: 20px;
    }
    
    .content-section h1 {
        font-size: 1.85em;
        margin-bottom: 20px;
    }

    .content-section h2 {
        font-size: 1.65em;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .content-section p {
        font-size: 1em;
        line-height: 1.7;
    }

    .categories-grid {
        gap: 20px;
        margin-top: 35px;
    }
    
    .category-image {
        height: 240px;
    }
    
    .category-card h3 {
        font-size: 1.3em;
        margin: 20px 20px 10px;
    }
    
    .category-card p {
        margin: 0 20px 20px;
        font-size: 0.9em;
    }

    .products-section {
        margin-top: 45px;
        padding-top: 35px;
    }
    
    .products-section-title {
        font-size: 1.7em;
        margin-bottom: 30px;
        padding-bottom: 16px;
    }

    .products-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 35px;
        justify-content: flex-start;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 6px);
        min-width: 0;
    }

    .product-image {
        height: 240px;
    }
    
    .product-image img {
        padding: 3px;
    }
    
    .product-card h4 {
        font-size: 1em;
        margin: 12px 8px 8px;
    }
    
    .product-description {
        font-size: 0.75em;
        margin: 0 8px 8px;
        line-height: 1.4;
    }
    
    .product-price {
        font-size: 1em;
        margin: 0 8px 8px;
    }
    
    .add-to-cart-btn {
        width: calc(100% - 16px);
        margin: 0 8px 10px;
        padding: 8px 10px;
        font-size: 0.7em;
    }
    
    .product-functions-section .product-image {
        height: 240px;
        padding: 10px;
    }
    
    .product-card h4 {
        font-size: 1em;
        margin: 14px;
        line-height: 1.3;
    }
    
    .main-footer {
        padding: 40px 20px;
    }
    
    .main-footer p {
        font-size: 0.9em;
    }
    
    .footer-credit {
        font-size: 0.85em;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 30px;
    }
    
    .hero-section h1 {
        font-size: 2.5em;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.2em;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card,
    .category-card {
        cursor: default;
    }
    
    .product-card:active,
    .category-card:active {
        transform: scale(0.98);
    }
    
    .nav-link {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    }
    
    .cart-icon {
        -webkit-tap-highlight-color: rgba(14, 165, 233, 0.2);
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .product-image img,
    .category-image img {
        image-rendering: auto;
    }
}

/* News & Updates Section */
.news-section {
    text-align: center;
}

.news-intro {
    font-size: 1.2em;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto 50px;
    color: var(--text-medium);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 0;
    text-align: left;
    transition: all var(--transition-base);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card.discount::before {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.news-card.stock::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.news-card.update::before {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.discount-badge {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.stock-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.update-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.news-date {
    font-size: 0.9em;
    color: var(--text-light);
    margin: 60px 30px 12px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 30px 16px;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.news-card p {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0 30px 24px;
    flex: 1;
}

.news-footer {
    padding: 20px 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    color: var(--text-medium);
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-intro {
    font-size: 1.2em;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto 50px;
    color: var(--text-medium);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    text-align: left;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-details h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.contact-details a {
    font-size: 1.15em;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    display: inline-block;
}

.contact-details a:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.social-media {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.social-media h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--bg-primary);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 1.05em;
}

.social-icon svg {
    width: 28px;
    height: 28px;
    transition: transform var(--transition-base);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* News Section Responsive */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .news-card h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card h3 {
        font-size: 1.3em;
        margin: 0 25px 14px;
    }
    
    .news-card p {
        font-size: 1em;
        margin: 0 25px 20px;
    }
    
    .news-date {
        margin: 55px 25px 10px;
    }
    
    .news-badge {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    .news-footer {
        padding: 18px 25px;
    }
}

@media (max-width: 480px) {
    .news-intro {
        font-size: 1.1em;
        margin-bottom: 35px;
    }
    
    .news-card h3 {
        font-size: 1.2em;
        margin: 0 20px 12px;
    }
    
    .news-card p {
        font-size: 0.95em;
        margin: 0 20px 18px;
    }
    
    .news-date {
        margin: 50px 20px 8px;
        font-size: 0.85em;
    }
    
    .news-badge {
        top: 12px;
        right: 12px;
        padding: 5px 10px;
        font-size: 0.75em;
    }
    
    .news-footer {
        padding: 15px 20px;
    }
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-item {
        padding: 25px;
    }
    
    .social-media {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contact-intro {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
    
    .contact-container {
        gap: 30px;
    }
    
    .contact-item {
        padding: 20px;
        gap: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-details h3 {
        font-size: 1.2em;
    }
    
    .contact-details a {
        font-size: 1.05em;
    }
    
    .social-media {
        padding: 20px;
    }
    
    .social-media h3 {
        font-size: 1.6em;
        margin-bottom: 25px;
    }
    
    .social-icon {
        padding: 15px 20px;
        font-size: 1em;
    }
    
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Force single-column product cards on all mobile widths */
@media (max-width: 767px) {
    .products-section .products-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .products-section .product-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        padding: 14px 18px;
        font-size: 0.95em;
    }
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    padding: 20px;
}

.cart-modal.show {
    opacity: 1;
}

.cart-modal-content {
    background: var(--bg-primary);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.cart-modal.show .cart-modal-content {
    transform: scale(1);
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 2px solid var(--border-color);
}

.cart-modal-header h2 {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 2.5em;
    color: var(--text-medium);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-base);
    line-height: 1;
}

.close-cart-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.cart-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.empty-cart {
    text-align: center;
    color: var(--text-medium);
    padding: 60px 20px;
}

.empty-cart p {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.empty-cart-message {
    font-size: 1em !important;
    color: var(--text-medium) !important;
    font-weight: 400 !important;
    margin-top: 8px !important;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.cart-item-info h4 {
    font-size: 1.15em;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.cart-item-info p {
    font-size: 0.95em;
    color: var(--text-medium);
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity {
    font-weight: 600;
    font-size: 1.1em;
    min-width: 30px;
    text-align: center;
    color: var(--text-dark);
}

.remove-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #ef4444;
    background: var(--bg-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5em;
    color: #ef4444;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.remove-btn:hover {
    background: #ef4444;
    color: white;
}

.cart-item-total {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    min-width: 120px;
}

.cart-modal-footer {
    padding: 30px;
    border-top: 2px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 0 0 24px 24px;
}

.cart-summary {
    margin-bottom: 20px;
}

.cart-total {
    font-size: 1.5em;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-dark);
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total span {
    font-weight: 500;
    color: var(--text-medium);
}

.cart-total strong {
    color: var(--primary-color);
    font-size: 1.2em;
}

.cart-note {
    text-align: center;
    font-size: 0.9em;
    color: var(--text-medium);
    margin: 0;
    font-style: italic;
}

.checkout-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15em;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn svg {
    width: 20px;
    height: 20px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20ba5a, #0f7a6d);
}

.checkout-btn:active {
    transform: translateY(0);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 18px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    opacity: 0;
    transform: translateX(400px);
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 1.05em;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Cart Styles */
@media (max-width: 768px) {
    .cart-modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .cart-modal-header {
        padding: 20px;
    }
    
    .cart-modal-header h2 {
        font-size: 1.6em;
    }
    
    .cart-modal-body {
        padding: 20px;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cart-item-actions {
        justify-content: center;
    }
    
    .cart-item-total {
        text-align: center;
        min-width: auto;
    }
    
    .cart-modal-footer {
        padding: 20px;
    }
    
    .cart-total {
        font-size: 1.3em;
        padding: 15px;
    }
    
    .cart-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .cart-notification.show {
        transform: translateY(0);
    }
    
    .floating-cart-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
        font-size: 0.85em;
    }
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-cart-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cart-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5);
}

.floating-cart-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.floating-cart-text {
    white-space: nowrap;
}

.floating-cart-count {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .floating-cart-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 0.9em;
    }
    
    .floating-cart-text {
        display: none;
    }
    
    .floating-cart-btn {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }
    
    .floating-cart-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #ef4444;
        width: 24px;
        height: 24px;
        font-size: 0.8em;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-nav,
    .main-footer,
    .cart-container {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
        page-break-after: always;
    }
    
    .content-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
