/* Produto */
.produto {
    position: relative;
    color: var(--texto);
    border-radius: 8px;
    padding: 15px;
    margin-top: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2), inset 0px 1px 3px rgba(255, 255, 255, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.produto:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3), inset 0px 2px 5px rgba(255, 255, 255, 0.3);
}

.produto h3 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-style: oblique !important;
    border: 0px 0px 1px 1px var(--cor-h1);
    color: var(--cor-h1);
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {
    .produto {
        padding: 5px;
        margin-top: 10px;
    }

    .produto figure img {
        min-height: 150px;
    }

    .preco {
        font-size: 1.2em;
    }

    .carousel-inner img {
        min-height: 150px;
    }
}

.info {
    margin-bottom: 5px;
    margin-top: 5px;
    text-transform: uppercase;
    font-size: 15px;
    padding: 5px 5px;
    border-radius: 5px;
    text-align: center;
    color: #FFFF;
}

.desconto {
    position: absolute;
    background-color: #292929;
    padding: 3px 5px;
    border-radius: 10%;
    color: #FFFF;
}

.valor {
    font-size: 28px;
    font-weight: 600;
    text-transform: none;
    color: #333;
    letter-spacing: 0.5px;
    line-height: 1.2;
}


.info_danger {
    background-color: #b80000;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15), inset 0px 2px 4px rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
}

.bt_icon {
    background-color: #ebebeb;
    border-radius: 50%;
    padding: 10px 10px;
    color: var(--primary);
}

.menu-1 {
    background-color: var(--primary);
}


/* Estilos gerais para o produto */
.text-left {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Nome do produto */
.product-name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 2px solid #f8f9fa;
}

/* Container de informações */
.info-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    padding: 0px 0;
}

.info-label {
    min-width: 120px;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.info-content {
    flex: 1;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

/* Avaliações */
.rating-container {
    color: #5f5f5f;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    color: #ffd700;
}

/* Preços */
.price-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    padding: 2px;
    border-radius: 15px;
    margin: 05px 0px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

.price-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 5px;
}

.current-price {
    font-size: 36px;
    font-weight: 800;
    color: #e74c3c;
}

.original-price {
    font-size: 20px;
    color: #95a5a6;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

/* Club Point */
.club-point-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Opções de produto */
.option-section {
    margin: 5px 0;
    padding: 5px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: block;
}

.option-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.option-btn {
    border: 2px solid #e0e0e0;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.option-btn:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.option-btn.active {
    border-color: #3498db;
    background: #3498db;
    color: white;
}

/* Cores */
.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Adicione isso no final do seu CSS */
.aiz-radio-inline .aiz-megabox .color-btn {
    min-width: 50px !important;
    min-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 3px solid #e0e0e0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block !important;
}

/* Remove qualquer padding ou margin que possa estar afetando */
.aiz-radio-inline .aiz-megabox {
    padding: 0 !important;
    margin: 5px !important;
}

.aiz-radio-inline .aiz-megabox input[type="radio"] {
    display: none !important;
}

.aiz-radio-inline .aiz-megabox span.color-btn {
    min-width: 50px !important;
    min-height: 50px !important;
}

.color-btn {
    min-width: 50px !important;
    min-height: 50px;
    border-radius: 40px !important;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-btn:hover {
    transform: scale(1.1);
    border-color: #3498db;
}

.color-btn.active {
    border-color: #3498db;
    transform: scale(1.1);
}

.color-btn.active::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Seletor de quantidade */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 5px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    padding: 5px 7px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
    color: #2c3e50;
}

.qty-btn:hover {
    background: #e9ecef;
}

.qty-btn:disabled {
    background: #f8f9fa;
    color: #bdc3c7;
    cursor: not-allowed;
}

.qty-input {
    width: 70px;
    text-align: center;
    border: none;
    padding: 5px 2px;
    font-size: 16px;
    font-weight: 600;
    background: white;
}

/* Botões de ação */
.action-buttons {
    display: flex;
    gap: 15px;
    margin: 5px 0;
    flex-wrap: wrap;
}

.btn-cart {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-buy {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

/* Wishlist e Compare */
.wishlist-compare {
    display: flex;
    gap: 20px;
    margin: 5px 0;
    padding: 5px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.wishlist-btn,
.compare-btn {
    background: none;
    border: 2px solid #bdc3c7;
    color: #7f8c8d;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-btn:hover,
.compare-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-1px);
}

/* Frete */
.shipping-section {
    background: linear-gradient(135deg, #f8fff8 0%, #f0fff0 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #d4edda;
}

.shipping-title {
    font-size: 16px;
    font-weight: 600;
    color: #155724;
    margin-bottom: 15px;
}

.shipping-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cep-input {
    flex: 1;
    min-width: 200px;
    padding: 5px 10px;
    border: 2px solid #d4edda;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.cep-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.calculate-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

#freteResult {
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    animation: slideIn 0.5s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

#freteResult:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badges */
.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

/* Vendedor */
.seller-info {
    background: #f0f8ff;
    padding: 10px;
    border-radius: 12px;
    margin: 5px 0;
    border-left: 4px solid #3498db;
}

/* Garantia */
.guarantee-section {
    background: #fffaf0;
    padding: 10px;
    border-radius: 12px;
    margin: 5px 0;
    border-left: 4px solid #f39c12;
}

/* Compartilhar */
.share-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .btn-cart,
    .btn-buy {
        min-width: 100%;
    }

    .shipping-input-group {
        flex-direction: column;
    }

    .cep-input {
        min-width: 100%;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .quantity-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .wishlist-compare {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animações suaves */
.has-transition {
    transition: all 0.3s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Melhorias específicas para elementos existentes */
.aiz-megabox-elem {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.aiz-megabox-elem:hover {
    border-color: #3498db;
    transform: translateY(-1px);
}

.aiz-radio-inline label {
    margin-bottom: 8px;
}

.text-secondary {
    color: #7f8c8d !important;
}

.text-primary {
    color: #e74c3c !important;
}
