/* =========================
   ESSAMS STORE - ACCESSORIES
   Theme: Blue • Green • White
========================= */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* COLORS */
:root {
    --primary-blue: #0077b6;
    --primary-green: #00b894;
    --light-bg: #f4fbff;
    --white: #ffffff;
    --dark-text: #1f2d3d;
}

/* BODY */
body {
    background-color: var(--light-bg);
    color: var(--dark-text);
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.logo img {
    height: 55px;
}

/* NAVIGATION */
nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #e0f7fa;
}

nav a.active {
    border-bottom: 3px solid white;
    padding-bottom: 5px;
}

/* PAGE TITLE */
.products-page {
    padding: 50px 80px;
}

.products-page h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: var(--primary-blue);
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* PRODUCT CARD */
.product-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

/* PRODUCT IMAGE */
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* PRODUCT TITLE */
.product-card h3 {
    margin-bottom: 8px;
    color: var(--primary-blue);
}

/* DESCRIPTION */
.product-card p {
    margin-bottom: 6px;
    font-size: 14px;
}

/* PRICE */
.price {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 18px;
    margin: 10px 0;
}

/* BUTTONS */
.product-card button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    margin-top: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

/* ADD TO CART */
.product-card button:first-of-type {
    background-color: var(--primary-green);
    color: white;
}

.product-card button:first-of-type:hover {
    background-color: #019874;
}

/* MORE DETAILS */
.product-card .details {
    background-color: var(--primary-blue);
    color: white;
}

.product-card .details:hover {
    background-color: #005f8f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    nav {
        margin-top: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .products-page {
        padding: 30px;
    }
}