/* =========================
   IMAGE BUTTONS
========================= */

.image-button {
    width: 35%;
    height: 300px;
    position: relative;

    padding: 0;
    border: none;
    border-radius: 10p;

    overflow: hidden;
    background: #222;

    cursor: pointer;
    align: center;
    display: grid;
        grid-template-columns: repeat(1, 1fr);
}

.image-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;

    transition: transform 0.3s ease;
}


.products-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    align: center;
   
}



/* On phones: exactly 2 buttons per row */
@media (max-width: 500px) {
    .products-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .products-container .image-button {
        width: 100%;
    }
}

/* Caption */

/* =========================
   CAPTIONS
========================= */

.caption-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Product name */

.image-button .caption {
    position: relative;

    width: 100%;
    padding: 8px 0;

    background: #333;
    color: white;

    text-align: center;
    font-size: 18px;
    font-weight: bold;

    transition: background 0.3s ease,
                color 0.3s ease;
}

/* Price */

.image-button .price {
    display: block;

    width: 100%;
    padding: 6px 0;

    background: white;
    color: black;

    text-align: center;
    font-size: 16px;
    font-weight: bold;
}


/* =========================
   HOVER
========================= */

.image-button:not(.selected):hover img {
    transform: scale(1.05);
}

.image-button:not(.selected):hover .caption {
    background: white;
    color: black;
}

.image-button:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}


/* =========================
   SELECTED
========================= */

.image-button.selected {
    box-shadow: 0 8px 20px rgba(69, 160, 73, 0.45);
}

.image-button.selected .caption {
    background: #a04545;
    color: white;
}
/* Hover */

.image-button:not(.selected):hover img {
    transform: scale(1.05);
}

.image-button:not(.selected):hover .caption {
    background: white;
    color: black;
}

.image-button:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Selected */

.image-button.selected {
    box-shadow: 0 8px 20px rgba(69, 160, 73, 0.45);
}

.image-button.selected .caption {
    background: #a04545;
    color: white;
}
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    background: white;
    color: white;
    line-height: 1.6;
}


/* =========================
   HAMBURGER BUTTON
========================= */

.menu-btn {
    position: fixed;
    top: 120px;
    left: 20px;

    width: 50px;
    height: 50px;

    border: none;
    background: #333;
    color: white;

    font-size: 28px;
    cursor: pointer;
    border-radius: 8px;

    transition: 0.3s;
    z-index: 1001;
}

.menu-btn:hover {
    background: white;
    color: black;
}


/* =========================
   SIDEBAR
========================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: 250px;
    height: 100%;

    background: #333;

    padding-top: 60px;

    transform: translateX(-100%);

    transition: transform 0.4s ease;

    z-index: 1000;
}


/* Visible state */

.sidebar.show {
    transform: translateX(0);
}


/* Sidebar links */

.sidebar a {
    display: block;

    color: white;
    text-decoration: none;

    padding: 18px 25px;

    font-size: 18px;

    transition: 0.3s;
}

.sidebar a:first-child {
    margin-top: 0;
}


/* =========================
   GLOBAL TEXT SETTINGS
========================= */

h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: #222222;
    font-weight: bold;
    text-align: center;
}

h2 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: #333333;
    font-weight: bold;
}

h3 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: #444444;
}

p {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #555555;
}


/* Links */

a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    color: #ff6600;
}


/* Buttons */

button {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: bold;
}


/* =========================
   SIDEBAR LOGO
========================= */

.logo {
    position: relative;
    top: -30px;
    margin-left: 30px;
}


