
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(125deg, #840808c4 0%, #046519e1 100%);
    color: white;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}



.header .logo-img {
    width: 32px !important;
    height: 32px !important;
}

.header .logo h1 {
    font-size: 18px !important;
    letter-spacing: 1px !important;
}

/* ========================================== */
/* BARRA DE PROGRESO */
/* ========================================== */

.progress-section {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    position: sticky;
    top: 60px;
    z-index: 50;
    backdrop-filter: blur(5px);
}

.progress-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.progress-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    transition: all 0.3s;
}

.progress-step.active .progress-dot {
    background: #ff6600;
    border-color: #ff6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.progress-step p {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0;
}

.progress-step.active p {
    color: #ff6600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
    transition: 0.3s;
}

.progress-line.active {
    background: #ff6600;
}

/* ========================================== */
/* SECCIÓN PRINCIPAL */
/* ========================================== */

.checkout-page {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.checkout-container {
    width: 100%;
    max-width: 1200px;
}

.checkout-header {
    text-align: left;
    margin-bottom: 40px;
    animation: slideDown 0.5s ease;
}

.checkout-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
    letter-spacing: 1px;
}

.checkout-header .subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========================================== */
/* GRID DE COMPRA */
/* ========================================== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-header h1 {
        font-size: 24px;
    }
}

/* ========================================== */
/* SECCIÓN DE FORMULARIO */
/* ========================================== */

.form-section {
    animation: slideIn 0.5s ease 0.1s both;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 16px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group select option {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ff6600;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.3);
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================== */
/* CHECKBOX Y TÉRMINOS */
/* ========================================== */

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    padding: 16px;
    background: rgba(255, 102, 0, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 8px;
}

.terms-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6600;
    cursor: pointer;
    margin-top: 2px;
}

.terms-check label {
    font-size: 13px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========================================== */
/* BOTÓN DE PAGO */
/* ========================================== */

.btn-submit {
    background: linear-gradient(135deg, #ff6600, #ff7722);
    color: white;
    border: none;
    padding: 16px 32px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 8px 16px rgba(255, 102, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(255, 102, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* ========================================== */
/* RESUMEN DE COMPRA */
/* ========================================== */

.checkout-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.2);
    padding: 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 160px;
    animation: slideIn 0.5s ease 0.2s both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.checkout-summary h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: white;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    padding-bottom: 12px;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-items::-webkit-scrollbar {
    width: 6px;
}

.summary-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.summary-items::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 0, 0.5);
    border-radius: 3px;
}

.summary-items::-webkit-scrollbar-thumb:hover {
    background: #ff6600;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.summary-item img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 12px;
}

.summary-item-details {
    flex: 1;
}

.summary-item-details h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #ff6600;
}

.summary-item-details p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================== */
/* TOTAL Y RESUMEN */
/* ========================================== */

.summary-total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.summary-row p {
    margin: 0;
}

.summary-row span {
    color: white;
    font-weight: 600;
}

.free-shipping {
    color: #4caf50 !important;
    font-weight: bold !important;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 102, 0, 0.3);
    margin: 16px 0;
}

.total-row {
    background: rgba(255, 102, 0, 0.1);
    padding: 14px;
    border-radius: 6px;
    border-left: 3px solid #ff6600;
    margin: 0 -14px 0 -14px;
    padding-left: 14px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.total-row h3 {
    margin: 0;
    font-size: 14px;
}

.total-amount {
    color: #ff6600 !important;
    font-size: 18px !important;
}

/* ========================================== */
/* BENEFICIOS */
/* ========================================== */

.benefits-box {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.benefits-box h4 {
    margin: 0 0 12px 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4caf50;
    letter-spacing: 0.5px;
}

.benefits-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefits-box li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-left: 0;
}

/* ========================================== */
/* FOOTER */
/* ========================================== */

.footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 40px;
}

.footer p {
    margin: 0;
}

/* ========================================== */
/* ANIMACIONES */
/* ========================================== */

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .progress-section {
        top: 50px;
        padding: 20px 0;
    }

    .progress-bar-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .progress-step p {
        display: none;
    }

    .progress-line {
        display: none;
    }

    .checkout-summary {
        position: static;
        top: auto;
    }

    .checkout-page {
        padding: 30px 15px;
    }

    .checkout-header h1 {
        font-size: 24px;
    }

    .checkout-grid {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .checkout-header h1 {
        font-size: 20px;
    }

    .checkout-summary {
        padding: 20px;
    }

    .progress-dot {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 14px 20px;
        font-size: 13px;
    }
}