/* ================================
   PEDIDOS PAGE STYLES
   ================================ */

/* Info Banner */
.entrega-info { padding: 0; }

.info-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-radius: var(--radius);
    margin: -1rem auto 0;
    max-width: 820px;
    position: relative;
    z-index: 1;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-sm);
}

.info-banner.open {
    background: #edf7f0;
    border: 1px solid #a8d5b5;
    color: #1a5c32;
}

.info-banner.closed {
    background: #fdf8ed;
    border: 1px solid #e8c97a;
    color: #6b4b0d;
}

.info-icon { font-size: 1.375rem; flex-shrink: 0; }
.info-text { font-size: 0.9375rem; color: inherit; font-weight: 300; }
.info-text strong { font-weight: 600; }

/* ================================
   STEPS HORIZONTAL
   ================================ */

.como-pedir { padding: var(--spacing-lg) 0; background: var(--color-white); }

.steps-horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.step-h {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: var(--color-cream);
    border-radius: var(--radius);
    flex: 1;
    min-width: 140px;
    max-width: 190px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-h:hover {
    border-bottom-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0 auto 0.875rem;
    box-shadow: 0 3px 10px rgba(196, 146, 74, 0.35);
}

.step-h h4 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-primary);
}

.step-h p {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.5;
    font-weight: 300;
}

.step-arrow-h {
    font-size: 1.25rem;
    color: var(--color-secondary);
    opacity: 0.5;
    margin-top: 1.5rem;
    flex-shrink: 0;
}

/* ================================
   PEDIDO GRID
   ================================ */

.pedido-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

.pedido-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* ================================
   PRODUCTO CARDS (pedido)
   ================================ */

.producto-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.producto-card:hover,
.producto-card.selected {
    border-left-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.producto-card-img {
    font-size: 2.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.producto-card-img--photo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius, 3px);
    overflow: hidden;
    font-size: inherit;
}

.producto-card-img--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-card-info { flex: 1; }

.producto-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.producto-card-info p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    font-weight: 300;
    line-height: 1.5;
}

.producto-card-price {
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1.0625rem;
    font-family: var(--font-heading);
}

/* ================================
   CANTIDAD CONTROL
   ================================ */

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: var(--color-white);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--color-text);
    font-weight: 600;
}

.qty-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: rgba(196, 146, 74, 0.05);
}

.qty-display {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 2rem;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

/* ================================
   RESUMEN PEDIDO
   ================================ */

.resumen-pedido {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-secondary);
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
}

.resumen-pedido h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text-light);
}

.resumen-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    font-size: 1.125rem;
    color: var(--color-primary);
}

/* ================================
   FORM CARD
   ================================ */

.form-card {
    background: var(--color-white);
    padding: 2.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--color-secondary);
}

.form-card h2 {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.form-card select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    background: var(--color-white);
    color: var(--color-text);
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-card select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(196, 146, 74, 0.12);
}

/* ================================
   PAGO INFO
   ================================ */

.pago-info {
    background: var(--color-white);
    padding: 2.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
    border-top: 3px solid var(--color-primary);
}

.pago-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.banco-datos {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-secondary);
}

.dato-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.dato-row:last-child { border-bottom: none; }
.dato-row span { color: var(--color-text-light); font-weight: 300; }
.dato-row strong { color: var(--color-primary); font-weight: 600; }

.pago-instrucciones { margin-bottom: 1.5rem; }

.pago-instrucciones p {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.65;
}

.pago-instrucciones a {
    color: var(--color-secondary);
    font-weight: 500;
}

.pago-instrucciones a:hover {
    color: var(--color-secondary-dark);
}

.entrega-recordatorio {
    background: var(--color-cream);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
}

.entrega-recordatorio p {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* ================================
   BOLD PAYMENT SECTION
   ================================ */

.pago-bold {
    background: var(--color-white);
    padding: 2.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-top: 3px solid #00C389;
    text-align: center;
}

.pago-bold h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.pago-bold-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pago-bold-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-cream);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.pago-bold-total span {
    color: var(--color-text-light);
    font-weight: 400;
}

.pago-bold-total strong {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.btn-bold-pay {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00C389, #00A876);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 195, 137, 0.35);
}

.btn-bold-pay:hover:not(:disabled) {
    background: linear-gradient(135deg, #00A876, #008F63);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 195, 137, 0.45);
}

.btn-bold-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-bold-pay i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
    vertical-align: middle;
}

.bold-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-weight: 300;
}

.bold-security-note i {
    color: #00C389;
    font-size: 1rem;
}

.pago-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
    font-weight: 300;
}

.pago-divider::before,
.pago-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* ================================
   PAYMENT RESULT PAGE
   ================================ */

.pago-resultado {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.pago-resultado-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.pago-resultado-icon.approved {
    background: #edf7f0;
    color: #00C389;
}

.pago-resultado-icon.rejected {
    background: #fef2f2;
    color: #e53e3e;
}

.pago-resultado-icon.pending {
    background: #fefce8;
    color: #d69e2e;
}

.pago-resultado-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.pago-resultado-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pago-resultado-detalle {
    background: var(--color-cream);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-secondary);
}

.pago-resultado-detalle .dato-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.pago-resultado-detalle .dato-row:last-child {
    border-bottom: none;
}

.pago-resultado-detalle .dato-row span {
    color: var(--color-text-light);
    font-weight: 300;
}

.pago-resultado-detalle .dato-row strong {
    color: var(--color-primary);
    font-weight: 600;
}

.pago-resultado .entrega-recordatorio {
    margin-bottom: 1.5rem;
}

.pago-resultado-email {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.6;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    border-radius: var(--radius);
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: white;
}

/* ================================
   FAQ SECTION
   ================================ */

.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.faq-item {
    background: var(--color-cream);
    padding: 1.75rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--color-primary);
}

.faq-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-weight: 300;
}

.faq-item strong {
    color: var(--color-text);
    font-weight: 500;
}

/* ================================
   RESPONSIVE PEDIDOS
   ================================ */

@media (max-width: 992px) {
    .pedido-grid { grid-template-columns: 1fr; }
    .steps-horizontal { gap: 0.5rem; }
    .step-h { min-width: 120px; padding: 1.25rem 1rem; }
}

@media (max-width: 768px) {
    .producto-card { flex-wrap: wrap; }
    .cantidad-control { width: 100%; justify-content: center; padding-top: 0.75rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .steps-horizontal { flex-direction: column; align-items: center; }
    .step-h { max-width: 320px; width: 100%; }
    .step-arrow-h { transform: rotate(90deg); margin-top: 0; }
    .dato-row { flex-direction: column; gap: 0.2rem; }
    .form-card { padding: 1.5rem; }
    .pago-info { padding: 1.5rem; }
}
