/* Grid de produtos - sistema de layout responsivo */
.products-grid {
    display: grid;
    grid-template-columns: repeat(var(--cards-per-row, 4), minmax(0, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Breakpoints responsivos otimizados */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        padding: 10px;
        gap: 12px;
    }
}

/* Reset completo para dispositivos móveis - aplicação forçada */
@media screen and (max-width: 992px) {
    body .products-grid,
    html .products-grid,
    div.products-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        grid-template-columns: none !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Layout para cards em mobile */
    .modern-product-card {
        display: flex;
        flex-direction: column;
        min-height: auto;
        height: auto;
        max-height: none;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 15px; /* Espaçamento entre cards */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Imagem do produto */
    .image-wrapper {
        width: 100%;
        height: auto;
        padding-top: 90%; /* Proporção mais quadrada */
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .modern-product-card img {
        object-fit: contain;
        padding: 5px;
    }
    
    /* Container de conteúdo */
    .card-content {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 8px;
    }
    
    /* Título do produto */
    .card-title {
        text-align: center;
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0;
        width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 2.8em;
        line-height: 1.3;
    }
    
    /* Remover descrição em mobile */
    .card-description {
        display: none;
    }
    
    /* Preços */
    .card-price {
        text-align: center;
        align-items: center;
        margin: 5px 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
        width: 100%;
    }
    
    .original-price {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: #999;
        order: 1;
    }
    
    .final-price {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-top: 0;
        font-weight: bold;
        color: #FF78B7;
        order: 2;
    }
    
    /* Badge de desconto */
    .discount-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        margin: 0;
        padding: 2px 10px;
        font-size: 0.8rem;
        border-radius: 30px;
        order: 3;
        z-index: 10;
    }
    
    /* Botão */
    .card-button-wrapper {
        padding: 5px 0 0 0;
        margin-top: 5px;
        width: 100%;
    }
    
    .card-button {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: 25px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Estoque */
    .estoque-text {
        font-size: 0.8rem;
        margin-top: 5px;
        width: 100%;
        text-align: center;
    }
    
    /* Seleção de variações */
    .product-variation {
        width: 100%;
        padding: 10px;
        border-radius: 20px;
        margin-bottom: 10px;
        font-size: 0.9rem;
        text-align: center;
    }
}

.modern-product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 480px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Ajustes responsivos para cards */
@media (max-width: 992px) {
    .modern-product-card {
        min-height: 450px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .modern-product-card {
        min-height: 420px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .modern-product-card {
        min-height: 320px; /* Reduzido para caber melhor em telas pequenas */
        padding: 10px 8px;
        border-radius: 12px;
        margin-bottom: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 5px;
    }
}

.image-wrapper {
    width: 100%;
    padding-top: 60%; /* Proporção 5:3 */
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Otimizações responsivas para imagens */
@media (max-width: 768px) {
    .image-wrapper {
        margin-bottom: 15px;
        border-radius: 10px;
        padding-top: 65%; /* Ajuste para telefones */
    }
}

@media (max-width: 576px) {
    .image-wrapper {
        padding-top: 100%; /* Proporção quadrada para melhor visualização */
        margin-bottom: 10px;
        border-radius: 8px;
        height: auto;
        min-height: 100px;
        max-height: 150px;
    }
}

.modern-product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.modern-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.08);
}

.modern-product-card:hover img {
    transform: scale(1.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    text-align: center;
}

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0 0 10px;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .card-title {
        font-size: 1.1rem;
        margin: 0 0 8px;
    }
}

@media (max-width: 576px) {
    .card-title {
        font-size: 0.95rem;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* Reduzido para uma linha */
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 2px;
    }
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .card-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        padding: 0 5px;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .card-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        padding: 0 2px;
        margin-bottom: 5px;
        max-height: 1.5em;
    }
}

.card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FF78B7;
    text-align: center;
    margin: 15px 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .card-price {
        font-size: 1.3rem;
        margin: 12px 0 5px;
        gap: 3px;
    }
}

@media (max-width: 576px) {
    .card-price {
        font-size: 1.2rem;
        margin: 8px 0 5px;
        gap: 2px;
    }
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    order: 1;
}

.final-price {
    font-weight: bold;
    color: #FF78B7;
    font-size: 1.4rem;
    line-height: 1;
    order: 2;
}

.discount-badge {
    background: #FF78B7;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
    order: 3;
}

/* Responsividade para preços e descontos */
@media (max-width: 768px) {
    .original-price {
        font-size: 0.85rem;
    }
    
    .final-price {
        font-size: 1.3rem;
    }
    
    .discount-badge {
        font-size: 0.8rem;
        padding: 2px 8px;
        margin-top: 4px;
    }
}

@media (max-width: 576px) {
    .original-price {
        font-size: 0.8rem;
    }
    
    .final-price {
        font-size: 1.2rem;
    }
    
    .discount-badge {
        font-size: 0.75rem;
        padding: 2px 7px;
        border-radius: 10px;
        margin-top: 3px;
    }
}

.card-button-wrapper {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
    width: 100%;
}

.card-button {
    display: inline-block;
    background: #FF78B7;
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.card-button:hover {
    background: #ff64aa;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255,120,183,0.3);
}

/* Responsividade para botões */
@media (max-width: 768px) {
    .card-button-wrapper {
        padding-top: 15px;
    }
    
    .card-button {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .card-button-wrapper {
        padding-top: 10px;
    }
    
    .card-button {
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
}

/* Removidas media queries redundantes */

/* Estilo do seletor de variações */
.product-variation {
    width: 100%;
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all 0.3s ease;
}

.product-variation:focus {
    outline: none;
    border-color: #FF78B7;
    box-shadow: 0 0 0 2px rgba(255, 120, 183, 0.25);
}

/* Responsividade para o seletor de variações */
@media (max-width: 768px) {
    .product-variation {
        padding: 7px 10px;
        font-size: 0.85rem;
        border-radius: 12px;
        background-size: 14px;
        background-position: right 10px center;
    }
}

@media (max-width: 576px) {
    .product-variation {
        padding: 6px 8px;
        font-size: 0.8rem;
        border-radius: 10px;
        background-size: 12px;
        background-position: right 8px center;
    }
}

/* Mini Carrinho */
#cart-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #FF78B7;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255,120,183,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

#cart-toggle:hover {
    transform: scale(1.1);
}

#cart-toggle::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    /* Removido margin-right para centralizar o ícone */
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #FF78B7;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Modal do Formulário */
#order-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    backdrop-filter: blur(5px);
}

#order-form-modal.open {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.order-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.order-form h3 {
    color: #333;
    font-size: 1.8rem;
    margin: 0 0 30px;
    text-align: center;
    font-weight: 600;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f5f5f5;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #25D366;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.whatsapp-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.whatsapp-button {
    background: #25D366;
    color: #fff !important;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    min-width: 280px;
    text-decoration: none;
}

.whatsapp-button::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:active {
    transform: translateY(0);
}

/* Carrinho Toggle */
#cart-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #FF78B7;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255,120,183,0.3);
    z-index: 999;
}

#cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #FF78B7;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

#cart-notification.show {
    transform: translateX(0);
}

