.image-container {
    overflow: hidden;
    height: 250px;
}

.image-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.list-group-item.active-produto {
    z-index: 2;
    color: #fff;
    background-color: #009B3C;
    border-color: #009B3C;
}
.floating-button {
    position: fixed;
    bottom: 20px; /* Ajuste conforme necessário */
    right: 20px; /* Ajuste conforme necessário */
}

.floating-button button {
    background-color: #4CAF50; /* Nova cor de fundo do botão "insert" */
    color: #fff; /* Cor do texto do botão */
    border: none;
    border-radius: 30px; /* Isso fará o botão ter uma forma de círculo */
    width: 48px; /* Largura do botão */
    height: 48px; /* Altura do botão */
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* Sombra */
}
.floating-button button.main{
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: #4CAF50;
    right: 0;
    bottom: 0;
    z-index: 9999;
}


.floating-button button:hover {
    background-color: #388E3C; /* Cor de fundo do botão "insert" ao passar o mouse */
}

/* Carrinho flutuante melhorado */
#cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #198754;
    color: white;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: background-color 0.3s ease;
}

#cart-button:hover {
    background-color: #146c43;
}

#cart-button .icon {
    position: relative;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-count {
    position: absolute;
    top: -25px;
    right: -25px;
    background: white;
    color: #198754;
    /*border: 1px solid #198754;*/
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    line-height: 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -3px 0 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#cart-sidebar.open {
    right: 0;
}

#cart-sidebar .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

#cart-sidebar .cart-header .close-icon {
    font-size: 20px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

#cart-sidebar .cart-header .close-icon:hover {
    color: #333;
}
.cart-items-container {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 4px;
}

#cart-sidebar .cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 5px;
}

#cart-sidebar .cart-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    background: #fff;
    position: sticky;
    bottom: 0;
}

.cart-item-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info .cart-item-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: #333;
}

.cart-item-info .cart-item-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.cart-item-remove {
    margin-left: 10px;
    color: #dc3545;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background: transparent;
    text-decoration: none !important;
}

.cart-item-remove:hover {
    color: #bb2d3b;
    background-color: transparent;
    text-decoration: none;
}