@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --mc: #364974;
    --header-height: 3rem;
    --hue-color: 250;
    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #FFF;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);
    --body-font: 'Poppins', sans-serif;
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== Margenes Bottom ==========*/
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;

}

::-webkit-scrollbar {
    display: none;
}

body {
    transition: all 0.5s linear;
    font-family: "Poppins", sans-serif;
}

main .container {
    margin: 0 auto;
    margin-top: 10rem;
}

.fa-bars {
    margin-right: 5px;
}

.row {
    max-width: 150rem;
}

/* Main Content Styles */

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    min-width: 15rem;
    height: 30rem;
    margin: 0 2rem;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60%;
    margin-right: 2rem;
}

.product-outline {
    margin-bottom: 1rem;
}

.product img {
    max-width: 100%;
    max-height: 19rem;
    margin-bottom: 4rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Maintain a square aspect ratio for the image */
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image fills the container while preserving its aspect ratio */
}

.button-wrapper {
    margin-top: auto;
    /* Push the buttons to the bottom */
}

.product h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.product p {
    font-size: 1rem;
    margin: 10px 0;
}

.add-to-cart-button {
    background-color: var(--mc);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 20px;
    margin-bottom: 1rem;
}

.add-to-cart-button:hover {
    background-color: var(--mc);
}

/* Sidebar Styles */

.sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    height: 100%;
    margin-bottom: 20px;
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;

}

.sidebar li {

    color: #000000;
    margin-bottom: 10px;
}


.sidebar a {
    color: #000000;
    text-decoration: none;
}

.sidebar a:hover {
    color: #000000;
    text-decoration: none;
}

.cart-items {
    list-style: none;
}

#cart-notification {
    text-decoration: none;
    display: block;
    position: fixed;
    top: 20px;
    left: -100%;
    transform: translateX(-50%);
    background-color: var(--mc);
    border: 1px solid #fff;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 99999;
    font-family: "Poppins", sans-serif;
}

#cart-notification a:hover {
    text-decoration: none;
    cursor: pointer
}