.calculator-container {
    margin: 24px auto;
    padding: 24px;
    max-width: 1000px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: #333;
}

.calculator-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.calculator-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 30px;
}

/* Grid de productos */
.model-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.model-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.model-item.selected {
    border-color: #4CAF50;
}

.model-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.model-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.model-name {
    font-weight: 600;
    font-size: 1rem;
}

.model-price {
    font-weight: 700;
    color: #e63946;
    font-size: 1.1rem;
    margin-top: 4px;
}

.model-item-info {
    cursor: help;
    color: #6c757d;
    margin-top: 5px;
}

.model-item-info:hover {
    color: #f79400;
}

.model-image-container {
    width: 100%;
    padding: 15px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-image-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.model-item:hover .model-image-container img {
    transform: scale(1.05);
}

/* Controles de cantidad */
.quantity-control-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #e9ecef;
}

.quantity-input {
    width: 60px;
    height: 36px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0 5px;
    margin: 0;
}

.quantity-control {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-control:hover {
    background-color: #f0f0f0;
}

.quantity-control:active {
    background-color: #e9ecef;
}

.quantity-increase {
    color: #28a745;
}

.quantity-decrease {
    color: #dc3545;
}

/* Formulario de entrega */
#delivery-form {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 0;
}

#delivery-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
}

#delivery-option {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    color: #495057;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg 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'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

#delivery-option:focus {
    border-color: rgba(247, 148, 0, 0.5);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 0, 0.25);
}

/* Notas informativas */
.shipping-note {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.shipping-note p {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

#free-shipping-note {
    background-color: #e7f4e4;
    border-left: 4px solid #4CAF50;
}

#free-shipping-note p {
    color: #2e7d32;
}

#min-shipping-note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

#min-shipping-note p {
    color: #856404;
}

.legal-text {
    font-size: 0.8rem;
    color: #6c757d;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin: 15px 0;
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

.spacer {
    height: 20px;
}

/* Resultados */
.results-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 30px 0;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse-animation {
    animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.results-card h2 {
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.results-content {
    padding: 20px;
}

.results-card table {
    width: 100%;
    border-collapse: collapse;
}

.results-card table tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.results-card table tr:hover {
    background-color: #f9f9f9;
}

.results-card table tr:last-child {
    border-bottom: none;
}

.results-card table td {
    padding: 15px 10px;
}

.results-card table td:first-child {
    font-weight: 500;
    width: 60%;
    color: #495057;
}

.results-card table td:last-child {
    text-align: right;
    font-weight: 600;
}

.result-value {
    font-size: 1.1rem;
}

.total-row {
    background-color: #f8f9fa;
    font-size: 1.2rem;
}

.total-row .result-value {
    font-size: 1.3rem;
}

.bold {
    font-weight: 700;
    color: #e63946;
}

.models-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.models-summary h3 {
    text-align: center;
    margin: 0 0 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 8px;
}

.models-summary p {
    color: #6c757d;
    line-height: 1.6;
}

/* Botones de acción */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.action-button {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

.whatsapp-button:hover {
    background-color: #20bd5a;
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.email-button {
    background-color: #f79400;
    color: white;
    box-shadow: 0 4px 8px rgba(247, 148, 0, 0.2);
}

.email-button:hover {
    background-color: #e38800;
    box-shadow: 0 6px 12px rgba(247, 148, 0, 0.3);
    transform: translateY(-2px);
}

.cart-button {
    background-color: #262626;
    color: white;
    box-shadow: 0 4px 8px rgba(38, 38, 38, 0.2);
}

.cart-button:hover {
    background-color: #1a1a1a;
    box-shadow: 0 6px 12px rgba(38, 38, 38, 0.3);
    transform: translateY(-2px);
}

.action-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Formulario de cotización */
#quote-form {
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease;
}

/* Responsive */
@media (max-width: 900px) {
    .model-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 16px;
    }
    
    .calculator-title {
        font-size: 1.8rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .action-button {
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .model-list {
        grid-template-columns: 1fr;
    }
    
    .results-card table td {
        padding: 12px 8px;
    }
    
    .results-card table td:first-child {
        width: 55%;
    }
}