#productShowcase{
    display: grid;
    grid-template-columns: 100px minmax(0, 3fr) minmax(0, 1fr);
    gap: 20px;

    height: 650px;

    border-radius: 16px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    padding: 16px;
    margin-bottom: 20px;
    background-color: #FFFDFD;

    overflow-x: hidden;
}

#productShowcase > * {
    min-width: 0;
}

#images_container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

#images_container::-webkit-scrollbar {
    width: 6px;
}

#images_container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#images_container::-webkit-scrollbar-thumb:hover {
    background: #999;
}


.image_preview {
    width: 95px;
    height: 95px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

.image_preview:hover {
    border: 1px solid #267905;
}

.image_preview.active {
    border: 1px solid #267905;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

.product_image {
    display: none;
    width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.product_image.active {
    display: block;
}

#price {
    font-weight: bold;
    font-size: clamp(16px, 2vw, 24px);
    color: #267905;
    margin-bottom: 10px;
    text-align: end;
}

#description {
    text-align: justify;
    overflow-y: auto;
    max-height: 400px;
}

#description::-webkit-scrollbar {
    width: 5px;
}

#description::-webkit-scrollbar-thumb {
    background-color: #267905;
    border-radius: 10px;
}

#description::-webkit-scrollbar-track {
    background-color: #e8e8e8;
    border-radius: 10px;
}

#contactButton {
    background-color: #267905;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* modal */

#album_modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#album_modal.active {
    display: flex;
}

#album_modal_img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* botões laterais */
.album_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.album_nav.prev {
    left: 40px;
}

.album_nav.next {
    right: 40px;
}

.album_close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

/* cards */
#otherProducts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
}

.textOtherProducts {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 600;
}

/* CARD MAIS EQUILIBRADO */
.card {
    width: 180px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 10px;

    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* IMAGEM MAIS PROPORCIONAL */
.card_image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* CONTEÚDO INTERNO */
.card_content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* TÍTULO */
.card_title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* DESCRIÇÃO */
.card_description {
    font-size: 12px;
    color: #666;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PREÇO */
.card_price {
    font-size: 14px;
    font-weight: 700;
    color: #1f7a3e;
    margin-top: 4px;
}

.card a {
    text-decoration: none;
    color: inherit;
}