/* ===== CSS Variables (Theme) ===== */
:root {
    --primary: #0f172a;
    --accent: #f97316;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tahoma', Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

/* ===== Global ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1, h2 {
    margin-bottom: 15px;
}

/* ===== Header ===== */
.header {
    background: var(--primary);
    color: #fff;
    padding: 18px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.nav a {
    color: #fff;
    margin-left: 18px;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 1;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0f172a, #020617);
    padding: 90px 0;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 38px;
}

.hero p {
    margin: 15px 0;
    font-size: 18px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* ===== Categories ===== */
.categories {
    padding: 50px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.category-card {
    background: #fff;
    padding: 35px 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

/* ===== Products ===== */
.products {
    padding: 50px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 160px;
    background: #e5e7eb;
    margin-bottom: 12px;
    border-radius: 8px;
}

.price {
    display: block;
    margin-top: 8px;
    font-weight: bold;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: #cbd5f5;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    font-size: 14px;
}

/* ===== Floating WhatsApp Button (Refined) ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float svg {
    width: 42px;
    height: 42px;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 36px rgba(0,0,0,0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 38px;
        height: 38px;
    }
}

/* End of CSS */