
@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/_fontawesome6/webfonts/Montserrat-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: #F6F6F6;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sidebar {
    position: sticky;
    top: 65px; 
    z-index: 999;

    display: flex;
    flex-direction: row !important;

    align-items: center;
    gap: 10px;

    padding: 10px 15px;

    background-color: #fff;
    border-bottom: 1px solid #eee;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.sidebar-item {
    display: inline-flex; 
    align-items: center;
    gap: 8px;

    padding: 8px 15px;
    border-radius: 999px;

    background: #f2f2f2;

    white-space: nowrap;
    flex-shrink: 0;

    width: auto; 
}

.sidebar-item img {
    width: 24px;
    height: 24px;
}

.sidebar-item span {
    font-size: 18px; 
    font-weight: 600;
}

.sidebar-item.selected {
    background-color: #DABE98;
    border-radius: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: #F6F6F6;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

#topHeader {
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-img {
    max-width: 50%;
    height: auto;
    margin: 0 auto; 
    
}

.logo-img-small {
    max-width: 10%;
    height: auto;
    position: absolute;
    right: 0; 
    top: 50%;
    transform: translateY(-50%);
}

.header .subtitle {
    padding-top: 30px;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #555;
    text-align: center;
}

.products-container {
    width: 100%;
    overflow: visible;
	text-align: center;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-item {
    flex: 0 1 calc(30% - 20px); 
    text-align: center;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 300px; 
}

.product-item img {
    border-radius: 5px;
    height: 100%; 
    width: auto;
    margin: 0 auto;
    box-shadow: 2px 2px 2px 0px rgba(184,175,184,1);
    object-fit: cover; 
}

.product-item span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.view-cart.disabled {
    background-color: #9AA78E;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
}

.view-cart {
    background-color: #083628;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
}

.text-cart {
    margin: 0 auto; 
}

.shopping {
    max-width: 10%;
    height: auto;
    right: 0; 
    top: 0;
    position: relative;
}

.qtdbag {
    position: absolute;
    top: -10px; 
    right: -10px; 
    background-color: white; 
    color: #083628; 
    border-radius: 50%;
    padding: 4px 6px; 
    font-size: 10px;
    font-weight: bold; 
    text-align: center;
}

.modal-background {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 999; 
}

.modal {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 15px; 
    padding: 20px;
    z-index: 1000; 
    width: 80%;
    max-width: 500px; 
}

.modal-content {
    text-align: center;
    margin-top: 15px;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.modal-content img{
    width: 30%;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 2px 0px rgb(211, 203, 211);
}

.installment {
    color: #8C7D5A;
    font-size: 18px;
}
.showOptions {
    font-size: 18px;
}

.titleModal {
    font-size: 22px;
}

.quantity-add-to-cart {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.optPlus {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #000000;
    border-radius: 15px;
}

.quantity-decrease,
.quantity-increase {
    border-radius: 15px;
    border: none;
    padding: 5px;
    font-size: 25px;
    background-color: white;
    cursor: pointer;
    color: #000000;
}

.quantity-value {
    padding: 0 10px;
    font-size: 25px;
}

.add-to-cart {
    background-color: #083628;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* ========================= */
/* 📱 MOBILE ONLY */
/* ========================= */
@media (max-width: 767px) {

/* Container geral */
.products-container {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Container onde o AJAX injeta */
#section-produtcs {
    justify-content: flex-start;
    align-items: start;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
}

/* Se vier com .products dentro */
#section-produtcs .products {
    display: contents;
    gap: 10px 12px;
}

/* Card */
#section-produtcs .product-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Imagem padronizada */
#section-produtcs .product-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
}

#section-produtcs .product-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.2;
    min-height: 32px;
}

/* Título FLORES */
.header .subtitle {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Sidebar (categorias) */
.sidebar {
    padding: 8px 10px;
    gap: 8px;
}

.sidebar-item {
    padding: 6px 10px;
}

.sidebar-item span {
    font-size: 12px;
}

}