/* Lecule Pharma - Main Stylesheet */

/* CSS Variables - Design System */
:root {
    /* Colors from design document */
    --deep-ocean-blue: #0D4F8B;
    --healing-teal: #00A896;
    --pure-white: #FFFFFF;
    --soft-cloud: #F7FAFC;
    --midnight: #1A1A2E;
    --slate-gray: #4A5568;
    --warm-gold: #D4A574;
    --whatsapp-green: #25D366;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-gray);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--midnight);
    line-height: 1.3;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }

p { margin-bottom: 1rem; }

a {
    color: var(--deep-ocean-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--healing-teal);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--deep-ocean-blue);
    color: var(--pure-white);
}

.btn-primary:hover {
    background-color: #0a3d6d;
    color: var(--pure-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--pure-white);
    color: var(--deep-ocean-blue);
    border-color: var(--deep-ocean-blue);
}

.btn-secondary:hover {
    background-color: var(--soft-cloud);
}

.btn-teal {
    background-color: var(--healing-teal);
    color: var(--pure-white);
}

.btn-teal:hover {
    background-color: #008577;
    color: var(--pure-white);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--pure-white);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--midnight);
    font-weight: 500;
    padding: var(--spacing-xs) 0;
}

.nav-menu a:hover {
    color: var(--deep-ocean-blue);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--pure-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
}

.dropdown-menu li a:hover {
    background-color: var(--soft-cloud);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--midnight);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--pure-white);
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--deep-ocean-blue) 0%, var(--healing-teal) 100%);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--pure-white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--pure-white);
}

.hero h1 {
    color: var(--pure-white);
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;

}

.hero-content {
    max-width: 700px;
}

/* Stats Bar */
/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md) 0;
    z-index: 10;
}

.hero-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.hero-stats .stat-item h3 {
    font-size: 2rem;
    color: var(--deep-ocean-blue);
    margin-bottom: 0.25rem;
}

.hero-stats .stat-item p {
    color: var(--slate-gray);
    margin: 0;
    font-size: 0.9rem;
}

.hero-stats .stat-item i {
    font-size: 1.5rem;
    color: var(--healing-teal);
    margin-bottom: 0.5rem;
    display: block;
}

/* News Ticker */
.news-ticker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 168, 150, 0.95);
    padding: 8px 0;
    z-index: 10;
    overflow: hidden;
}

.news-ticker-content {
    display: flex;
    align-items: center;
}

.news-ticker-label {
    background: var(--deep-ocean-blue);
    color: white;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-right: 20px;
    border-radius: 3px;
}

.news-ticker-items {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-ticker-scroll {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.news-ticker-scroll:hover {
    animation-play-state: paused;
}

.news-ticker-item {
    color: white;
    padding: 0 40px;
    font-size: 0.9rem;
}

.news-ticker-item a {
    color: white;
    text-decoration: none;
}

.news-ticker-item a:hover {
    text-decoration: underline;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.stats-bar {
    background-color: var(--soft-cloud);
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--deep-ocean-blue);
    margin-bottom: var(--spacing-xs);
}

.stat-item p {
    color: var(--slate-gray);
    margin: 0;
}

/* Section Styling */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--slate-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.product-card-content {
    padding: var(--spacing-md);
}

.product-card h4 {
    margin-bottom: var(--spacing-xs);
}

.product-card .category-badge {
    display: inline-block;
    background-color: var(--soft-cloud);
    color: var(--deep-ocean-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-ocean-blue), var(--healing-teal));
    color: var(--pure-white);
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
    color: var(--pure-white);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

/* Footer */
.footer {
    background-color: var(--midnight);
    color: var(--pure-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer h4 {
    color: var(--pure-white);
    margin-bottom: var(--spacing-md);
}

.footer p, .footer li {
    color: rgba(255, 255, 255, 0.7);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: var(--spacing-xs);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: var(--healing-teal);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--healing-teal);
    color: var(--pure-white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .developer-credit {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.6;
}

.footer-bottom .developer-credit a {
    color: var(--healing-teal);
    text-decoration: none;
}

.footer-bottom .developer-credit a:hover {
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: pulse 2s infinite;
}

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

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--midnight);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--healing-teal);
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--deep-ocean-blue), var(--healing-teal));
    color: var(--pure-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--pure-white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full, 50px);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--deep-ocean-blue);
    color: white;
}

