* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #ffffff;
    color: #2f313d;
    overflow-x: hidden;
}

/* HEADER */

.info-header {
    width: 100%;
    min-height: 68px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
    padding: 0 7%;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.header-logo img {
    width: 118px;
    height: auto;
    display: block;
}

.info-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.info-nav a {
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.info-nav a.active {
    color: #ffd51e;
}

.btn-tienda {
    justify-self: end;
    border: 2px solid #ffd51e;
    color: #000000;
    padding: 7px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.25s ease;
}

.btn-tienda:hover {
    background: #ffd51e;
}

/* MENSAJES */

.messages-box {
    width: 82%;
    max-width: 980px;
    margin: 30px auto 0;
}

.message-alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.message-alert.success {
    background: #e8f8ed;
    color: #147a2e;
    border: 1px solid #1fc83a;
}

.message-alert.error {
    background: #ffecec;
    color: #a30000;
    border: 1px solid #ff4d4d;
}

/* CONTENIDO */

.billing-page {
    background: #ffffff;
    min-height: calc(100vh - 110px);
}

.billing-title {
    text-align: center;
    padding: 55px 22px 35px;
}

.billing-title img {
    width: 105px;
    max-width: 80%;
    height: auto;
    margin-bottom: 40px;
}

.billing-title h1 {
    font-size: 38px;
    font-weight: 900;
    color: #4a4a4a;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.billing-title p {
    max-width: 760px;
    margin: 0 auto 14px;
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    line-height: 1.7;
}

.billing-note {
    color: #000000;
    font-weight: 600 !important;
}

/* FORMULARIO */

.billing-form-section {
    width: 82%;
    max-width: 980px;
    margin: 0 auto 70px;
    background: #f7f7f7;
    border-top: 5px solid #ffd51e;
    padding: 42px;
}

.billing-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
    color: #222222;
}

.optional-text {
    font-weight: 400;
    color: #666666;
    font-size: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: none;
    outline: none;
    background: #d0d0d0;
    color: #111111;
    padding: 13px 14px;
    font-size: 14px;
    font-family: 'Poppins', Arial, sans-serif;
}

.form-group input,
.form-group select {
    min-height: 42px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: auto;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #ffd51e;
    background: #e2e2e2;
}

.form-group select option {
    background: #eeeeee;
    color: #111111;
    font-size: 15px;
}

.full-width {
    width: 100%;
}

/* ARCHIVO */

.file-upload-box {
    background: #ffffff;
    border: 2px dashed #d2d2d2;
    padding: 18px;
}

.file-upload-box input[type="file"] {
    background: #f0f0f0;
    padding: 12px;
    cursor: pointer;
}

.file-upload-box small {
    display: block;
    margin-top: 10px;
    color: #555555;
    font-size: 12px;
    line-height: 1.5;
}

/* BOTÓN */

.billing-form button {
    display: block;
    margin: 20px auto 0;
    min-width: 190px;
    min-height: 42px;
    border: none;
    background: #ffd51e;
    color: #000000;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.25s ease;
    padding: 12px 26px;
}

.billing-form button:hover {
    background: #e9bd00;
    transform: translateY(-2px);
}

/* FOOTER */

.simple-footer {
    background: #ffffff;
    color: #000000;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
}

.simple-footer p {
    font-size: 12px;
    font-weight: 400;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #1fc83a;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px 12px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    box-shadow:
        0 0 0 20px rgba(31, 200, 58, 0.13),
        0 8px 18px rgba(0, 0, 0, 0.25);
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-dot {
    position: absolute;
    top: -2px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #ff1f1f;
    border-radius: 50%;
}

/* TABLET */

@media (max-width: 1000px) {
    .info-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 15px;
    }

    .header-logo {
        justify-content: center;
    }

    .info-nav {
        gap: 18px;
    }

    .btn-tienda {
        justify-self: center;
    }

    .billing-form-section,
    .messages-box {
        width: 90%;
    }

    .billing-form-section {
        padding: 34px 26px;
    }
}

/* CELULAR */

@media (max-width: 650px) {
    .info-header {
        padding: 18px 12px;
    }

    .header-logo img {
        width: 105px;
    }

    .info-nav {
        gap: 10px 16px;
    }

    .info-nav a {
        font-size: 12px;
    }

    .btn-tienda {
        font-size: 12px;
        padding: 7px 15px;
    }

    .billing-title {
        padding: 42px 22px 28px;
    }

    .billing-title img {
        width: 95px;
        margin-bottom: 32px;
    }

    .billing-title h1 {
        font-size: 29px;
    }

    .billing-title p {
        font-size: 13px;
    }

    .billing-form-section {
        width: 92%;
        padding: 28px 20px;
    }

    .messages-box {
        width: 92%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 13px;
    }

    .billing-form button {
        width: 100%;
    }

    .file-upload-box {
        padding: 14px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 16px;
        font-size: 12px;
        padding: 10px 16px 10px 13px;
        box-shadow:
            0 0 0 13px rgba(31, 200, 58, 0.13),
            0 8px 18px rgba(0, 0, 0, 0.25);
    }

    .whatsapp-icon {
        width: 19px;
        height: 19px;
        font-size: 10px;
    }
}