/* Mini Carrinho */
#mini-cart {
    position: fixed;
    right: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: #f8f9fa;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 30px 0 15px;
}

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

.cart-header {
    padding: 18px 20px;
    background: #FF78B7;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 15px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 1.1rem;
}

.cart-count {
    background: #fff;
    color: #FF78B7;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 15px;
    margin: 20px 15px;
}

.cart-items {
    padding: 5px 15px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    gap: 15px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.cart-item-info h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.cart-item-price {
    color: #FF78B7;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f8f8;
    padding: 5px;
    border-radius: 20px;
}

.cart-item-quantity button {
    background: #FF78B7;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.cart-item-quantity button:hover {
    background: #ff64aa;
    transform: scale(1.1);
}

.cart-item-quantity button:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
}

.cart-footer {
    margin: 15px;
    padding: 25px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.checkout-button {
    width: 100%;
    background: #FF78B7;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background: #ff64aa;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255,120,183,0.3);
}

@media (max-width: 767px) {
    #mini-cart {
        width: 100%;
        right: -100%;
    }
}

/* Estilos para variações de produtos */
.variation-selector {
    margin-top: 15px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

/* Estilo para o campo de select */
.product-variation {
    display: none; /* Escondemos o select original */
}

/* Container personalizado para variações */
.variation-custom-select {
    width: 100%;
    position: relative;
    font-family: inherit;
}

/* Cabeçalho do seletor personalizado */
.variation-selected {
    padding: 12px 16px;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.variation-selected:hover {
    border-color: #ccc;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* Ícone indicador do dropdown */
.variation-selected::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Variação selecionada */
.variation-selected.active::after {
    transform: rotate(-135deg);
}

/* Lista de opções */
.variation-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

.variation-options.show {
    max-height: 150px;
    opacity: 1;
    overflow-y: auto;
}

/* Cada opção individual */
.variation-option {
    padding: 12px 16px;
    cursor: pointer;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    font-weight: 400;
}

.variation-option:last-child {
    border-bottom: none;
}

.variation-option:hover {
    background-color: #f9f9f9;
}

.variation-option.selected {
    background-color: #f0f7ff;
    font-weight: 600;
}

.variation-option.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #fafafa;
}

/* Nome da variação no dropdown */
.variation-name {
    font-size: 15px;
    display: block;
    width: 100%;
    text-align: center;
}

/* Badge para estoque - não exibido por padrão */
.stock-badge {
    display: none;
}

/* Preço da variação - escondido no dropdown */
.variation-price {
    display: none;
}

/* Estilo para o preço dinâmico no card */
.dynamic-price-container {
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.dynamic-price-container .original-price {
    display: inline-block;
    color: #777;
    text-decoration: line-through;
    margin-right: 10px;
    font-size: 0.9rem;
}

.dynamic-price-container .final-price {
    display: inline-block;
    color: #FF1493;
    font-size: 1.5rem;
    font-weight: 700;
}

.dynamic-price-container .discount-badge {
    display: inline-block;
    background-color: #FF1493;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 5px;
    font-weight: 600;
}

/* Animação para atualização de preço */
.price-update {
    animation: priceUpdate 0.5s ease;
}

@keyframes priceUpdate {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* Estilos para variações no carrinho */
.item-variation {
    font-size: 12px;
    color: #666;
    font-style: italic;
    font-weight: normal;
}

/* Notificações de erro */
.cart-notification.error {
    background-color: #d9534f;
    color: white;
    border-color: #d43f3a;
}

.cart-notification.success {
    background-color: #5cb85c;
    color: white;
    border-color: #4cae4c;
}