.badge-success {
    background: #10b981;
    color: white;
}

.badge-warning {
    background: #f59e0b;
    color: white;
}

.badge-info {
    background: #3b82f6;
    color: white;
}

/* Product Placeholder */
.product-placeholder {
    width: 100%;
    height: 200px;
    background: var(--soft-cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--slate-gray);
}

.dosage-form {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--slate-gray);
    background: var(--soft-cloud);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* News Placeholder */
.news-placeholder-home {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--deep-ocean-blue), var(--healing-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

/* Gray color variables */
:root {
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --radius-full: 50px;
    --trust-gold: #d97706;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large screens (992px and up) - Default styles apply */

/* Medium screens / Tablets (768px - 991px) */
@media (max-width: 991px) {
    /* Typography */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.25rem; }

    /* Container */
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Header & Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--pure-white);
        flex-direction: column;
        padding: 80px var(--spacing-lg) var(--spacing-lg);
        z-index: 999;
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        border-bottom: 1px solid var(--soft-cloud);
    }

    .nav-menu > li > a {
        display: block;
        padding: var(--spacing-md) 0;
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Dropdown on mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--soft-cloud);
        border-radius: var(--radius-md);
        margin: var(--spacing-xs) 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown > a i {
        transition: transform 0.3s ease;
    }

    .dropdown.active > a i {
        transform: rotate(180deg);
    }

    /* Nav Actions */
    .nav-actions .btn {
        display: none;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    /* Hero Stats */
    .hero-stats {
        position: relative;
        background: var(--soft-cloud);
    }

    .hero-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .hero-stats .stat-item h3 {
        font-size: 1.5rem;
    }

    /* News Ticker */
    .news-ticker {
        position: relative;
        top: 0;
    }

    .news-ticker-label {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
        padding-bottom: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: var(--spacing-xl) 0;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small screens / Mobile (up to 767px) */
@media (max-width: 767px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }

    body {
        font-size: 15px;
    }

    /* Spacing */
    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-lg);
    }

    /* Header */
    .navbar {
        padding: var(--spacing-xs) 0;
    }

    .logo img {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 0;
        text-align: center;
        min-height: auto;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-md);
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    /* Hero Slider Mobile */
    .hero-slider {
        position: relative;
        width: 100%;
        min-height: 300px;
    }

    .hero-slide {
        position: absolute;
        min-height: 300px;
    }

    .hero-dots {
        bottom: 15px;
        top: auto;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    /* News Ticker Mobile */
    .news-ticker {
        position: relative;
        top: 0;
        padding: 8px 0;
        order: -1;
    }

    .news-ticker-label {
        display: none;
    }

    .news-ticker-item {
        font-size: 0.8rem;
        padding: 0 20px;
    }

    /* Hero Stats Mobile */
    .hero-stats {
        position: relative;
        bottom: auto;
        padding: var(--spacing-sm) 0;
        background: var(--soft-cloud);
    }

    .hero-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .hero-stats .stat-item {
        padding: 8px;
    }

    .hero-stats .stat-item h3 {
        font-size: 1.25rem;
        margin-bottom: 2px;
    }

    .hero-stats .stat-item p {
        font-size: 0.7rem;
    }

    .hero-stats .stat-item i {
        display: none;
    }

    /* Stats */
    .stats-bar {
        padding: var(--spacing-lg) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .product-card img,
    .product-placeholder {
        height: 180px;
    }

    .product-card-content {
        padding: var(--spacing-sm);
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .category-card {
        aspect-ratio: 4/3;
    }

    .category-card i {
        font-size: 2rem;
    }

    .category-card h4 {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-col {
        padding-bottom: var(--spacing-md);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: var(--spacing-md);
        font-size: 0.85rem;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Page Header */
    .page-header {
        padding: var(--spacing-lg) 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Forms */
    .form-control {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Extra small screens (up to 480px) */
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Hero */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Stats - 2x2 grid */
    .stats-grid {
        gap: var(--spacing-xs);
    }

    .stat-item {
        padding: var(--spacing-xs);
    }

    .stat-item h3 {
        font-size: 1.25rem;
    }

    .stat-item p {
        font-size: 0.75rem;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }
}
