/* ===============================
   THEME COLORS
================================ */
:root {
    --primary-blue: #0A66C2;
    --accent-green: #00A878;
    --white: #FFFFFF;
    --light-bg: #F5F9FC;
    --dark-text: #1F2933;
}

/* ===============================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

/* ===============================
   HEADER
================================ */
header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    padding: 10px 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 10px;
}

.logo img {
    height: 80px;
}

/* Search bar */
.search {
    flex: 1;
    max-width: 400px;
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
}

/* Navigation */
header nav {
    display: flex;
    gap: 15px;
}

header nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

header nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* Cart Button */
.cart-btn {
    background: var(--white);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* ===============================
   HERO DROPDOWN
================================ */
.hero-dropdown {
    position: relative;
    text-align: center;
    margin-top: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    right: 80%;
    transform: translateX(-50%);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.hero-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: var(--dark-text);
    text-decoration: none;
}

.dropdown-content a:hover {
    background: var(--light-bg);
}

/* ===============================
   HERO SLIDER
================================ */
.slider {
    position: relative;
    max-width: 1000px;
    height: 420px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 12px;
    background: white;
}

.slide {
    display: none;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
}

.prev:hover, .next:hover {
    background: var(--accent-green);
}

.prev { left: 15px; }
.next { right: 15px; }

/* ===============================
   HERO TEXT
================================ */
.hero-content {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 900px;
}

/* ===============================
   PRODUCTS
================================ */
.products,
.category-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* Product Card */
.product,
.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product:hover,
.product-card:hover {
    transform: translateY(-6px);
}

/* Product images */
.product img{
    width: 100%;
    height: 180px;
    object-fit: contain;
}
.product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    padding: 40px 5%;
}

/* PRODUCT CARD */
.product {
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* Buttons */
.product button,
.product-card button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    margin-top: 8px;
    cursor: pointer;
}

.product button:hover,
.product-card button:hover {
    background: var(--accent-green);
}

.category-section h2 {
    text-align: center;
    color: var(--primary-blue);
}

/* ===============================
   FOOTER
================================ */
footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    margin: 10px;
}

.footer-section a {
    color: #e0fff5;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

/* ===============================
   PRODUCT PAGE
================================ */
.product-page {
    display: flex;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-gallery img {
    width: 100%;
    max-width: 400px;
}

#thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

#thumbnails img {
    width: 70px;
    cursor: pointer;
}

/* WhatsApp button */
.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--accent-green);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
}

/* ===============================
   PAGINATION
================================ */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a {
    margin: 5px;
    padding: 10px 15px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a:hover {
    background: var(--accent-green);
}

/* ===============================
   FILTER BAR
================================ */
.filter-bar {
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.filter-bar select {
    padding: 8px 12px;
    border-radius: 5px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    header nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .slider {
        height: 300px;
    }

    .products,
    .category-products {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 200px;
    }
}