/* ==========================================================================
   Info Pages - Shared Styles
   Pages: devoluciones, formas-pago, envios, terminos, privacidad
   Scoped under .info-page to avoid conflicts
   ========================================================================== */

/* --- Design Tokens --- */
.info-page {
    padding: 1rem 0 3rem;
}

/* --- Page Header --- */
.info-page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.info-page-header h2 {
    font-family: inherit;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
}

.info-page-header h2 i {
    margin-right: 0.5rem;
    color: #f97316;
}

.info-page-header p {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* --- Content Section Cards --- */
.info-page-section {
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #f97316;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
}

.info-page-section h5 {
    color: #1e3a5f;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.info-page-section h5 i {
    color: #f97316;
    margin-right: 0.5rem;
}

.info-page-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.info-page-section p:last-child {
    margin-bottom: 0;
}

/* --- Lists with custom orange bullets --- */
.info-page-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.75rem;
}

.info-page-section ul li {
    position: relative;
    padding-left: 1.25rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.info-page-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f97316;
}

/* --- Styled Table --- */
.info-page-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.info-page-table thead th {
    background: #1e3a5f;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem;
    border: none;
}

.info-page-table tbody td {
    padding: 0.65rem 1rem;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.info-page-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.info-page-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- Highlight Block --- */
.info-page-highlight {
    background: #fffbeb;
    border: 1px solid #f97316;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.info-page-highlight h5 {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.info-page-highlight h5 i {
    color: #f97316;
    margin-right: 0.5rem;
}

.info-page-highlight p,
.info-page-highlight ul li {
    color: #4b5563;
    line-height: 1.7;
}

.info-page-highlight ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.info-page-highlight ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.35rem;
}

.info-page-highlight ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f97316;
}

/* --- Q&A Style (Formas de Pago) --- */
.info-page-qa .qa-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.info-page-qa h5 {
    display: flex;
    align-items: center;
}

/* --- Accordion for Terminos (reusing Bootstrap collapse) --- */
.info-page .info-accordion .card {
    border: none;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.info-page .info-accordion .card-header {
    background: #fff;
    border-bottom: none;
    padding: 0;
}

.info-page .info-accordion .card-header .btn-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}

.info-page .info-accordion .card-header .btn-link:hover {
    background: #f9fafb;
    text-decoration: none;
}

.info-page .info-accordion .card-header .btn-link .section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.info-page .info-accordion .card-header .btn-link .chevron-icon {
    margin-left: auto;
    transition: transform 0.3s;
    color: #9ca3af;
}

.info-page .info-accordion .card-header .btn-link:not(.collapsed) .chevron-icon {
    transform: rotate(180deg);
}

.info-page .info-accordion .card-body {
    padding: 0 1.25rem 1.25rem;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #f3f4f6;
}

/* --- Intro text (above accordion or sections) --- */
.info-page-intro {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .info-page-section {
        padding: 1.25rem 1.25rem;
    }

    .info-page-header h2 {
        font-size: 1.4rem;
    }

    .info-page .info-accordion .card-header .btn-link {
        font-size: 0.88rem;
        padding: 0.85rem 1rem;
    }
}
