:root {
    --blue-700: #1d4ed8;
    --blue-500: #3b82f6;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --muted: #6b7280;
    --accent: #0b73ff;
    --radius: 18px;
    --shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    --maxw: 1200px;


* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
    margin: 0;
    background: var(--bg);
    color: #0f172a;
    line-height: 1.45;
}

a {
    color: inherit;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}
    .navbar {
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        padding: 16px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .nav-container {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .logo {
        font-size: 24px;
        font-weight: 700;
        color: #111;
        text-decoration: none;
    }

    .nav-menu {
        display: flex;
        gap: 24px;
        list-style: none;
        margin: 0;
        padding: 0;
        flex: 1;
    }

    .nav-menu a {
        color: #555;
        text-decoration: none;
        font-size: 15px;
    }

    .nav-menu a:hover {
        color: #111;
    }

    .search-form {
        display: flex;
        gap: 8px;
    }

    .search-form input {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: 200px;
    }

    .search-form button {
        padding: 8px 16px;
        background: #ff8c32;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .search-form button:hover {
        background: #e6761e;
    }
/* Hero */
.hero {
    background: linear-gradient(90deg, var(--blue-700), var(--blue-500));
    color: white;
    padding: 72px 0;
    text-align: center;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
}

.hero h1 {
    font-size: 36px;
    margin: 0 0 12px;
}

.hero p {
    margin: 0 0 18px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    background: #ff8c32;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: var(--shadow);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.95;
    background: #e6761e;
}

/* Categories grid */
.section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 28px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid.cols-3 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card .card-body {
    padding: 18px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
}
    .card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(15,23,42,0.12)}
/* Value props */
.props {
    background: #f3f4f6;
    padding: 34px 0;
}

.props-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, 1fr);
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .props-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.prop {
    background: transparent;
    text-align: center;
    padding: 18px;
}

.prop .icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.prop p {
    margin: 0;
    font-weight: 600;
}

/* CTA */
.cta {
    background: #1E3A5F;
    padding: 30px 0;
    color: white;
    text-align: center;
}

.cta h2 {
    margin: 0 0 12px;
}

/* Footer */
footer {
    background: #0e2A47;
    color: #d1d5db;
    padding: 36px 0;
    margin-top: 36px;
}

.footer-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, 1fr);
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

footer h4 {
    color: white;
    margin: 0 0 8px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin-bottom: 8px;
}

/* Utilities */
.muted {
    color: var(--muted);
}

.small {
    font-size: 14px;
}

    .product-price { font-size: 24px; font-weight: 700; color: var(--blue-700); margin: 8px 0; }
    .product-stock { color: var(--muted); font-size: 14px; }
    .stock-available { color: #10b981; }
    .stock-low { color: #f59e0b; }
    .add-to-cart-btn {
        width: 100%;
        padding: 10px;
        background: #ff8c32;
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 10px;
    }
    .add-to-cart-btn:hover {
        background: #e6761e;
    }
    .cart-indicator {
        position: fixed;
        top: 20px;
        right: 20px;
        background: var(--blue-700);
        color: white;
        padding: 12px 20px;
        border-radius: 999px;
        box-shadow: var(--shadow);
        cursor: pointer;
        z-index: 1000;
    }
    .cart-count {
        background: white;
        color: var(--blue-700);
        padding: 2px 8px;
        border-radius: 999px;
        font-weight: 700;
        margin-left: 8px;
    }
    .filters {
        background: white;
        padding: 20px;
        border-radius: var(--radius);
        margin-bottom: 24px;
        box-shadow: var(--shadow);
    }
    .filter-btn {
        padding: 8px 16px;
        margin: 4px;
        border: 2px solid #e5e7eb;
        background: #ff8c32;
        border-radius: 999px;
        cursor: pointer;
        font-weight: 500;
        color: #fff;
    }
    .filter-btn.active {
        background: #e6761e;
        color: white;
        border-color: #e6761e;
    }
    .notification {
        position: fixed;
        top: 80px;
        right: 20px;
        background: #10b981;
        color: white;
        padding: 12px 20px;
        border-radius: 8px;
        box-shadow: var(--shadow);
        z-index: 1001;
        animation: slideIn 0.3s ease;
    }
    @keyframes slideIn {
        from { transform: translateX(400px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
}
