/* Estilos para la página de términos y condiciones */

.terms-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.terms-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #DE208B;
}

.terms-header h2 {
    color: #1A71B9;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.terms-intro {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.terms-section-block {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-left: 4px solid #DE208B;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terms-section-block h3 {
    color: #1A71B9;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-section-block h3 i {
    color: #DE208B;
    font-size: 22px;
}

.terms-section-block h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.terms-text {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    text-align: justify;
}

.terms-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.terms-text strong {
    color: #1A71B9;
    font-weight: 700;
}

.terms-list,
.terms-numbered-list {
    margin: 20px 0;
    padding-left: 0;
}

.terms-list li,
.terms-numbered-list li {
    margin-bottom: 12px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #DE208B;
    list-style: none;
    position: relative;
    text-align: justify;
}

.terms-numbered-list {
    counter-reset: term-counter;
}

.terms-numbered-list li {
    counter-increment: term-counter;
}

.terms-numbered-list li::before {
    content: counter(term-counter);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #DE208B;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.terms-shipping-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.terms-shipping-list li {
    background: linear-gradient(135deg, #1A71B9, #DE208B);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    list-style: none;
    transition: transform 0.3s ease;
}

.terms-shipping-list li:hover {
    transform: translateY(-2px);
}

.terms-highlight {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
}

.terms-highlight p {
    margin: 0;
    color: #856404;
    font-weight: 600;
    text-align: justify;
}

.terms-warning {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid #dc3545;
}

.terms-warning h4 {
    color: #721c24;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-warning h4 i {
    color: #dc3545;
}

.terms-warning p,
.terms-warning ol {
    color: #721c24;
    text-align: justify;
}

.terms-warning ol {
    padding-left: 20px;
}

.terms-warning ol li {
    margin-bottom: 8px;
    background: none;
    border: none;
    padding: 0;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .terms-content {
        padding: 25px;
        margin: 0 15px;
    }
    
    .terms-header h2 {
        font-size: 26px;
    }
    
    .terms-intro {
        font-size: 16px;
    }
    
    .terms-section-block {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .terms-section-block h3 {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .terms-text {
        font-size: 15px;
    }
    
    .terms-numbered-list li::before {
        left: -10px;
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .terms-shipping-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .terms-content {
        padding: 20px;
    }
    
    .terms-header {
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .terms-header h2 {
        font-size: 22px;
    }
    
    .terms-section-block {
        padding: 15px;
    }
    
    .terms-section-block h3 {
        font-size: 18px;
    }
    
    .terms-highlight,
    .terms-warning {
        padding: 15px;
    }
}
