:root {
    /* Colors */
    --primary-color: #00d5d1;
    --text-color: #333;
    --subtext-color: #444;
    --muted-color: #555;
    --background-light: #f4f2f2;
    --card-background: #fff;
    --shadow-color: rgba(0, 0, 0, 0.16);
    --border-color: rgba(0, 0, 0, .125);

    /* Typography */
    --base-font: 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-large: 24px;
    --font-size-medium: 18px;
    --font-size-small: 14px;

    /* Spacing */
    --padding-x: 50px;
    --padding-x-mb: 15px;
    --card-padding: 20px 30px;
    --section-gap: 60px;
    --card-radius: 12px;
}

body {
    font-family: var(--base-font);
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

.container {
    padding: 0 var(--padding-x);
    max-width: 1200px;
    margin: auto;
}

/* Section */
.section-wrapper {
    padding: var(--section-gap) 0;
    background-color: var(--background-light);
}

/* .content-container {
    color: var(--text-color);
} */

/* Titles and text */
/* .section-title {
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: var(--font-size-large);
} */

/* .section-description {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--subtext-color);
} */

/* Card wrapper */
/* .section-card {
    margin-bottom: 50px;
} */

.card-box {
    background-color: var(--card-background);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: var(--card-padding);
    width: 100%;
    /* text-align: left; */
    margin-bottom: 30px;

}

/* Product Card Layout */
.card-product {
    display: flex;
    flex-direction: row;
    margin: 20px 0px;
    width: 100%;
    max-height: 300px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    /* overflow: hidden; */
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-img-left {
    padding: 0px 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-body {
    flex-grow: 1;
    /* Ensures the card body grows to take available space */
    overflow: hidden;
}

.card-body h5 {
    font-size: 20px;
    margin-bottom: 10px;

}

.card-body p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--subtext-color);
    /* overflow: hidden; */
    text-overflow: ellipsis;

}

/*
@media (max-width: 576px) {
    .card-product {
        padding-top: 20px;
        max-height: 400px;
        overflow: hidden;
    }



    .image-container {
        width: 100%;
        height: 200px;
    }

    .card-img-left {
        width: 50%;
        height: auto;
    }

    .card-box {
        padding: 15px;
        overflow-y: auto;
    }
} */


@media (max-width: 800px) {
    .container {
        padding: 0 var(--padding-x-mb);
        margin: auto;
    }

    .card-box {
        padding: 15px;
    }

    .card-product {
        padding-top: 20px;
        max-height: none;
    }

    .image-container {
        width: 100%;
        height: 200px;
    }

    .card-img-left {
        width: 50%;
        height: auto;
    }

    .card-title-prod {
        padding: 10px;
    }

    .card-text-prod {
        padding: 10px;

    }
}
